1f89ed2d59ddf40562afac3f7fdcef5af078f31b
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2007-08-17 Jakub Jelinek <jakub@redhat.com>
2
3 * configure.host: Handle sparcv*-*-linux-* the same as
4 sparc-*-linux-*. Change sparc64-*-linux-* to sparc64*-*-linux-*.
5
6 2007-08-17 Alan Modra <amodra@bigpond.net.au>
7
8 * emultempl/alphaelf.em: Format option help.
9 * emultempl/armcoff.em: Likewise.
10 * emultempl/armelf.em: Likewise.
11 * emultempl/avrelf.em: Likewise.
12 * emultempl/elf32.em: Likewise.
13 * emultempl/hppaelf.em: Likewise.
14 * emultempl/ia64elf.em: Likewise.
15 * emultempl/m68hc1xelf.em: Likewise.
16 * emultempl/ppc32elf.em: Likewise.
17 * emultempl/ppc64elf.em: Likewise.
18 * emultempl/scoreelf.em: Likewise.
19 * emultempl/spuelf.em: Likewise.
20 * emultempl/ticoff.em: Likewise.
21 * emultempl/vxworks.em: Likewise.
22 * emultempl/xtensaelf.em: Likewise.
23
24 2007-08-17 Alan Modra <amodra@bigpond.net.au>
25
26 * ldexp.c (exp_get_vma, exp_get_fill): Canonicalise error messages.
27 * lexsup.c (ld_options): Don't use tabs in help text.
28 * emultempl/armcoff.em (gld${EMULATION_NAME}_finish): Fix typo.
29 * emultempl/pe.em (gld${EMULATION_NAME}_finish): Fix typo.
30
31 2007-08-17 Alan Modra <amodra@bigpond.net.au>
32
33 * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
34
35 2007-08-15 Alan Modra <amodra@bigpond.net.au>
36
37 PR 4923
38 * emultempl/elf32.em (after_open): Return immediately when
39 non-ELF output.
40
41 2007-08-12 Daniel Jacobowitz <dan@codesourcery.com>
42
43 * configure.in (ALL_LINGUAS): Add fi.
44 * po/fi.po: New file.
45 * configure: Regenerated.
46
47 2007-08-10 Nick Clifton <nickc@redhat.com>
48
49 * NEWS: Add a marker for the 2.18 features.
50
51 2007-08-10 Nick Clifton <nickc@redhat.com>
52
53 * po/ga.po: Updated Irish translation.
54 * po/vi.po: Updated Vietnamese translation.
55
56 2007-08-10 H.J. Lu <hongjiu.lu@intel.com>
57
58 * Makefile.am: Run "make dep-am".
59 * Makefile.in: Regenerate.
60
61 2007-08-10 H.J. Lu <hongjiu.lu@intel.com>
62
63 PR ld/4875
64 * elf-hints-local.h: Include bfd_stdint.h. Use uint32_t
65 instead of u_int32_t.
66
67 * sha1.h: Include bfd_stdint.h instead of <stdint.h>.
68
69 2007-08-09 Alan Modra <amodra@bigpond.net.au>
70
71 PR 4515
72 * genscripts.sh: Delete all references to NONPAGED_TEXT_START_ADDR.
73 * ldint.texinfo: Likewise.
74 * emulparams/armaoutb.sh (NONPAGED_TEXT_START_ADDRESS): Delete.
75 * emulparams/armaoutl.sh: Likewise.
76 * emulparams/arcelf.sh (NONPAGED_TEXT_START_ADDR): Delete.
77 * emulparams/bfin.sh: Likewise
78 * emulparams/crisaout.sh: Likewise
79 * emulparams/elf32_sparc.sh: Likewise
80 * emulparams/elf32am33lin.sh: Likewise
81 * emulparams/elf32b4300.sh: Likewise
82 * emulparams/elf32bmip.sh: Likewise
83 * emulparams/elf32mcore.sh: Likewise
84 * emulparams/elf32xtensa.sh: Likewise
85 * emulparams/elf64_s390.sh: Likewise
86 * emulparams/elf64_sparc.sh: Likewise
87 * emulparams/elf64alpha.sh: Likewise
88 * emulparams/elf_i386.sh: Likewise
89 * emulparams/elf_i386_be.sh: Likewise
90 * emulparams/elf_i386_chaos.sh: Likewise
91 * emulparams/elf_i386_ldso.sh: Likewise
92 * emulparams/elf_i386_vxworks.sh: Likewise
93 * emulparams/elf_s390.sh: Likewise
94 * emulparams/elf_x86_64.sh: Likewise
95 * emulparams/i386aout.sh: Likewise
96 * emulparams/i386moss.sh: Likewise
97 * emulparams/i386msdos.sh: Likewise
98 * emulparams/i386nto.sh: Likewise
99 * emulparams/i386nw.sh: Likewise
100 * emulparams/m68kaout.sh: Likewise
101 * emulparams/m68kelf.sh: Likewise
102 * emulparams/ppcnw.sh: Likewise
103 * emulparams/sun4.sh: Likewise
104 * emulparams/tic80coff.sh: Likewise
105 * emulparams/vaxnbsd.sh: Likewise
106 * emulparams/armnbsd.sh (NONPAGED_TEXT_START_ADDR): Delete.
107 (TEXT_START_ADDR): Set for -n, -N.
108 * emulparams/coff_sparc.sh: Likewise
109 * emulparams/elf32vax.sh: Likewise
110 * emulparams/i386bsd.sh: Likewise
111 * emulparams/i386go32.sh: Likewise
112 * emulparams/i386linux.sh: Likewise
113 * emulparams/i386lynx.sh: Likewise
114 * emulparams/i386mach.sh: Likewise
115 * emulparams/m68k4knbsd.sh: Likewise
116 * emulparams/m68klinux.sh: Likewise
117 * emulparams/m68knbsd.sh: Likewise
118 * emulparams/ns32knbsd.sh: Likewise
119 * emulparams/pc532macha.sh: Likewise
120 * emulparams/ppclynx.sh: Likewise
121 * emulparams/scoreelf.sh: Likewise
122 * emulparams/sparcaout.sh: Likewise
123 * emulparams/sparclinux.sh: Likewise
124 * emulparams/sun3.sh: Likewise
125 * emulparams/vsta.sh: Likewise
126
127 2007-08-07 Ralf Corsépius <ralf.corsepius@rtems.org>
128
129 * configure.tgt: Add bfin-*rtems*.
130
131 2007-08-06 Kai Tietz <kai.tietz@onevision.com>
132
133 * emultempl/pep.em: (pep_enable_stdcall_fixup): Set to value 1.
134 (gld_xxx_recognized_file): Use pep_bfd_is_dll for detection of
135 shared objects.
136 * pe-dll.c: (autofilter_symbollist_i386): Define set for amd64
137 mingw target.
138
139 2007-08-01 Nick Clifton <nickc@redhat.com>
140
141 * po/ga.po: Updated Irish translation.
142
143 2007-07-29 Alan Modra <amodra@bigpond.net.au>
144
145 * ldlang.c (lang_insert_orphan): When searching through linker
146 script to place an orphan, don't stop on statements that appear
147 outside of SECTIONS.
148 * emultempl/elf32.em (output_rel_find): Prefer read-only alloc
149 sections over read/write alloc sections.
150
151 2007-07-28 Jakub Jelinek <jakub@redhat.com>
152
153 * scripttempl/elf.sc: Add .note.gnu.build-id.
154
155 2007-07-25 Nick Clifton <nickc@redhat.com>
156
157 PR 4824
158 * ld.texinfo (Options): Extend the description of the -O command
159 line option.
160
161 2007-07-24 Kai Tietz <kai.tietz@onevision.com>
162
163 * pep.sc: Correct ctor/dtor sentinels for 64-bit targets.
164
165 2007-07-21 Nick Clifton <nickc@redhat.com>
166
167 * sha1.h: Change to use version 3 of the GNU General Public
168 License and tidy up formatting.
169 * sha1.c: Likewise.
170
171 2007-07-19 Roland McGrath <roland@redhat.com>
172
173 * genscripts.sh (source_em, fragment): New sh functions.
174 Truncate e${EMULATION_NAME}.c file before .em script fills it.
175 Use source_em in place of . for the .em script.
176 * emultempl/generic.em: Use fragment and source_em functions.
177 * emultempl/aix.em: Likewise.
178 * emultempl/alphaelf.em: Likewise.
179 * emultempl/armcoff.em: Likewise.
180 * emultempl/armelf.em: Likewise.
181 * emultempl/avrelf.em: Likewise.
182 * emultempl/beos.em: Likewise.
183 * emultempl/cr16elf.em: Likewise.
184 * emultempl/crxelf.em: Likewise.
185 * emultempl/elf-generic.em: Likewise.
186 * emultempl/elf32.em: Likewise.
187 * emultempl/genelf.em: Likewise.
188 * emultempl/gld960.em: Likewise.
189 * emultempl/gld960c.em: Likewise.
190 * emultempl/hppaelf.em: Likewise.
191 * emultempl/ia64elf.em: Likewise.
192 * emultempl/irix.em: Likewise.
193 * emultempl/linux.em: Likewise.
194 * emultempl/lnk960.em: Likewise.
195 * emultempl/m68hc1xelf.em: Likewise.
196 * emultempl/m68kcoff.em: Likewise.
197 * emultempl/m68kelf.em: Likewise.
198 * emultempl/mipsecoff.em: Likewise.
199 * emultempl/mipself.em: Likewise.
200 * emultempl/mmix-elfnmmo.em: Likewise.
201 * emultempl/mmixelf.em: Likewise.
202 * emultempl/mmo.em: Likewise.
203 * emultempl/needrelax.em: Likewise.
204 * emultempl/netbsd.em: Likewise.
205 * emultempl/pe.em: Likewise.
206 * emultempl/pep.em: Likewise.
207 * emultempl/ppc32elf.em: Likewise.
208 * emultempl/ppc64elf.em: Likewise.
209 * emultempl/scoreelf.em: Likewise.
210 * emultempl/sh64elf.em: Likewise.
211 * emultempl/spuelf.em: Likewise.
212 * emultempl/sunos.em: Likewise.
213 * emultempl/ticoff.em: Likewise.
214 * emultempl/vanilla.em: Likewise.
215 * emultempl/vxworks.em: Likewise.
216 * emultempl/xtensaelf.em: Likewise.
217 * emultempl/z80.em: Likewise.
218
219 2007-07-18 Roland McGrath <roland@redhat.com>
220
221 * emultempl/elf32.em (gld${EMULATION_NAME}_write_build_id_section):
222 Use ASEC->contents for CONTENTS when missing, and allocate
223 ASEC->size if needed.
224
225 2007-07-13 Roland McGrath <roland@redhat.com>
226
227 * emultempl/elf32.em (struct build_id_info): New type.
228 (gld${EMULATION_NAME}_id_note_section_size): New function.
229 (gld${EMULATION_NAME}_write_build_id_section): New function.
230 (gld${EMULATION_NAME}_after_open): Use them.
231 (DEFAULT_BUILD_ID_STYLE): Change to "sha1".
232 * ld.texinfo (Options): Mention --build-id=sha1.
233
234 * sha1.h: New file (from gnulib).
235 * sha1.c: New file (from gnulib).
236 * Makefile.am (CFILES, HFILES, OFILES, ld_new_SOURCES): Add them.
237 (sha1.o): New target.
238 * Makefile.in: Regenerated.
239
240 2007-07-13 Alan Modra <amodra@bigpond.net.au>
241
242 * ldlang.c (strip_excluded_output_sections): Don't ignore sections
243 with update_dot_tree.
244
245 2007-07-12 Nathan Sidwell <nathan@codesourcery.com>
246
247 * scripttempl/pe.sc: Don't include .gcc_except_table and
248 .eh_frame on partial links.
249 * scripttempl/pep.sc: Likewise.
250
251 2007-07-12 Alan Modra <amodra@bigpond.net.au>
252
253 PR 4782
254 * ldlang.c (lang_size_sections_1 <output_section_statement>): Only
255 use expld.result when valid.
256
257 2007-07-12 Alan Modra <amodra@bigpond.net.au>
258
259 * emultempl/spuelf.em (embedded_spu_file): Test for NULL path
260 before calling base_name, not after.
261
262 2007-07-10 Alan Modra <amodra@bigpond.net.au>
263
264 * scripttempl/elf.sc (DISCARDED): Renamed from STACKNOTE. Add
265 .gnu.debuglink.
266 * scripttempl/armbpabi.sc: Likewise.
267 * scripttempl/elf32sh-symbian.sc: Likewise.
268 * scripttempl/elfxtensa.sc: Likewise.
269 * scripttempl/mep.sc: Likewise.
270
271 2007-07-09 Roland McGrath <roland@redhat.com>
272
273 * emultempl/elf32.em (gld${EMULATION_NAME}_add_option): Add --build-id.
274 (gld${EMULATION_NAME}_handle_option): Handle --build-id.
275 (gld${EMULATION_NAME}_list_options): List --build-id.
276 (gld${EMULATION_NAME}_after_open): If --build-id was given,
277 synthesize a ".note.gnu.build-id" section and cache it in elf_tdata.
278 * ld.texinfo (Options): Describe --build-id.
279 * NEWS: Mention --build-id.
280
281 2007-07-06 Nick Clifton <nickc@redhat.com>
282
283 * deffile.h: Update copyright notice to refer to GPLv3.
284 * deffilep.y, ldcref.c, ldctor.c, ldctor.h, ldemul.c, ldemul.h,
285 ldexp.c, ldexp.h, ldfile.c, ldfile.h, ldgram.y, ld.h, ldlang.c,
286 ldlang.h, ldlex.h, ldlex.l, ldmain.c, ldmain.h, ldmisc.c,
287 ldmisc.h, ldver.c, ldver.h, ldwrite.c, ldwrite.h, lexsup.c, mri.c,
288 mri.h, pe-dll.c, pe-dll.h, pep-dll.c, pep-dll.h, stamp-h.in,
289 sysdep.h, emultempl/aix.em, emultempl/alphaelf.em,
290 emultempl/armcoff.em, emultempl/armelf.em, emultempl/avrelf.em,
291 emultempl/beos.em, emultempl/cr16elf.em, emultempl/crxelf.em,
292 emultempl/elf32.em, emultempl/elf-generic.em, emultempl/genelf.em,
293 emultempl/generic.em, emultempl/gld960c.em, emultempl/gld960.em,
294 emultempl/hppaelf.em, emultempl/ia64elf.em, emultempl/irix.em,
295 emultempl/linux.em, emultempl/lnk960.em, emultempl/m68hc1xelf.em,
296 emultempl/m68kcoff.em, emultempl/m68kelf.em,
297 emultempl/mipsecoff.em, emultempl/mipself.em,
298 emultempl/mmixelf.em, emultempl/mmix-elfnmmo.em, emultempl/mmo.em,
299 emultempl/needrelax.em, emultempl/pe.em, emultempl/pep.em,
300 emultempl/ppc32elf.em, emultempl/ppc64elf.em,
301 emultempl/scoreelf.em, emultempl/sh64elf.em, emultempl/spuelf.em,
302 emultempl/spu_ovl.S, emultempl/sunos.em, emultempl/ticoff.em,
303 emultempl/vanilla.em, emultempl/xtensaelf.em: Likewise.
304 * genscripts.sh: Add copyright notice.
305 * emultempl/netbsd.em, emultempl/vxworks.em, emultempl/z80.em:
306 Likewise.
307 * NEWS: Mention that the sources are now under GPLv3.
308 * configure: Regenerate.
309
310 2007-07-05 Danny Smith <dannysmith@users.sourceforge.net>
311
312 * ld.texinfo (--heap): Replace 'amount' with 'number of bytes'.
313 (--stack): Likewise.
314
315 2007-07-03 Matthias Klose <doko@ubuntu.com>
316
317 * emultempl/spuelf.em (base_name): Correct backslash quoting.
318
319 2007-07-02 Alan Modra <amodra@bigpond.net.au>
320
321 * Makefile.in: Regenerate.
322 * aclocal.m4: Regenerate.
323 * config.in: Regenerate.
324 * po/ld.pot: Regenerate.
325
326 2007-06-30 H.J. Lu <hongjiu.lu@intel.com>
327
328 * aclocal.m4: Regenerated.
329 * Makefile.in: Likewise.
330
331 2007-06-29 H.J. Lu <hongjiu.lu@intel.com>
332
333 * NEWS: Remove a line with '*' only.
334
335 2007-06-29 Joseph Myers <joseph@codesourcery.com>
336
337 * emulparams/armelf.sh (OTHER_SECTIONS): Remove .ARM.attributes.
338 (ATTRS_SECTIONS): Define.
339 * scripttempl/elf.sc, scripttempl/elf32sh-symbian.sc,
340 scripttempl/elf_chaos.sc, scripttempl/elfi370.sc,
341 scripttempl/elfxtensa.sc: Handle ATTRS_SECTIONS.
342
343 2007-06-29 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
344
345 * scripttemp/elf32cr16.sc: Default linker script.
346 * emulparams/elf32cr16.sh: Emulation script.
347 * emultempl/cr16elf.em: Emulation script.
348 * Makefile.am: Add entry to make cr16 target.
349 * Makefile.in: Regenerate.
350 * configure.tgt: Specify default and other emulation parameters
351 for cr16.
352 * ChangeLog: Added CR16 target entry.
353 * NEWS: Announce the support for the CR16 new target.
354
355 2007-06-27 Alan Modra <amodra@bigpond.net.au>
356
357 * pe-dll.c: Rename uses of bfd.next to bfd.archive_next throughout.
358
359 2007-06-20 Alan Modra <amodra@bigpond.net.au>
360
361 * emulparams/elf32_spu.sh (OTHER_SECTIONS): KEEP .note.spu_name.
362
363 2007-06-18 Nathan Sidwell <nathan@codesourcery.com>
364
365 * ldlex.l, ldgram.y: Add ALIGNOF.
366 * ldexp.c (exp_print_token, foldname): Likewise.
367 * ld.texinfo: Likewise.
368
369 2007-06-18 Alan Modra <amodra@bigpond.net.au>
370
371 * Makefile.am: Add eelf32_spu.o rule.
372 * Makefile.in: Regenerate.
373 * emultempl/spuelf.em: Revert last change. Instead use EMBEDSPU
374 defined in Makefile for embedspu name.
375
376 2007-06-18 Alan Modra <amodra@bigpond.net.au>
377
378 * emultempl/spuelf.em (embedded_spu_file): Deduce embedspu program
379 name prefix from that of ld.
380
381 2007-06-14 H.J. Lu <hongjiu.lu@intel.com>
382
383 * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
384
385 * acinclude.m4: Removed.
386
387 * Makefile.in: Regenerated.
388 * aclocal.m4: Likewise.
389 * configure: Likewise.
390
391 2007-06-14 Alan Modra <amodra@bigpond.net.au>
392
393 * emultempl/spu_ovl.S: Don't trash lr on tail call from one
394 overlay to another.
395 * emultempl/spu_ovl.o: Regenerate.
396
397 2007-06-11 Bob Wilson <bob.wilson@acm.org>
398
399 * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS): Add ONLY_IF_RO
400 for .xt_except_table.
401 (OTHER_RELRO_SECTIONS): New.
402
403 2007-06-11 Sterling Augustine <sterling@tensilica.com>
404 Bob Wilson <bob.wilson@acm.org>
405
406 * emultempl/xtensaelf.em (replace_insn_sec_with_prop_sec): Use renamed
407 XTENSA_PROP_NO_TRANSFORM flag instead of XTENSA_PROP_INSN_NO_TRANSFORM.
408
409 2007-06-01 Noah Misch <noah@cs.caltech.edu>
410 Alan Modra <amodra@bigpond.net.au>
411
412 * ldlang.c (ldlang_add_file): Use input_bfds_tail.
413 * ldmain.c (main): Init input_bfds_tail. Sort link_info
414 initialization.
415
416 2007-05-29 Alan Modra <amodra@bigpond.net.au>
417
418 * emultempl/spuelf.em (base_name): New function, split out from..
419 (embedded_spu_file) ..here. Pass -fPIC or -fpie to embedspu
420 invocation if we deduce a shared lib or position independent
421 executable build by looking at ctrbegin* linker input files.
422
423 2007-05-29 Alan Modra <amodra@bigpond.net.au>
424
425 * emultempl/spu_ovl.S (__rv_pattern, __cg_pattern): Set symbol
426 types and sizes.
427 * emultempl/spu_ovl.o: Regenerate.
428
429 2007-05-24 Steve Ellcey <sje@cup.hp.com>
430
431 * Makefile.in: Regnerate.
432 * configure: Regenerate.
433 * aclocal.m4: Regenerate.
434
435 2007-05-24 Nathan Sidwell <nathan@codesourcery.com>
436
437 * ldlex.l: ASSERT is recognized in SCRIPT env. NAMES cannot
438 contain commas in EXP env.
439 * ldgram.y (extern_name_list): Push to EXP env, move body to ...
440 (extern_name_list_body): ... here.
441 (script_file, ifile_list): Reformat.
442 (statement): Add ASSERT.
443
444 2007-05-22 Nick Clifton <nickc@redhat.com>
445
446 * ld.texinfo: Use @copying around the copyright notice.
447 * ldint.texinfo: Likewise.
448
449 2007-05-18 Richard Sandiford <richard@codesourcery.com>
450
451 * emulparams/elf32ebmipvxworks.sh (OTHER_READONLY_SECTIONS)
452 (OTHER_READWRITE_SECTIONS): Define. Add .rdata sections.
453
454 2007-05-16 Richard Sandiford <richard@codesourcery.com>
455
456 * configure.in: Allow sysroots to be relocated under $prefix as
457 well as $exec_prefix.
458 * configure: Regenerate.
459
460 2007-05-14 Andreas Schwab <schwab@suse.de>
461
462 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern):
463 Handle null pattern.
464
465 2007-05-11 Alan Modra <amodra@bigpond.net.au>
466
467 * emultempl/ppc32elf.em (plt_style): New variable.
468 (old_plt): Delete.
469 (ppc_after_open): Adjust ppc_elf_select_plt_layout call.
470 (PARSE_AND_LIST_PROLOGUE): Define OPTION_NEW_PLT, renumber
471 OPTION_OLD_PLT, OPTION_OLD_GOT and OPTION_STUBSYMS.
472 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add secure-plt.
473 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_NEW_PLT.
474 * ld.texinfo (--secure-plt): Document.
475
476 2007-05-08 Alan Modra <amodra@bigpond.net.au>
477
478 * ld.h (args_type, ld_config_type): Reorder fields.
479 * ldmain.c (main): Don't initialise a bunch of vars we know are
480 zero already.
481
482 2007-05-05 Anatoly Sokolov <aesok@post.ru>
483
484 * multempl/avrelf.em (PARSE_AND_LIST_ARGS_CASES): Add new value for
485 "--pmem-wrap-around".
486 (PARSE_AND_LIST_OPTIONS): Describe new value for "--pmem-wrap-around".
487
488 2007-05-03 Bob Wilson <bob.wilson@acm.org>
489
490 * scripttempl/elfxtensa.sc: Merge changes from elf.sc.
491
492 2007-05-03 Alan Modra <amodra@bigpond.net.au>
493
494 * ld.texinfo (--no-warn-search-mismatch): Document.
495 * ldfile.c (ldfile_try_open_bfd): Don't warn about skipping
496 incompatible libraries if --no-warn-search-mismatch.
497 * ld.h (args_type): Add warn_search_mismatch.
498 * ldmain.c (main): Init it.
499 * lexsup.c (enum option_values): Add OPTION_NO_WARN_SEARCH_MISMATCH.
500 (ld_options): Add entry for --no-warn-search-mismatch.
501 (parse_args): Handle OPTION_NO_WARN_SEARCH_MISMATCH.
502
503 2007-05-03 Alan Modra <amodra@bigpond.net.au>
504
505 * scripttempl/elf.sc: Add .debug_pubtypes and .debug_ranges.
506
507 2007-05-01 Robert Millan <rmh@aybabtu.com>
508
509 * ldlang.c (lang_check): Error on architecture mismatch.
510
511 2007-04-30 Alan Modra <amodra@bigpond.net.au>
512
513 * ldmain.c (link_callbacks): Init info and minfo fields.
514 * ldmisc.c (minfo): Do nothing if no map file.
515 * emultempl/spuelf.em (stack_analysis, emit_stack_syms): New vars.
516 (spu_after_open): Adjust spu_elf_create_sections call.
517 (spu_before_allocation): Likewise for spu_elf_size_stubs.
518 (OPTION_SPU_STACK_ANALYSIS, OPTION_SPU_STACK_SYMS): Define.
519 (PARSE_AND_LIST_LONGOPTS): Add new entries.
520 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise.
521 * gen-doc.texi: Add @set for SPU and other missing targets.
522 * ld.texinfo: Update man page selection to match gen-doc.texi.
523 Document SPU features.
524
525 2007-04-28 Alan Modra <amodra@bigpond.net.au>
526
527 * ldcref.c (struct cref_hash_entry): Make "demangled" const.
528 (cref_fill_array): Adjust for changed demangler.
529 * ldlang.c (lang_one_common): Likewise.
530
531 2007-04-27 Nathan Froyd <froydnj@codesourcery.com>
532
533 * emulparams/elf32_sparc.sh: Update comments.
534 * emulparams/elf32bmip.sh: Likewise.
535 * emulparams/elf32ppc.sh: Likewise.
536 * emulparams/vxworks.sh: Likewise.
537
538 2007-04-27 Alan Modra <amodra@bigpond.net.au>
539
540 Many files: Include sysdep.h first. Remove duplicate headers.
541 * Makefile.am: Run "make dep-am".
542 * Makefile.in: Regenerate.
543
544 2007-04-24 Alan Modra <amodra@bigpond.net.au>
545
546 * Makefile.in: Regenerate.
547
548 2007-04-19 Alan Modra <amodra@bigpond.net.au>
549
550 * ldcref.c (cref_fill_array): Call bfd_demangle rather than demangle.
551 * ldlang.c (lang_one_common): Likewise.
552 * ldmisc.c (vfinfo): Likewise.
553 (demangle): Delete.
554 * ldmisc.h (demangle): Delete.
555 * Makefile.am: Run "make dep-am".
556 * Makefile.in: Regenerate.
557
558 2007-04-18 Alan Modra <amodra@bigpond.net.au>
559
560 * ldlang.h (enum section_type): Add overlay_section.
561 * ldlang.c (lang_add_section): Handle flags for overlay_section
562 as per normal_section.
563 (lang_size_sections_1): When setting lma, detect overlays by
564 os->sectype rather than by looking for overlapping vmas.
565 (lang_enter_overlay_section): Use overlay_section type.
566 (lang_leave_overlay): Set first overlay section to normal.
567
568 2007-04-14 Steve Ellcey <sje@cup.hp.com>
569
570 * Makefile.am: Add ACLOCAL_AMFLAGS.
571 * Makefile.in: Regenerate.
572
573 2007-04-12 Bob Wilson <bob.wilson@acm.org>
574
575 * emulparams/elf32xtensa.sh (OTHER_SECTIONS): KEEP property sections.
576
577 2007-04-10 Richard Henderson <rth@redhat.com>
578
579 * ldlang.c (relax_sections): Initialize and increment
580 link_info.relax_trip.
581
582 2007-04-04 Paul Brook <paul@codesourcery.com>
583
584 * configure.tgt: Loosen checks for arm uclinux eabi targets.
585
586 2007-04-02 H.J. Lu <hongjiu.lu@intel.com>
587
588 PR ld/4090
589 * ldexp.h (node_type): Add lineno.
590 * ldexp.c: Include "ldlex.h".
591 (exp_intop): Set the lineno field from lineno.
592 (exp_bigintop): Likewise.
593 (exp_relop): Likewise.
594 (exp_nameop): Likewise.
595 (exp_binop): Set the lineno field from lineno of lhs.
596 (exp_trinop): Likewise.
597 (exp_unop): Set the lineno field from lineno of child.
598 (exp_assop): Set the lineno field from lineno of src.
599 (exp_provide): Likewise.
600 (exp_assert): Set the lineno field from lineno of exp.
601 (exp_get_abs_int): Set lineno from lineno of nonconstant
602 expression when report problem.
603
604 2007-03-29 Richard Sandiford <richard@codesourcery.com>
605 Daniel Jacobowitz <dan@codesourcery.com>
606
607 * NEWS: Mention -l:foo.
608 * ld.texinfo: Document it.
609 * ldlang.c (new_afile): If a lang_input_file_is_l_enum
610 entry as a name beginning with a coloh, convert it to a
611 lang_input_file_is_search_file_enum entry without the colon.
612
613 2007-03-28 Richard Sandiford <richard@codesourcery.com>
614
615 * ld.h (ld_config_type): Add rpath_separator.
616 * ldmain.c (main): Initialize it.
617 * lexsup.c (parse_args): Honor config.rpath_separator.
618 * emultempl/elf32.em (gld${EMULATION_NAME}_search_needed): Likewise.
619 (gld${EMULATION_NAME}_add_sysroot): Likewise.
620 (gld${EMULATION_NAME}_parse_ld_so_conf): Use config.rpath_separator
621 rather than ':' when building the path.
622 * emultempl/vxworks.em (vxworks_before_parse): New function.
623 Override config.rpath_separator.
624 (LDEMUL_AFTER_OPEN): Do not change if EXTRA_EM_FILE has been
625 set to gld${EMULATION_NAME}_after_open; #define that identifier
626 to vxworks_foo instead.
627 (LDEMUL_BEFORE_PARSE): Override in the same way as LDEMUL_AFTER_OPEN.
628
629 2007-03-28 Richard Sandiford <richard@codesourcery.com>
630 Phil Edwards <phil@codesourcery.com>
631
632 * ld.texinfo: Put the contents after the title page rather
633 than at the end of the document.
634
635 2007-03-26 Alan Modra <amodra@bigpond.net.au>
636
637 * Makefile.am: Add dependency on ldemul-list.h for powerpc and
638 spu target emul files.
639 * configure.in: Check for mkstemp and waitpid.
640 * Makefile.in: Regenerate.
641 * configure: Regenerate.
642 * config.in: Regenerate.
643 * ldlang.c (input_file_chain): Make global.
644 (lang_add_input_file): Don't set lang_has_input_file here.
645 * ldlang.h (input_file_chain): Declare.
646 * emultempl/ppc32elf.em (ppc_recognized_file): New function.
647 (LDEMUL_RECOGNIZED_FILE): Define.
648 * emultempl/ppc64elf.em (ppc64_recognized_file): New function.
649 (LDEMUL_RECOGNIZED_FILE): Define.
650 * emultempl/spuelf.em (struct tflist): New.
651 (tmp_file_list): New var.
652 (clean_tmp, embedded_spu_file): New functions.
653
654 2007-03-24 Alan Modra <amodra@bigpond.net.au>
655
656 * ldlang.c (lang_insert_orphan): Provide start/stop loadaddr syms
657 rather than defining unconditionally.
658 (lang_leave_overlay_section): Likewise.
659 * ld.texinfo (Overlay Description): Update description and examples
660 for start/stop syms.
661
662 2007-03-22 Joseph Myers <joseph@codesourcery.com>
663
664 * ld.texinfo: Include VERSION_PACKAGE when reporting version.
665
666 2007-03-20 Paul Brook <paul@codesourcery.com>
667
668 * emultempl/armelf.em (pic_veneer): New variable.
669 (PARSE_AND_LIST_PROLOGUE): Add OPTION_PIC_VENEER.
670 (PARSE_AND_LIST_ARGS_CASES): Ditto.
671 (PARSE_AND_LIST_LONGOPTS): Add "pic-veneer".
672 (PARSE_AND_LIST_OPTIONS): Ditto.
673 * ld.texinfo: Document --pic-veneer.
674
675 2007-03-18 Mark Shinwell <shinwell@codesourcery.com>
676
677 * ld.texinfo: Document --no-enum-size-warning.
678 * emultempl/armelf.em (no_enum_size_warning): New.
679 (arm_elf_create_output_section_statements): Correct typo
680 in comment. Pass no_enum_size_warning to
681 bfd_elf32_arm_set_target_relocs.
682 (PARSE_AND_LIST_PROLOGUE): Define OPTION_NO_ENUM_SIZE_WARNING.
683 (PARSE_AND_LIST_OPTIONS): Document --no-enum-size-warning.
684 (PARSE_AND_LIST_ARGS_CASES): Add OPTION_NO_ENUM_SIZE_WARNING
685 case.
686
687 2007-03-19 Bernd Schmidt <bernd.schmidt@analog.com>
688
689 * configure.tgt (bfin-*-elf, bfin-*-uclinux*): Add targ_extra_libpath.
690 (bfin-*-linux-uclibc*): New target.
691
692 2007-03-16 Kai Tietz <Kai.Tietz@onevision.com>
693
694 * pe-dll.c (make_one): Use pc-relative relocation instead of an
695 absolute relocation for x86_64-pc-mingw32 target.
696
697 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
698
699 * Makefile.am (ld_TEXINFOS): Remove ldver.texi.
700 (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
701 (TEXI2DVI): Likewise.
702 (REPORT_BUGS_TO): Removed.
703 (INCLUDES): Remove -DREPORT_BUGS_TO.
704 (ldver.texi): Likewise.
705 (ld.1): Don't depend on ldver.texi.
706 (MOSTLYCLEANFILES): Remove ldver.texi.
707 * Makefile.in: Regenerated.
708
709 * configure.in (--with-bugurl): Removed.
710 * configure: Regenerated.
711
712 * lexsup.c: Include bfdver.h.
713
714 * ld.texinfo: Include bfdver.texi instead of ldver.texi.
715
716 2007-03-11 Hans-Peter Nilsson <hp@bitrange.com>
717
718 * emultempl/mmixelf.em: Remove incorrect '#line' directive.
719
720 2007-03-08 Alan Modra <amodra@bigpond.net.au>
721
722 * ldlang.c (lang_size_sections_1): Correct backwards dot move
723 test to not trigger on overlays. Only warn on backwards move
724 if non-default lma.
725
726 2007-03-07 Joseph Myers <joseph@codesourcery.com>
727
728 * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
729 bug-reporting URL.
730 * Makefile.am (ldver.texi): Define BUGURL.
731 * ld.texinfo: Use BUGURL.
732 * Makefile.in, configure: Regenerate.
733
734 2007-03-07 Nick Clifton <nickc@redhat.com>
735
736 PR ld/4023
737 * emultempl/aix.em (..._before_allocation): Strip sysroot prefix
738 from any paths being inserted into the output binary's DT_RPATH.
739
740 2007-03-02 Nathan Sidwell <nathan@codesourcery.com>
741
742 * emulparams/shelf_uclinux.sh: New. Missed in 2007-02-28 commit.
743
744 2007-03-01 Joseph Myers <joseph@codesourcery.com>
745
746 * ldver.c (ldversion): Remove word "version" from output. Update
747 copyright date.
748
749 2007-02-28 Nathan Sidwell <nathan@codesourcery.com>
750
751 * Makefile.am (ALL_EMULATIONS): Add eshelf_uclinux.o
752 (eshelf_uclinux.c): New target.
753 * Makefile.in: Rebuilt.
754 * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): New stanza.
755 * emulparams/shelf_uclinux.sh: New.
756
757 2007-02-28 Alan Modra <amodra@bigpond.net.au>
758
759 * configure.tgt: Fix type last change.
760 * configure.tgt (spu-*-elf*): Delete targ_extra_ofiles.
761
762 2007-02-27 Alan Modra <amodra@bigpond.net.au>
763
764 * Makefile.am (ALL_EMUL_EXTRA_OFILES): Remove spu_inc.o.
765 (eelf32_spu.c): Adjust dependencies.
766 * Makefile.in: Regenerate.
767 * emultempl/spuelf.em (ovl_mgr): New array. Insert spu_ovl.o
768 code using bin2c.
769 (_binary_spu_ovl_o_start, _binary_spu_ovl_o_end): Delete.
770 (ovl_mgr_stream): Update.
771 * emultempl/spu_inc.s: Delete.
772 * emultempl/spu_none.s: Delete.
773
774 2007-02-26 Alan Modra <amodra@bigpond.net.au>
775
776 * emultempl/spuelf.em (_binary_builtin_ovl_mgr_start): Rename
777 to _binary_spu_ovl_o_start.
778 (_binary_builtin_ovl_mgr_end): Rename to _binary_spu_ovl_o_end.
779 (spu_elf_load_ovl_mgr): Fatal error on missing overlay manager.
780 * emultempl/spu_inc.s: Rename symbols.
781 * emultempl/spu_none.s: New file.
782 * emultempl/spu_ovl.S: Update copyright.
783 * Makefile.am (spu_inc.o): Try building with ld -r first, then
784 gas incbin, then build without overlay manager.
785 * Makefile.in: Regenerate.
786
787 2007-02-22 Joseph Myers <joseph@codesourcery.com>
788
789 * configure.tgt (mips64*el-*-linux-*, mips64*-*-linux-*,
790 mips*el-*-linux-*, mips*-*-linux-*): Set
791 targ_extra_libpath=$targ_extra_emuls.
792
793 2007-02-21 Nick Clifton <nickc@redhat.com>
794
795 * ldlang.c (ldlang_override_segment_assignment): New function.
796 * ldlang.h (ldlang_override_segment_assignment): Prototype.
797 * ldmain.c (link_callbacks): Add
798 ldlang_override_segment_assignment.
799
800 2007-02-20 Alan Modra <amodra@bigpond.net.au>
801
802 * ldexp.c (fold_name <LOADADDR>): Ensure result is always absolute.
803
804 2007-02-17 Mark Mitchell <mark@codesourcery.com>
805 Nathan Sidwell <nathan@codesourcery.com>
806 Vladimir Prus <vladimir@codesourcery.com
807 Joseph Myers <joseph@codesourcery.com>
808
809 * configure.in (--with-bugurl): New option.
810 * configure: Regenerate.
811 * Makefile.am (REPORT_BUGS_TO): Define.
812 (INCLUDES): Define REPORT_BUGS_TO.
813 Regenerate dependencies.
814 * Makefile.in: Regenerate.
815 * ld.h: Remove include of bin-bugs.h.
816 * lexsup.c (help): Don't print empty REPORT_BUGS_TO.
817
818 2007-02-17 Alan Modra <amodra@bigpond.net.au>
819
820 * ldcref.c (check_reloc_refs): Compare section for local syms.
821
822 2007-02-13 Alan Modra <amodra@bigpond.net.au>
823
824 * emultempl/spu_ovl.S (__ovly_return, __ovly_load): Set sym size.
825 (__ovly_load_event): Define.
826 (size): Rename to osize.
827 * emultempl/spu_ovl.o: Regenerate.
828
829 2007-02-13 Alan Modra <amodra@bigpond.net.au>
830
831 * emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Add ".branch_lt".
832 * emultempl/ppc64elf.em (ppc_add_stub_section): Create without
833 SEC_RELOC flag set.
834
835 2007-02-09 H.J. Lu <hongjiu.lu@intel.com>
836
837 * configure.in (targ_extra_emuls): Add $targ64_extra_emuls if
838 want64 is true.
839 (targ_extra_libpath): Add $targ64_extra_libpath if want64 is
840 true
841 * configure: Regenerated.
842
843 * configure.tgt (targ_extra_libpath): Initialize.
844 (targ64_extra_emuls): New. Document. Initialize.
845 (targ64_extra_libpath): Likewise.
846 (i[3-7]86-*-linux-*): Set targ64_extra_emuls and
847 targ64_extra_libpath.
848 (powerpc*-*-linux*): Likewise.
849 (s390-*-linux*): Likewise.
850
851 2007-02-07 Paul Brook <paul@codesourcery.com>
852
853 * configure.tgt: Add arm*-*-uclinux-*eabi.
854
855 2007-02-06 H.J. Lu <hongjiu.lu@intel.com>
856
857 * ldlang.c (lang_size_sections_1): Add a missing `)'.
858
859 2007-02-06 Alan Modra <amodra@bigpond.net.au>
860
861 PR ld/3966
862 * ldlang.c (lang_size_sections_1): Don't warn on backwards dot
863 move unless section size is non-zero.
864
865 2007-02-05 Dave Brolley <brolley@redhat.com>
866
867 * Makefile.am (ALL_EMULATIONS): Add support for Toshiba MeP.
868 * configure.tgt: Likewise.
869 * scripttempl/mep.sc: New file.
870 * emulparams/elf32mep.sh: New file.
871 * Makefile.in: Regenerate.
872
873 2006-01-29 Julian Brown <julian@codesourcery.com>
874
875 * NEWS: Mention --vfp11-denorm-fix option.
876 * ld.texinfo: Document above.
877 * emulparams/armelf_linux.sh (OTHER_TEXT_SECTIONS): Add
878 .vfp11_veneer section.
879 * emulparams/armelf.sh (OTHER_TEXT_SECTIONS): Likewise.
880 * emultempl/armelf.em (vfp11_denorm_fix): New static variable.
881 (arm_elf_before_allocation): Call bfd_elf32_arm_set_vfp11_fix,
882 bfd_elf32_arm_init_maps and bfd_elf32_arm_vfp11_erratum_scan.
883 (arm_elf_after_allocation): New function. Call
884 bfd_elf32_arm_vfp11_fix_veneer_locations for all input statements.
885 (arm_elf_create_output_section_statements): Pass vfp11 fix command
886 line option to BFD.
887 (OPTION_VFP11_DENORM_FIX): New option.
888 (PARSE_AND_LIST_LONGOPTS): Handle new option.
889 (PARSE_AND_LIST_OPTIONS): Likewise.
890 (PARSE_AND_LIST_ARGS_CASES): Likewise.
891 (LDEMUL_AFTER_ALLOCATION): Define.
892
893 2007-01-24 H.J. Lu <hongjiu.lu@intel.com>
894
895 * ldgram.y (SIZEOF_HEADERS): Remove duplicated one.
896 (DEFSYMEND): Likewise.
897 (NAME): Likewise.
898 (LNAME): Likewise.
899
900 2007-01-19 Murali Vemulapati <murali.vemulapati@gmail.com>
901
902 * pe-dll.c: (make_one) Conditionally include jump stubs.
903 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Identify
904 redundant jump stubs from import libraries and exclude them from
905 link.
906
907 2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
908
909 * ld.h (args_type): Add new symbolic and dynamic_list fields.
910
911 * ld.texinfo: Update -Bsymbolic-functions.
912
913 * ldmain.c (main): Initialize command_line.symbolic to
914 symbolic_unset and command_line.dynamic_list to
915 dynamic_list_unset. Check -Bsymbolic, -Bsymbolic-functions and
916 --dynamic-list* before setting link_info.symbolic,
917 link_info.dynamic and link_info.dynamic_data.
918
919 * lexsup.c (option_values): Add OPTION_SYMBOLIC_FUNCTIONS.
920 (ld_options): Use OPTION_SYMBOLIC_FUNCTIONS with
921 -Bsymbolic-functions.
922 (parse_args): Handle -Bsymbolic-functions. Don't set
923 link_info.dynamic, link_info.dynamic_data and link_info.symbolic
924 here. Set command_line.symbolic for -Bsymbolic. Set
925 command_line.dynamic_list and command_line.symbolic for
926 --dynamic-list-data, --dynamic-list-cpp-new,
927 --dynamic-list-cpp-typeinfo and --dynamic-list.
928
929 2007-01-19 Jakub Jelinek <jakub@redhat.com>
930 H.J. Lu <hongjiu.lu@intel.com>
931
932 * emultempl/elf32.em (handle_option): Make sure -z max-page-size
933 or -z common-page-size argument is a power of 2. Call
934 bfd_emul_set_maxpagesize and bfd_emul_set_commonpagesize.
935
936 2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
937
938 * ldmain.c (main): Don't call bfd_emul_set_maxpagesize nor
939 bfd_emul_set_commonpagesize.
940
941 2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
942
943 * NEWS: Mention --default-script/-dT.
944
945 * ld.h (args_type): Add a default_script field.
946
947 * ld.texinfo: Document --default-script/-dT.
948
949 * ldmain.c (main): Handle command_line.default_script.
950
951 * lexsup.c (option_values): Add OPTION_DEFAULT_SCRIPT.
952 (ld_options): Add entries for --default-script and -dT.
953 (parse_args): Handle --default-script/-dT.
954
955 2007-01-16 H.J. Lu <hongjiu.lu@intel.com>
956
957 PR ld/3831
958 * NEWS: Mention -Bsymbolic-functions, --dynamic-list-data and
959 --dynamic-list-cpp-new.
960
961 * ld.texinfo: Document -Bsymbolic-functions, --dynamic-list-data
962 and --dynamic-list-cpp-new.
963
964 * ldlang.c (lang_append_dynamic_list_cpp_new): New.
965 (lang_process): Change link_info.dynamic to
966 link_info.dynamic_list.
967 (lang_append_dynamic_list): Likewise.
968 * ldmain.c (main): Likewise. Initialize link_info.dynamic and
969 link_info.dynamic_data to FALSE.
970
971 * ldlang.h (lang_append_dynamic_list_cpp_new): New.
972
973 * lexsup.c (option_values): Add OPTION_DYNAMIC_LIST_DATA and
974 OPTION_DYNAMIC_LIST_CPP_NEW.
975 (ld_options): Add entries for -Bsymbolic-functions,
976 --dynamic-list-data and --dynamic-list-cpp-new. Make
977 -Bsymbolic-functions an alias of --dynamic-list-data.
978 (parse_args): Change link_info.dynamic to link_info.dynamic_list.
979 Set link_info.dynamic to TRUE for --dynamic-list and
980 --dynamic-list-cpp-typeinfo. Handle --dynamic-list-data and
981 --dynamic-list-cpp-new.
982
983 2007-01-11 Nathan Sidwell <nathan@codesourcery.com>
984
985 * emultempl/elf-generic.em (gdl_map_segments): Only allow header
986 shrinkage for the first few iterations.
987
988 2007-01-08 Kai Tietz <kai.tietz@onevision.com>
989
990 * configure.tgt: Renamed target x86_64-*-mingw64 to
991 x86_64-*-mingw*.
992
993 2007-01-08 Pedro Alves <pedro_alves@portugalmail.pt>
994
995 * configure.host: Add i[3-7]86-*-mingw* case.
996
997 2007-01-08 Nick Clifton <nickc@redhat.com>
998
999 * pep-dll.h (pep_bfd_is_dll): Add prototype.
1000
1001 2007-01-08 Aurelien Jarno <aurelien@aurel32.net>
1002
1003 PR ld/3843
1004 * configure.tgt (x86_64_[k]freebsd*): Add targ_extra_libpath and
1005 tdir_elf_i386_fbsd.
1006
1007 2007-01-06 Nathan Sidwell <nathan@codesourcery.com>
1008
1009 * ldexp.c (fold_name): Issue error on undefined sections.
1010
1011 2007-01-02 Alan Modra <amodra@bigpond.net.au>
1012
1013 * pe-dll.c: Include pe-dll.h.
1014 * pep-dll.c (pe_bfd_is_dll): Define.
1015
1016 For older changes see ChangeLog-2006
1017 \f
1018 Local Variables:
1019 mode: change-log
1020 left-margin: 8
1021 fill-column: 74
1022 version-control: never
1023 End:
This page took 0.064264 seconds and 3 git commands to generate.