Add MN10300 linker relaxation support for symbol differences
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
bfff1642
NC
12007-10-19 Nick Clifton <nickc@redhat.com>
2
3 * configure.tgt: Add support for am34-linux-gnu target.
4
20e56351
DJ
52007-10-17 Zack Weinberg <zack@codesourcery.com>
6
7 * ldlang.c (lang_check_section_addresses): Also report size of
8 overflow for any overflowed memory regions.
9 (os_region_check): Diagnose an overflowed region only once per
10 region. Do not reset region->current on overflow.
11
6241fe3d
NC
122007-10-04 Nick Clifton <nickc@redhat.com>
13
8524166d
NC
14 PR linker/4844
15 * emultempl/pep.em (pep_find_data_imports): Issue a warning
16 message if auto importing is triggered without
17 --enable-auto-import having been specified on the command line.
18 * emultempl/pe.em (pe_find_data_imports): Likewise.
19
6241fe3d
NC
20 PR linker/5097
21 * emultempl/armelf.em (arm_elf_finish): Fix spelling typo.
22
e2a83dd0
NC
232007-10-01 Nick Clifton <nickc@redhat.com>
24
25 PR linker/4844
26 * genscript.sh: Add support for generating a .xa script for use
27 with the --auto-import option.
28 * ld.texinfo: Document the new behaviour of the --auto-import
29 option.
30 * ldint.texinfo: Document new script generation.
31 * emulparams/i386pe.sh (GENERATE_AUTO_IMPORT): Define.
32 * emulparams/i386pe_posix.sh (GENERATE_AUTO_IMPORT): Define.
33 * emulparams/i386pep.sh (GENERATE_AUTO_IMPORT): Define.
34 * emultemp/pe.em (..._get_script): Support the use of the auto
35 import script.
36 * scripttempl/pe.sc: Put the .rdata input sections into the .data
37 output section when creating an auto import script.
38 * scripttempl/pep.sc: Likewise.
39
c828a49f
AM
402007-09-26 Brian Watt <bwatt@us.ibm.com>
41
42 * emultempl/spu_ovl.S: Add debug printf code.
43
b10a8ae0
L
442007-09-17 H.J. Lu <hongjiu.lu@intel.com>
45
46 PR binutils/3281
47 PR binutils/5037
48 * ldexp.h (ldexp_control): Add relro, relro_start_stat and
49 relro_end_stat.
50
51 * ldexp.c (fold_binary): Set expld.dataseg.relro to
52 exp_dataseg_relro_start or exp_dataseg_relro_end when
53 seeing DATA_SEGMENT_ALIGN or DATA_SEGMENT_RELRO_END,
54 respectively.
55
56 * ldlang.c (lang_size_sections_1): Properly set
57 expld.dataseg.relro_start_stat and
58 expld.dataseg.relro_end_stat.
59 (find_relro_section_callback): New function.
60 (lang_find_relro_sections_1): Likewise.
61 (lang_find_relro_sections): Likewise.
62 (lang_process): Call lang_find_relro_sections for
63 non-relocatable link.
64
7f396d02
NC
652007-09-17 Nick Clifton <nickc@redhat.com>
66
67 * po/es.po: Updated Spanish translation.
68
fbfca19e
L
692007-09-16 H.J. Lu <hongjiu.lu@intel.com>
70
71 * emultempl/elf32.em: Check DF_BIND_NOW instead of DT_BIND_NOW.
72
83e4970b
AM
732007-09-15 Alan Modra <amodra@bigpond.net.au>
74
75 PR ld/5025
76 * emultempl/elf32.em (write_build_id_section): Correct test for
77 "missing" .note.gnu.build-id. Downgrade error to a warning if
78 it has been discarded.
79
c4e9ac52
AM
802007-09-08 Alan Modra <amodra@bigpond.net.au>
81
82 * ldwrite.c (build_link_order <lang_padding_statement_enum>): Correct
83 condition under which we build a bfd_data_link_order.
84
a1438fce
NC
852007-08-31 Tristan Gingold <gingold@adacore.com>
86
87 * ldlang.c (lang_map): Increment lang_statement_iteration so that
88 DEFINED() expressions are correctly computed.
89
e9442572
AM
902007-08-31 Alan Modra <amodra@bigpond.net.au>
91
92 * ldlang.c (lang_record_phdrs): Give a fatal error if no sections
93 assigned to phdrs. Avoid multiple forward scans for a section
94 with phdr assignment.
95
7f6a71ff
JM
962007-08-28 Mark Shinwell <shinwell@codesourcery.com>
97 Joseph Myers <joseph@codesourcery.com>
98
99 * ldlang.c (sort_sections_by_lma): Sort by internal id after lma
100 for stable sort.
101
0b3e17e9
NC
1022007-08-28 Robert Sebastian Gerus <arachnist@gmail.com>
103
104 * configure.host: Add support for i[3-7]86-*-dragonfly*.
105 * configure.tgt: Likewise.
106
b4346c09
AM
1072007-08-18 Alan Modra <amodra@bigpond.net.au>
108
109 * ld.texinfo (Input Section Basics): Correct EXCLUDE_FILE example.
110
7e976ae4
JJ
1112007-08-17 Jakub Jelinek <jakub@redhat.com>
112
113 * configure.host: Handle sparcv*-*-linux-* the same as
114 sparc-*-linux-*. Change sparc64-*-linux-* to sparc64*-*-linux-*.
115
442996ee
AM
1162007-08-17 Alan Modra <amodra@bigpond.net.au>
117
118 * emultempl/alphaelf.em: Format option help.
119 * emultempl/armcoff.em: Likewise.
120 * emultempl/armelf.em: Likewise.
121 * emultempl/avrelf.em: Likewise.
122 * emultempl/elf32.em: Likewise.
123 * emultempl/hppaelf.em: Likewise.
124 * emultempl/ia64elf.em: Likewise.
125 * emultempl/m68hc1xelf.em: Likewise.
126 * emultempl/ppc32elf.em: Likewise.
127 * emultempl/ppc64elf.em: Likewise.
128 * emultempl/scoreelf.em: Likewise.
129 * emultempl/spuelf.em: Likewise.
130 * emultempl/ticoff.em: Likewise.
131 * emultempl/vxworks.em: Likewise.
132 * emultempl/xtensaelf.em: Likewise.
133
c58dea77
AM
1342007-08-17 Alan Modra <amodra@bigpond.net.au>
135
136 * ldexp.c (exp_get_vma, exp_get_fill): Canonicalise error messages.
137 * lexsup.c (ld_options): Don't use tabs in help text.
138 * emultempl/armcoff.em (gld${EMULATION_NAME}_finish): Fix typo.
139 * emultempl/pe.em (gld${EMULATION_NAME}_finish): Fix typo.
140
e9f27433
AM
1412007-08-17 Alan Modra <amodra@bigpond.net.au>
142
143 * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
144
d10e7fcc
AM
1452007-08-15 Alan Modra <amodra@bigpond.net.au>
146
147 PR 4923
148 * emultempl/elf32.em (after_open): Return immediately when
149 non-ELF output.
150
19aec961
DJ
1512007-08-12 Daniel Jacobowitz <dan@codesourcery.com>
152
153 * configure.in (ALL_LINGUAS): Add fi.
154 * po/fi.po: New file.
155 * configure: Regenerated.
156
7c3d153f
NC
1572007-08-10 Nick Clifton <nickc@redhat.com>
158
159 * NEWS: Add a marker for the 2.18 features.
160
d02756e7
NC
1612007-08-10 Nick Clifton <nickc@redhat.com>
162
163 * po/ga.po: Updated Irish translation.
164 * po/vi.po: Updated Vietnamese translation.
165
347a3193
L
1662007-08-10 H.J. Lu <hongjiu.lu@intel.com>
167
168 * Makefile.am: Run "make dep-am".
169 * Makefile.in: Regenerate.
170
fe8b7f87
L
1712007-08-10 H.J. Lu <hongjiu.lu@intel.com>
172
173 PR ld/4875
174 * elf-hints-local.h: Include bfd_stdint.h. Use uint32_t
175 instead of u_int32_t.
176
177 * sha1.h: Include bfd_stdint.h instead of <stdint.h>.
178
88bba78d
AM
1792007-08-09 Alan Modra <amodra@bigpond.net.au>
180
181 PR 4515
182 * genscripts.sh: Delete all references to NONPAGED_TEXT_START_ADDR.
183 * ldint.texinfo: Likewise.
184 * emulparams/armaoutb.sh (NONPAGED_TEXT_START_ADDRESS): Delete.
185 * emulparams/armaoutl.sh: Likewise.
186 * emulparams/arcelf.sh (NONPAGED_TEXT_START_ADDR): Delete.
187 * emulparams/bfin.sh: Likewise
188 * emulparams/crisaout.sh: Likewise
189 * emulparams/elf32_sparc.sh: Likewise
190 * emulparams/elf32am33lin.sh: Likewise
191 * emulparams/elf32b4300.sh: Likewise
192 * emulparams/elf32bmip.sh: Likewise
193 * emulparams/elf32mcore.sh: Likewise
194 * emulparams/elf32xtensa.sh: Likewise
195 * emulparams/elf64_s390.sh: Likewise
196 * emulparams/elf64_sparc.sh: Likewise
197 * emulparams/elf64alpha.sh: Likewise
198 * emulparams/elf_i386.sh: Likewise
199 * emulparams/elf_i386_be.sh: Likewise
200 * emulparams/elf_i386_chaos.sh: Likewise
201 * emulparams/elf_i386_ldso.sh: Likewise
202 * emulparams/elf_i386_vxworks.sh: Likewise
203 * emulparams/elf_s390.sh: Likewise
204 * emulparams/elf_x86_64.sh: Likewise
205 * emulparams/i386aout.sh: Likewise
206 * emulparams/i386moss.sh: Likewise
207 * emulparams/i386msdos.sh: Likewise
208 * emulparams/i386nto.sh: Likewise
209 * emulparams/i386nw.sh: Likewise
210 * emulparams/m68kaout.sh: Likewise
211 * emulparams/m68kelf.sh: Likewise
212 * emulparams/ppcnw.sh: Likewise
213 * emulparams/sun4.sh: Likewise
214 * emulparams/tic80coff.sh: Likewise
215 * emulparams/vaxnbsd.sh: Likewise
216 * emulparams/armnbsd.sh (NONPAGED_TEXT_START_ADDR): Delete.
217 (TEXT_START_ADDR): Set for -n, -N.
218 * emulparams/coff_sparc.sh: Likewise
219 * emulparams/elf32vax.sh: Likewise
220 * emulparams/i386bsd.sh: Likewise
221 * emulparams/i386go32.sh: Likewise
222 * emulparams/i386linux.sh: Likewise
223 * emulparams/i386lynx.sh: Likewise
224 * emulparams/i386mach.sh: Likewise
225 * emulparams/m68k4knbsd.sh: Likewise
226 * emulparams/m68klinux.sh: Likewise
227 * emulparams/m68knbsd.sh: Likewise
228 * emulparams/ns32knbsd.sh: Likewise
229 * emulparams/pc532macha.sh: Likewise
230 * emulparams/ppclynx.sh: Likewise
231 * emulparams/scoreelf.sh: Likewise
232 * emulparams/sparcaout.sh: Likewise
233 * emulparams/sparclinux.sh: Likewise
234 * emulparams/sun3.sh: Likewise
235 * emulparams/vsta.sh: Likewise
236
2372007-08-07 Ralf Corsépius <ralf.corsepius@rtems.org>
c2c09cab
NC
238
239 * configure.tgt: Add bfin-*rtems*.
240
880383ca
NC
2412007-08-06 Kai Tietz <kai.tietz@onevision.com>
242
243 * emultempl/pep.em: (pep_enable_stdcall_fixup): Set to value 1.
244 (gld_xxx_recognized_file): Use pep_bfd_is_dll for detection of
245 shared objects.
246 * pe-dll.c: (autofilter_symbollist_i386): Define set for amd64
247 mingw target.
248
bc37fce3
NC
2492007-08-01 Nick Clifton <nickc@redhat.com>
250
251 * po/ga.po: Updated Irish translation.
252
48f2ff54
AM
2532007-07-29 Alan Modra <amodra@bigpond.net.au>
254
255 * ldlang.c (lang_insert_orphan): When searching through linker
256 script to place an orphan, don't stop on statements that appear
257 outside of SECTIONS.
258 * emultempl/elf32.em (output_rel_find): Prefer read-only alloc
259 sections over read/write alloc sections.
260
cd714b79
JJ
2612007-07-28 Jakub Jelinek <jakub@redhat.com>
262
263 * scripttempl/elf.sc: Add .note.gnu.build-id.
264
98c503ac
NC
2652007-07-25 Nick Clifton <nickc@redhat.com>
266
267 PR 4824
268 * ld.texinfo (Options): Extend the description of the -O command
269 line option.
270
9b996610
NC
2712007-07-24 Kai Tietz <kai.tietz@onevision.com>
272
273 * pep.sc: Correct ctor/dtor sentinels for 64-bit targets.
274
60b8eb31
NC
2752007-07-21 Nick Clifton <nickc@redhat.com>
276
277 * sha1.h: Change to use version 3 of the GNU General Public
278 License and tidy up formatting.
279 * sha1.c: Likewise.
280
261e4844
RM
2812007-07-19 Roland McGrath <roland@redhat.com>
282
283 * genscripts.sh (source_em, fragment): New sh functions.
284 Truncate e${EMULATION_NAME}.c file before .em script fills it.
285 Use source_em in place of . for the .em script.
286 * emultempl/generic.em: Use fragment and source_em functions.
287 * emultempl/aix.em: Likewise.
288 * emultempl/alphaelf.em: Likewise.
289 * emultempl/armcoff.em: Likewise.
290 * emultempl/armelf.em: Likewise.
291 * emultempl/avrelf.em: Likewise.
292 * emultempl/beos.em: Likewise.
293 * emultempl/cr16elf.em: Likewise.
294 * emultempl/crxelf.em: Likewise.
295 * emultempl/elf-generic.em: Likewise.
296 * emultempl/elf32.em: Likewise.
297 * emultempl/genelf.em: Likewise.
298 * emultempl/gld960.em: Likewise.
299 * emultempl/gld960c.em: Likewise.
300 * emultempl/hppaelf.em: Likewise.
301 * emultempl/ia64elf.em: Likewise.
302 * emultempl/irix.em: Likewise.
303 * emultempl/linux.em: Likewise.
304 * emultempl/lnk960.em: Likewise.
305 * emultempl/m68hc1xelf.em: Likewise.
306 * emultempl/m68kcoff.em: Likewise.
307 * emultempl/m68kelf.em: Likewise.
308 * emultempl/mipsecoff.em: Likewise.
309 * emultempl/mipself.em: Likewise.
310 * emultempl/mmix-elfnmmo.em: Likewise.
311 * emultempl/mmixelf.em: Likewise.
312 * emultempl/mmo.em: Likewise.
313 * emultempl/needrelax.em: Likewise.
314 * emultempl/netbsd.em: Likewise.
315 * emultempl/pe.em: Likewise.
316 * emultempl/pep.em: Likewise.
317 * emultempl/ppc32elf.em: Likewise.
318 * emultempl/ppc64elf.em: Likewise.
319 * emultempl/scoreelf.em: Likewise.
320 * emultempl/sh64elf.em: Likewise.
321 * emultempl/spuelf.em: Likewise.
322 * emultempl/sunos.em: Likewise.
323 * emultempl/ticoff.em: Likewise.
324 * emultempl/vanilla.em: Likewise.
325 * emultempl/vxworks.em: Likewise.
326 * emultempl/xtensaelf.em: Likewise.
327 * emultempl/z80.em: Likewise.
328
816efef9
RM
3292007-07-18 Roland McGrath <roland@redhat.com>
330
331 * emultempl/elf32.em (gld${EMULATION_NAME}_write_build_id_section):
332 Use ASEC->contents for CONTENTS when missing, and allocate
333 ASEC->size if needed.
334
979dc3bc
RM
3352007-07-13 Roland McGrath <roland@redhat.com>
336
337 * emultempl/elf32.em (struct build_id_info): New type.
338 (gld${EMULATION_NAME}_id_note_section_size): New function.
339 (gld${EMULATION_NAME}_write_build_id_section): New function.
340 (gld${EMULATION_NAME}_after_open): Use them.
341 (DEFAULT_BUILD_ID_STYLE): Change to "sha1".
342 * ld.texinfo (Options): Mention --build-id=sha1.
343
344 * sha1.h: New file (from gnulib).
345 * sha1.c: New file (from gnulib).
346 * Makefile.am (CFILES, HFILES, OFILES, ld_new_SOURCES): Add them.
347 (sha1.o): New target.
348 * Makefile.in: Regenerated.
349
3d263d86
AM
3502007-07-13 Alan Modra <amodra@bigpond.net.au>
351
352 * ldlang.c (strip_excluded_output_sections): Don't ignore sections
353 with update_dot_tree.
354
5f294ed6
NS
3552007-07-12 Nathan Sidwell <nathan@codesourcery.com>
356
357 * scripttempl/pe.sc: Don't include .gcc_except_table and
358 .eh_frame on partial links.
359 * scripttempl/pep.sc: Likewise.
360
3bf9618b
AM
3612007-07-12 Alan Modra <amodra@bigpond.net.au>
362
363 PR 4782
364 * ldlang.c (lang_size_sections_1 <output_section_statement>): Only
365 use expld.result when valid.
366
80c4ed32
AM
3672007-07-12 Alan Modra <amodra@bigpond.net.au>
368
369 * emultempl/spuelf.em (embedded_spu_file): Test for NULL path
370 before calling base_name, not after.
371
1c68693b
AM
3722007-07-10 Alan Modra <amodra@bigpond.net.au>
373
374 * scripttempl/elf.sc (DISCARDED): Renamed from STACKNOTE. Add
375 .gnu.debuglink.
376 * scripttempl/armbpabi.sc: Likewise.
377 * scripttempl/elf32sh-symbian.sc: Likewise.
378 * scripttempl/elfxtensa.sc: Likewise.
379 * scripttempl/mep.sc: Likewise.
380
fd2f25da
RM
3812007-07-09 Roland McGrath <roland@redhat.com>
382
383 * emultempl/elf32.em (gld${EMULATION_NAME}_add_option): Add --build-id.
384 (gld${EMULATION_NAME}_handle_option): Handle --build-id.
385 (gld${EMULATION_NAME}_list_options): List --build-id.
386 (gld${EMULATION_NAME}_after_open): If --build-id was given,
387 synthesize a ".note.gnu.build-id" section and cache it in elf_tdata.
388 * ld.texinfo (Options): Describe --build-id.
389 * NEWS: Mention --build-id.
390
f96b4a7b
NC
3912007-07-06 Nick Clifton <nickc@redhat.com>
392
393 * deffile.h: Update copyright notice to refer to GPLv3.
394 * deffilep.y, ldcref.c, ldctor.c, ldctor.h, ldemul.c, ldemul.h,
395 ldexp.c, ldexp.h, ldfile.c, ldfile.h, ldgram.y, ld.h, ldlang.c,
396 ldlang.h, ldlex.h, ldlex.l, ldmain.c, ldmain.h, ldmisc.c,
397 ldmisc.h, ldver.c, ldver.h, ldwrite.c, ldwrite.h, lexsup.c, mri.c,
398 mri.h, pe-dll.c, pe-dll.h, pep-dll.c, pep-dll.h, stamp-h.in,
399 sysdep.h, emultempl/aix.em, emultempl/alphaelf.em,
400 emultempl/armcoff.em, emultempl/armelf.em, emultempl/avrelf.em,
401 emultempl/beos.em, emultempl/cr16elf.em, emultempl/crxelf.em,
402 emultempl/elf32.em, emultempl/elf-generic.em, emultempl/genelf.em,
403 emultempl/generic.em, emultempl/gld960c.em, emultempl/gld960.em,
404 emultempl/hppaelf.em, emultempl/ia64elf.em, emultempl/irix.em,
405 emultempl/linux.em, emultempl/lnk960.em, emultempl/m68hc1xelf.em,
406 emultempl/m68kcoff.em, emultempl/m68kelf.em,
407 emultempl/mipsecoff.em, emultempl/mipself.em,
408 emultempl/mmixelf.em, emultempl/mmix-elfnmmo.em, emultempl/mmo.em,
409 emultempl/needrelax.em, emultempl/pe.em, emultempl/pep.em,
410 emultempl/ppc32elf.em, emultempl/ppc64elf.em,
411 emultempl/scoreelf.em, emultempl/sh64elf.em, emultempl/spuelf.em,
412 emultempl/spu_ovl.S, emultempl/sunos.em, emultempl/ticoff.em,
413 emultempl/vanilla.em, emultempl/xtensaelf.em: Likewise.
414 * genscripts.sh: Add copyright notice.
415 * emultempl/netbsd.em, emultempl/vxworks.em, emultempl/z80.em:
416 Likewise.
417 * NEWS: Mention that the sources are now under GPLv3.
418 * configure: Regenerate.
419
a00b50c5
DS
4202007-07-05 Danny Smith <dannysmith@users.sourceforge.net>
421
422 * ld.texinfo (--heap): Replace 'amount' with 'number of bytes'.
423 (--stack): Likewise.
424
0fd1c9f1
AM
4252007-07-03 Matthias Klose <doko@ubuntu.com>
426
427 * emultempl/spuelf.em (base_name): Correct backslash quoting.
428
ae351704
AM
4292007-07-02 Alan Modra <amodra@bigpond.net.au>
430
431 * Makefile.in: Regenerate.
432 * aclocal.m4: Regenerate.
433 * config.in: Regenerate.
434 * po/ld.pot: Regenerate.
435
86b57e31
L
4362007-06-30 H.J. Lu <hongjiu.lu@intel.com>
437
438 * aclocal.m4: Regenerated.
439 * Makefile.in: Likewise.
440
a19bcec6
L
4412007-06-29 H.J. Lu <hongjiu.lu@intel.com>
442
443 * NEWS: Remove a line with '*' only.
444
104d59d1
JM
4452007-06-29 Joseph Myers <joseph@codesourcery.com>
446
447 * emulparams/armelf.sh (OTHER_SECTIONS): Remove .ARM.attributes.
448 (ATTRS_SECTIONS): Define.
449 * scripttempl/elf.sc, scripttempl/elf32sh-symbian.sc,
450 scripttempl/elf_chaos.sc, scripttempl/elfi370.sc,
451 scripttempl/elfxtensa.sc: Handle ATTRS_SECTIONS.
452
0fdaa005 4532007-06-29 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
3d3d428f
NC
454
455 * scripttemp/elf32cr16.sc: Default linker script.
456 * emulparams/elf32cr16.sh: Emulation script.
457 * emultempl/cr16elf.em: Emulation script.
458 * Makefile.am: Add entry to make cr16 target.
459 * Makefile.in: Regenerate.
460 * configure.tgt: Specify default and other emulation parameters
461 for cr16.
462 * ChangeLog: Added CR16 target entry.
463 * NEWS: Announce the support for the CR16 new target.
464
cc481421
AM
4652007-06-27 Alan Modra <amodra@bigpond.net.au>
466
467 * pe-dll.c: Rename uses of bfd.next to bfd.archive_next throughout.
468
3e6c41d1
AM
4692007-06-20 Alan Modra <amodra@bigpond.net.au>
470
471 * emulparams/elf32_spu.sh (OTHER_SECTIONS): KEEP .note.spu_name.
472
362c1d1a
NS
4732007-06-18 Nathan Sidwell <nathan@codesourcery.com>
474
475 * ldlex.l, ldgram.y: Add ALIGNOF.
476 * ldexp.c (exp_print_token, foldname): Likewise.
477 * ld.texinfo: Likewise.
478
42ba7415
AM
4792007-06-18 Alan Modra <amodra@bigpond.net.au>
480
481 * Makefile.am: Add eelf32_spu.o rule.
482 * Makefile.in: Regenerate.
483 * emultempl/spuelf.em: Revert last change. Instead use EMBEDSPU
484 defined in Makefile for embedspu name.
485
628e8859
AM
4862007-06-18 Alan Modra <amodra@bigpond.net.au>
487
488 * emultempl/spuelf.em (embedded_spu_file): Deduce embedspu program
489 name prefix from that of ld.
490
79887925
L
4912007-06-14 H.J. Lu <hongjiu.lu@intel.com>
492
493 * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
494
495 * acinclude.m4: Removed.
496
497 * Makefile.in: Regenerated.
498 * aclocal.m4: Likewise.
499 * configure: Likewise.
500
107eb3fc
AM
5012007-06-14 Alan Modra <amodra@bigpond.net.au>
502
503 * emultempl/spu_ovl.S: Don't trash lr on tail call from one
504 overlay to another.
505 * emultempl/spu_ovl.o: Regenerate.
506
460d3e08
BW
5072007-06-11 Bob Wilson <bob.wilson@acm.org>
508
509 * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS): Add ONLY_IF_RO
510 for .xt_except_table.
511 (OTHER_RELRO_SECTIONS): New.
512
99ded152
BW
5132007-06-11 Sterling Augustine <sterling@tensilica.com>
514 Bob Wilson <bob.wilson@acm.org>
fd2f25da 515
99ded152
BW
516 * emultempl/xtensaelf.em (replace_insn_sec_with_prop_sec): Use renamed
517 XTENSA_PROP_NO_TRANSFORM flag instead of XTENSA_PROP_INSN_NO_TRANSFORM.
fd2f25da 518
a9a4c53e
AM
5192007-06-01 Noah Misch <noah@cs.caltech.edu>
520 Alan Modra <amodra@bigpond.net.au>
521
522 * ldlang.c (ldlang_add_file): Use input_bfds_tail.
523 * ldmain.c (main): Init input_bfds_tail. Sort link_info
524 initialization.
525
3ba20bde
AM
5262007-05-29 Alan Modra <amodra@bigpond.net.au>
527
528 * emultempl/spuelf.em (base_name): New function, split out from..
529 (embedded_spu_file) ..here. Pass -fPIC or -fpie to embedspu
530 invocation if we deduce a shared lib or position independent
531 executable build by looking at ctrbegin* linker input files.
532
a7e4b3fe
AM
5332007-05-29 Alan Modra <amodra@bigpond.net.au>
534
535 * emultempl/spu_ovl.S (__rv_pattern, __cg_pattern): Set symbol
536 types and sizes.
537 * emultempl/spu_ovl.o: Regenerate.
538
37ad9514
SE
5392007-05-24 Steve Ellcey <sje@cup.hp.com>
540
541 * Makefile.in: Regnerate.
542 * configure: Regenerate.
543 * aclocal.m4: Regenerate.
544
8545d1a9
NS
5452007-05-24 Nathan Sidwell <nathan@codesourcery.com>
546
547 * ldlex.l: ASSERT is recognized in SCRIPT env. NAMES cannot
548 contain commas in EXP env.
549 * ldgram.y (extern_name_list): Push to EXP env, move body to ...
550 (extern_name_list_body): ... here.
551 (script_file, ifile_list): Reformat.
552 (statement): Add ASSERT.
553
0e9517a9
NC
5542007-05-22 Nick Clifton <nickc@redhat.com>
555
556 * ld.texinfo: Use @copying around the copyright notice.
557 * ldint.texinfo: Likewise.
558
120facfc
RS
5592007-05-18 Richard Sandiford <richard@codesourcery.com>
560
561 * emulparams/elf32ebmipvxworks.sh (OTHER_READONLY_SECTIONS)
562 (OTHER_READWRITE_SECTIONS): Define. Add .rdata sections.
563
fa1e8d8e
RS
5642007-05-16 Richard Sandiford <richard@codesourcery.com>
565
566 * configure.in: Allow sysroots to be relocated under $prefix as
567 well as $exec_prefix.
568 * configure: Regenerate.
569
b7b7fe3f
AS
5702007-05-14 Andreas Schwab <schwab@suse.de>
571
572 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern):
573 Handle null pattern.
574
016687f8
AM
5752007-05-11 Alan Modra <amodra@bigpond.net.au>
576
577 * emultempl/ppc32elf.em (plt_style): New variable.
578 (old_plt): Delete.
579 (ppc_after_open): Adjust ppc_elf_select_plt_layout call.
580 (PARSE_AND_LIST_PROLOGUE): Define OPTION_NEW_PLT, renumber
581 OPTION_OLD_PLT, OPTION_OLD_GOT and OPTION_STUBSYMS.
582 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add secure-plt.
583 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_NEW_PLT.
584 * ld.texinfo (--secure-plt): Document.
585
3b95049e
AM
5862007-05-08 Alan Modra <amodra@bigpond.net.au>
587
588 * ld.h (args_type, ld_config_type): Reorder fields.
589 * ldmain.c (main): Don't initialise a bunch of vars we know are
590 zero already.
591
2a69000b
DC
5922007-05-05 Anatoly Sokolov <aesok@post.ru>
593
fd2f25da 594 * multempl/avrelf.em (PARSE_AND_LIST_ARGS_CASES): Add new value for
2a69000b
DC
595 "--pmem-wrap-around".
596 (PARSE_AND_LIST_OPTIONS): Describe new value for "--pmem-wrap-around".
597
93c0f4a4
BW
5982007-05-03 Bob Wilson <bob.wilson@acm.org>
599
600 * scripttempl/elfxtensa.sc: Merge changes from elf.sc.
601
fe7929ce
AM
6022007-05-03 Alan Modra <amodra@bigpond.net.au>
603
604 * ld.texinfo (--no-warn-search-mismatch): Document.
605 * ldfile.c (ldfile_try_open_bfd): Don't warn about skipping
606 incompatible libraries if --no-warn-search-mismatch.
607 * ld.h (args_type): Add warn_search_mismatch.
608 * ldmain.c (main): Init it.
609 * lexsup.c (enum option_values): Add OPTION_NO_WARN_SEARCH_MISMATCH.
610 (ld_options): Add entry for --no-warn-search-mismatch.
611 (parse_args): Handle OPTION_NO_WARN_SEARCH_MISMATCH.
612
083a6ddf
AM
6132007-05-03 Alan Modra <amodra@bigpond.net.au>
614
615 * scripttempl/elf.sc: Add .debug_pubtypes and .debug_ranges.
616
79ac49f0
AM
6172007-05-01 Robert Millan <rmh@aybabtu.com>
618
619 * ldlang.c (lang_check): Error on architecture mismatch.
620
49fa1e15
AM
6212007-04-30 Alan Modra <amodra@bigpond.net.au>
622
623 * ldmain.c (link_callbacks): Init info and minfo fields.
624 * ldmisc.c (minfo): Do nothing if no map file.
625 * emultempl/spuelf.em (stack_analysis, emit_stack_syms): New vars.
626 (spu_after_open): Adjust spu_elf_create_sections call.
627 (spu_before_allocation): Likewise for spu_elf_size_stubs.
628 (OPTION_SPU_STACK_ANALYSIS, OPTION_SPU_STACK_SYMS): Define.
629 (PARSE_AND_LIST_LONGOPTS): Add new entries.
630 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise.
631 * gen-doc.texi: Add @set for SPU and other missing targets.
632 * ld.texinfo: Update man page selection to match gen-doc.texi.
633 Document SPU features.
634
d7d4c8de
AM
6352007-04-28 Alan Modra <amodra@bigpond.net.au>
636
637 * ldcref.c (struct cref_hash_entry): Make "demangled" const.
638 (cref_fill_array): Adjust for changed demangler.
639 * ldlang.c (lang_one_common): Likewise.
640
54530ea4
AM
6412007-04-27 Nathan Froyd <froydnj@codesourcery.com>
642
643 * emulparams/elf32_sparc.sh: Update comments.
644 * emulparams/elf32bmip.sh: Likewise.
645 * emulparams/elf32ppc.sh: Likewise.
646 * emulparams/vxworks.sh: Likewise.
647
eddc20ad
AM
6482007-04-27 Alan Modra <amodra@bigpond.net.au>
649
650 Many files: Include sysdep.h first. Remove duplicate headers.
651 * Makefile.am: Run "make dep-am".
652 * Makefile.in: Regenerate.
653
080b416d
AM
6542007-04-24 Alan Modra <amodra@bigpond.net.au>
655
656 * Makefile.in: Regenerate.
657
73705ac3
AM
6582007-04-19 Alan Modra <amodra@bigpond.net.au>
659
660 * ldcref.c (cref_fill_array): Call bfd_demangle rather than demangle.
661 * ldlang.c (lang_one_common): Likewise.
662 * ldmisc.c (vfinfo): Likewise.
663 (demangle): Delete.
664 * ldmisc.h (demangle): Delete.
665 * Makefile.am: Run "make dep-am".
666 * Makefile.in: Regenerate.
667
152d792f
AM
6682007-04-18 Alan Modra <amodra@bigpond.net.au>
669
670 * ldlang.h (enum section_type): Add overlay_section.
671 * ldlang.c (lang_add_section): Handle flags for overlay_section
672 as per normal_section.
673 (lang_size_sections_1): When setting lma, detect overlays by
674 os->sectype rather than by looking for overlapping vmas.
675 (lang_enter_overlay_section): Use overlay_section type.
676 (lang_leave_overlay): Set first overlay section to normal.
677
b7d19ba6
SE
6782007-04-14 Steve Ellcey <sje@cup.hp.com>
679
680 * Makefile.am: Add ACLOCAL_AMFLAGS.
681 * Makefile.in: Regenerate.
682
e1e5c0b5 6832007-04-12 Bob Wilson <bob.wilson@acm.org>
54530ea4 684
e1e5c0b5 685 * emulparams/elf32xtensa.sh (OTHER_SECTIONS): KEEP property sections.
54530ea4 686
4a828aab
RH
6872007-04-10 Richard Henderson <rth@redhat.com>
688
689 * ldlang.c (relax_sections): Initialize and increment
690 link_info.relax_trip.
691
9fcfe2ed
PB
6922007-04-04 Paul Brook <paul@codesourcery.com>
693
694 * configure.tgt: Loosen checks for arm uclinux eabi targets.
695
f856040a
L
6962007-04-02 H.J. Lu <hongjiu.lu@intel.com>
697
698 PR ld/4090
699 * ldexp.h (node_type): Add lineno.
700 * ldexp.c: Include "ldlex.h".
701 (exp_intop): Set the lineno field from lineno.
702 (exp_bigintop): Likewise.
703 (exp_relop): Likewise.
704 (exp_nameop): Likewise.
705 (exp_binop): Set the lineno field from lineno of lhs.
706 (exp_trinop): Likewise.
707 (exp_unop): Set the lineno field from lineno of child.
708 (exp_assop): Set the lineno field from lineno of src.
709 (exp_provide): Likewise.
710 (exp_assert): Set the lineno field from lineno of exp.
711 (exp_get_abs_int): Set lineno from lineno of nonconstant
712 expression when report problem.
713
bcb674cf
RS
7142007-03-29 Richard Sandiford <richard@codesourcery.com>
715 Daniel Jacobowitz <dan@codesourcery.com>
716
717 * NEWS: Mention -l:foo.
718 * ld.texinfo: Document it.
719 * ldlang.c (new_afile): If a lang_input_file_is_l_enum
720 entry as a name beginning with a coloh, convert it to a
721 lang_input_file_is_search_file_enum entry without the colon.
722
c76308d2
RS
7232007-03-28 Richard Sandiford <richard@codesourcery.com>
724
725 * ld.h (ld_config_type): Add rpath_separator.
726 * ldmain.c (main): Initialize it.
727 * lexsup.c (parse_args): Honor config.rpath_separator.
728 * emultempl/elf32.em (gld${EMULATION_NAME}_search_needed): Likewise.
729 (gld${EMULATION_NAME}_add_sysroot): Likewise.
730 (gld${EMULATION_NAME}_parse_ld_so_conf): Use config.rpath_separator
731 rather than ':' when building the path.
732 * emultempl/vxworks.em (vxworks_before_parse): New function.
733 Override config.rpath_separator.
734 (LDEMUL_AFTER_OPEN): Do not change if EXTRA_EM_FILE has been
735 set to gld${EMULATION_NAME}_after_open; #define that identifier
736 to vxworks_foo instead.
737 (LDEMUL_BEFORE_PARSE): Override in the same way as LDEMUL_AFTER_OPEN.
738
4ecceb71
RS
7392007-03-28 Richard Sandiford <richard@codesourcery.com>
740 Phil Edwards <phil@codesourcery.com>
741
742 * ld.texinfo: Put the contents after the title page rather
743 than at the end of the document.
744
b6470398
AM
7452007-03-26 Alan Modra <amodra@bigpond.net.au>
746
747 * Makefile.am: Add dependency on ldemul-list.h for powerpc and
748 spu target emul files.
749 * configure.in: Check for mkstemp and waitpid.
750 * Makefile.in: Regenerate.
751 * configure: Regenerate.
752 * config.in: Regenerate.
753 * ldlang.c (input_file_chain): Make global.
754 (lang_add_input_file): Don't set lang_has_input_file here.
755 * ldlang.h (input_file_chain): Declare.
756 * emultempl/ppc32elf.em (ppc_recognized_file): New function.
757 (LDEMUL_RECOGNIZED_FILE): Define.
758 * emultempl/ppc64elf.em (ppc64_recognized_file): New function.
759 (LDEMUL_RECOGNIZED_FILE): Define.
760 * emultempl/spuelf.em (struct tflist): New.
761 (tmp_file_list): New var.
762 (clean_tmp, embedded_spu_file): New functions.
763
34711ca3
AM
7642007-03-24 Alan Modra <amodra@bigpond.net.au>
765
766 * ldlang.c (lang_insert_orphan): Provide start/stop loadaddr syms
767 rather than defining unconditionally.
768 (lang_leave_overlay_section): Likewise.
769 * ld.texinfo (Overlay Description): Update description and examples
770 for start/stop syms.
771
e49e529d
JM
7722007-03-22 Joseph Myers <joseph@codesourcery.com>
773
774 * ld.texinfo: Include VERSION_PACKAGE when reporting version.
775
27e55c4d
PB
7762007-03-20 Paul Brook <paul@codesourcery.com>
777
778 * emultempl/armelf.em (pic_veneer): New variable.
779 (PARSE_AND_LIST_PROLOGUE): Add OPTION_PIC_VENEER.
780 (PARSE_AND_LIST_ARGS_CASES): Ditto.
781 (PARSE_AND_LIST_LONGOPTS): Add "pic-veneer".
782 (PARSE_AND_LIST_OPTIONS): Ditto.
783 * ld.texinfo: Document --pic-veneer.
784
bf21ed78
MS
7852007-03-18 Mark Shinwell <shinwell@codesourcery.com>
786
787 * ld.texinfo: Document --no-enum-size-warning.
788 * emultempl/armelf.em (no_enum_size_warning): New.
789 (arm_elf_create_output_section_statements): Correct typo
790 in comment. Pass no_enum_size_warning to
791 bfd_elf32_arm_set_target_relocs.
792 (PARSE_AND_LIST_PROLOGUE): Define OPTION_NO_ENUM_SIZE_WARNING.
793 (PARSE_AND_LIST_OPTIONS): Document --no-enum-size-warning.
794 (PARSE_AND_LIST_ARGS_CASES): Add OPTION_NO_ENUM_SIZE_WARNING
795 case.
796
3f2dad24
BS
7972007-03-19 Bernd Schmidt <bernd.schmidt@analog.com>
798
799 * configure.tgt (bfin-*-elf, bfin-*-uclinux*): Add targ_extra_libpath.
800 (bfin-*-linux-uclibc*): New target.
801
591a748a
NC
8022007-03-16 Kai Tietz <Kai.Tietz@onevision.com>
803
804 * pe-dll.c (make_one): Use pc-relative relocation instead of an
805 absolute relocation for x86_64-pc-mingw32 target.
806
c428fa83
L
8072007-03-15 H.J. Lu <hongjiu.lu@intel.com>
808
809 * Makefile.am (ld_TEXINFOS): Remove ldver.texi.
810 (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
811 (TEXI2DVI): Likewise.
812 (REPORT_BUGS_TO): Removed.
813 (INCLUDES): Remove -DREPORT_BUGS_TO.
814 (ldver.texi): Likewise.
815 (ld.1): Don't depend on ldver.texi.
816 (MOSTLYCLEANFILES): Remove ldver.texi.
817 * Makefile.in: Regenerated.
818
819 * configure.in (--with-bugurl): Removed.
820 * configure: Regenerated.
821
822 * lexsup.c: Include bfdver.h.
823
824 * ld.texinfo: Include bfdver.texi instead of ldver.texi.
825
45fd5a53
HPN
8262007-03-11 Hans-Peter Nilsson <hp@bitrange.com>
827
828 * emultempl/mmixelf.em: Remove incorrect '#line' directive.
829
91eb6c46
AM
8302007-03-08 Alan Modra <amodra@bigpond.net.au>
831
832 * ldlang.c (lang_size_sections_1): Correct backwards dot move
833 test to not trigger on overlays. Only warn on backwards move
834 if non-default lma.
835
ad22bfe8
JM
8362007-03-07 Joseph Myers <joseph@codesourcery.com>
837
838 * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
839 bug-reporting URL.
840 * Makefile.am (ldver.texi): Define BUGURL.
841 * ld.texinfo: Use BUGURL.
842 * Makefile.in, configure: Regenerate.
843
057cac08
NC
8442007-03-07 Nick Clifton <nickc@redhat.com>
845
846 PR ld/4023
847 * emultempl/aix.em (..._before_allocation): Strip sysroot prefix
848 from any paths being inserted into the output binary's DT_RPATH.
849
d6ed30ba
NS
8502007-03-02 Nathan Sidwell <nathan@codesourcery.com>
851
852 * emulparams/shelf_uclinux.sh: New. Missed in 2007-02-28 commit.
853
066c2a57
JM
8542007-03-01 Joseph Myers <joseph@codesourcery.com>
855
856 * ldver.c (ldversion): Remove word "version" from output. Update
857 copyright date.
858
ed6ba298
NS
8592007-02-28 Nathan Sidwell <nathan@codesourcery.com>
860
861 * Makefile.am (ALL_EMULATIONS): Add eshelf_uclinux.o
862 (eshelf_uclinux.c): New target.
863 * Makefile.in: Rebuilt.
864 * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): New stanza.
865 * emulparams/shelf_uclinux.sh: New.
866
2eacb3e8
AM
8672007-02-28 Alan Modra <amodra@bigpond.net.au>
868
46c3c201 869 * configure.tgt: Fix type last change.
2eacb3e8
AM
870 * configure.tgt (spu-*-elf*): Delete targ_extra_ofiles.
871
f0d89437
AM
8722007-02-27 Alan Modra <amodra@bigpond.net.au>
873
874 * Makefile.am (ALL_EMUL_EXTRA_OFILES): Remove spu_inc.o.
875 (eelf32_spu.c): Adjust dependencies.
876 * Makefile.in: Regenerate.
877 * emultempl/spuelf.em (ovl_mgr): New array. Insert spu_ovl.o
878 code using bin2c.
879 (_binary_spu_ovl_o_start, _binary_spu_ovl_o_end): Delete.
880 (ovl_mgr_stream): Update.
881 * emultempl/spu_inc.s: Delete.
882 * emultempl/spu_none.s: Delete.
883
45d3b878
AM
8842007-02-26 Alan Modra <amodra@bigpond.net.au>
885
886 * emultempl/spuelf.em (_binary_builtin_ovl_mgr_start): Rename
887 to _binary_spu_ovl_o_start.
888 (_binary_builtin_ovl_mgr_end): Rename to _binary_spu_ovl_o_end.
889 (spu_elf_load_ovl_mgr): Fatal error on missing overlay manager.
890 * emultempl/spu_inc.s: Rename symbols.
891 * emultempl/spu_none.s: New file.
892 * emultempl/spu_ovl.S: Update copyright.
893 * Makefile.am (spu_inc.o): Try building with ld -r first, then
894 gas incbin, then build without overlay manager.
895 * Makefile.in: Regenerate.
896
919e35ed
JM
8972007-02-22 Joseph Myers <joseph@codesourcery.com>
898
899 * configure.tgt (mips64*el-*-linux-*, mips64*-*-linux-*,
900 mips*el-*-linux-*, mips*-*-linux-*): Set
901 targ_extra_libpath=$targ_extra_emuls.
902
2889e75b
NC
9032007-02-21 Nick Clifton <nickc@redhat.com>
904
905 * ldlang.c (ldlang_override_segment_assignment): New function.
906 * ldlang.h (ldlang_override_segment_assignment): Prototype.
907 * ldmain.c (link_callbacks): Add
908 ldlang_override_segment_assignment.
909
67469e1f
AM
9102007-02-20 Alan Modra <amodra@bigpond.net.au>
911
912 * ldexp.c (fold_name <LOADADDR>): Ensure result is always absolute.
913
92f01d61
JM
9142007-02-17 Mark Mitchell <mark@codesourcery.com>
915 Nathan Sidwell <nathan@codesourcery.com>
916 Vladimir Prus <vladimir@codesourcery.com
917 Joseph Myers <joseph@codesourcery.com>
918
919 * configure.in (--with-bugurl): New option.
920 * configure: Regenerate.
921 * Makefile.am (REPORT_BUGS_TO): Define.
922 (INCLUDES): Define REPORT_BUGS_TO.
923 Regenerate dependencies.
924 * Makefile.in: Regenerate.
925 * ld.h: Remove include of bin-bugs.h.
926 * lexsup.c (help): Don't print empty REPORT_BUGS_TO.
927
dc1946a1
AM
9282007-02-17 Alan Modra <amodra@bigpond.net.au>
929
930 * ldcref.c (check_reloc_refs): Compare section for local syms.
931
b1e37473
AM
9322007-02-13 Alan Modra <amodra@bigpond.net.au>
933
934 * emultempl/spu_ovl.S (__ovly_return, __ovly_load): Set sym size.
935 (__ovly_load_event): Define.
936 (size): Rename to osize.
937 * emultempl/spu_ovl.o: Regenerate.
938
e4e0193e
AM
9392007-02-13 Alan Modra <amodra@bigpond.net.au>
940
941 * emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Add ".branch_lt".
942 * emultempl/ppc64elf.em (ppc_add_stub_section): Create without
943 SEC_RELOC flag set.
944
534d3119
L
9452007-02-09 H.J. Lu <hongjiu.lu@intel.com>
946
947 * configure.in (targ_extra_emuls): Add $targ64_extra_emuls if
948 want64 is true.
949 (targ_extra_libpath): Add $targ64_extra_libpath if want64 is
950 true
951 * configure: Regenerated.
952
953 * configure.tgt (targ_extra_libpath): Initialize.
954 (targ64_extra_emuls): New. Document. Initialize.
955 (targ64_extra_libpath): Likewise.
956 (i[3-7]86-*-linux-*): Set targ64_extra_emuls and
957 targ64_extra_libpath.
958 (powerpc*-*-linux*): Likewise.
959 (s390-*-linux*): Likewise.
960
7bd1c961
PB
9612007-02-07 Paul Brook <paul@codesourcery.com>
962
963 * configure.tgt: Add arm*-*-uclinux-*eabi.
964
ea0c3cd5
L
9652007-02-06 H.J. Lu <hongjiu.lu@intel.com>
966
967 * ldlang.c (lang_size_sections_1): Add a missing `)'.
968
264b6205
AM
9692007-02-06 Alan Modra <amodra@bigpond.net.au>
970
ea0c3cd5 971 PR ld/3966
264b6205
AM
972 * ldlang.c (lang_size_sections_1): Don't warn on backwards dot
973 move unless section size is non-zero.
974
19d9b7d3
DB
9752007-02-05 Dave Brolley <brolley@redhat.com>
976
977 * Makefile.am (ALL_EMULATIONS): Add support for Toshiba MeP.
978 * configure.tgt: Likewise.
979 * scripttempl/mep.sc: New file.
980 * emulparams/elf32mep.sh: New file.
981 * Makefile.in: Regenerate.
982
c6dd86c6
JB
9832006-01-29 Julian Brown <julian@codesourcery.com>
984
985 * NEWS: Mention --vfp11-denorm-fix option.
986 * ld.texinfo: Document above.
987 * emulparams/armelf_linux.sh (OTHER_TEXT_SECTIONS): Add
988 .vfp11_veneer section.
989 * emulparams/armelf.sh (OTHER_TEXT_SECTIONS): Likewise.
990 * emultempl/armelf.em (vfp11_denorm_fix): New static variable.
991 (arm_elf_before_allocation): Call bfd_elf32_arm_set_vfp11_fix,
992 bfd_elf32_arm_init_maps and bfd_elf32_arm_vfp11_erratum_scan.
993 (arm_elf_after_allocation): New function. Call
994 bfd_elf32_arm_vfp11_fix_veneer_locations for all input statements.
995 (arm_elf_create_output_section_statements): Pass vfp11 fix command
996 line option to BFD.
997 (OPTION_VFP11_DENORM_FIX): New option.
998 (PARSE_AND_LIST_LONGOPTS): Handle new option.
999 (PARSE_AND_LIST_OPTIONS): Likewise.
1000 (PARSE_AND_LIST_ARGS_CASES): Likewise.
1001 (LDEMUL_AFTER_ALLOCATION): Define.
1002
ed9ef263
L
10032007-01-24 H.J. Lu <hongjiu.lu@intel.com>
1004
1005 * ldgram.y (SIZEOF_HEADERS): Remove duplicated one.
1006 (DEFSYMEND): Likewise.
1007 (NAME): Likewise.
1008 (LNAME): Likewise.
1009
54727719
NC
10102007-01-19 Murali Vemulapati <murali.vemulapati@gmail.com>
1011
1012 * pe-dll.c: (make_one) Conditionally include jump stubs.
1013 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Identify
91eb6c46 1014 redundant jump stubs from import libraries and exclude them from
54727719
NC
1015 link.
1016
5f400437 10172007-01-19 H.J. Lu <hongjiu.lu@intel.com>
d8cf8b51
L
1018
1019 * ld.h (args_type): Add new symbolic and dynamic_list fields.
1020
1021 * ld.texinfo: Update -Bsymbolic-functions.
1022
1023 * ldmain.c (main): Initialize command_line.symbolic to
1024 symbolic_unset and command_line.dynamic_list to
1025 dynamic_list_unset. Check -Bsymbolic, -Bsymbolic-functions and
1026 --dynamic-list* before setting link_info.symbolic,
91eb6c46 1027 link_info.dynamic and link_info.dynamic_data.
d8cf8b51
L
1028
1029 * lexsup.c (option_values): Add OPTION_SYMBOLIC_FUNCTIONS.
1030 (ld_options): Use OPTION_SYMBOLIC_FUNCTIONS with
1031 -Bsymbolic-functions.
1032 (parse_args): Handle -Bsymbolic-functions. Don't set
1033 link_info.dynamic, link_info.dynamic_data and link_info.symbolic
1034 here. Set command_line.symbolic for -Bsymbolic. Set
1035 command_line.dynamic_list and command_line.symbolic for
1036 --dynamic-list-data, --dynamic-list-cpp-new,
1037 --dynamic-list-cpp-typeinfo and --dynamic-list.
1038
b8142865
L
10392007-01-19 Jakub Jelinek <jakub@redhat.com>
1040 H.J. Lu <hongjiu.lu@intel.com>
1041
1042 * emultempl/elf32.em (handle_option): Make sure -z max-page-size
1043 or -z common-page-size argument is a power of 2. Call
1044 bfd_emul_set_maxpagesize and bfd_emul_set_commonpagesize.
1045
10462007-01-19 H.J. Lu <hongjiu.lu@intel.com>
1047
1048 * ldmain.c (main): Don't call bfd_emul_set_maxpagesize nor
1049 bfd_emul_set_commonpagesize.
1050
5f400437 10512007-01-19 H.J. Lu <hongjiu.lu@intel.com>
14be8564
L
1052
1053 * NEWS: Mention --default-script/-dT.
1054
1055 * ld.h (args_type): Add a default_script field.
1056
1057 * ld.texinfo: Document --default-script/-dT.
1058
1059 * ldmain.c (main): Handle command_line.default_script.
1060
1061 * lexsup.c (option_values): Add OPTION_DEFAULT_SCRIPT.
1062 (ld_options): Add entries for --default-script and -dT.
1063 (parse_args): Handle --default-script/-dT.
1064
40b36307
L
10652007-01-16 H.J. Lu <hongjiu.lu@intel.com>
1066
1067 PR ld/3831
1068 * NEWS: Mention -Bsymbolic-functions, --dynamic-list-data and
1069 --dynamic-list-cpp-new.
1070
1071 * ld.texinfo: Document -Bsymbolic-functions, --dynamic-list-data
1072 and --dynamic-list-cpp-new.
1073
1074 * ldlang.c (lang_append_dynamic_list_cpp_new): New.
1075 (lang_process): Change link_info.dynamic to
1076 link_info.dynamic_list.
1077 (lang_append_dynamic_list): Likewise.
1078 * ldmain.c (main): Likewise. Initialize link_info.dynamic and
1079 link_info.dynamic_data to FALSE.
1080
1081 * ldlang.h (lang_append_dynamic_list_cpp_new): New.
1082
1083 * lexsup.c (option_values): Add OPTION_DYNAMIC_LIST_DATA and
1084 OPTION_DYNAMIC_LIST_CPP_NEW.
1085 (ld_options): Add entries for -Bsymbolic-functions,
1086 --dynamic-list-data and --dynamic-list-cpp-new. Make
1087 -Bsymbolic-functions an alias of --dynamic-list-data.
1088 (parse_args): Change link_info.dynamic to link_info.dynamic_list.
1089 Set link_info.dynamic to TRUE for --dynamic-list and
1090 --dynamic-list-cpp-typeinfo. Handle --dynamic-list-data and
1091 --dynamic-list-cpp-new.
1092
59e0647f
NS
10932007-01-11 Nathan Sidwell <nathan@codesourcery.com>
1094
1095 * emultempl/elf-generic.em (gdl_map_segments): Only allow header
1096 shrinkage for the first few iterations.
1097
42037fe5
NC
10982007-01-08 Kai Tietz <kai.tietz@onevision.com>
1099
1100 * configure.tgt: Renamed target x86_64-*-mingw64 to
1101 x86_64-*-mingw*.
1102
f9967789
NC
11032007-01-08 Pedro Alves <pedro_alves@portugalmail.pt>
1104
1105 * configure.host: Add i[3-7]86-*-mingw* case.
1106
033432d0
NC
11072007-01-08 Nick Clifton <nickc@redhat.com>
1108
1109 * pep-dll.h (pep_bfd_is_dll): Add prototype.
1110
916c46cb
NC
11112007-01-08 Aurelien Jarno <aurelien@aurel32.net>
1112
1113 PR ld/3843
1114 * configure.tgt (x86_64_[k]freebsd*): Add targ_extra_libpath and
1115 tdir_elf_i386_fbsd.
1116
cc3e2771
NS
11172007-01-06 Nathan Sidwell <nathan@codesourcery.com>
1118
1119 * ldexp.c (fold_name): Issue error on undefined sections.
1120
799133e8
AM
11212007-01-02 Alan Modra <amodra@bigpond.net.au>
1122
1123 * pe-dll.c: Include pe-dll.h.
1124 * pep-dll.c (pe_bfd_is_dll): Define.
1125
10a2343e 1126For older changes see ChangeLog-2006
252b5132
RH
1127\f
1128Local Variables:
1129mode: change-log
1130left-margin: 8
1131fill-column: 74
1132version-control: never
1133End:
This page took 0.479865 seconds and 4 git commands to generate.