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