Commit | Line | Data |
---|---|---|
c76308d2 RS |
1 | 2007-03-28 Richard Sandiford <richard@codesourcery.com> |
2 | ||
3 | * ld.h (ld_config_type): Add rpath_separator. | |
4 | * ldmain.c (main): Initialize it. | |
5 | * lexsup.c (parse_args): Honor config.rpath_separator. | |
6 | * emultempl/elf32.em (gld${EMULATION_NAME}_search_needed): Likewise. | |
7 | (gld${EMULATION_NAME}_add_sysroot): Likewise. | |
8 | (gld${EMULATION_NAME}_parse_ld_so_conf): Use config.rpath_separator | |
9 | rather than ':' when building the path. | |
10 | * emultempl/vxworks.em (vxworks_before_parse): New function. | |
11 | Override config.rpath_separator. | |
12 | (LDEMUL_AFTER_OPEN): Do not change if EXTRA_EM_FILE has been | |
13 | set to gld${EMULATION_NAME}_after_open; #define that identifier | |
14 | to vxworks_foo instead. | |
15 | (LDEMUL_BEFORE_PARSE): Override in the same way as LDEMUL_AFTER_OPEN. | |
16 | ||
4ecceb71 RS |
17 | 2007-03-28 Richard Sandiford <richard@codesourcery.com> |
18 | Phil Edwards <phil@codesourcery.com> | |
19 | ||
20 | * ld.texinfo: Put the contents after the title page rather | |
21 | than at the end of the document. | |
22 | ||
b6470398 AM |
23 | 2007-03-26 Alan Modra <amodra@bigpond.net.au> |
24 | ||
25 | * Makefile.am: Add dependency on ldemul-list.h for powerpc and | |
26 | spu target emul files. | |
27 | * configure.in: Check for mkstemp and waitpid. | |
28 | * Makefile.in: Regenerate. | |
29 | * configure: Regenerate. | |
30 | * config.in: Regenerate. | |
31 | * ldlang.c (input_file_chain): Make global. | |
32 | (lang_add_input_file): Don't set lang_has_input_file here. | |
33 | * ldlang.h (input_file_chain): Declare. | |
34 | * emultempl/ppc32elf.em (ppc_recognized_file): New function. | |
35 | (LDEMUL_RECOGNIZED_FILE): Define. | |
36 | * emultempl/ppc64elf.em (ppc64_recognized_file): New function. | |
37 | (LDEMUL_RECOGNIZED_FILE): Define. | |
38 | * emultempl/spuelf.em (struct tflist): New. | |
39 | (tmp_file_list): New var. | |
40 | (clean_tmp, embedded_spu_file): New functions. | |
41 | ||
34711ca3 AM |
42 | 2007-03-24 Alan Modra <amodra@bigpond.net.au> |
43 | ||
44 | * ldlang.c (lang_insert_orphan): Provide start/stop loadaddr syms | |
45 | rather than defining unconditionally. | |
46 | (lang_leave_overlay_section): Likewise. | |
47 | * ld.texinfo (Overlay Description): Update description and examples | |
48 | for start/stop syms. | |
49 | ||
e49e529d JM |
50 | 2007-03-22 Joseph Myers <joseph@codesourcery.com> |
51 | ||
52 | * ld.texinfo: Include VERSION_PACKAGE when reporting version. | |
53 | ||
27e55c4d PB |
54 | 2007-03-20 Paul Brook <paul@codesourcery.com> |
55 | ||
56 | * emultempl/armelf.em (pic_veneer): New variable. | |
57 | (PARSE_AND_LIST_PROLOGUE): Add OPTION_PIC_VENEER. | |
58 | (PARSE_AND_LIST_ARGS_CASES): Ditto. | |
59 | (PARSE_AND_LIST_LONGOPTS): Add "pic-veneer". | |
60 | (PARSE_AND_LIST_OPTIONS): Ditto. | |
61 | * ld.texinfo: Document --pic-veneer. | |
62 | ||
bf21ed78 MS |
63 | 2007-03-18 Mark Shinwell <shinwell@codesourcery.com> |
64 | ||
65 | * ld.texinfo: Document --no-enum-size-warning. | |
66 | * emultempl/armelf.em (no_enum_size_warning): New. | |
67 | (arm_elf_create_output_section_statements): Correct typo | |
68 | in comment. Pass no_enum_size_warning to | |
69 | bfd_elf32_arm_set_target_relocs. | |
70 | (PARSE_AND_LIST_PROLOGUE): Define OPTION_NO_ENUM_SIZE_WARNING. | |
71 | (PARSE_AND_LIST_OPTIONS): Document --no-enum-size-warning. | |
72 | (PARSE_AND_LIST_ARGS_CASES): Add OPTION_NO_ENUM_SIZE_WARNING | |
73 | case. | |
74 | ||
3f2dad24 BS |
75 | 2007-03-19 Bernd Schmidt <bernd.schmidt@analog.com> |
76 | ||
77 | * configure.tgt (bfin-*-elf, bfin-*-uclinux*): Add targ_extra_libpath. | |
78 | (bfin-*-linux-uclibc*): New target. | |
79 | ||
591a748a NC |
80 | 2007-03-16 Kai Tietz <Kai.Tietz@onevision.com> |
81 | ||
82 | * pe-dll.c (make_one): Use pc-relative relocation instead of an | |
83 | absolute relocation for x86_64-pc-mingw32 target. | |
84 | ||
c428fa83 L |
85 | 2007-03-15 H.J. Lu <hongjiu.lu@intel.com> |
86 | ||
87 | * Makefile.am (ld_TEXINFOS): Remove ldver.texi. | |
88 | (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc. | |
89 | (TEXI2DVI): Likewise. | |
90 | (REPORT_BUGS_TO): Removed. | |
91 | (INCLUDES): Remove -DREPORT_BUGS_TO. | |
92 | (ldver.texi): Likewise. | |
93 | (ld.1): Don't depend on ldver.texi. | |
94 | (MOSTLYCLEANFILES): Remove ldver.texi. | |
95 | * Makefile.in: Regenerated. | |
96 | ||
97 | * configure.in (--with-bugurl): Removed. | |
98 | * configure: Regenerated. | |
99 | ||
100 | * lexsup.c: Include bfdver.h. | |
101 | ||
102 | * ld.texinfo: Include bfdver.texi instead of ldver.texi. | |
103 | ||
45fd5a53 HPN |
104 | 2007-03-11 Hans-Peter Nilsson <hp@bitrange.com> |
105 | ||
106 | * emultempl/mmixelf.em: Remove incorrect '#line' directive. | |
107 | ||
91eb6c46 AM |
108 | 2007-03-08 Alan Modra <amodra@bigpond.net.au> |
109 | ||
110 | * ldlang.c (lang_size_sections_1): Correct backwards dot move | |
111 | test to not trigger on overlays. Only warn on backwards move | |
112 | if non-default lma. | |
113 | ||
ad22bfe8 JM |
114 | 2007-03-07 Joseph Myers <joseph@codesourcery.com> |
115 | ||
116 | * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of | |
117 | bug-reporting URL. | |
118 | * Makefile.am (ldver.texi): Define BUGURL. | |
119 | * ld.texinfo: Use BUGURL. | |
120 | * Makefile.in, configure: Regenerate. | |
121 | ||
057cac08 NC |
122 | 2007-03-07 Nick Clifton <nickc@redhat.com> |
123 | ||
124 | PR ld/4023 | |
125 | * emultempl/aix.em (..._before_allocation): Strip sysroot prefix | |
126 | from any paths being inserted into the output binary's DT_RPATH. | |
127 | ||
d6ed30ba NS |
128 | 2007-03-02 Nathan Sidwell <nathan@codesourcery.com> |
129 | ||
130 | * emulparams/shelf_uclinux.sh: New. Missed in 2007-02-28 commit. | |
131 | ||
066c2a57 JM |
132 | 2007-03-01 Joseph Myers <joseph@codesourcery.com> |
133 | ||
134 | * ldver.c (ldversion): Remove word "version" from output. Update | |
135 | copyright date. | |
136 | ||
ed6ba298 NS |
137 | 2007-02-28 Nathan Sidwell <nathan@codesourcery.com> |
138 | ||
139 | * Makefile.am (ALL_EMULATIONS): Add eshelf_uclinux.o | |
140 | (eshelf_uclinux.c): New target. | |
141 | * Makefile.in: Rebuilt. | |
142 | * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): New stanza. | |
143 | * emulparams/shelf_uclinux.sh: New. | |
144 | ||
2eacb3e8 AM |
145 | 2007-02-28 Alan Modra <amodra@bigpond.net.au> |
146 | ||
46c3c201 | 147 | * configure.tgt: Fix type last change. |
2eacb3e8 AM |
148 | * configure.tgt (spu-*-elf*): Delete targ_extra_ofiles. |
149 | ||
f0d89437 AM |
150 | 2007-02-27 Alan Modra <amodra@bigpond.net.au> |
151 | ||
152 | * Makefile.am (ALL_EMUL_EXTRA_OFILES): Remove spu_inc.o. | |
153 | (eelf32_spu.c): Adjust dependencies. | |
154 | * Makefile.in: Regenerate. | |
155 | * emultempl/spuelf.em (ovl_mgr): New array. Insert spu_ovl.o | |
156 | code using bin2c. | |
157 | (_binary_spu_ovl_o_start, _binary_spu_ovl_o_end): Delete. | |
158 | (ovl_mgr_stream): Update. | |
159 | * emultempl/spu_inc.s: Delete. | |
160 | * emultempl/spu_none.s: Delete. | |
161 | ||
45d3b878 AM |
162 | 2007-02-26 Alan Modra <amodra@bigpond.net.au> |
163 | ||
164 | * emultempl/spuelf.em (_binary_builtin_ovl_mgr_start): Rename | |
165 | to _binary_spu_ovl_o_start. | |
166 | (_binary_builtin_ovl_mgr_end): Rename to _binary_spu_ovl_o_end. | |
167 | (spu_elf_load_ovl_mgr): Fatal error on missing overlay manager. | |
168 | * emultempl/spu_inc.s: Rename symbols. | |
169 | * emultempl/spu_none.s: New file. | |
170 | * emultempl/spu_ovl.S: Update copyright. | |
171 | * Makefile.am (spu_inc.o): Try building with ld -r first, then | |
172 | gas incbin, then build without overlay manager. | |
173 | * Makefile.in: Regenerate. | |
174 | ||
919e35ed JM |
175 | 2007-02-22 Joseph Myers <joseph@codesourcery.com> |
176 | ||
177 | * configure.tgt (mips64*el-*-linux-*, mips64*-*-linux-*, | |
178 | mips*el-*-linux-*, mips*-*-linux-*): Set | |
179 | targ_extra_libpath=$targ_extra_emuls. | |
180 | ||
2889e75b NC |
181 | 2007-02-21 Nick Clifton <nickc@redhat.com> |
182 | ||
183 | * ldlang.c (ldlang_override_segment_assignment): New function. | |
184 | * ldlang.h (ldlang_override_segment_assignment): Prototype. | |
185 | * ldmain.c (link_callbacks): Add | |
186 | ldlang_override_segment_assignment. | |
187 | ||
67469e1f AM |
188 | 2007-02-20 Alan Modra <amodra@bigpond.net.au> |
189 | ||
190 | * ldexp.c (fold_name <LOADADDR>): Ensure result is always absolute. | |
191 | ||
92f01d61 JM |
192 | 2007-02-17 Mark Mitchell <mark@codesourcery.com> |
193 | Nathan Sidwell <nathan@codesourcery.com> | |
194 | Vladimir Prus <vladimir@codesourcery.com | |
195 | Joseph Myers <joseph@codesourcery.com> | |
196 | ||
197 | * configure.in (--with-bugurl): New option. | |
198 | * configure: Regenerate. | |
199 | * Makefile.am (REPORT_BUGS_TO): Define. | |
200 | (INCLUDES): Define REPORT_BUGS_TO. | |
201 | Regenerate dependencies. | |
202 | * Makefile.in: Regenerate. | |
203 | * ld.h: Remove include of bin-bugs.h. | |
204 | * lexsup.c (help): Don't print empty REPORT_BUGS_TO. | |
205 | ||
dc1946a1 AM |
206 | 2007-02-17 Alan Modra <amodra@bigpond.net.au> |
207 | ||
208 | * ldcref.c (check_reloc_refs): Compare section for local syms. | |
209 | ||
b1e37473 AM |
210 | 2007-02-13 Alan Modra <amodra@bigpond.net.au> |
211 | ||
212 | * emultempl/spu_ovl.S (__ovly_return, __ovly_load): Set sym size. | |
213 | (__ovly_load_event): Define. | |
214 | (size): Rename to osize. | |
215 | * emultempl/spu_ovl.o: Regenerate. | |
216 | ||
e4e0193e AM |
217 | 2007-02-13 Alan Modra <amodra@bigpond.net.au> |
218 | ||
219 | * emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Add ".branch_lt". | |
220 | * emultempl/ppc64elf.em (ppc_add_stub_section): Create without | |
221 | SEC_RELOC flag set. | |
222 | ||
534d3119 L |
223 | 2007-02-09 H.J. Lu <hongjiu.lu@intel.com> |
224 | ||
225 | * configure.in (targ_extra_emuls): Add $targ64_extra_emuls if | |
226 | want64 is true. | |
227 | (targ_extra_libpath): Add $targ64_extra_libpath if want64 is | |
228 | true | |
229 | * configure: Regenerated. | |
230 | ||
231 | * configure.tgt (targ_extra_libpath): Initialize. | |
232 | (targ64_extra_emuls): New. Document. Initialize. | |
233 | (targ64_extra_libpath): Likewise. | |
234 | (i[3-7]86-*-linux-*): Set targ64_extra_emuls and | |
235 | targ64_extra_libpath. | |
236 | (powerpc*-*-linux*): Likewise. | |
237 | (s390-*-linux*): Likewise. | |
238 | ||
7bd1c961 PB |
239 | 2007-02-07 Paul Brook <paul@codesourcery.com> |
240 | ||
241 | * configure.tgt: Add arm*-*-uclinux-*eabi. | |
242 | ||
ea0c3cd5 L |
243 | 2007-02-06 H.J. Lu <hongjiu.lu@intel.com> |
244 | ||
245 | * ldlang.c (lang_size_sections_1): Add a missing `)'. | |
246 | ||
264b6205 AM |
247 | 2007-02-06 Alan Modra <amodra@bigpond.net.au> |
248 | ||
ea0c3cd5 | 249 | PR ld/3966 |
264b6205 AM |
250 | * ldlang.c (lang_size_sections_1): Don't warn on backwards dot |
251 | move unless section size is non-zero. | |
252 | ||
19d9b7d3 DB |
253 | 2007-02-05 Dave Brolley <brolley@redhat.com> |
254 | ||
255 | * Makefile.am (ALL_EMULATIONS): Add support for Toshiba MeP. | |
256 | * configure.tgt: Likewise. | |
257 | * scripttempl/mep.sc: New file. | |
258 | * emulparams/elf32mep.sh: New file. | |
259 | * Makefile.in: Regenerate. | |
260 | ||
c6dd86c6 JB |
261 | 2006-01-29 Julian Brown <julian@codesourcery.com> |
262 | ||
263 | * NEWS: Mention --vfp11-denorm-fix option. | |
264 | * ld.texinfo: Document above. | |
265 | * emulparams/armelf_linux.sh (OTHER_TEXT_SECTIONS): Add | |
266 | .vfp11_veneer section. | |
267 | * emulparams/armelf.sh (OTHER_TEXT_SECTIONS): Likewise. | |
268 | * emultempl/armelf.em (vfp11_denorm_fix): New static variable. | |
269 | (arm_elf_before_allocation): Call bfd_elf32_arm_set_vfp11_fix, | |
270 | bfd_elf32_arm_init_maps and bfd_elf32_arm_vfp11_erratum_scan. | |
271 | (arm_elf_after_allocation): New function. Call | |
272 | bfd_elf32_arm_vfp11_fix_veneer_locations for all input statements. | |
273 | (arm_elf_create_output_section_statements): Pass vfp11 fix command | |
274 | line option to BFD. | |
275 | (OPTION_VFP11_DENORM_FIX): New option. | |
276 | (PARSE_AND_LIST_LONGOPTS): Handle new option. | |
277 | (PARSE_AND_LIST_OPTIONS): Likewise. | |
278 | (PARSE_AND_LIST_ARGS_CASES): Likewise. | |
279 | (LDEMUL_AFTER_ALLOCATION): Define. | |
280 | ||
ed9ef263 L |
281 | 2007-01-24 H.J. Lu <hongjiu.lu@intel.com> |
282 | ||
283 | * ldgram.y (SIZEOF_HEADERS): Remove duplicated one. | |
284 | (DEFSYMEND): Likewise. | |
285 | (NAME): Likewise. | |
286 | (LNAME): Likewise. | |
287 | ||
54727719 NC |
288 | 2007-01-19 Murali Vemulapati <murali.vemulapati@gmail.com> |
289 | ||
290 | * pe-dll.c: (make_one) Conditionally include jump stubs. | |
291 | * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Identify | |
91eb6c46 | 292 | redundant jump stubs from import libraries and exclude them from |
54727719 NC |
293 | link. |
294 | ||
5f400437 | 295 | 2007-01-19 H.J. Lu <hongjiu.lu@intel.com> |
d8cf8b51 L |
296 | |
297 | * ld.h (args_type): Add new symbolic and dynamic_list fields. | |
298 | ||
299 | * ld.texinfo: Update -Bsymbolic-functions. | |
300 | ||
301 | * ldmain.c (main): Initialize command_line.symbolic to | |
302 | symbolic_unset and command_line.dynamic_list to | |
303 | dynamic_list_unset. Check -Bsymbolic, -Bsymbolic-functions and | |
304 | --dynamic-list* before setting link_info.symbolic, | |
91eb6c46 | 305 | link_info.dynamic and link_info.dynamic_data. |
d8cf8b51 L |
306 | |
307 | * lexsup.c (option_values): Add OPTION_SYMBOLIC_FUNCTIONS. | |
308 | (ld_options): Use OPTION_SYMBOLIC_FUNCTIONS with | |
309 | -Bsymbolic-functions. | |
310 | (parse_args): Handle -Bsymbolic-functions. Don't set | |
311 | link_info.dynamic, link_info.dynamic_data and link_info.symbolic | |
312 | here. Set command_line.symbolic for -Bsymbolic. Set | |
313 | command_line.dynamic_list and command_line.symbolic for | |
314 | --dynamic-list-data, --dynamic-list-cpp-new, | |
315 | --dynamic-list-cpp-typeinfo and --dynamic-list. | |
316 | ||
b8142865 L |
317 | 2007-01-19 Jakub Jelinek <jakub@redhat.com> |
318 | H.J. Lu <hongjiu.lu@intel.com> | |
319 | ||
320 | * emultempl/elf32.em (handle_option): Make sure -z max-page-size | |
321 | or -z common-page-size argument is a power of 2. Call | |
322 | bfd_emul_set_maxpagesize and bfd_emul_set_commonpagesize. | |
323 | ||
324 | 2007-01-19 H.J. Lu <hongjiu.lu@intel.com> | |
325 | ||
326 | * ldmain.c (main): Don't call bfd_emul_set_maxpagesize nor | |
327 | bfd_emul_set_commonpagesize. | |
328 | ||
5f400437 | 329 | 2007-01-19 H.J. Lu <hongjiu.lu@intel.com> |
14be8564 L |
330 | |
331 | * NEWS: Mention --default-script/-dT. | |
332 | ||
333 | * ld.h (args_type): Add a default_script field. | |
334 | ||
335 | * ld.texinfo: Document --default-script/-dT. | |
336 | ||
337 | * ldmain.c (main): Handle command_line.default_script. | |
338 | ||
339 | * lexsup.c (option_values): Add OPTION_DEFAULT_SCRIPT. | |
340 | (ld_options): Add entries for --default-script and -dT. | |
341 | (parse_args): Handle --default-script/-dT. | |
342 | ||
40b36307 L |
343 | 2007-01-16 H.J. Lu <hongjiu.lu@intel.com> |
344 | ||
345 | PR ld/3831 | |
346 | * NEWS: Mention -Bsymbolic-functions, --dynamic-list-data and | |
347 | --dynamic-list-cpp-new. | |
348 | ||
349 | * ld.texinfo: Document -Bsymbolic-functions, --dynamic-list-data | |
350 | and --dynamic-list-cpp-new. | |
351 | ||
352 | * ldlang.c (lang_append_dynamic_list_cpp_new): New. | |
353 | (lang_process): Change link_info.dynamic to | |
354 | link_info.dynamic_list. | |
355 | (lang_append_dynamic_list): Likewise. | |
356 | * ldmain.c (main): Likewise. Initialize link_info.dynamic and | |
357 | link_info.dynamic_data to FALSE. | |
358 | ||
359 | * ldlang.h (lang_append_dynamic_list_cpp_new): New. | |
360 | ||
361 | * lexsup.c (option_values): Add OPTION_DYNAMIC_LIST_DATA and | |
362 | OPTION_DYNAMIC_LIST_CPP_NEW. | |
363 | (ld_options): Add entries for -Bsymbolic-functions, | |
364 | --dynamic-list-data and --dynamic-list-cpp-new. Make | |
365 | -Bsymbolic-functions an alias of --dynamic-list-data. | |
366 | (parse_args): Change link_info.dynamic to link_info.dynamic_list. | |
367 | Set link_info.dynamic to TRUE for --dynamic-list and | |
368 | --dynamic-list-cpp-typeinfo. Handle --dynamic-list-data and | |
369 | --dynamic-list-cpp-new. | |
370 | ||
59e0647f NS |
371 | 2007-01-11 Nathan Sidwell <nathan@codesourcery.com> |
372 | ||
373 | * emultempl/elf-generic.em (gdl_map_segments): Only allow header | |
374 | shrinkage for the first few iterations. | |
375 | ||
42037fe5 NC |
376 | 2007-01-08 Kai Tietz <kai.tietz@onevision.com> |
377 | ||
378 | * configure.tgt: Renamed target x86_64-*-mingw64 to | |
379 | x86_64-*-mingw*. | |
380 | ||
f9967789 NC |
381 | 2007-01-08 Pedro Alves <pedro_alves@portugalmail.pt> |
382 | ||
383 | * configure.host: Add i[3-7]86-*-mingw* case. | |
384 | ||
033432d0 NC |
385 | 2007-01-08 Nick Clifton <nickc@redhat.com> |
386 | ||
387 | * pep-dll.h (pep_bfd_is_dll): Add prototype. | |
388 | ||
916c46cb NC |
389 | 2007-01-08 Aurelien Jarno <aurelien@aurel32.net> |
390 | ||
391 | PR ld/3843 | |
392 | * configure.tgt (x86_64_[k]freebsd*): Add targ_extra_libpath and | |
393 | tdir_elf_i386_fbsd. | |
394 | ||
cc3e2771 NS |
395 | 2007-01-06 Nathan Sidwell <nathan@codesourcery.com> |
396 | ||
397 | * ldexp.c (fold_name): Issue error on undefined sections. | |
398 | ||
799133e8 AM |
399 | 2007-01-02 Alan Modra <amodra@bigpond.net.au> |
400 | ||
401 | * pe-dll.c: Include pe-dll.h. | |
402 | * pep-dll.c (pe_bfd_is_dll): Define. | |
403 | ||
10a2343e | 404 | For older changes see ChangeLog-2006 |
252b5132 RH |
405 | \f |
406 | Local Variables: | |
407 | mode: change-log | |
408 | left-margin: 8 | |
409 | fill-column: 74 | |
410 | version-control: never | |
411 | End: |