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