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