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