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