top level:
[external/binutils.git] / ld / ChangeLog
1 2007-02-17  Mark Mitchell  <mark@codesourcery.com>
2             Nathan Sidwell  <nathan@codesourcery.com>
3             Vladimir Prus  <vladimir@codesourcery.com
4             Joseph Myers  <joseph@codesourcery.com>
5
6         * configure.in (--with-bugurl): New option.
7         * configure: Regenerate.
8         * Makefile.am (REPORT_BUGS_TO): Define.
9         (INCLUDES): Define REPORT_BUGS_TO.
10         Regenerate dependencies.
11         * Makefile.in: Regenerate.
12         * ld.h: Remove include of bin-bugs.h.
13         * lexsup.c (help): Don't print empty REPORT_BUGS_TO.
14
15 2007-02-17  Alan Modra  <amodra@bigpond.net.au>
16
17         * ldcref.c (check_reloc_refs): Compare section for local syms.
18
19 2007-02-13  Alan Modra  <amodra@bigpond.net.au>
20
21         * emultempl/spu_ovl.S (__ovly_return, __ovly_load): Set sym size.
22         (__ovly_load_event): Define.
23         (size): Rename to osize.
24         * emultempl/spu_ovl.o: Regenerate.
25
26 2007-02-13  Alan Modra  <amodra@bigpond.net.au>
27
28         * emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Add ".branch_lt".
29         * emultempl/ppc64elf.em (ppc_add_stub_section): Create without
30         SEC_RELOC flag set.
31
32 2007-02-09  H.J. Lu  <hongjiu.lu@intel.com>
33
34         * configure.in (targ_extra_emuls): Add $targ64_extra_emuls if
35         want64 is true.
36         (targ_extra_libpath): Add $targ64_extra_libpath if want64 is
37         true
38         * configure: Regenerated.
39
40         * configure.tgt (targ_extra_libpath): Initialize.
41         (targ64_extra_emuls): New. Document. Initialize.
42         (targ64_extra_libpath): Likewise.
43         (i[3-7]86-*-linux-*): Set targ64_extra_emuls and
44         targ64_extra_libpath.
45         (powerpc*-*-linux*): Likewise.
46         (s390-*-linux*): Likewise.
47
48 2007-02-07  Paul Brook  <paul@codesourcery.com>
49
50         * configure.tgt: Add arm*-*-uclinux-*eabi.
51
52 2007-02-06  H.J. Lu  <hongjiu.lu@intel.com>
53
54         * ldlang.c (lang_size_sections_1): Add a missing `)'.
55
56 2007-02-06  Alan Modra  <amodra@bigpond.net.au>
57
58         PR ld/3966
59         * ldlang.c (lang_size_sections_1): Don't warn on backwards dot
60         move unless section size is non-zero.
61
62 2007-02-05  Dave Brolley  <brolley@redhat.com>
63
64         * Makefile.am (ALL_EMULATIONS): Add support for Toshiba MeP.
65         * configure.tgt: Likewise.
66         * scripttempl/mep.sc: New file.
67         * emulparams/elf32mep.sh: New file.
68         * Makefile.in: Regenerate.
69
70 2006-01-29  Julian Brown  <julian@codesourcery.com>
71
72         * NEWS: Mention --vfp11-denorm-fix option.
73         * ld.texinfo: Document above.
74         * emulparams/armelf_linux.sh (OTHER_TEXT_SECTIONS): Add
75         .vfp11_veneer section.
76         * emulparams/armelf.sh (OTHER_TEXT_SECTIONS): Likewise.
77         * emultempl/armelf.em (vfp11_denorm_fix): New static variable.
78         (arm_elf_before_allocation): Call bfd_elf32_arm_set_vfp11_fix,
79         bfd_elf32_arm_init_maps and bfd_elf32_arm_vfp11_erratum_scan.
80         (arm_elf_after_allocation): New function. Call
81         bfd_elf32_arm_vfp11_fix_veneer_locations for all input statements.
82         (arm_elf_create_output_section_statements): Pass vfp11 fix command
83         line option to BFD.
84         (OPTION_VFP11_DENORM_FIX): New option.
85         (PARSE_AND_LIST_LONGOPTS): Handle new option.
86         (PARSE_AND_LIST_OPTIONS): Likewise.
87         (PARSE_AND_LIST_ARGS_CASES): Likewise.
88         (LDEMUL_AFTER_ALLOCATION): Define.
89
90 2007-01-24  H.J. Lu  <hongjiu.lu@intel.com>
91
92         * ldgram.y (SIZEOF_HEADERS): Remove duplicated one.
93         (DEFSYMEND): Likewise.
94         (NAME): Likewise.
95         (LNAME): Likewise.
96
97 2007-01-19  Murali Vemulapati  <murali.vemulapati@gmail.com>
98
99         * pe-dll.c: (make_one) Conditionally include jump stubs.
100         * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Identify
101         redundant jump stubs from import libraries and exclude them from 
102         link.
103
104 2007-01-19  H.J. Lu  <hongjiu.lu@intel.com>
105
106         * ld.h (args_type): Add new symbolic and dynamic_list fields.
107
108         * ld.texinfo: Update -Bsymbolic-functions.
109
110         * ldmain.c (main): Initialize command_line.symbolic to
111         symbolic_unset and command_line.dynamic_list to
112         dynamic_list_unset.  Check -Bsymbolic, -Bsymbolic-functions and
113         --dynamic-list* before setting link_info.symbolic,
114         link_info.dynamic and link_info.dynamic_data. 
115
116         * lexsup.c (option_values): Add OPTION_SYMBOLIC_FUNCTIONS.
117         (ld_options): Use OPTION_SYMBOLIC_FUNCTIONS with
118         -Bsymbolic-functions.
119         (parse_args): Handle -Bsymbolic-functions.  Don't set
120         link_info.dynamic, link_info.dynamic_data and link_info.symbolic
121         here.  Set command_line.symbolic for -Bsymbolic.  Set
122         command_line.dynamic_list and command_line.symbolic for
123         --dynamic-list-data, --dynamic-list-cpp-new,
124         --dynamic-list-cpp-typeinfo and --dynamic-list.
125
126 2007-01-19  Jakub Jelinek  <jakub@redhat.com>
127             H.J. Lu  <hongjiu.lu@intel.com>
128
129         * emultempl/elf32.em (handle_option): Make sure -z max-page-size
130         or -z common-page-size argument is a power of 2.  Call
131         bfd_emul_set_maxpagesize and bfd_emul_set_commonpagesize.
132
133 2007-01-19  H.J. Lu  <hongjiu.lu@intel.com>
134
135         * ldmain.c (main): Don't call bfd_emul_set_maxpagesize nor
136         bfd_emul_set_commonpagesize.
137
138 2007-01-19  H.J. Lu  <hongjiu.lu@intel.com>
139
140         * NEWS: Mention --default-script/-dT.
141
142         * ld.h (args_type): Add a default_script field.
143
144         * ld.texinfo: Document --default-script/-dT.
145
146         * ldmain.c (main): Handle command_line.default_script.
147
148         * lexsup.c (option_values): Add OPTION_DEFAULT_SCRIPT.
149         (ld_options): Add entries for --default-script and -dT.
150         (parse_args): Handle --default-script/-dT.
151
152 2007-01-16  H.J. Lu  <hongjiu.lu@intel.com>
153
154         PR ld/3831
155         * NEWS: Mention -Bsymbolic-functions, --dynamic-list-data and
156         --dynamic-list-cpp-new.
157
158         * ld.texinfo: Document -Bsymbolic-functions, --dynamic-list-data
159         and --dynamic-list-cpp-new.
160
161         * ldlang.c (lang_append_dynamic_list_cpp_new): New.
162         (lang_process): Change link_info.dynamic to
163         link_info.dynamic_list.
164         (lang_append_dynamic_list): Likewise.
165         * ldmain.c (main): Likewise.  Initialize link_info.dynamic and
166         link_info.dynamic_data to FALSE.
167
168         * ldlang.h (lang_append_dynamic_list_cpp_new): New.
169
170         * lexsup.c (option_values): Add OPTION_DYNAMIC_LIST_DATA and
171         OPTION_DYNAMIC_LIST_CPP_NEW.
172         (ld_options): Add entries for -Bsymbolic-functions,
173         --dynamic-list-data and --dynamic-list-cpp-new.  Make
174         -Bsymbolic-functions an alias of --dynamic-list-data.
175         (parse_args): Change link_info.dynamic to link_info.dynamic_list.
176         Set link_info.dynamic to TRUE for --dynamic-list and
177         --dynamic-list-cpp-typeinfo.  Handle --dynamic-list-data and
178         --dynamic-list-cpp-new.
179
180 2007-01-11  Nathan Sidwell  <nathan@codesourcery.com>
181
182         * emultempl/elf-generic.em (gdl_map_segments): Only allow header
183         shrinkage for the first few iterations.
184
185 2007-01-08  Kai Tietz   <kai.tietz@onevision.com>
186
187         * configure.tgt: Renamed target x86_64-*-mingw64 to
188         x86_64-*-mingw*.
189
190 2007-01-08  Pedro Alves  <pedro_alves@portugalmail.pt>
191
192         * configure.host: Add i[3-7]86-*-mingw* case.
193
194 2007-01-08  Nick Clifton  <nickc@redhat.com>
195
196         * pep-dll.h (pep_bfd_is_dll): Add prototype.
197
198 2007-01-08  Aurelien Jarno  <aurelien@aurel32.net>
199
200         PR ld/3843
201         * configure.tgt (x86_64_[k]freebsd*): Add targ_extra_libpath and
202         tdir_elf_i386_fbsd.
203
204 2007-01-06  Nathan Sidwell  <nathan@codesourcery.com>
205
206         * ldexp.c (fold_name): Issue error on undefined sections.
207
208 2007-01-02  Alan Modra  <amodra@bigpond.net.au>
209
210         * pe-dll.c: Include pe-dll.h.
211         * pep-dll.c (pe_bfd_is_dll): Define.
212
213 For older changes see ChangeLog-2006
214 \f
215 Local Variables:
216 mode: change-log
217 left-margin: 8
218 fill-column: 74
219 version-control: never
220 End: