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