1 2002-03-04 H.J. Lu <hjl@gnu.org>
3 * scripttempl/elf.sc: Put .preinit_array, .init_array and
4 .fini_array in the data segment.
6 2002-03-04 Alan Modra <amodra@bigpond.net.au>
8 * scripttempl/elf.sc: Correct syntax errors in 2002-03-01 commit.
10 2002-03-01 David Mosberger <davidm@hpl.hp.com>
12 * scripttempl/elf.sc (SECTIONS): Add entries for .preinit_array,
13 .init_array, and .fini_array.
15 2002-02-20 Andreas Schwab <schwab@suse.de>
17 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't fold
18 .IA64_unwind* in a relocatable link.
20 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
22 * NEWS: Mark 2.12 branch.
24 2002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
26 * emulparams/elf64_s390.sh (ARCH): Change to "s390:64-bit".
27 * emulparams/elf_s390.sh (ARCH): Change to "s390:31-bit".
29 2002-02-18 Tom Rix <trix@redhat.com>
31 * emultempl/aix.em (gld*_parse_args): Add -brtl support.
32 (gld*_before_allocation): Same.
33 (gld*_create_output_section_statements): Generate
34 __rtinit if run time linking. Add librtl.a to the link.
35 (gld*_read_file): Clean.
37 2002-02-18 Alan Modra <amodra@bigpond.net.au>
39 * emulparams/elf64ppc.sh (OTHER_TEXT_SECTIONS): Define.
41 2002-02-18 David O'Brien <obrien@FreeBSD.org>
43 * Makefile.am: Add new files earmelf_fbsd, eelf32ppc_fbsd,
44 eelf_i386_fbsd, eelf64_ia64_fbsd, eelf_x86_64_fbsd, eelf64_sparc_fbsd,
46 * Makefile.in: Regenerate.
47 * configure.tgt(sparc64-*-freebsd, ia64-*-freebsd, i[3456]86-*-freebsd,
48 x86_64-*-freebsd, arm-*-freebsd, alpha*-*-freebsd, powerpc-*-freebsd):
49 use a FreeBSD-specific emulation rather than the psABI one.
50 * emulparams/elf_fbsd.sh (ELF_INTERPRETER_NAME): Set appropriate value
51 for all FreeBSD ELF systems.
52 * emulparams/armelf_fbsd.sh: Bridge elf_fbsd.sh and the "native" psABI
54 * emulparams/elf32ppc_fbsd.sh: Likewise.
55 * emulparams/elf64_ia64_fbsd.sh: Likewise.
56 * emulparams/elf64_sparc_fbsd.sh: Likewise.
57 * emulparams/elf64alpha_fbsd.sh: Likewise.
58 * emulparams/elf_i386_fbsd.sh: Likewise.
59 * emulparams/elf_x86_64_fbsd.sh: Likewise.
61 2002-02-18 Nick Clifton <nickc@cambridge.redhat.com>
63 * po/tr.po: Updated version.
65 2002-02-18 Alan Modra <amodra@bigpond.net.au>
67 * ld.texinfo (Output Section Fill): Fix amateur texinfo.
70 2002-02-17 Hans-Peter Nilsson <hp@bitrange.com>
72 * emultempl/mmo.em (mmo_after_open): Don't call
73 _bfd_mmix_check_all_relocs when producing ELF output.
75 2002-02-15 Richard Henderson <rth@redhat.com>
77 * emulparams/elf64alpha.sh (NOP): Adjust for big-endian
78 definition. Emit a unop+nop pair.
80 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
82 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Also check
83 for presence of .MMIX.reg_contents.linker_allocated before early
86 * NEWS: Mention support for MMIX.
88 2002-02-15 Alan Modra <amodra@bigpond.net.au>
90 Support arbitrary length fill patterns.
91 * ld.texinfo (Output Section Fill): Describe fill expressions.
92 (FILL): Refer to the above.
93 * ldexp.h (etree_value_type): Add "str" field.
94 (union etree_union): Add "str" to "value" struct.
95 (exp_bigintop): Declare.
96 (exp_get_fill): Declare.
97 * ldexp.c: Include "safe-ctype.h".
98 (exp_intop): Set value.str to NULL.
99 (exp_bigintop): New function.
100 (new_rel): Pass in "str", and set new.str from it.
101 (new_rel_from_section): Set new.str to NULL.
102 (fold_name): Adjust calls to new_rel.
103 (exp_fold_tree): Likewise.
104 (exp_get_fill): New function.
105 * ldgram.y (struct big_int bigint, fill_type *fill): New.
106 (INT): Returns a "bigint". Adjust all code handling INTs.
107 (fill_opt): Returns a "fill".
108 (fill_exp): Split out of fill_opt, use for FILL.
109 * ldlang.h (struct _fill_type): New.
110 (fill_type): Move typedef to ldexp.h.
111 (lang_output_section_statement_type): "fill" is now a pointer.
112 (lang_fill_statement_type): Likewise.
113 (lang_padding_statement_type): Likewise.
114 (lang_add_fill): Now takes a "fill_type *" param.
115 (lang_leave_output_section_statement): Likewise.
116 (lang_do_assignments): Likewise.
117 (lang_size_sections): Likewise.
118 (lang_leave_overlay_section): Likewise.
119 (lang_leave_overlay): Likewise.
120 * ldlang.c: Include ldgram.h after ldexp.h.
121 (lang_output_section_statement_lookup): Adjust for fill_type change.
122 (print_fill_statement): Likewise.
123 (print_padding_statement): Likewise.
124 (insert_pad): Now takes a "fill_type *" arg.
125 (size_input_section): Likewise.
126 (lang_size_sections_1): Likewise.
127 (lang_size_sections): Likewise.
128 (lang_do_assignments): Likewise.
129 (lang_add_fill): Likewise.
130 (lang_leave_output_section_statement): Likewise.
131 (lang_leave_overlay_section): Likewise.
132 (lang_leave_overlay): Likewise.
133 Adjust all callers of the above function.
134 * ldlex.l: Include ldgram.h after ldexp.h. Allow hex numbers
135 starting with "0X" as well as "0x". Return bigint.str for hex
136 numbers starting with "0x" or "0X", zero bigint.str otherwise.
137 Always use base 16 for numbers starting with "$".
138 * ldmain.c: Include ldgram.h after ldexp.h.
139 * ldwrite.c (build_link_order): Use bfd_data_link_order in place
140 of bfd_fill_link_order.
141 * pe-dll.c: Adjust lang_do_assignments calls.
142 * emultempl/elf32.em: Likewise.
143 * emultempl/hppaelf.em: Likewise.
144 * emultempl/ppc64elf.em: Likewise.
145 * emultempl/beos.em: Include ldgram.h after ldexp.h, adjust
146 lang_add_assignment call.
147 * emultempl/pe.em: Likewise.
149 2002-02-14 Phil Edwards <pme@gcc.gnu.org>
151 * ld.texinfo (VERSION scripts): Symbol names are globbing patterns.
152 * ldgram.y (lang_new_vers_regex): Rename to lang_new_vers_pattern;
153 the pattern in question is not a regexp.
154 * ldlang.c: Likewise.
155 * ldlang.h: Likewise.
156 * ldlex.l (V_IDENTIFIER): Allow '[', ']', '-', '!', and '^' also.
158 2002-02-12 Jakub Jelinek <jakub@redhat.com>
160 * ldlex.l (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
161 * ldgram.y (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
162 (exp): Add DATA_SEGMENT_ALIGN (exp, exp) and DATA_SEGMENT_END (exp).
163 * ldexp.c (exp_data_seg): New variable.
164 (exp_print_token): Handle DATA_SEGMENT_ALIGN and DATA_SEGMENT_END.
165 (fold_binary): Handle DATA_SEGMENT_ALIGN.
166 (exp_fold_tree): Handle DATA_SEGMENT_END.
167 Pass allocation_done when recursing instead of hardcoding
168 lang_allocating_phase_enum.
169 * ldexp.h (exp_data_seg): New.
170 * ldlang.c (lang_size_sections_1): Renamed from lang_size_sections.
171 (lang_size_sections): New.
172 * ld.texinfo (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): Document.
173 * scripttempl/elf.sc: Use DATA_SEGMENT_ALIGN and DATA_SEGMENT_END
174 if COMMONPAGESIZE is defined.
175 * emulparams/elf_i386.sh (COMMONPAGESIZE): Set to 4K.
176 * emulparams/elf32_sparc.sh (COMMONPAGESIZE): Set to 8K.
177 * emulparams/elf64_sparc.sh (COMMONPAGESIZE): Set to 8K.
178 * emulparams/elf64alpha.sh (COMMONPAGESIZE): Set to 8K.
179 * emulparams/elf64_ia64.sh (COMMONPAGESIZE): Set to 16K for shared
182 2002-02-11 Alan Modra <amodra@bigpond.net.au>
184 * Makefile.in: Regenerate.
186 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
188 * lexsup.c: Remove strtoul declaration.
190 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
192 * ldmain.c: Add prototype for main ().
193 * lexsup.c: Guard declaration of strtoul with HAVE_STDLIB_H.
194 * emultempl/lnk960.em (lnk960_choose_target): Function should
197 2002-02-10 Alan Modra <amodra@bigpond.net.au>
199 * ldlang.c (entry_section): New initialised variable.
200 (lang_finish): Use it.
201 * ldlang.h (entry_section): Declare.
202 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Set
203 entry_section to ".opd".
205 2002-02-09 Chris Demetriou <cgd@broadcom.com>
207 * ld.texinfo (Options): Add back in -nostdlib documentation,
208 which had been inadvertently removed.
210 2002-02-09 Hans-Peter Nilsson <hp@bitrange.com>
212 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Adjust
213 register section vma to a sane value after emitting error. Make
214 fatal conditions cause program exit when emitting message.
216 2002-02-08 Ivan Guzvinec <ivang@opencores.org>
218 * configure.tgt: Add or32-*-rtems target.
220 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
223 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
224 * emulparams/shelf32.sh (STACK_ADDR): Define as formerly defined
225 in OTHER_RELOCATABLE_SECTIONS.
226 2002-01-18 Alexandre Oliva <aoliva@redhat.com>
227 * emulparams/shelf32.sh (STACK_ADDR): Define.
228 (OTHER_RELOCATABLE_SECTIONS): Renamed to...
229 (OTHER_SECTIONS): this. Removed stack settings.
230 * emulparams/shelf64.sh (OTHER_RELOCATABLE_SECTIONS): Do not set.
231 (OTHER_SECTIONS): Reset after sourcing shelf32.sh.
232 2001-03-12 DJ Delorie <dj@redhat.com>
233 * emultempl/sh64elf.em (sh64_elf_$_before_allocation): Disable
234 relaxing if any shmedia or mixed sections are found.
235 2001-03-07 DJ Delorie <dj@redhat.com>
236 * emultempl/sh64elf.em (sh64_elf_before_allocation): Pass f to
237 einfo. Gracefully decline to output to non-elf formats.
238 2001-03-06 Hans-Peter Nilsson <hpn@redhat.com>
239 * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS) <.stack>:
240 Default to _end aligned to next multiple of 0x40000, plus 0x40000.
241 * emulparams/shelf32.sh: Ditto.
242 2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com>
243 * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Tweak
245 2001-01-10 Ben Elliston <bje@redhat.com>
246 * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Avoid
247 non-portable shell constructs. From Hans-Peter Nilsson.
248 2001-01-09 Hans-Peter Nilsson <hpn@cygnus.com>
249 * emulparams/shelf64.sh (EXTRA_EM_FILE): Define empty.
250 * Makefile.am (eshelf64.c, eshlelf64.c, eshlelf32.c): Adjust
251 dependencies to the shell script include chain.
252 * Makefile.in: Regenerate.
253 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
254 * emultempl/sh64elf.em: Update and tweak comments.
255 (sh64_elf_${EMULATION_NAME}_after_allocation): Always allocate and
256 make a .cranges section SEC_IN_MEMORY.
257 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
258 * emultempl/sh64elf.em
259 (sh64_elf_${EMULATION_NAME}_before_allocation): Don't stop when
260 .cranges section found to be necessary; continue and set stored
261 section contents flags for sections with non-mixed contents.
262 Use a struct sh64_section_data container and sh64_elf_section_data
263 to store contents-type flags.
264 Remove unused update of "isec".
265 (sh64_elf_${EMULATION_NAME}_after_allocation): Only process
266 sections marked SHF_SH5_ISA32_MIXED. Use sh64_elf_section_data to
267 access contents-type flags. Assert that the associated container
268 is initialized. Use that container, not elf_gp_size, to hold size
269 of linker-generated cranges contents.
270 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
271 * emultempl/sh64elf.em
272 (sh64_elf_${EMULATION_NAME}_before_allocation): Exit early if
273 there's already a .cranges section. When section flag difference
274 is found, don't NULL-check cranges a second time. Tweak comments.
275 (sh64_elf_${EMULATION_NAME}_after_allocation): Use size after
276 merging, not max size, as size of ld-generated .cranges contents.
277 Don't set ELF section flags in output section. When checking for
278 needed .cranges descriptors, don't use a variable; compare
279 incoming ELF section flags directly to SHF_SH5_ISA32_MIXED. Tweak
281 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
282 * emultempl/sh64elf.em: New file.
283 * Makefile.am (eshelf32.c, eshlelf32.c): Adjust dependencies.
284 * Makefile.in: Regenerate.
285 * emulparams/shelf32.sh (OUTPUT_FORMAT): Only set if not set.
286 (OTHER_RELOCATING_SECTIONS): Ditto.
287 (EXTRA_EM_FILE): New, set to sh64elf if not set.
288 * emulparams/shlelf32.sh: Stub out all settings except
289 OUTPUT_FORMAT. Source shelf32.sh.
290 * emulparams/shelf64.sh: Similar, but also keep ELF_SIZE and
291 OTHER_RELOCATING_SECTIONS.
292 (OTHER_RELOCATING_SECTIONS): Remove .cranges.
293 * emulparams/shlelf64.sh: Stub out all settings except
294 OUTPUT_FORMAT. Source shelf64.sh.
295 2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com>
296 * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS): Include
298 (DATA_START_SYMBOLS): Define, provide ___data.
299 (OTHER_READONLY_SYMBOLS): Define, provide ___rodata and align to 8
300 for consecutive .data section.
301 (OTHER_GOT_SECTIONS): Define, align to 8 for consecutive .bss
302 section after .data section.
303 * emulparams/shlelf64.sh: Ditto.
304 * emulparams/shelf32.sh: Ditto.
305 (ALIGNMENT): Define to 8.
306 * emulparams/shelf32.sh: Ditto.
307 2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com>
308 * configure.tgt (sh64-*-elf*): Assign targ_extra_libpath to get
309 built-in linker scripts.
310 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
311 * emulparams/shlelf64.sh: New.
312 * emulparams/shelf64.sh: New.
313 * configure.tgt (sh64-*-elf*): Add shelf64 and shlelf64 to
315 * Makefile.am: Add support for shlelf64 and shelf64.
316 * Makefile.in: Regenerate.
317 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
318 * configure.tgt (sh64-*-elf*): Add shelf as default.
319 Add shlelf to targ_extra_emuls.
320 2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com>
321 * emulparams/shelf32.sh: New file.
322 * emulparams/shlelf32.sh: New file.
323 * Makefile.am: Add support for shlelf32 and shelf32.
324 * configure.tgt: Map sh64-*-elf* to shlelf32 and shelf32.
325 * Makefile.in: Regenerate.
327 2002-02-05 Hans-Peter Nilsson <hp@axis.com>
329 * ldlang.c (lang_reset_memory_regions): Rename from
330 reset_memory_regions. Change all callers. Make public.
331 * ldlang.h (lang_reset_memory_regions): Prototype.
332 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Call
333 lang_reset_memory_regions before lang_size_sections.
334 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
335 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Likewise.
337 2002-02-04 Hans-Peter Nilsson <hp@bitrange.com>
339 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Use signed
340 arithmetic when checking for too many global registers.
342 2002-02-02 Jason Thorpe <thorpej@wasabisystems.com>
344 * Makefile.am (ALL_EMULATIONS): Add ehppanbsd.o.
345 (ehppanbsd.c): New rule.
346 * Makefile.in: Regenerate.
347 * configure.tgt (hppa*-*-netbsd*): New target.
348 * emulparams/hppalinux.sh: Add comment to check other files
349 that source this file it is modified, and list which
351 * emulparams/hppanbsd.sh: New file.
353 2002-02-01 Geoffrey Keating <geoffk@redhat.com>
355 * scripttempl/xstormy16.sc: Don't allocate extra space for the
358 2002-02-01 Hans-Peter Nilsson <hp@bitrange.com>
360 Support on-demand global register allocation from
361 R_MMIX_BASE_PLUS_OFFSET relocs.
362 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Rename from
363 mmix_set_reg_section_vma. Call
364 _bfd_mmix_finalize_linker_allocated_gregs.
365 (mmix_before_allocation): New function.
366 (LDEMUL_AFTER_ALLOCATION): Set to mmix_after_allocation.
367 (LDEMUL_BEFORE_ALLOCATION): Define to mmix_before_allocation.
368 * scripttempl/mmo.sc (.text): Mark .init, .fini as KEEP.
369 (.MMIX.reg_contents): Add .MMIX.reg_contents.linker_allocated
370 before .MMIX.reg_contents.
371 * emultempl/mmo.em (gldmmo_before_allocation): Define to default.
372 (mmo_after_open): New function.
373 (LDEMUL_AFTER_OPEN): Define to mmo_after_open.
374 * emulparams/elf64mmix.sh (OTHER_SECTIONS): Tweak formatting. Add
375 .MMIX.reg_contents.linker_allocated before .MMIX.reg_contents.
377 2002-01-31 Ivan Guzvinec <ivang@opencores.org>
379 * emulparams/or32.sh: New file.
380 * emulparams/or32elf.sh: New file.
381 * scripttempl/or32.sc: New file.
382 * configure.tgt : Add support for or32.
383 * configure: Regenerate
384 * Makefile.am: Add support for or32.
385 * Makefile.in: Regenerate.
386 * NEWS: Mention support for or32.
387 * po/ld.pot: Regenerate.
389 2002-01-29 Chris Demetriou <cgd@broadcom.com>
390 Mitch Lichtenberg <mpl@broadcom.com>
392 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define to be mipself.
393 * emultempl/mipself.em: New file to handle MIPS ELF embedded
394 reloc creation (ld --embedded-relocs).
396 2002-01-27 Daniel Jacobowitz <drow@mvista.com>
398 * configure: Regenerated.
400 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
402 * Makefile.am (install): Depend on install-info.
403 * Makefile.in: Regenerate.
405 2002-01-26 Christian Rose <menthos@menthos.com>
407 * ldmain.c (main): Use full sentences to ease translation.
409 2002-01-26 Nick Clifton <nickc@cambridge.redhat.com>
411 * po/fr.po: Updated version.
413 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
415 * po/es.po: Updated version.
417 2002-01-25 Andreas Jaeger <aj@suse.de>
419 * ldlex.l (yy_input): Correct error check.
421 2002-01-25 Alan Modra <amodra@bigpond.net.au>
423 * ldmisc.c (demangle): Put back dots when string not demangled.
425 2002-01-22 Richard Henderson <rth@redhat.com>
427 * emulparams/elf64alpha.sh (NOP): Use unop.
429 2002-01-21 Andreas Jaeger <aj@suse.de>
431 * ldlex.l: Use fread instead of read.
433 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
435 * configure.tgt (ia64-*-netbsd*): New target.
437 2002-01-21 H.J. Lu <hjl@gnu.org>
439 * emulparams/elf32btsmip.sh (SHLIB_TEXT_START_ADDR): Change to
441 * emulparams/elf64btsmip.sh (SHLIB_TEXT_START_ADDR): Likewise.
443 2002-01-18 Andreas Jaeger <aj@suse.de>
445 * ldver.c (ldversion): Update year.
447 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
449 * po/ld.pot: Regenerate.
451 2002-01-16 Alan Modra <amodra@bigpond.net.au>
453 * Makefile.am (eelf64ppc.c, eelf64lppc.c): Depend on ppc64elf.em.
454 * Makefile.in: Regenerate.
455 * emulparams/elf64ppc.sh (EXTRA_EM_FILE): Define.
456 * emultempl/ppc64elf.em: New file.
458 2002-01-15 DJ Delorie <dj@redhat.com>
460 * scripttempl/pe.sc: Add support for constructor priorities.
462 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
464 * emulparams/avr1200.sh (DATA_START): Define as 0x60.
465 * emulparams/avr23xx.sh: Likewise.
466 * emulparams/avr4433.sh: Likewise.
467 * emulparams/avr44x4.sh: Likewise.
468 * emulparams/avr85xx.sh: Likewise.
469 * emulparams/avrmega103.sh: Likewise.
470 * emulparams/avrmega161.sh: Likewise.
471 * emulparams/avrmega603.sh: Likewise.
472 * scripttempl/elf32avr.sc: Use DATA_START instead of 0x60.
474 2002-01-08 Alexandre Oliva <aoliva@redhat.com>
476 * ldlang.c (walk_wild_section): Exclude object file if enclosing
479 2002-01-07 Jason Thorpe <thorpej@wasabisystems.com>
481 * Makefile.am (ALL_EMULATIONS): Add eshelf_nbsd.o and eshlelf_nbsd.o.
482 (eshelf_nbsd.c): New rule.
483 (eshlelf_nbsd.c): New rule.
484 * Makefile.in: Regenerate.
485 * configure.tgt (sh*le-*-netbsdelf*): New target.
486 (sh*-*-netbsdelf*): New target.
487 * emulparams/shelf.sh: Document that shelf_nbsd.sh sources this file.
488 * ld/emulparams/shelf_nbsd.sh: New emulation.
489 * ld/emulparams/shlelf_nbsd.sh: New emulation.
491 2002-01-07 Nick Clifton <nickc@cambridge.redhat.com>
493 * po/es.po: New file: Spanish translation.
494 * configure.in (ALL_LINGUAS): Add es.
495 * configure: Regenerate.
497 2002-01-06 John Marshall <jmarshall@acm.org>
499 * ld.texinfo: Note that --emit-relocs is currently only
502 2002-01-05 Alan Modra <amodra@bigpond.net.au>
504 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Make use
505 of bfd_section_list_remove and bfd_section_list_insert macros.
506 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
507 * emultempl/mmo.em (mmo_place_orphan): Likewise.
509 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
511 * configure.tgt (x86_64-*-netbsd*): New target.
513 2001-12-21 Tom Rix <trix@redhat.com>
515 (gld*_create_output_section_statements): New function.
516 For -binitfini support.
517 * emultempl/aix.em (gld*_before_parse): Fix comment.
518 * emultempl/aix.em (gld*_parse_args): Fix comment.
520 2001-12-20 Jason Thorpe <thorpej@wasabisystems.com>
522 * configure.tgt (mips*-dec-netbsd*): Delete alias for
524 (sparc64-*-netbsd*): Add elf32_sparc to targ_extra_emuls.
526 * configure.tgt (arm-*-netbsdelf*): Add target.
527 (arm-*-netbsd*): Add armelf and armelf_nbsd to targ_extra_emuls.
528 * emulparams/armelf_nbsd.sh: Added.
529 * Makefile.am: Add rules for earmelf_nbsd.
530 * Makefile.in: Regenerate.
532 2001-12-19 Andreas Jaeger <aj@suse.de>,
533 Susanne Oberhauser <froh@suse.de>
535 * configure.host: Add rules for x86_64-*linux-gnu. Change
536 s390x-linux entry to use gcc to report configuration, replace gcc
537 with $CC in s390-linux
539 2001-12-19 Andreas Jaeger <aj@suse.de>
541 * ld.texinfo (VERSION): Fix markup.
543 2001-12-18 matthew green <mrg@eterna.com.au>
545 * Makefile.am (ALL_EMULATIONS): Add m68kelfnbsd.o.
546 (m68kelfnbsd.c): New rule.
547 * Makefile.in: Regenerate.
548 * configure.tgt (m68*-hp-netbsd*): Renamed to ..
549 (m68*-*-netbsd*4k*): .. this.
550 (m68*-*-netbsdelf*): New target.
551 (m68*-*-netbsd*): Also include ELF support.
552 (m68*-*-netbsdaout*): New alias for m68*-*-netbsd*.
553 * emulparams/m68kelfnbsd.sh: New emulation.
555 2001-12-18 Jakub Jelinek <jakub@redhat.com>
557 * ldgram.y (vers_node): Support anonymous version tags.
558 * ldlang.c (lang_register_vers_node): Ensure anonymous version
559 tag is not defined together with non-anonymous versions.
560 * ld.texinfo: Document it.
562 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
564 * po/tr.po: New file: Turkish translation.
565 * configure.in (ALL_LINGUAS): Add tr.
566 * configure: Regenerate.
568 2001-12-17 Jason Thorpe <thorpej@wasabisystems.com>
570 * Makefile.am: Add rules for eelf64alpha_nbsd.
571 * Makefile.in: Regenerate.
572 * configure.tgt (alpha*-*-netbsd*): Set
573 targ_emul to elf64alpha_nbsd.
574 * emulparams/elf64alpha_nbsd.sh: Added.
576 2001-12-17 Alan Modra <amodra@bigpond.net.au>
578 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust
579 section_tail when fiddling with section list.
580 (gld${EMULATION_NAME}_list_options): Ensure sentences aren't
581 broken into separate strings to make translation easier.
582 * emultempl/mmo.em (mmo_place_orphan): Adjust section_tail when
583 fiddling with section list.
584 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
586 2001-12-16 Hans-Peter Nilsson <hp@bitrange.com>
588 * scripttempl/mmo.sc: Add .debug_ranges to listed sections.
590 2001-12-15 Alan Modra <amodra@bigpond.net.au>
592 * ldmain.c (main): Initialise link_info.eh_frame_hdr.
594 2001-12-13 Jakub Jelinek <jakub@redhat.com>
596 * emultempl/elf32.em (finish): Supply output_bfd
597 to bfd_elf*_discard_info.
598 (OPTION_EH_FRAME_HDR): Define.
599 (longopts): Add --eh-frame-hdr.
600 (parse_args): Handle it.
601 (list_options): Add --eh-frame-hdr to help.
602 * emultempl/hppaelf.em (finish): Supply output_bfd
603 to bfd_elf*_discard_info.
604 * scripttempl/elf.sc (.eh_frame_hdr): Add.
606 2001-12-13 Alan Modra <amodra@bigpond.net.au>
608 * lexsup.c (parse_args): Don't pass shortopts to second call to
609 getopt functions. Restore optind rather than decrementing before
610 second call. Remove errind as it now duplicates last_optind.
612 2001-12-11 Christopher Faylor <cgf@redhat.com>
614 * emultempl/pe.em (gld_${EMULATION_NAME}_list_options): Fix typo.
616 2001-12-07 Geoffrey Keating <geoffk@redhat.com>
617 Richard Henderson <rth@redhat.com>
619 * Makefile.am: Add support for xstormy16.
620 * configure.tgt: Add support for xstormy16.
621 * Makefile.in: Regenerate.
622 * emulparams/elf32xstormy16.sh: New file.
623 * scripttempl/xstormy16.sc: New file.
625 2001-10-01 Christopher Faylor <cgf@cygnus.com>
627 * Makefile.in (LIB_PATH): Make configurable.
628 (GENSCRIPTS): Set LIB_PATH in environment.
629 * configure.in: Substitute LIB_PATH.
630 * configure: Regenerate.
631 * configure.tgt (*cygwin): Set LIB_PATH for cross build.
632 * configure.host (*cygwin): Add /usr/lib/w32api to NATIVE_LIB_DIRS.
634 2001-12-07 Nick Clifton <nickc@cambridge.redhat.com>
636 * lexsup.c (ld_options): Insert 'PROGRAM' into the text string
637 describing the -N option so that it is easier to translate into
640 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
642 * emultempl/pe.em (..._list_options): Replace multiple fprintf
643 statements describing a single option with a single, newline
644 escaped fprintf. This allows better translation into other
647 * ldmain.c (add_archive_element): Combine multiple strings
648 into a single string to permit better translation into other
651 2001-12-05 Tom Rix <trix@redhat.com>
653 * Makefile.am: Remove eaixppc64.
654 * Makefile.in: Regenerate.
656 2001-12-04 Tom Rix <trix@redhat.com>
658 * emultempl/aix.em (choose_target): Change default target to
659 OUTPUT_FORMAT for ppcmacos. Add braces to remove compiler
661 (gld*_read_file): Fix typo.
662 (change_symbol_mode): Add prototype.
665 * emulparams/aixppc.sh (SYSCALL_MASK, SYMBOL_MODE_MASK): Delete.
666 * emulparams/aixrs6.sh : Same.
667 * emulparams/ppcmacos.sh : Same.
668 * emulparams/aixppc64.sh : Delete file.
669 * emultempl/aix.em : Formatting changes.
671 2001-12-04 Hans-Peter Nilsson <hp@axis.com>
673 * emulparams/criself.sh (NO_SMALL_DATA): Set, to yes.
674 (OTHER_BSS_END_SYMBOLS): Don't refer to .sbss when setting
676 (OTHER_END_SYMBOLS): Fix formatting.
677 * emulparams/crislinux.sh (NO_SMALL_DATA): Set, to yes.
678 (OTHER_END_SYMBOLS): Fix formatting.
680 2001-12-04 Alan Modra <amodra@bigpond.net.au>
682 * ldexp.c (exp_print_token): Correct "table" entry for RSHIFT.
684 2001-12-02 Tom Rix <trix@redhat.com>
686 * configure.tgt : Remove eaixppc64 emulations.
687 * Makefile.in : Remove eaixppc64.c
688 * ldemul.c (ldemul_choose_target): New parameters argc, argv.
689 (ldemul_default_target): Same.
690 * emultempl/gld960.em (gld960_choose_target): Same.
691 * emultempl/gld960c.em (gld960_choose_target): Same.
692 * scripttempl/aix.sc: Remove OUTPUT_FORMAT.
693 * emultempl/aix.em (is_syscall): syscall_mask now a variable.
694 * emultempl/aix.em (gld*_read_file): symbol_mode_mask now a variable.
695 * emultempl/aix.em (gld*_parse_args): Handle -b32 -b64 emulation.
696 * emultempl/aix.em (choose_target): New function. Handle emulation of
699 2001-11-27 H.J. Lu <hjl@gnu.org>
701 * emulparams/elf_i386.sh (NO_SMALL_DATA): Set to yes.
702 * emulparams/elf_i386_be.sh (NO_SMALL_DATA): Likewise.
703 * emulparams/elf_i386_chaos.sh (NO_SMALL_DATA): Likewise.
704 * emulparams/elf_i386_ldso.sh (NO_SMALL_DATA): Likewise.
705 * emulparams/elf_x86_64.sh (NO_SMALL_DATA): Likewise.
706 * emulparams/m68kelf.sh (NO_SMALL_DATA): Likewise.
707 * emulparams/elf32_sparc.sh (NO_SMALL_DATA): Likewise.
708 * emulparams/elf64_sparc.sh (NO_SMALL_DATA): Likewise.
710 * scripttempl/elf.sc (SBSS): New. Define if ${NO_SMALL_DATA}
713 (REL_SDATA): Likewise.
714 (REL_SBSS): Likewise.
715 (REL_SDATA2): Likewise.
716 (REL_SBSS2): Likewise.
717 (SBSS2): Define if ${NO_SMALL_DATA} is not empty.
720 2001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
722 * scripttempl/elfm68hc11.sc (CTOR, DTOR): Put constructor and
724 * scripttempl/elfm68hc12.sc (CTOR, DTOR): Likewise.
726 2001-11-22 H.J. Lu <hjl@gnu.org>
728 * Makefile.in: Regenerated with automake based on automake
731 2001-11-22 Alan Modra <amodra@bigpond.net.au>
733 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
734 (config.status): Delete rule.
735 Add extra dependencies to cover sourced emulparams files.
736 * Makefile.in: Regenerate.
738 * scripttempl/elf.sc: Order <section>, <section>.* and
739 corresponding linkonce sections as seen in input files.
740 Formatting fixes. Zero vma of all sections if not relocating.
741 (STACK): Define and insert if STACK_ADDR defined.
742 (OTHER_RELOCATING_SECTIONS): Delete.
743 (OTHER_END_SYMBOLS): Define.
744 (OTHER_READONLY_SECTIONS): Always insert, not just when relocating.
745 (OTHER_READWRITE_SECTIONS): Likewise.
746 (OTHER_GOT_SECTIONS): Likewise.
747 (OTHER_SDATA_SECTIONS): Likewise.
748 (OTHER_BSS_SECTIONS): Likewise.
749 * scripttempl/elfi370.sc (OTHER_READONLY_SECTIONS): Likewise.
750 (OTHER_READWRITE_SECTIONS): Likewise.
751 * scripttempl/nw.sc (OTHER_READONLY_SECTIONS): Likewise.
752 (OTHER_READWRITE_SECTIONS): Likewise
754 * emulparams/armelf.sh (OTHER_RELOCATING_SECTIONS): Delete.
755 (STACK_ADDR): Define.
756 * emulparams/armelf_oabi.sh: As for armelf.sh.
757 * emulparams/elf32mcore.sh: As for armelf.sh.
758 * emulparams/h8300elf.sh: As for armelf.sh.
759 * emulparams/mn10200.sh: As for armelf.sh.
760 * emulparams/shelf.sh: As for armelf.sh.
762 * emulparams/elf32fr30.sh (OTHER_RELOCATING_SECTIONS): Delete.
763 (OTHER_END_SYMBOLS): Define.
764 * emulparams/m32relf.sh: As for elf32fr30.sh.
765 * emulparams/h8300helf.sh: As for elf32fr30.sh.
766 * emulparams/h8300self.sh: As for elf32fr30.sh.
768 * emulparams/criself.sh (OTHER_READONLY_SECTIONS): Protect symbol
769 defines with RELOCATING test.
770 (OTHER_SDATA_SECTIONS): Likewise.
771 (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
772 (OTHER_END_SYMBOLS): ..this.
773 * emulparams/crislinux.sh: As for criself.sh.
775 * emulparams/elf32bmipn32.sh (OTHER_SDATA_SECTIONS): Zero vma
777 (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
778 (OTHER_SECTIONS): ..this. Zero vma if not relocating. Order
779 normal and linkonce sections as seen in input files.
780 * emulparams/elf32bmip.sh (DATA_ADDR): Don't define if EMBEDDED.
781 (TEXT_DYNAMIC): Likewise.
782 (INITIAL_READONLY_SECTIONS): Zero vma if not relocating.
783 (OTHER_SDATA_SECTIONS): Likewise.
784 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
785 * emulparams/shlelf_linux.sh (OTHER_READWRITE_SECTIONS): Likewise.
786 * emulparams/elf64alpha.sh (OTHER_READONLY_SECTIONS): Likewise.
787 * emulparams/hppalinux.sh (OTHER_READONLY_SECTIONS): Likewise.
788 * emulparams/elf64_aix.sh (OTHER_GOT_SECTIONS): Likewise.
789 (OTHER_PLT_RELOC_SECTIONS): Likewise.
790 (OTHER_READONLY_SECTIONS): Likewise. Order normal and linkonce
791 sections as seen in input files.
792 * emulparams/elf64_ia64.sh: As for emulparams/elf64_aix.sh.
793 * emulparams/hppa64linux.sh (OTHER_READONLY_SECTIONS): Zero vma
795 (OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS): Likewise.
796 (OTHER_BSS_END_SYMBOLS): Merge from elf64hppa.sh.
797 * emulparams/elf64mmix.sh (OTHER_RELOCATING_SECTIONS): Delete.
798 (OTHER_SECTIONS): Instead, use this..
799 (OTHER_END_SYMBOLS): ..and this.
801 * emulparams/elf32b4300.sh: Source elf32bmip.sh, remove duplicates.
802 * emulparams/elf32bsmip.sh: Likewise.
803 * emulparams/elf32btsmip.sh: Likewise.
804 * emulparams/elf32ebmip.sh: Likewise.
805 * emulparams/elf32lmip.sh: Likewise.
806 * emulparams/elf32elmip.sh: Source elf32lmip.sh, remove duplicates.
807 * emulparams/elf32lsmip.sh: Likewise.
808 * emulparams/elf32ltsmip.sh: Source elf32btsmip.sh, remove duplicates.
809 * emulparams/elf32l4300.sh: Source elf32b4300.sh, remove duplicates.
810 * emulparams/elf64bmip.sh: Source elf32bmipn32.sh, remove duplicates.
811 * emulparams/elf64btsmip.sh: Likewise.
812 * emulparams/elf64ltsmip.sh: Source elf64btsmip.sh, remove duplicates.
813 * emulparams/elf32lppc.sh: Source elf32ppc.sh, remove duplicates.
814 * emulparams/elf32ppclinux.sh: Likewise.
815 * emulparams/elf32ppcsim.sh: Likewise.
816 * emulparams/elf32lppcsim.sh: Source elf32lppc.sh, remove duplicates.
817 * emulparams/elf64hppa.sh: Source hppa64linux.sh, remove duplicates.
818 * emulparams/h8300helf.sh: Source h8300elf.sh, remove duplicates.
819 * emulparams/h8300self.sh: Likewise.
820 * emulparams/mn10300.sh: Source mn10200.sh, remove duplicates.
821 * emulparams/sh.sh: Comment.
822 * emulparams/shl.sh: Source sh.sh, remove duplicates.
823 * emulparams/shlelf.sh: Source shelf.sh, remove duplicates.
824 * emulparams/shelf_linux.sh: Source shlelf_linux.sh, remove duplicates.
826 2001-11-21 David Heine <dlheine@tensilica.com>
827 Alan Modra <amodra@bigpond.net.au>
829 * ldlang.c (map_input_to_output_sections): Replace "break"
830 accidentally removed with 2001-08-03 change.
831 (lang_gc_sections_1): Likewise.
833 2001-11-21 Alan Modra <amodra@bigpond.net.au>
835 * ldlang.c (walk_wild_section): Move sec == NULL case out of loop.
837 2001-11-20 Angela Marie Thomas <angela@redhat.com>
839 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Use NULL instead
840 of false when calling lang_size_sections.
841 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
843 2001-11-15 Alan Modra <amodra@bigpond.net.au>
845 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Only emit this
846 function when LDEMUL_FINISH isn't set to the same name. Don't
847 call ${LDEMUL_FINISH}.
848 (ld_${EMULATION_NAME}_emulation): Call $LDEMUL_FINISH if defined.
849 * emultempl/armelf.em (arm_elf_finish): Call
850 gld${EMULATION_NAME}_finish.
851 * emultempl/hppaelf.em (hppaelf_finish): Rename to
852 gld${EMULATION_NAME}_finish. Call bfd_elf32_discard_info and
853 hppaelf_layout_sections_again if necessary.
854 (need_laying_out): New var.
855 (hppaelf_layaout_sections_again): Rename to
856 hppaelf_layout_sections_again. Clear need_laying_out.
857 (PARSE_AND_LIST_OPTIONS): Format text.
859 2001-11-14 H.J. Lu <hjl@gnu.org>
861 * emultempl/armelf.em (arm_elf_finish): Renamed from
862 gld${EMULATION_NAME}_finish.
863 (LDEMUL_FINISH): Set to arm_elf_finish.
865 2001-11-14 Daniel Jacobowitz <drow@mvista.com>
867 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): New.
868 (struct ld_emulation_xfer_struct): Use it.
870 2001-11-13 Ross Alexander <ross.alexander@uk.neceur.com>
872 * emulparams/elf64hppa.sh (OTHER_BSS_END_SYMBOLS): Add
873 additional symbols referenced by newer crt0.o files from HP.
875 2001-11-12 Anthony Green <green@redhat.com>
877 * emulparams/armelf.sh (DATA_START_SYMBOLS): New symbol.
879 2001-11-12 Alfred M. Szmidt <ams@kemisten.nu>
881 * Makefile.am (GENSCRIPTS): Quote ${exec_prefix}.
882 * Makefile.in: Regenerate.
884 2001-11-02 Stephane Carrez <Stephane.Carrez@worldnet.fr>
886 * ld.texinfo: Use @command for commands, @option for options.
887 * Makefile.am (POD2MAN): Use 'GNU Development Tools' for
889 * Makefile.in: Rebuild.
891 2001-11-04 Chris Demetriou <cgd@broadcom.com>
893 * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
894 Add support for targets.
896 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
898 * configure.in (ALL_LINGUAS): Add "fr" and "sv"
899 * configure: Regernate.
900 * po/fr.po: New file.
901 * po/sv.po: New file.
903 2001-11-01 NIIBE Yutaka <gniibe@m17n.org>
905 * configure.tgt (sh-*-linux): Set targ_emul, targ_extra_emuls
906 as little endian default and to support big endian.
908 2001-11-01 Chris Demetriou <cgd@broadcom.com>
910 * ld.texinfo (Options): Document new option, -nostdlib.
911 * lexsup.c (OPTION_NOSTDLIB): New definition.
912 (ld_options): Add entry for "nostdlib".
913 (parse_args): Handle OPTIONS_NOSTDLIB.
914 * ldfile.c (ldfile_add_library_path): Don't add directories
915 to the search path if they weren't specified on the command line
916 and -nostdlib was specified.
917 * ld.h (ld_config_type): New member only_cmd_line_lib_dirs.
919 2001-10-31 Nick Clifton <nickc@cambridge.redhat.com>
921 * lexsup.c (parse_args): Prevent infinite parsing loop when
922 "-rpath.a" is specified on the command line.
923 Replace calls to fprintf with calls to einfo.
925 2001-10-31 John Marshall <jmarshall@acm.org>
927 * ld.texinfo: A historical requirement that MEMORY and SECTIONS
928 appear only once across all the linker scripts involved in a link
929 invocation no longer applies. Make the documentation reflect
932 2001-10-31 NIIBE Yutaka <gniibe@m17n.org>
934 * configure.tgt: Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu
936 (sh-*-linux*): Added targ_extra_libpath.
938 2001-10-31 David Heine <dlheine@tensilica.com>
940 * ldlang.c (lang_size_sections): Keep a valid output_offset field
941 for padding statements.
943 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
945 * configure.tgt (mmix-*-*): New target.
946 * Makefile.am (ALL_EMULATIONS): Add eelf64mmix.o and emmo.o.
947 Add dependencies to match.
948 * emulparams/mmo.sh, emulparams/elf64mmix.sh, emultempl/mmo.em,
949 emultempl/mmix-elfnmmo.em, emultempl/mmixelf.em,
950 scripttempl/mmo.sc: New files.
951 * gen-doc.texi: @set MMIX.
953 [MMIX] Add MMIX node.
954 * Makefile.in: Regenerate.
956 2001-10-29 Kazu Hirata <kazu@hxi.com>
958 * ldlang.c: Fix a comment typo.
960 2001-10-23 Alan Modra <amodra@bigpond.net.au>
962 * configure.host: Move alpha*-*-linux-gnu* entry to generic
963 entries, and match *-*-linux*.
965 2001-10-20 Alan Modra <amodra@bigpond.net.au>
967 * ldgram.y (mri_script_command): Surround processing of INCLUDE
968 with ldlex_script, ldlex_popstate.
969 (ifile_p1): Likewise.
970 * ldlex.l (EOF): Don't BEGIN(SCRIPT). Restore lineno from the
972 (lex_push_file): Save current lineno to lineno_stack. Set lineno
973 to 1. Don't BEGIN(SCRIPT).
974 (lex_redirect): Similarly.
975 * ldmain.c (main): Set yydebug non-zero if YYDEBUG.
977 2001-10-20 Nick Clifton <nickc@cambridge.redhat.com>
979 * scripttempl/armcoff.sc: Define __EH_FRAME_BEGIN__ and
980 __EH_FRAME_END__ and accept eh frames into data section.
981 Add ctor and dtor sections.
983 2001-10-19 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
985 * pe-dll.c (autofilter_objectlist): Add gcrt0.o.
986 (auto-export): Fix indentation.
988 2001-10-18 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
990 * pe-dll.c (autofilter_objectlist): Add startup objects
992 (auto-export): Constify char * p.
993 Extract file basename and use strcmp rather than ststr
996 2001-10-18 Chris Demetriou <cgd@broadcom.com>
998 * ldmain.c (get_emulation): Improve comment about the handling
1001 2001-10-17 Alan Modra <amodra@bigpond.net.au>
1003 * po/POTFILES.in: Regenerate.
1005 2001-10-16 Vassili Karpov <malc@pulsesoft.com>
1007 * emultempl/elf32.em (gld*_list_options): Remove extra '\t' from
1008 -z nocopyreloc and -z nocombreloc usage strings.
1010 2001-10-12 Vassili Karpov <malc@pulsesoft.com>
1012 * emultempl/elf32.em (gld*_list_options): Include -z nocopyreloc
1015 2001-10-11 Aleksey Romanov <aromanov@ennovatenetworks.com>
1017 * scripttempl/armaout.sc: Place .bss section after end of aligned
1018 data section to match behaviour of aout code in constructrion of
1021 2001-10-11 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
1023 * pe-dll.c (autofilter_entry_type autofilter_liblist: Add
1024 startup files for mingw32 dlls to list.
1026 2001-10-10 Chris Demetriou <cgd@broadcom.com>
1028 * emultempl/elf32.em: Fix shell 'if' usage for portability.
1030 2001-10-08 Aldy Hernandez <aldyh@redhat.com>
1032 * configure.tgt (targ): Add arm9e-*-elf.
1034 2001-10-05 H.J. Lu <hjl@gnu.org>
1036 * genscripts.sh: Fix a typo in the last change.
1038 2001-10-05 Jakub Jelinek <jakub@redhat.com>
1040 * emultempl/elf32.em (gld_*_list_options): Include -z combreloc and
1041 -z nocombreloc in usage.
1043 2001-10-03 Jim Blandy <jimb@redhat.com>
1045 * genscripts.sh: Include a comment at the top of each generated
1046 script, explaining its purpose.
1048 2001-10-03 Vassili Karpov <malc@pulsesoft.com>
1050 * emultempl/elf32.em (parse_args): Handle -z nocopyreloc.
1051 * NEWS: Mention -z nocopyreloc.
1052 * ld.texinfo (Options): Describe nocopyreloc.
1054 2001-10-03 Alan Modra <amodra@bigpond.net.au>
1056 * configure: Regenerate.
1058 2001-10-02 Alan Modra <amodra@bigpond.net.au>
1060 * ldver.h (ld_program_version): Remove declaration.
1061 * lexsup.c (parse_args): Move printing of copyright message..
1062 * ldver.c (ldversion): .. to here.
1063 Use BFD_VERSION_STRING in place of BFD_VERSION.
1064 (ld_program_version): Remove.
1065 * Makefile.am (Makefile): Depend on bfd/configure.in.
1067 * Makefile.in: Regenerate.
1069 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
1071 * Makefile.am: Update dependencies with "make dep-am".
1072 * Makefile.in: Regenerate.
1074 2001-09-29 John Reiser <jreiser@BitWagon.com>
1076 * ldlang.c (lang_common): Conditionally inhibit Common allocation.
1077 * lexsup.c: Add --no-define-common commandline option.
1078 * ldgram.y: Add INHIBIT_COMMON_ALLOCATION script command.
1079 * ldlex.l: Likewise.
1080 * ld.h: Add command_line.inhibit_common_definition.
1081 * ldmain.c (main): Initialize.
1082 * ld.texinfo: Document.
1084 2001-09-26 Alan Modra <amodra@bigpond.net.au>
1086 * ldmisc.c (USE_STDARG): Remove.
1087 (info_msg): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE.
1092 * ldmisc.h: Remove #ifdef ANSI_PROTOTYPES and non-ansi
1093 declarations. Update copyright.
1095 2001-09-24 Charles Wilson <cwilson@ece.gatech.edu>
1097 * pe-dll.c: Remove obsoleted declaration of
1098 pe_get_data_import_dll_name.
1099 (pe_create_import_fixup): Fix thinko.
1101 * ld.texinfo(enable-auto-import): Clarify the explanation.
1103 2001-09-24 Nick Clifton <nickc@cambridge.redhat.com>
1105 * pe-dll.c (pe_create_import_fixup): Revert previous patch.
1106 * emultemp/pe.em (pe_data_import_dll): Move definition outside of
1107 DLL_SUPPORT controlled code.
1109 2001-09-24 Charles Wilson <cwilson@ece.gatech.edu>
1111 * emultempl/pe.em(pe_data_import_dll): Make static.
1112 (pe_get_data_import_dll_name): New accessor function.
1113 * pe-dll.c(pe_create_import_fixup): call
1114 pe_get_data_import_dll_name() from pe.em, instead of
1115 directly accessing pe_data_import_dll variable from pe.em.
1117 2001-09-18 Bruno Haible <haible@clisp.cons.org>
1119 * deffilep.y: Include "safe-ctype.h" instead of <ctype.h>.
1120 (def_file_add_directive): Use ISSPACE instead of isspace.
1121 (def_lex): Use ISDIGIT/ISXDIGIT/ISALPHA/ISALNUM instead of
1122 isdigit/isxdigit/isalpha/isalnum.
1123 * emultempl/aix.em: Include "safe-ctype.h" instead of <ctype.h>.
1124 (gld${EMULATION_NAME}_read_file): Use ISSPACE instead of isspace.
1125 * emultempl/elf32.em: Include "safe-ctype.h" instead of <ctype.h>.
1126 (gld${EMULATION_NAME}_place_orphan): Use ISALNUM instead of
1128 * emultempl/gld960c.em: Include "safe-ctype.h" instead of <ctype.h>.
1129 (gld960_set_output_arch): Use ISUPPER/TOLOWER instead of
1131 * emultempl/sunos.em: Include "safe-ctype.h" instead of <ctype.h>.
1132 (gld${EMULATION_NAME}_search_dir): Use ISDIGIT instead of isdigit.
1133 * ldctor.c: Include "safe-ctype.h" instead of <ctype.h>.
1134 (ctor_prio): Use ISDIGIT instead of isdigit.
1135 * ldfile.c: Include "safe-ctype.h" instead of <ctype.h>.
1136 (ldfile_open_file_search): Use ISALPHA instead of isalpha.
1137 (ldfile_add_arch): Use ISUPPER/TOLOWER instead of
1139 * ldlang.c: Include "safe-ctype.h" instead of <ctype.h>.
1140 (stricpy): Use TOLOWER instead of isupper/tolower.
1141 (lang_leave_overlay_section): Use ISALNUM instead of isalnum.
1142 * ldlex.l: Include "safe-ctype.h" instead of <ctype.h>.
1143 (lex_warn_invalid): Use ISPRINT instead of isprint.
1144 * ldmain.c: Include "safe-ctype.h" instead of <ctype.h>.
1145 (main): For gettext, also set the LC_CTYPE locate facet.
1146 (add_keepsyms_file): Use ISSPACE instead of isspace.
1147 * lexsup.c: Include "safe-ctype.h" instead of <ctype.h>.
1148 (is_num, parse_args): Use ISDIGIT instead of isdigit.
1149 * mpw-elfmips.c: Include "safe-ctype.h" instead of <ctype.h>.
1150 (gldelf32ebmip_place_orphan): Use ISALNUM instead of isalnum.
1151 * mpw-eppcmac.c: Include "safe-ctype.h" instead of <ctype.h>.
1152 (gldppcmacos_read_file): Use ISSPACE instead of isspace.
1153 * pe-dll.c: Include "safe-ctype.h" instead of <ctype.h>.
1154 (quoteput): Use ISSPACE instead of isspace.
1155 (pe_dll_generate_implib, pe_process_import_defs): Use ISALNUM
1158 2001-09-18 Alan Modra <amodra@bigpond.net.au>
1160 * deffilep.y (def_stash_module): Constify "name" param.
1162 * pe-dll.c: Replace CONST with const throughout.
1163 (quick_symbol): Constify "n1", "n2", "n3" params.
1164 (make_singleton_name_thunk): Constify "import" param. Make
1165 "buffer_len" a size_t.
1166 (make_import_fixup_entry): Constify "name", "fixup_name",
1167 "dll_symname" params.
1168 (pe_get16): Cast args of bfd_seek. Replace bfd_read with bfd_bread.
1169 (pe_get32): Likewise.
1170 (pe_implied_import_dll): Likewise.
1172 * emultempl/beos.em (sort_by_file_name): Constify "ra", "rb".
1173 (sort_by_section_name): Likewise.
1175 * emultempl/pe.em: Move defines for arm_epoc_pe before bfd.h included.
1176 (make_import_fixup): Cast printf arg, rel->address to long rather
1178 (gld_${EMULATION_NAME}_after_open): Don't compare NULL against int.
1180 2001-09-15 Alan Modra <amodra@bigpond.net.au>
1182 * ldmain.c (main): Rename BufferSize to ld_bufsz because HPUX
1183 defines BufferSize. Increase buffer size by one.
1185 2001-09-14 Ralf Habacker <Ralf.Habacker@freenet.de>
1187 * pe-dll.c (pe_walk_relocs_of_symbol): Fix memory leak.
1189 2001-09-14 Kevin Lo <kevlo@openbsd.org>
1191 * configure.tgt: Add arm-openbsd target.
1193 2001-09-12 H.J. Lu <hjl@gnu.org>
1195 * Makefile.am (ALL_EMULATIONS): Move eelf64ppc.o and
1197 (ALL_64_EMULATIONS): Here.
1198 * Makefile.in: Regenerated.
1200 2001-09-12 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
1202 * emultempl/pe.em(make_import_fixup): change signature to
1203 take asection as well as arelec; we need this for proper
1204 error reporting. Only call pe_create_import_fixup() if
1205 there is no attempt to add a constant addend to the reloc;
1206 otherwise, report error condition.
1207 * pe-dll.c(pe_walk_relocs_of_symbol): change signature,
1208 since final argument is a pointer to make_import_fixup().
1209 Change call to cb() to match make_import_fixup() signature.
1210 (make_import_fixup_mark): make buffer_len unsigned.
1211 * pe-dll.h: change signature of pe_walk_relocs_of_symbol.
1213 2001-09-12 Charles Wilson <cwilson@ece.gatech.edu>
1215 * ld.texinfo: add verbose documentation for auto-import
1216 direct-addressing workaround, to compliment the terse
1219 2001-09-12 Andrew MacLeod <amacleod@redhat.com>
1221 * scripttempl/v850.sc: Add gcc_except_table sections.
1223 2001-09-11 Jeffrey A Law (law@cygnus.com)
1225 * emulparams/h8300helf.sh: Move stack to a much higher memory address.
1226 * emulparams/h8300self.sh: Similarly.
1228 2001-09-05 Danny Smith <dannysmith@users.souceforge.net>
1230 * ld.texinfo (Options, --stack): Correct default value for stack
1233 2001-09-05 Tom Rix <trix@redhat.com>
1235 * emultempl/aix.em : Handle import file XMC_XO and syscall symbols.
1237 2001-09-03 Andreas Jaeger <aj@suse.de>
1239 * emultempl/beos.em: Declare prototypes for comparions functions,
1242 2001-09-02 Andreas Jaeger <aj@suse.de>
1244 * emultempl/aix.em: Add missing prototype.
1245 * emultempl/lnk960.em: Likewise.
1246 * emultempl/vanilla.em: Likewise.
1247 * emultempl/armcoff.em: Likewise.
1248 * emultempl/armelf_oabi.em: Likewise.
1249 * emultempl/beos.em: Likewise.
1250 * emultempl/gld960c.em: Likewise.
1251 * emultempl/gld960.em: Likewise.
1253 * emulparams/elf64alpha.sh (PARSE_AND_LIST_PROLOGUE): Add parameter
1254 for prototype declaration.
1256 2001-08-31 Eric Christopher <echristo@redhat.com>
1257 Jason Eckhardt <jle@redhat.com>
1259 * ldmain.c (get_emulation): Add support for -mips32 and -mips64.
1261 2001-08-31 Andreas Jaeger <aj@suse.de>
1263 * emultempl/pe.em: Add missing prototypes.
1264 (gld_${EMULATION_NAME}_after_open): Remove extra args to
1265 pe_find_data_imports.
1266 (pr_sym): Add unused attribute.
1268 2001-08-29 Joel Sherrill <joel@OARcorp.com>
1270 * configure.tgt (i[3456]86-*-rtems*, m68*-*-rtems*): Change
1271 default from coff to elf.
1273 2001-08-29 Jeff Law <law@redhat.com>
1275 * emulparams/h8300helf.sh: Resync with h8300elf.sh. Update
1277 * emulparams/h8300self.sh: Similarly.
1279 2001-08-28 J"orn Rennecke <amylaar@redhat.com>
1281 * Makefile.am (ALL_EMULATIONS): Add eh8300elf.o, eh8300elf.o and
1283 (eh8300elf.c, eh8300helf.c, eh8300self.c): New targets.
1284 * configure.tgt (h8300-*-elf*): New case.
1285 * emulparams/h8300elf.sh, emulparams/h8300helf.sh: New files.
1286 * emulparams/h8300self.sh: New file.
1287 * Makefile.in: Regenerated.
1289 2001-08-28 Nick Clifton <nickc@cambridge.redhat.com>
1291 * ldmain.c (main): Rename BSIZE to BufferSize to avoid collision
1294 2001-08-27 Linus Nordberg <linus@swox.com>
1295 Alan Modra <amodra@bigpond.net.au>
1297 * Makefile.am (ALL_EMULATIONS): Add eelf64ppc.o and eelf64lppc.o.
1298 (eelf64ppc.c, eelf64lppc.c): Add make targets.
1300 * Makefile.in: Regenerate.
1301 * configure.tgt: Add powerpc64 support. Move pdp11, pjl, pj
1302 entries to correct alphabetical position.
1303 * emulparams/elf64ppc.sh: New.
1304 * emulparams/elf64lppc.sh: New.
1306 2001-08-27 Nick Clifton <nickc@cambridge.redhat.com>
1308 * ldmain.c (main): Declare BSIZE as static.
1310 2001-08-23 Jakub Jelinek <jakub@redhat.com>
1312 * emultempl/elf32.em (place_orphan): Place orphan .rel* sections
1313 into .rel.dyn resp. .rela.dyn if combreloc.
1314 (get_script): If .x linker script is equal to .xn, only put it
1315 once into the binary.
1316 Add .xc and .xsc scripts.
1317 (parse_args): Handle -z combreloc and -z nocombreloc.
1318 * scripttempl/elf.sc (.rela.sbss): Fix a typo.
1319 For .xc and .xsc scripts put all .rel* or .rela* input sections
1320 but .rel*.plt and PLT-like sections into .rel.dyn resp. .rela.dyn.
1321 * genscripts.sh (GENERATE_COMBRELOC_SCRIPT): Set if SCRIPT_NAME
1323 Strip trailing whitespace from script.
1324 Generate .xc and .xsc scripts if requested.
1325 * ldmain.c (main): Initialize link_info.combreloc and
1326 link_info.spare_dynamic_tags.
1327 * lexsup.c (OPTION_SPARE_DYNAMIC_TAGS): Define.
1328 (ld_options): Add --spare-dynamic-tags option.
1329 (parse_args): Likewise.
1330 * ld.texinfo: Document -z combreloc and -z nocombreloc.
1331 * ldint.texinfo: Document .xc and .xsc linker scripts.
1332 * NEWS: Add notes about -z combreloc and SHF_MERGE.
1334 2001-08-22 H.J. Lu <hjl@gnu.org>
1336 * emulparams/elf32fr30.sh: Add a newline.
1338 2001-08-21 Andreas Jaeger <aj@suse.de>
1340 * deffilep.y: Add missing prototypes.
1341 * pe-dll.c: Likewise.
1343 2001-08-20 Alan Modra <amodra@bigpond.net.au>
1345 * ldlang.c (insert_pad): Fix typos in last patch.
1347 * ldlang.c: When traversing lang_statement_union_type lists,
1348 consistently use "header.next" rather than "next".
1349 * mpw-eppcmac.c: Likewise.
1350 * emultempl/beos.em: Likewise.
1351 * emultempl/hppaelf.em: Likewise.
1352 * emultempl/pe.em: Likewise.
1353 * ldlang.h (union lang_statement_union): Remove "next" field.
1355 * ldlang.c (insert_pad): Use offsetof macro.
1356 (lang_size_sections): Always neuter padding statements.
1357 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Delete.
1359 * pe-dll.c (pe_dll_fill_sections): Correct type of "relax" param
1360 passed to lang_size_sections.
1361 (pe_exe_fill_sections): Likewise.
1362 * emultempl/pe.em (output_prev_sec_find): Copied from elf32.em.
1363 (gld_${EMULATION_NAME}_place_orphan): Merge from elf32.em.
1365 2001-08-18 Alan Modra <amodra@bigpond.net.au>
1367 * emultempl/aix.em: Formatting fixes.
1369 2001-08-18 Alan Modra <amodra@bigpond.net.au>
1371 * ldlang.c (insert_pad): Make use of an existing pad statement if
1372 available. Move code calculating alignment, adjusting section
1373 alignment power, and adjusting dot to ..
1374 (size_input_section): .. here. Remove unused relax param.
1375 (lang_size_sections): Change boolean `relax' param to boolean *.
1376 Adjust call to size_input_section. Make use of insert_pad to
1377 place pad after the assignment statement. If relaxing, zap
1379 (reset_memory_regions): Reset output_bfd section sizes too.
1380 (relax_again): Move to..
1381 (lang_process): ..here. Adjust call to lang_size_sections, and
1382 remove duplicated code.
1383 * ldlang.h (lang_size_sections): Change `relax' param to boolean *.
1385 2001-08-17 Alan Modra <amodra@bigpond.net.au>
1387 * ld.texinfo: Document that fill values now use the four least
1389 * emulparams/elf32fr30.sh (NOP): Update.
1390 * emulparams/elf32mcore.sh: Likewise.
1391 * emulparams/elf64_s390.sh: Likewise.
1392 * emulparams/elf_i386.sh: Likewise.
1393 * emulparams/elf_i386_be.sh: Likewise.
1394 * emulparams/elf_i386_chaos.sh: Likewise.
1395 * emulparams/elf_i386_ldso.sh: Likewise.
1396 * emulparams/elf_s390.sh: Likewise.
1397 * emulparams/elf_x86_64.sh: Likewise.
1398 * emulparams/i386moss.sh: Likewise.
1399 * emulparams/i386nw.sh: Likewise.
1400 * emulparams/m68kelf.sh: Likewise.
1401 * scripttempl/elf.sc: Update NOP comment.
1402 * scripttempl/elfi370.sc: Likewise.
1403 * scripttempl/elfm68hc11.sc: Likewise.
1404 * scripttempl/elfm68hc12.sc: Likewise.
1405 * scripttempl/nw.sc: Likewise.
1407 2001-08-15 Tom Rix <trix@redhat.com>
1409 * ldgram.y (saved_script_handle): Initialize to NULL.
1410 * ldmain.c (main): Change check on saved_script_handle.
1412 2001-08-14 Alan Modra <amodra@bigpond.net.au>
1414 * emultempl/elf32.em: Formatting fixes.
1415 (output_prev_sec_find): Test for bfd_ind_section too; do so by
1416 looking at sec->owner.
1417 (output_rel_find): Move function inside LDEMUL_PLACE_ORPHAN test.
1418 (gld${EMULATION_NAME}_place_orphan): Add a few comments. Remove
1419 unused code, and reorganize orphan section placement code.
1421 * ldlang.c (wild_doit): Rename to lang_add_section.
1422 * ldlang.h: Here too.
1423 * mpw-elfmips.c: And here.
1424 * emultempl/beos.em: And here.
1425 * emultempl/elf32.em: And here.
1426 * emultempl/hppaelf.em: And here.
1427 * emultempl/pe.em: And here.
1429 2001-08-13 Richard Henderson <rth@redhat.com>
1431 * emultempl/needrelax.em: New file.
1432 * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Reference it.
1433 * Makefile.am (eelf64_ia64.c): Depend on it.
1434 * Makefile.in: Rebuild.
1436 2001-08-13 Alan Modra <amodra@bigpond.net.au>
1438 * emultempl/elf32.em: For SEC_EXCLUDE sections, ensure that
1439 output_section is set non-NULL.
1441 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Return
1442 `true' for SEC_EXCLUDE sections so that the generic code doesn't
1443 needlessly create an output_section_statement. Treat a correctly
1444 named output_section_statement with NULL bfd_section as compatible.
1446 2001-08-13 Hans-Peter Nilsson <hp@bitrange.com>
1448 * emultempl/generic.em: Support EXTRA_EM_FILE.
1449 (ld_${EMULATION_NAME}_emulation): Support emulation parameters
1450 LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
1451 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
1452 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
1453 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
1454 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
1455 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
1456 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
1457 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
1458 LDEMUL_FIND_POTENTIAL_LIBRARIES.
1460 2001-08-12 Richard Henderson <rth@redhat.com>
1462 * scripttempl/elf.sc, scripttempl/elfd30v.sc,
1463 scripttempl/elfm68hc11.sc, scripttempl/elfm68hc12.sc,
1464 scripttempl/v850.sc: Keep .jcr data.
1466 2001-08-12 H.J. Lu <hjl@gnu.org>
1467 Andrew Haley <aph@cambridge.redhat.com>
1468 Nick Clifton <nickc@redhat.com>
1470 * ldgram.y (had_script): Change name to saved_script_handle.
1471 Change type to file handle.
1472 * ld.h (had_script): Rename and retype.
1473 * ldfile.c (ldfile_open_command_file): Save the file handle
1474 used in saved_script_handle.
1475 * lexsup.c (parse_args): Do not allow -c option to alter
1476 saved_script_handle.
1477 * ldmain.c (main): Print out the linker script used if
1478 --verbose is given. Check saved_script_handle to obtain the
1479 external linker script used, or if NULL, dump the builtin
1481 * ld.texinfo: Document that --verbose now dumps the linker
1482 script used, regardless of whether it was an internal or an
1485 2001-08-10 Andreas Jaeger <aj@suse.de>
1487 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
1489 * configure: Regenerate.
1491 2001-08-09 Alan Modra <amodra@bigpond.net.au>
1493 * emultempl/elf32.em (output_prev_sec_find): Add missing prototype.
1495 * scripttempl/elf.sc: Move non-text .dynamic section before
1496 .plt/.got/.sdata* group.
1497 (OTHER_GOT_SECTIONS): Move to immediately after .got.
1498 (OTHER_SDATA_SECTIONS): Add.
1499 * emulparams/criself.sh: Use OTHER_SDATA_SECTIONS rather than
1501 * emulparams/crislinux.sh: Likewise.
1502 * emulparams/elf32b4300.sh: Likewise.
1503 * emulparams/elf32bmip.sh: Likewise.
1504 * emulparams/elf32bmipn32.sh: Likewise.
1505 * emulparams/elf32bsmip.sh: Likewise.
1506 * emulparams/elf32btsmip.sh: Likewise.
1507 * emulparams/elf32ebmip.sh: Likewise.
1508 * emulparams/elf32elmip.sh: Likewise.
1509 * emulparams/elf32l4300.sh: Likewise.
1510 * emulparams/elf32lmip.sh: Likewise.
1511 * emulparams/elf32lsmip.sh: Likewise.
1512 * emulparams/elf32ltsmip.sh: Likewise.
1513 * emulparams/elf64bmip.sh: Likewise.
1514 * emulparams/elf64btsmip.sh: Likewise.
1515 * emulparams/elf64ltsmip.sh: Likewise.
1517 2001-08-08 Alan Modra <amodra@bigpond.net.au>
1519 * genscripts.sh: Source the emulparams script before each output
1520 script is generated so that variables like `RELOCATING' may affect
1521 variables defined in the emulparams script.
1523 2001-08-04 Alan Modra <amodra@bigpond.net.au>
1525 * emultempl/aix.em: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this
1528 * emultempl/beos.em (sort_sections): Modify for 2001-08-03 change,
1529 ie. iterate over wild_statement.section_list.
1530 (gld${EMULATION_NAME}_place_orphan): Likewise.
1532 2001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1534 * scripttempl/elfm68hc12.sc (FINISH_CODE, FINISH_RELOC): New to handle
1535 .fini[0-4] sections used by _exit
1536 (CTOR, DTOR): Export ctor/dtor symbols; move them to ROM.
1537 (*.text,*.data,*.bss): Take into account .text.*, .data.*, .bss.*.
1538 * scripttempl/elfm68hc11.sc: Likewise.
1540 2001-08-03 H.J. Lu <hjl@gnu.org>
1542 * emultempl/beos.em (init): Add the missing initialization.
1544 2001-08-03 Alan Modra <amodra@bigpond.net.au>
1546 * ld.texinfo (Input Section Basics): Clarify ordering of output
1548 * ldlang.c (callback_t): Add wildcard_list param.
1549 (walk_wild_section): Remove "section" param. Rewrite for
1550 lang_wild_statement_type change. Remove unique_section_p test.
1551 (walk_wild_file): Remove "section" param.
1552 (walk_wild): Remove "section" and "file" params.
1553 (lang_gc_wild): Likewise.
1554 (wild): Likewise. Modify for lang_wild_statement_type change.
1555 (wild_sort): Likewise. Add "sec" param.
1556 (gc_section_callback): Likewise.
1557 (output_section_callback): Likewise. Do unique_section_p test.
1558 (map_input_to_output_sections): Modify call to wild.
1559 (lang_gc_sections_1): Likewise.
1560 (print_wild_statement): Modify for lang_wild_statement_type
1562 (lang_add_wild): Replace filename, filenames_sorted param with
1563 filespec. Replace section_name, sections_sorted,
1564 exclude_filename_list with section_list.
1565 * ldlang.h (lang_add_wild): Here too.
1566 (lang_wild_statement_type): Replace section_name, sections_sorted,
1567 and exclude_filename_list with section_list.
1568 * ldgram.y (current_file): Delete.
1569 (%union): Add wildcard_list.
1570 (file_NAME_list): Set type to wildcard_list. Build a linked list
1571 rather than calling lang_add_wild for each entry.
1572 (input_section_spec_no_keep): Call lang_add_wild here instead.
1573 * ld.h (struct wildcard_list): Declare.
1574 * mri.c (mri_draw_tree): Modify to suit new lang_add_wild.
1576 2001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
1578 * ldmain.c (main): initialize link_info.pei386_auto_import
1579 * pe-dll.c: new tables for auto-export filtering
1580 (auto_export): change API, pass abfd for contextual filtering.
1581 Loop thru tables of excluded symbols instead of comparing
1584 2001-08-02 Paul Sokolovsky <paul.sokolovsky@technologist.com>
1586 * pe-dll.c: new variable pe_dll_enable_extra_debug. New
1587 static variable current_sec (static struct sec *). Add
1588 forward declaration for add_bfd_to_link.
1589 (process_def_file): Don't export undefined symbols. Do not
1590 export symbols starting with "_imp__". Call auto_export()
1592 (pe_walk_relocs_of_symbol): New function.
1593 (generate_reloc): add optional extra debugging
1594 (pe_dll_generate_def_file): eliminate extraneous initial blank
1596 (make_one): enlarge symtab to make room for __nm__ symbols
1597 (DATA auto-import support).
1598 (make_singleton_name_thunk): New function.
1599 (make_import_fixup_mark): New function.
1600 (make_import_fixup_entry): New function.
1601 (pe_create_import_fixup): New function.
1602 (add_bfd_to_link): Specify that 'name' argument is a CONST
1604 * pe-dll.h: declare new variable pe_dll_extra_pe_debug;
1605 declare new functions pe_walk_relocs_of_symbol and
1606 pe_create_import_fixup.
1607 * emultempl/pe.em: add new options --enable-auto-import,
1608 --disable-auto-import, and --enable-extra-pe-debug.
1609 (make_import_fixup): New function.
1610 (pe_find_data_imports): New function.
1611 (pr_sym): New function.
1612 (gld_${EMULATION_NAME}_after_open): Add optional extra pe
1613 debugging. Call pe_find_data_imports. Mark .idata as DATA, not
1616 2001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
1618 * ld.texinfo: add additional documentation for
1619 --export-all-symbols. Document --out-implib,
1620 --enable-auto-image-base, --disable-auto-image-base,
1621 --dll-search-prefix, --enable-auto-import, and
1622 --disable-auto-import.
1623 * ldint.texinfo: Add detailed documentation on auto-import
1626 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
1628 * ld.texinfo (Simple Assignments): Fix computation in SECTIONS
1631 2001-07-24 Alan Modra <amodra@bigpond.net.au>
1633 * Makefile.am: Update dependencies with "make dep-am".
1634 * Makefile.in: Regenerate
1636 2001-07-23 Alan Modra <amodra@bigpond.net.au>
1638 * ldcref.c (check_section_sym_xref): New function.
1639 (check_nocrossrefs): Call it.
1640 (check_nocrossref): Interate over h->refs here instead of..
1641 (check_refs): ..here. Pass in the symbol name, section, and bfd
1642 rather than hash_entry pointers.
1643 (struct check_refs_info): Keep symbol name rather than hash entry.
1645 (check_reloc_refs): Tweak for above changes in check_refs_info.
1646 Only report references to section syms when symname is NULL to
1647 prevent duplicate messages for the same reloc.
1649 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
1651 * ldexp.c (exp_print_tree): Use stderr if config.map_file is not
1652 available. Do not print NULL trees.
1653 (exp_print_token): Print unknown tokens with values > 126 as
1654 decimal values not ASCII characters.
1656 * ldlang.c (lang_leave_overlay): If a region is specified assign
1657 it to all sections inside the overlay unless they have been
1658 assigned to the own, non-default, memory region.
1660 * README: Add header for consistency with other README files.
1662 2001-07-14 H.J. Lu <hjl@gnu.org>
1664 * emultempl/elf32.em (output_prev_sec_find): Never return
1665 bfd_abs_section_ptr, bfd_com_section_ptr nor
1666 bfd_und_section_ptr.
1668 2001-07-14 Nick Clifton <nickc@cambridge.redhat.com>
1670 * Makefile.am (em32relf.c): Change dependency from generic.em to
1672 * Makefile.in: Regenerate.
1674 2001-07-14 matthew green <mrg@eterna.com.au>
1676 * configure.tgt (i386-*-netbsdelf*): New target.
1677 (i386-*-netbsd*): Set targ_extra_emuls to `elf_i386'
1679 2001-07-13 Jakub Jelinek <jakub@redhat.com>
1681 * emultempl/elf32.em (output_prev_sec_find): New.
1682 (place_orphan): Use it.
1684 2001-07-11 H.J. Lu <hjl@gnu.org>
1686 * ldmain.c (main): Fix typos in the last change.
1688 2001-07-11 Jakub Jelinek <jakub@redhat.com>
1690 * ldmain.c (main): Disallow -F and -f without -shared.
1692 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
1694 * emultempl/pe.em (after_open): Check for the output_bfd not
1695 having any coff_data structure allocated to it.
1697 2001-07-09 David O'Brien <obrien@FreeBSD.org>
1699 * emultempl/elf32.em: Do not assuming that contents of the buffer
1700 returned from basename function will remain unchanged accross other
1703 2001-07-03 H.J. Lu <hjl@gnu.org>
1705 * scripttempl/elf.sc (DYNAMIC_PAD): Revert the change made on
1706 2001-07-03. It creates dynamic entries even for static binaries.
1708 2001-07-03 Jakub Jelinek <jakub@redhat.com>
1710 * scripttempl/elf.sc (DYNAMIC_PAD): New variable.
1711 (DYNAMIC): Use it to reserve few dynamic entries for
1714 2001-06-27 Alan Modra <amodra@bigpond.net.au>
1716 * emulparams/hppa64linux.sh: New file.
1717 * configure.tgt: hppa*64*-*-linux* uses hppa64linux.sh
1718 * Makefile.am (ALL_64_EMULATIONS): Add ehppa64linux.o
1719 (ehppa64linux.c): Add rule to make it.
1721 * Makefile.in: Regenerate.
1723 2001-06-21 Hans-Peter Nilsson <hp@axis.com>
1725 * ld.texinfo (Options, -r): Mention restrictions when using
1726 different object formats.
1728 2001-06-19 Hans-Peter Nilsson <hp@axis.com>
1730 * ldlang.c (lang_check): Emit fatal error if relocatable link
1731 between different object flavours with relocations in input.
1733 2001-06-19 H.J. Lu <hjl@gnu.org>
1735 * ld.texinfo (-E, --export-dynamic): Mention --version-script.
1736 (--version-script): Mention the language support.
1738 2001-06-19 H.J. Lu <hjl@gnu.org>
1740 * ldlang.c (lang_check): Revert the change mode on 2001-06-15.
1742 2001-06-18 H.J. Lu <hjl@gnu.org>
1744 * Makefile.am (ld.1): Remove the prefix `$(srcdir)/'.
1745 (diststuff): Add $(MANS).
1746 * Makefile.in: Regenerated.
1750 2001-06-18 Hans-Peter Nilsson <hp@axis.com>
1752 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
1753 Update for API change in bfd_elf${ELFSIZE}_size_dynamic_sections.
1754 * mpw-elfmips.c (gldelf32ebmip_before_allocation): Ditto.
1755 * ld.h (args_type): Remove member export_dynamic. All users
1756 changed to use struct bfd_link_info member.
1758 * Makefile.am (ecriself.c, ed10velf.c, ei386moss.c): Depend on
1759 $(srcdir)/emultempl/elf32.em, not $(srcdir)/emultempl/generic.em.
1760 * Makefile.in: Regenerate.
1762 2001-06-18 H.J. Lu <hjl@gnu.org>
1764 * ldlang.c (init_os): Add the newline to the einfo call.
1765 (lang_check): Likewise.
1766 (lang_do_version_exports_section): Likewise.
1768 2001-06-15 H.J. Lu <hjl@gnu.org>
1770 * lexsup.c (parse_args); Save optind to report unrecognized
1773 2001-06-15 Hans-Peter Nilsson <hp@axis.com>
1775 * ldlang.c (lang_check): Emit fatal error if relocatable link
1776 between different object flavours.
1778 * lexsup.c (parse_args) <case OPTION_EXPORT_DYNAMIC, case 'E'>:
1779 Set new link_info member export_dynamic.
1780 * ldmain.c (main): Initialize new link_info member export_dynamic.
1782 2001-06-12 Nick Clifton <nickc@cambridge.redhat.com>
1784 * ldlang.c (walk_wild): Only call walk_wild_file if
1785 lookup_name returns something.
1786 (lookup_name): If load_symbols fails, return NULL.
1787 (load_symbols): Change to a boolean function.
1788 (open_input_bfds): If load_symbols fails then do not make the
1791 2001-06-08 Alan Modra <amodra@bigpond.net.au>
1793 * ldlang.c (record_bfd_errors): Remove.
1795 * emultempl/aix.em: Fix copyright dates.
1797 2001-06-07 Andreas Jaeger <aj@suse.de>
1799 * elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase.
1800 (TEXT_START_ADDR): Likewise.
1802 2001-06-06 Martin Schwidefsky <schwidefsky@de.ibm.com>
1804 * configure.host: Set HOSTING_CRT0/HOSTING_LIBS correctly for s/390.
1806 2001-06-05 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
1808 * emultempl/pe.em (init): Reduce default stack reserve to 0x200000.
1810 2001-05-31 H.J. Lu <hjl@gnu.org>
1812 * ldlang.c (open_input_bfds): Don't change the bfd error
1813 handler whilst loading symbols.
1815 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1817 * configure.tgt: Remove i370-mvs architecture, it is not currently
1820 2001-05-25 H.J. Lu <hjl@gnu.org>
1822 * emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
1823 like emulparams/aixppc.sh.
1825 2001-05-25 H.J. Lu <hjl@gnu.org>
1827 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move
1828 setting of output_filename after bfd_scan_arch.
1829 * emultempl/pe.em: Likewise.
1831 2001-05-25 H.J. Lu <hjl@gnu.org>
1833 * emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
1834 like emulparams/aixppc.sh.
1836 * emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed
1837 instead of ${srcdir}/emultempl/stringify.sed.
1839 2001-05-25 Timothy Wall <twall@oculustech.com>
1841 * emulparams/elf64_aix.sh: Change settings to match IBM linker
1844 2001-05-25 Alan Modra <amodra@one.net.au>
1846 * configure.host: Replace linuxoldld with linux*oldld.
1847 * configure.tgt: Likewise.
1849 2001-05-24 H.J. Lu <hjl@gnu.org>
1851 * emultempl/stringify.sed: Removed again.
1853 2001-05-24 H.J. Lu <hjl@gnu.org>
1855 * emultempl/aix.em (OUTPUT_ARCH): Defined.
1856 (gld${EMULATION_NAME}_before_parse): Initialize
1857 ldfile_output_architecture, ldfile_output_machine and
1858 ldfile_output_machine_name from ${OUTPUT_ARCH} if possible.
1859 * emultempl/beos.em: Likewise.
1860 * emultempl/elf32.em: Likewise.
1861 * emultempl/linux.em: Likewise.
1862 * emultempl/mipsecoff.em: Likewise.
1863 * emultempl/pe.em: Likewise.
1864 * emultempl/sunos.em: Likewise.
1866 2001-05-24 Tom Rix <trix@redhat.com>
1868 * emultempl/aix.em : (gld${EMULATION_NAME}_read_file)
1869 udate import file format.
1870 (change_symbol_mode) New, same
1871 (is_syscall) New, same
1872 * emulparams/aixppc.sh : add SYSCALL_MASK and SYMBOL_MODE_MASK
1873 * emulparams/aixppc64.sh : same
1874 * emulparams/aixrs6.sh : same
1875 * emulparams/ppcmacos.sh : same
1876 * emultempl/aix.em : use strtoull to parse options
1877 * Makefile.am : add eaixppc64 emulation for xcoff64
1878 * Makefile.in : same
1879 * configure.tgt : same
1881 * scripttempl/aix.sc : default text section offset to 0x10000000
1882 default data section offset to 0x20000000
1883 add .sv3264 and .sv64 pseudo sections
1884 loader and debug sections use the currect section offset.
1886 * emultempl/aix.em : Add xcoff64 support
1887 Add -binitfini support
1888 (gld${EMULATION_NAME}_before_parse) -binitfini
1889 (gld${EMULATION_NAME}_parse_args) same
1890 (gld${EMULATION_NAME}_before_allocation) format change for special
1893 * emulparams/aixppc64.sh : New file for xcoff64 support
1895 2001-05-23 Alexandre Oliva <aoliva@redhat.com>
1897 * emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new
1898 variable to avoid non-portable shell construct.
1900 2001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1902 * ldmain.c (get_emulation): Add -mips5 command line argument.
1904 2001-05-22 Alexandre Oliva <aoliva@redhat.com>
1906 * emulparams/elf_i386_ldso.sh: New, copied from elf_i386.sh.
1907 (ELF_INTERPRETER_NAME): Define it.
1908 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use
1910 * configure.tgt (targ_emul, targ_extra_emuls)
1911 [i[3456]86-*-solaris2*, i[3456]86-*-solaris*]: Use elf_i386_ldso
1912 as primary, elf_i386 as extra.
1913 * Makefile.am (ALL_EMULATIONS): Added eelf_i386_ldso.o.
1914 (eelf_i386_ldso.c): New rule.
1915 * Makefile.in: Rebuilt.
1917 2001-05-22 Nick Clifton <nickc@redhat.com>
1919 * lexsup.c (ld_options): Allow -I to be an alias for
1920 --dynamic-linker. This is for Solaris compatability.
1921 * ld.texinfo: Document that -I can be used.
1924 2001-05-16 Alan Modra <amodra@one.net.au>
1926 * ldlang.c (wild_doit): Use linker_has_input to reliably determine
1927 whether an input section is the first one assigned to an output
1929 Assorted formatting fixes.
1931 2001-05-14 DJ Delorie <dj@delorie.com>
1933 * Makefile.am (ld.dvi): Search bfd/doc for texinfo files.
1934 * Makefile.in: Ditto.
1936 2001-05-11 Jakub Jelinek <jakub@redhat.com>
1938 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put
1939 .gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind*
1941 * emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise.
1943 2001-05-11 Jakub Jelinek <jakub@redhat.com>
1945 * ldlang.c (lang_process): Call bfd_merge_sections.
1947 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1949 * ldgram.y: Fix typo.
1951 2001-05-03 H.J. Lu <hjl@gnu.org>
1953 * emultempl/elf32.em: Include "libiberty.h".
1954 (gld${EMULATION_NAME}_vercheck): Call basename () to get the
1955 basename of the bfd filename.
1956 (gld${EMULATION_NAME}_stat_needed): Likewise.
1957 (gld${EMULATION_NAME}_try_needed): Likewise.
1958 (gld${EMULATION_NAME}_open_dynamic_archive): Likewise.
1960 2001-05-02 H.J. Lu <hjl@gnu.org>
1962 * emultempl/pe.em: Include <ctype.h>.
1964 2001-05-02 Johan Rydberg <jrydberg@opencores.org>
1966 * emulparams/elf32openrisc.sh: New file.
1968 * Makefile.am: Add OpenRISC target.
1969 * Makefile.in: Regenerated.
1971 * configure.tgt: Add openrisc-*-* mapping.
1973 2001-05-02 Nick Clifton <nickc@redhat.com>
1975 * emultempl/aix.em: Replace buystring with xstrdup.
1976 * emultempl/beos.em: Replace buystring with xstrdup.
1978 2001-05-02 H.J. Lu <hjl@gnu.org>
1980 * ldfile.c: Include "libiberty.h".
1981 * ldlex.l: Likewise.
1983 * ldmisc.c (buystring): Removed.
1984 * ldmisc.h: Likewise.
1986 * ldfile.c: Replace buystring with xstrdup.
1987 * ldlang.c: Likewise.
1988 * ldlex.l: Likewise.
1989 * ldmain.c: Likewise.
1990 * ldmisc.c: Likewise.
1991 * lexsup.c: Likewise.
1992 * mpw-eppcmac.c: Likewise.
1994 2001-04-30 Andreas Jaeger <aj@suse.de>
1996 * emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value.
1998 2001-04-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
2000 * ldlang.c (load_symbols): Give emulation a chance
2001 to process unrecognized file before fatal error is
2002 reported, not after.
2004 2001-04-27 Sean McNeil <sean@mcneil.com>
2006 * configure.tgt: Add arm-vxworks target.
2007 * scripttempl/armcoff.sc: Support .text or .data as a section name
2011 2001-04-13 J.T. Conklin <jtc@redback.com>
2013 * ld.texinfo: Document --fatal-warnings.
2016 * ldmisc.c (vfinfo): Set flag to inhibit making executable if
2017 warnings have been turned into errors.
2018 * lexsup.c (OPTION_WARN_FATAL): Define.
2019 (ld_options): Entry for --fatal-warnings.
2020 (parse_args): Handle OPTION_WARN_FATAL.
2021 * ld.h (ld_config_type): Add fatal_warnings field.
2023 2001-04-13 Jakub Jelinek <jakub@redhat.com>
2025 * ldmain.c (main): Default to discard_sec_merge.
2026 * lexsup.c (OPTION_DISCARD_NONE): Define.
2027 (ld_options): Add --discard-none.
2028 (parse_args): Handle OPTION_DISCARD_NONE.
2029 * ldlang.c (wild_doit): SEC_MERGE should be set in the output
2030 section only if SEC_MERGE and SEC_STRINGS flags and entsize of
2031 all its input sections match.
2033 2001-04-05 Steven J. Hill <sjhill@cotw.com>
2035 * Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o.
2036 (ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o.
2037 (eelf32ltsmip.c): New target.
2038 (eelf64btsmip.c): Likewise.
2039 (eelf64ltsmip.c): Likewise.
2040 * Makefile.in: Regenerated.
2042 * configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS
2044 (mips*-*-linux-gnu*): Likewise.
2046 * emulparams/elf32ltsmip.sh: New. Traditional little endian
2048 * emulparams/elf64btsmip.sh: New. Traditional 64bit big endian
2050 * emulparams/elf64ltsmip.sh: New. Traditional 64bit little
2053 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
2055 * emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide
2056 correct value of __Stext here.
2057 (TEXT_START_SYMBOLS): Define; always define __Stext, to start of
2060 * emulparams/crislinux.sh: Remove FIXME.
2062 2001-04-02 Alan Modra <alan@linuxcare.com.au>
2064 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k.
2065 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Likewise.
2067 2001-03-27 Hans-Peter Nilsson <hp@axis.com>
2069 * configure.tgt (cris-*-*): Change default emulation to criself.
2070 (cris-*-*aout*): New rule.
2072 2001-03-27 Matthew Wilcox <willy@ldl.fc.hp.com>
2074 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 0x4000.
2075 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
2077 2001-03-26 Andreas Jaeger <aj@suse.de>
2079 * ld.texinfo (Overview): Fix syntax in texi code.
2081 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2083 * ld.texinfo: Put @c man indications to generate the ld man page.
2084 When generating man, define all the variables. Define SEEALSO
2085 and SYNOPSIS. Re-organize some lines to avoid the cross references.
2086 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variables.
2087 (ld.1): Generate from ld.texinfo.
2088 * Makefile.in: Regenerate.
2090 2001-03-23 Mark Elbrecht <snowball3@bigfoot.com>
2092 * scripttempl/i386go32.sc: Support the GCC flags '-ffunction-sections'
2093 and '-fdata-sections'. Set the VMA of STABS sections to zero.
2095 2001-03-17 Ulrich Drepper <drepper@redhat.com>
2097 * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME
2098 is an absolute path look only for this file and not along the path.
2100 2001-03-17 Ulrich Drepper <drepper@redhat.com>
2102 * emultempl/elf32.em (OPTION_GROUP): New macro.
2103 Add new option Bgroup to longopts.
2104 (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs.
2105 (gld*_list_options): Add -Bgroup and -z defs.
2106 * ld.1: Document -Bgroup and -z defs.
2107 * ld.texinfo: Likewise.
2109 2001-03-07 Michael Meissner <meissner@redhat.com>
2111 * scripttempl/elfd10v.sc (.rodata,.rodata1,.data1,.sdata): Deal
2112 with sections created by -fdata-sections.
2113 (.dynbss,.bss): Ditto.
2115 2001-03-05 Alan Modra <alan@linuxcare.com.au>
2117 * emultempl/m68kelf.em (m68k_elf_after_allocation): Call
2118 after_allocation_default, not gld..._before_allocation.
2120 2001-02-27 Alan Modra <alan@linuxcare.com.au>
2122 * configure.in (BFD_VERSION): New.
2123 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
2124 * configure: Regenerate.
2125 * Makefile.am: Run "make dep-am"
2126 * Makefile.in: Regenerate.
2128 2001-02-26 Timothy Wall <twall@cygnus.com>
2130 * emulparams/elf64_aix.sh: Add additional read-only sections;
2131 uncomment lines which are now required.
2133 2001-02-26 H.J. Lu <hjl@gnu.org>
2135 * ldlang.c (open_input_bfds): Set the bfd error handler so
2136 that problems can be caught whilst loading symbols.
2137 (record_bfd_errors): New function: Report BFD errors and mark
2138 the executable output as being invalid.
2140 2001-02-22 Timothy Wall <twall@cygnus.com>
2142 * configure.host: Add configuration for ia64-*-aix*.
2143 * Makefile.am (ALL_64_EMULATIONS): Add emulation for ia64-*-aix*.
2144 Add dependencies for eelf64_aix.c.
2145 * Makefile.in: Regenerate.
2146 * configure.tgt: Add ia64-*-aix* mapping.
2147 * emulparams/elf64_aix.sh: Add settings for elf64 on aix5.
2148 * testsuite/ld-bootstrap/bootstrap.exp: Exclude ia64 flavor from
2151 2001-02-20 H.J. Lu <hjl@gnu.org>
2153 * ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to
2154 false if we found the file.
2156 2001-02-18 David O'Brien <obrien@FreeBSD.org>
2158 * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64,
2159 FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries.
2161 2001-02-18 lars brinkhoff <lars@nocrew.org>
2163 * Makefile.am: Add PDP-11 target.
2164 * configure.tgt: Likewise.
2165 * emulparams/pdp11.sh: New file.
2167 2001-02-17 David O'Brien <obrien@FreeBSD.org>
2169 * configure.host: Add a generic FreeBSD configuration entry such that
2170 all [modern] FreeBSD systems on all platforms will look the same.
2172 2001-02-14 H.J. Lu <hjl@gnu.org>
2174 * configure.tgt: Remove mention of earmelf_linux26.
2176 2001-02-13 Richard Henderson <rth@redhat.com>
2178 * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove.
2180 2001-02-13 H.J. Lu <hjl@gnu.org>
2182 * ldexp.h (node_type): Add etree_provided.
2183 * ldexp.c (exp_fold_tree): Handle etree_provided. Set the node
2184 type to etree_provided if defined by PROVIDE. Allow updating
2186 (exp_print_tree): Handle etree_provided.
2187 * mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle
2190 2001-02-09 David Mosberger <davidm@hpl.hp.com>
2192 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add
2193 .IA_64.unwind.* pattern to unwind table section and
2194 .IA_64.unwind_info* pattern to unwind info section.
2196 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
2198 * Makefile.am: Add linux target for S/390.
2199 * Makefile.in: Likewise.
2200 * configure.host: Likewise.
2201 * configure.tgt: Likewise.
2202 * emulparams/elf64_s390.sh: New file.
2203 * emulparams/elf_s390.sh: New file.
2205 2001-02-09 Jakub Jelinek <jakub@redhat.com>
2207 * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into
2209 (sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath.
2211 2001-02-06 Philip Blundell <philb@gnu.org>
2213 * Makefile.am: Remove mention of earmelf_linux26.
2214 * Makefile.in: Regenerate.
2216 2001-02-04 Philip Blundell <philb@gnu.org>
2218 * emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000.
2219 * emulparams/armelf_linux26.sh: Delete.
2220 * configure.tgt: Remove mention of armelf_linux26 emulation.
2222 2001-02-01 Nick Clifton <nickc@redhat.com>
2224 * ld.1: Replace occurances of -oformat with --oformat.
2226 2001-01-25 Jim Driftmyer <jdrift@stny.rr.com>
2228 * ldlang.c (lang_leave_overlay): Don't set lma_region when
2229 load_base is specified.
2231 2001-01-24 Hans-Peter Nilsson <hp@axis.com>
2233 * emultempl/elf32.em: Correct spelling in comments and listed
2236 2001-01-23 Alan Modra <alan@linuxcare.com.au>
2238 * ldlang.c (lang_leave_overlay): Only set lma_region from the
2239 default for the first section of a group of overlay sections.
2241 2001-01-22 Alan Modra <alan@linuxcare.com.au>
2243 * Makefile.am (GENSCRIPTS): Pass exec_prefix.
2244 * Makefile.in: Regenerate.
2245 * genscripts.sh: Use exec_prefix parameter to specify tool lib.
2246 Check for null tool_dir.
2248 2001-01-16 Jim Wilson <wilson@redhat.com>
2250 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind
2251 and IA_64.unwind.info.
2253 2001-01-16 H.J. Lu <hjl@gnu.org>
2255 * ldlang.c (lang_check): Merge the private data only if the
2256 input file has contents.
2258 2001-01-14 Alan Modra <alan@linuxcare.com.au>
2260 * emulparams/hppalinux.sh (OUTPUT_FORMAT): Set to elf32-hppa-linux.
2262 * emultempl/hppaelf.em (hppaelf_after_parse): New function,
2263 enabling search for libmilli. On a relocatable link, make .text
2265 (LDEMUL_AFTER_PARSE): Define.
2266 (hppaelf_finish): Correct spelling of relocatable in comments.
2268 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
2269 rummage through the script for sections on the unique list.
2270 Correct length of strncmp for ".note".
2271 (gld${EMULATION_NAME}_check_needed): Rearrange function.
2273 * ldlang.c (unique_section_list): New var.
2274 (unique_section_p): New function.
2275 (walk_wild_section): Don't match sections on unique_section_list.
2276 (lang_add_unique): New function.
2277 Correct spelling of relocatable in comments.
2279 * ldlang.h (struct unique_sections): Declare.
2280 (unique_section_list): Declare.
2281 (unique_section_p): Declare.
2282 (lang_add_unique): Declare.
2284 * lexsup.c (ld_options): Allow --unique to take an optional arg.
2285 (parse_args [OPTION_UNIQUE]): Call lang_add_unique.
2287 * ld.texinfo (--unique): Update.
2289 2001-01-13 Nick Clifton <nickc@redhat.com>
2291 * lexsup.c (parse_args): Remove spurious white space.
2293 2001-01-12 Nick Clifton <nickc@redhat.com>
2295 * lexsup.c (parse_args): Update copyright date.
2297 2001-01-12 Philip Blundell <pb@futuretv.com>
2299 * configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin.
2301 2001-01-10 Kazu Hirata <kazu@hxi.com>
2303 * scripttempl/h8300.sc: Fix formatting. Fix a comment typo.
2304 * scripttempl/h8300h.sc: Fix formatting.
2305 * scripttempl/h8300s.sc: Likewise.
2306 * scripttempl/h8500.sc: Likewise.
2307 * scripttempl/h8500b.sc: Likewise.
2308 * scripttempl/h8500c.sc: Likewise.
2309 * scripttempl/h8500m.sc: Likewise.
2310 * scripttempl/h8500s.sc: Likewise.
2312 2000-01-07 David O'Brien <obrien@BSDi.com>
2314 * emultempl/elf32.em: Only perform Linux ld hints processing when
2317 2001-01-07 Philip Blundell <philb@gnu.org>
2319 * ld.texinfo (Bug Reporting): Update email address for reports.
2321 2000-12-31 Nick Clifton <nickc@redhat.com>
2323 * lexsup.c (parse_args): Set opterr to 0 and detect unparsed long
2324 options by checking for a return value of '?' not -1.
2326 2000-12-28 Nick Clifton <nickc@redhat.com>
2328 * lexsup.c (struct ld_option): Add new enum value:
2330 (ld_options[]): Change -omagic, -output and -oformat options
2331 to be EXACTLY_TWO_DASHES.
2332 (OUTPUT_COUNT): Use ARRAY_SIZE.
2333 (parse_args): Change parameter 'argc' to unsigned.
2334 Place EXACTLY_TWO_DASHES options into new really_longopts
2336 If getopt_long_only fails, try calling getopt_long using the
2337 really_longopts array.
2338 (help): Print a double dash for both EXACTLY_TWO_DASHES and
2341 * ldlex.h: Fix prototype of parse_args.
2343 * ld.texinfo: Document that long options starting with 'o'
2344 must be preceeded by two dashes. Change example of a single
2345 dashed long option from -oformat to -trace-symbol.
2347 2000-12-26 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
2349 * emultempl/pe.em (OPTION_NO_DEFAULT_EXCLUDES): Define.
2350 (longopts[]): New --no-default-excludes option.
2351 (gld_${EMULATION_NAME}_list_options): Document.
2352 (gld_${EMULATION_NAME}_parse_args): Handle.
2354 2000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2356 * ldlang.c (new_stat): Revert the last beautification with "innocent"
2357 whitespace, it breaks the K&R C preprocessor.
2359 2000-12-11 DJ Delorie <dj@redhat.com>
2361 * ld.texinfo: Add notes about --whole-archive and gcc.
2363 2000-11-18 Fred Fish <fnf@be.com>
2365 * lexsup.c (OPTION_ALLOW_SHLIB_UNDEFINED): Define.
2366 (ld_options): Entry for --allow-shlib-undefined.
2367 (parse_args): Handle OPTION_ALLOW_SHLIB_UNDEFINED.
2368 * ldmain.c (main): Initialize link_info.allow_shlib_undefined
2370 * ld.texinfo: Document new command line switch.
2372 2000-12-12 Geoffrey Keating <geoffk@redhat.com>
2374 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS):
2375 .fixup is actually read/write.
2376 * emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
2377 * emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
2378 * emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
2380 2000-12-11 Jan Hubicka <jh@suse.cz>
2382 * NEWS: Add note about x86_64 architecture.
2384 2000-12-06 Mark Elbrecht <snowball3@bigfoot.com>
2386 * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end.
2387 Set DWARF2 sections to a VMA of zero.
2389 2000-12-01 Joel Sherrill <joel@OARcorp.com>
2391 * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
2393 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
2394 (sparc*-*-rtems*): Switched from a.out to ELF.
2396 2000-11-30 Jan Hubicka <jh@suse.cz>
2398 * Makefile.am (ALL_EMULATIONS): Add eelf_x86_64.o
2399 (eelf_x86_64.c): New.
2400 * Makefile.in: Regenerate.
2401 * configure.tgt: Add support for x86_64-*-linux-gnu*.
2402 * emulparams/elf_x86_64.sh: New.
2404 2000-11-30 Hans-Peter Nilsson <hp@axis.com>
2406 * emulparams/crislinux.sh (ENTRY): Change back to _start.
2407 (TEXT_START_SYMBOLS): Remove conditional setting of __start.
2409 * scripttempl/crisaout.sc: Change all RELOCATING not related to
2410 merging non-a.out sections into CONSTRUCTING.
2412 2000-11-28 Nick Clifton <nickc@redhat.com>
2414 * ld.1 (COPYING): Mention that the GNU Free Documentation
2415 License is present in the sources, but not the output, and
2416 also available from the GNU website.
2417 (GNU Free Documentation License): Comment out this section.
2419 2000-11-28 David O'Brien <obrien@dragon.nuxi.com>
2421 * emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF
2424 2000-11-25 David O'Brien <obrien@FreeBSD.org>
2426 * ld.1: Remove old date so it does not give the impression the manpage
2429 2000-11-24 Nick Clifton <nickc@redhat.com>
2431 * configure.tgt (xscale-coff): Add target.
2432 (xscale-elf): Add target.
2434 2000-11-24 Fred Fish <fnf@be.com>
2436 * ldmain.c (main): Remove redundant init of config.make_executable
2439 2000-11-15 Richard Henderson <rth@redhat.com>
2441 * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M.
2443 2000-11-14 Kazu Hirata <kazu@hxi.com>
2445 * scripttempl/h8300.sc: Fix formatting.
2446 * scripttempl/h8300h.sc: Likewise.
2447 * scripttempl/h8300s.sc: Likewise.
2449 2000-11-14 Denis Chertykov <denisc@overta.ru>
2451 * scripttempl/elf32avr.sc: Fix bug in .eeprom segment.
2453 2000-11-09 Philip Blundell <pb@futuretv.com>
2455 * emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME
2456 around orphan sections whose names can be represented in C.
2458 2000-11-07 Jim Wilson <wilson@redhat.com>
2460 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local
2461 hold_sdata. If SEC_SMALL_DATA set, set place to hold_sdata.
2463 2000-11-06 Nick Clifton <nickc@redhat.com>
2465 * ld.texinfo: Add GNU Free Documentation License.
2466 * ldint.texinfo: Add GNU Free Documentation License.
2467 * ld.1: Add GNU Free Documentation License.
2469 2000-11-05 Alan Modra <alan@linuxcare.com.au>
2471 * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer,
2472 yy_is_interactive, yy_at_bol, and yy_fill_buffer.
2474 * Makefile.am (DISTCLEANFILES): Add stringify.sed.
2475 Move 2000-11-02 Makefile.in changes to this file.
2476 * Makefile.in: Regenerate.
2478 2000-11-03 Nick Clifton <nickc@redhat.com>
2480 * scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose
2481 constructors and destructors.
2482 * scripttempl/h8300h.sc: Ditto.
2483 * scripttempl/h8300s.sc: Ditto.
2484 * scripttempl/h8500.sc: Ditto.
2485 * scripttempl/h8500b.sc: Ditto.
2486 * scripttempl/h8500c.sc: Ditto.
2487 * scripttempl/h8500m.sc: Ditto.
2488 * scripttempl/h8500s.sc: Ditto.
2489 * scripttempl/v850.sc: Ditto.
2490 * scripttempl/w65.sc: Ditto.
2491 * scripttempl/z8000.sc: Ditto.
2493 2000-11-02 Per Lundberg <plundis@chaosdev.org>
2495 * Makefile.in (e_i386_chaos.c): New rule.
2496 (ALL_EMULATIONS): Added e_i386_chaos.o.
2497 * emulparams/elf_i386_chaos.sh: New file.
2498 * configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos.
2500 2000-10-20 Jakub Jelinek <jakub@redhat.com>
2502 * emulparams/elf64_sparc.sh (TEXT_START_ADDR,
2503 NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets.
2504 Fix sed invocation, so that it coped with '/' in Solaris 64bit
2505 library path suffix.
2506 Based on patch by Andrew Macleod <amacleod@cygnus.com>.
2508 2000-10-18 Hans-Peter Nilsson <hp@axis.com>
2510 * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),
2511 for consecutive sections.
2513 2000-10-17 Chandrakala Chavva <cchavva@redhat.com>
2515 * lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific
2517 * ld.texinfo: Added notes about this new option.
2519 2000-10-16 Nick Clifton <nickc@redhat.com>
2521 * emultempl/pe.em (_after_open): Add tests of return values from
2522 bfd functions. Emit appropriate error messages if necessary.
2524 2000-10-13 Nick Clifton <nickc@redhat.com>
2526 * emultempl/pe.em (_after_open): Delete 'is2' and 'nsyms'
2527 local variables - they are not used, but leave in the call to
2528 bfd_canonicalize_symtab.
2529 (_open_dynamic_archive): Add #ifdef DLL_SUPPORT around use of
2530 pe_dll_search_prefix.
2532 2000-10-12 Charles Wilson <cwilson@ece.gatech.edu>
2534 * emultempl/pe.em (pe_dll_search_prefix): New variable,
2535 (longopts): New --dll-search-prefix option.
2536 (gld_${EMULATION_NAME}_list_options): Document.
2537 (gld_${EMULATION_NAME}_parse_args): Handle.
2538 (gld_${EMULATION_NAME}_open_dynamic_archive): When linking
2539 dynamically, search for a dll named '<prefix><basename>.dll'
2540 in preference to 'lib<basename>.dll' if --dll-search-prefix
2543 2000-10-12 Alan Modra <alan@linuxcare.com.au>
2545 * ldlang.c (section_already_linked): Set kept_section instead of
2548 2000-10-10 Kazu Hirata <kazu@hxi.com>
2550 * deffile.h: Fix formatting.
2551 * lexsup.c: Likewise.
2554 2000-10-09 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
2556 * pe-dll.c (make_one): Do not generate code thunk for DATA
2558 (process_def_file): deduce DATA flag for auto-export sumbols.
2560 2000-10-09 Kazu Hirata <kazu@hxi.com>
2562 * ld.h: Fix formatting.
2563 * ldcref.c: Likewise.
2564 * ldctor.h: Likewise.
2565 * ldemul.c: Likewise.
2566 * ldemul.h: Likewise.
2567 * ldexp.c: Likewise.
2568 * ldexp.h: Likewise.
2569 * ldfile.c: Likewise.
2570 * ldfile.h: Likewise.
2571 * ldlang.c: Likewise.
2572 * ldlang.h: Likewise.
2573 * ldmain.c: Likewise.
2574 * pe-dll.c: Likewise.
2576 * pe-dll.c: Revert some formatting fixes.
2578 2000-10-08 Kazu Hirata <kazu@hxi.com>
2580 * pe-dll.c: Fix formatting.
2582 2000-10-05 Kazu Hirata <kazu@hxi.com>
2584 * ldlang.c: Fix formatting.
2586 2000-10-03 DJ Delorie <dj@redhat.com>
2588 * pe-dll.c (fill_edata): initialize entire block
2589 (make_one): fill in correct section.
2591 2000-10-03 Kazu Hirata <kazu@hxi.com>
2593 * ldexp.c: Fix formatting.
2595 2000-10-02 DJ Delorie <dj@redhat.com>
2597 * emultempl/pe.em (gld_*_after_open): detect case where there two
2598 import libraries for same dll; rename one to ensure proper link
2601 * pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix
2603 (generate_edata): fix typo
2605 2000-09-29 Hans-Peter Nilsson <hp@axis.com>
2607 * scripttempl/crisaout.sc (ENTRY): Now __start.
2608 (.text): Add default setting for __start.
2609 Remove CONSTRUCTORS handling.
2610 (/DISCARD/): Add .gnu.warning.*.
2611 * emulparams/crislinux.sh (ENTRY): Now __start.
2612 (TEXT_START_SYMBOLS): New; provide __Stext and __start default.
2613 * emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris.
2614 (ENTRY): Now __start.
2615 (INITIAL_READONLY_SECTIONS): Add KEEP for .startup.
2616 (EXECUTABLE_SYMBOLS): Add default setting for __start.
2618 2000-09-29 Kazu Hirata <kazu@hxi.com>
2620 * deffile.h: Fix formatting.
2622 * ldcref.c: Likewise.
2623 * ldctor.c: Likewise.
2624 * ldctor.h: Likewise.
2625 * ldemul.c: Likewise.
2626 * ldemul.h: Likewise.
2627 * ldexp.c: Likewise.
2628 * ldexp.h: Likewise.
2629 * ldfile.c: Likewise.
2630 * ldfile.h: Likewise.
2631 * ldlang.c: Likewise.
2632 * ldlang.h: Likewise.
2633 * lexsup.c: Likewise.
2635 * pe-dll.c: Likewise.
2637 2000-09-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
2639 * pe-dll.c (process_def_file): Uninitialized data wasn't
2640 exported with --export-all-symbols switch.
2642 2000-09-28 DJ Delorie <dj@redhat.com>
2644 * pe-dll.c (fill_edata): rearrange the data so that ordinals and
2645 noname work properly.
2647 2000-09-28 Alan Modra <alan@linuxcare.com.au>
2649 * ld.texinfo (HPPA ELF32): New section.
2651 * emultempl/hppaelf.em (group_size): New.
2652 (hppaelf_finish): Pass group_size to elf32_hppa_size_stubs.
2653 (PARSE_AND_LIST_PROLOGUE): Add OPTION_STUBGROUP_SIZE.
2654 (PARSE_AND_LIST_LONGOPTS): Add --stub-group-size. Duplicate
2655 options to prevent abbreviations matching.
2656 (PARSE_AND_LIST_OPTIONS): Describe the above. Reformat.
2657 (PARSE_AND_LIST_ARGS_CASES): Handle it.
2659 2000-09-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2661 * emultempl/m68kelf.em: Conditionalise the embedded relocs feature
2662 on the m68*-*-elf target. Make it support COFF input objects.
2664 2000-09-21 Kazu Hirata <kazu@hxi.com>
2666 * ldmain.c: Fix formatting.
2667 * ldmisc.c: Likewise.
2668 * ldver.c: Likewise.
2669 * ldwrite.c: Likewise.
2671 2000-09-21 Alan Modra <alan@linuxcare.com.au>
2673 * ldwrite.c (clone_section): Silence gcc warnings.
2675 2000-09-20 Alan Modra <alan@linuxcare.com.au>
2677 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Handle
2678 out of memory failure.
2680 * ldwrite.c (ldwrite): Remove unnecessary einfo arg.
2681 (clone_section): Handle out of memory failures. Rename var to
2682 avoid c++ reserved word.
2684 2000-09-18 Alan Modra <alan@linuxcare.com.au>
2686 * emultempl/hppaelf.em (hppaelf_add_stub_section): Rename
2687 stub_name param to stub_sec_name.
2688 (hppaelf_finish): Modify call to elf32_hppa_size_stubs.
2690 2000-09-10 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2692 * emultempl/m68kelf.em: New file.
2693 * emulparams/m68kelf.sh (EXTRA_EM_FILE): Use it.
2694 * Makefile.am (em68kelf.c): Add dependency on m68kelf.em.
2695 * Makefile.in: Regenerate.
2697 2000-09-15 Alan Modra <alan@linuxcare.com.au>
2699 * emulparams/hppalinux.sh (DATA_START_SYMBOLS): Provide $global$
2702 2000-09-13 Nick Clifton <nickc@redhat.com>
2704 * ldmain.c (multiple_definition): Disable relaxation if
2705 multiple symbol definitions are encountered - otherwise the
2706 linker could abort with an assertion failure.
2708 2000-09-10 Nick Clifton <nickc@redhat.com>
2710 * mri.c: Fix formatting.
2712 2000-09-07 H.J. Lu <hjl@gnu.org>
2714 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
2715 * configure: Rebuild.
2717 2000-09-07 H.J. Lu <hjl@gnu.org>
2719 * Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h.
2720 * Makefile.in: Rebuild.
2722 2000-09-07 Alan Modra <alan@linuxcare.com.au>
2724 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Fix
2725 broken list handling. Create __start_SECNAME and __stop_SECNAME
2726 when no place-holder. Add some comments. Test both SEC_CODE and
2727 SEC_READONLY for hold_text to prevent .rodata orphan poisoning.
2728 Handle case where no output section statement created.
2730 2000-09-07 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
2732 * configure.tgt (sh-*-linux*): Added.
2733 * Makefile.am: Added eshelf_linux and eshlelf_linux.
2734 * Makefile.in: Rebuilt.
2735 * emulparams/shelf_linux.sh: New file.
2736 * emulparams/shlelf_linux.sh: New file.
2738 2000-09-06 Alan Modra <alan@linuxcare.com.au>
2740 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
2741 try shuffling sections when the orphan happens to be the place
2742 holder. Keep count of unique section names generated so we speed
2743 the search for a new name.
2745 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
2747 * configure: Rebuilt with new libtool.m4.
2749 2000-09-05 Nick Clifton <nickc@redhat.com>
2751 * Makefile.in: Regenerate.
2752 * aclocal.m4: Regenerate.
2753 * configure: Regenerate.
2754 * config.in: Regenerate.
2755 * po/ld.pot: Regenerate.
2757 * ldint.texinfo: Remove CVS revision marker - it foils local
2760 * emultempl/ticoff.em: Remove extraneous comma.
2762 2000-09-05 Alan Modra <alan@linuxcare.com.au>
2764 * emultempl/hppaelf.em (hppaelf_add_stub_section): Add SEC_RELOC
2765 to stub section flags.
2766 (hppa_for_each_input_file_wrapper): New.
2767 (hppa_lang_for_each_input_file): New.
2768 (lang_for_each_input_file): Define to call above.
2769 (multi_subspace): New.
2770 (hppaelf_finish): Pass multi_subspace to elf32_hppa_size_stubs.
2771 (PARSE_AND_LIST_PROLOGUE): Define.
2772 (PARSE_AND_LIST_LONGOPTS): Define.
2773 (PARSE_AND_LIST_OPTIONS): Define.
2774 (PARSE_AND_LIST_ARGS_CASES): Define.
2775 (hppaelf_finish): Call elf32_hppa_set_gp.
2776 (hppaelf_set_output_arch): Remove.
2777 (LDEMUL_SET_OUTPUT_ARCH): Remove.
2779 * emulparams/hppalinux.sh (ELFSIZE): Define.
2781 (OTHER_READONLY_SECTIONS): Define.
2783 (GENERATE_SHLIB_SCRIPT): Define.
2785 * ldlang.c: Add missing prototypes, and tidy others. Change CONST
2786 to const throughout. Change `void *' to `PTR' throughout.
2787 (lang_memory_default): Function is local to file, add `static'.
2789 * Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em.
2790 (ehppalinux.c): Likewise.
2791 (earmelf.c): Likewise.
2792 (earmelf_linux.c): Likewise.
2793 (earmelf_linux26.c): Likewise.
2794 * Makefile.in: Regenerate.
2796 * ld.h (ld_config_type): Add unique_orphan_sections.
2797 * lexsup.c (OPTION_UNIQUE): Define.
2798 (ld_options): Add "--unique".
2799 (parse_args): Handle it.
2800 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
2801 search for an existing output section if unique_orphan_sections is
2802 set. Make use of bfd_get_unique_section_name rather than
2803 duplicating code here.
2804 * ld.texinfo: Describe --unique.
2806 * lexsup.c (ld_options): Make split-by-reloc arg optional. Add
2807 optional arg to split-by-file.
2808 (parse_args): Handle them.
2809 * ld.texinfo: Update description of these options.
2810 * ldwrite.c (clone_section): Pass in the section name. Replace
2811 local code with bfd_get_unique_section_name.
2812 (split_sections): Tidy code and comments. Use a list traversal
2813 more appropriate to the list construction. Handle cooked section
2814 sizes. Split when split_by_reloc reached rather than exceeded.
2815 Track section size and split when split_by_file reached. Fix
2816 link_order_tail (even though it's not used).
2817 (ldwrite): Modify condition for calling split_sections to suit
2818 changed split_by_reloc and split_by_file.
2819 * ldmain.c (main): Init config.split_by_reloc and
2820 config.split_by_file to -1.
2821 * ld.h (ld_config_type): Change split_by_reloc to unsigned.
2822 Change split_by_file to bfd_size_type.
2824 2000-09-02 Nick Clifton <nickc@redhat.com>
2826 * configure.in: Increase version number to 2.10.91.
2827 * NEWS: Mention new ability to support removal of duplicate DWARF2
2829 * configure: Regenerate.
2830 * aclocal.m4: Regenerate.
2831 * config.in: Regenerate.
2833 2000-09-02 Daniel Berlin <dberlin@redhat.com>
2835 * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info
2837 * scripttempl/elf32avr.sc: Ditto.
2838 * scripttempl/elfd10v.sc: Ditto.
2839 * scripttempl/elfd30v.sc: Ditto.
2840 * scripttempl/elfi370.sc: Ditto.
2841 * scripttempl/elfm68hc11.sc: Ditto.
2842 * scripttempl/elfm68hc12.sc: Ditto.
2843 * scripttempl/elfi386beos.sc: Ditto.
2844 * scripttempl/v850.sc: Ditto.
2846 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
2848 * acinclude.m4: Include libtool and gettext macros from the
2850 * aclocal.m4, configure: Rebuilt.
2852 2000-08-25 Nick Clifton <nickc@redhat.com>
2854 * ldlang.c (open_output): When choosing the target for a
2855 particular endianness, do nothing if the target is not
2858 2000-08-25 H.J. Lu <hjl@gnu.org>
2860 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
2861 check -rpath nor LD_RUN_PATH for cross link.
2862 * ld.texinfo: Document the change.
2864 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
2866 * NEWS: Mention support for CRIS.
2868 2000-08-23 H.J. Lu <hjl@gnu.org>
2870 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get
2871 the current runpath list from bfd_elf_get_runpath_list ()
2874 2000-08-22 H.J. Lu <hjl@gnu.org>
2876 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search
2877 the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after
2878 LD_LIBRARY_PATH for native linker. Display the needed DSO if
2879 trace_file_tries is non-zero.
2880 (gld${EMULATION_NAME}_try_needed): Report the needed DSO found
2881 if trace_file_tries is non-zero.
2883 * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH.
2886 2000-08-14 Jason Eckhardt <jle@cygnus.com>
2888 * NEWS: Mention i860 support.
2890 2000-08-14 Andreas Schwab <schwab@suse.de>
2892 * scripttempl/elf.sc: Fix last change to use correct comment
2895 2000-08-10 Geoff Keating <geoffk@cygnus.com>
2897 * scripttempl/elf.sc: Add a comment giving the correspondence
2898 between sections, per-datum sections, and linkonce sections. Make
2899 the comment true even for .bss, .sdata, .sdata2, .sbss, and
2902 2000-08-10 Jason Eckhardt <jle@cygnus.com>
2904 * emulparams/elf32_i860.sh: New file.
2905 * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}.
2906 * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o.
2907 (eelf32_i860.c): New rule.
2908 * Makefile.in: Regenerate.
2910 2000-08-10 Nick Clifton <nickc@cygnus.com>
2912 * emulparams/mipspe.sh (ENTRY): Add definition.
2914 2000-08-08 Peter Jeremy <peter.jeremy@alcatel.com.au>
2916 * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath
2919 2000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2921 * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate
2922 the final size of .bss section.
2923 * scripttempl/elfm68hc12.sc: Likewise.
2925 2000-08-04 Alan Modra <alan@linuxcare.com.au>
2927 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to
2928 gld${EMULATION_NAME}_parse_args for consistency. Combine
2929 lastoptind and prevoptind vars, and keep track of last optind.
2930 (gld_${EMULATION_NAME}_list_options): Rename to
2931 gld${EMULATION_NAME}_list_options.
2933 2000-08-03 Rodney Brown <RodneyBrown@pmsc.com>
2935 * configure.tgt: Select targ_emul=elf_i386 for Unixware 7
2936 (i586-sco-sysv5uw7.1.0).
2938 2000-07-27 H.J. Lu <hjl@gnu.org>
2940 * emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed.
2941 (PARSE_AND_LIST_PROLOGUE): New.
2942 (PARSE_AND_LIST_LONGOPTS): Likewise.
2943 (PARSE_AND_LIST_OPTIONS): Likewise.
2944 (PARSE_AND_LIST_ARGS_CASES): Likewise.
2945 (PARSE_AND_LIST_EPILOGUE): Likewise.
2947 2000-07-28 Alan Modra <alan@linuxcare.com.au>
2949 * emultempl/armelf.em: Elide functions common to elf32.em,
2950 ie. most of the file.
2951 (arm_elf_after_open): New. Do arm specific things then call
2952 gld${EMULATION_NAME}_after_open.
2953 (arm_elf_before_allocation): New. Call
2954 gld${EMULATION_NAME}_before_allocation then do arm specifics.
2955 (PARSE_AND_LIST_PROLOGUE): Define.
2956 (PARSE_AND_LIST_SHORTOPTS): Define.
2957 (PARSE_AND_LIST_LONGOPTS): Define.
2958 (PARSE_AND_LIST_OPTIONS): Define.
2959 (PARSE_AND_LIST_ARGS_CASES): Define.
2960 (LDEMUL_AFTER_OPEN): Define.
2961 (LDEMUL_BEFORE_ALLOCATION): Define.
2962 (LDEMUL_BEFORE_PARSE): Define.
2963 (LDEMUL_FINISH): Define.
2965 * emultempl/hppaelf.em: Similarly zap most of this file.
2966 (hppaelf_add_stub_section): Prototype.
2967 (hppaelf_layaout_sections_again): Prototype.
2968 (hook_in_stub): Prototype.
2969 (LDEMUL_SET_OUTPUT_ARCH): Define.
2970 (LDEMUL_FINISH): Define.
2971 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
2973 * emulparams/armelf.sh (TEMPLATE_NAME): Use elf32.
2974 (EXTRA_EM_FILE): New.
2975 * emulparams/armelf_linux.sh: Likewise.
2976 * emulparams/armelf_linux26.sh: Likewise.
2977 * emulparams/hppalinux.sh: Likewise.
2978 * emulparams/hppaelf.sh: Likewise.
2981 * emultempl/elf32.em: Fix formatting.
2982 (EXTRA_EM_FILE): Source it.
2983 (LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
2984 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
2985 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
2986 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
2987 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
2988 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
2989 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
2990 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
2991 LDEMUL_FIND_POTENTIAL_LIBRARIES): New shell vars. Add code to
2992 allow functions in this file to be overridden.
2993 (PARSE_AND_LIST_SHORTOPTS): Handle it.
2995 * emultempl/m68kcoff.em: Include ldfile.h before ldemul.h.
2997 * emultempl/elf32.em: Reorganize file.
2999 2000-07-27 Ivan Kokshaysky <ink@jurassic.park.msu.ru>
3001 * emulparams/elf64alpha.sh: Implement "-taso" emulation
3002 specific option to fit 64-bit executable in the lower
3003 31-bit address range. This is done by changing start
3004 address of .interp (the very first section of executable)
3005 and then setting EF_ALPHA_32BIT elf header flag.
3007 2000-07-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3009 * emultempl/m68kcoff.em: New file.
3010 * emulparams/m68kcoff.sh (TEMPLATE_NAME): Use m68kcoff template.
3011 * Makefile.am (em68kcoff.c): Depend on m68kcoff.em rather than
3013 * Makefile.in: Regenerate.
3015 2000-07-20 H.J. Lu <hjl@gnu.org>
3017 * emultempl/elf32.em (longopts): Duplicate "disable-new-dtags"
3018 and "disable-new-dtags" to stop getopt from treating -d/-e as
3019 abbreviations for these options.
3021 2000-07-20 H.J. Lu <hjl@gnu.org>
3023 * ld.texinfo: Add documentation for --disable-new-dtags and
3026 * ldmain.c (main): Initialize link_info.new_dtags to false.
3028 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add
3029 --disable-new-dtags and --enable-new-dtags.
3030 (gld_${EMULATION_NAME}_list_options): Likewise.
3032 2000-07-05 Kenneth Block <krblock@computer.org>
3034 * lexsup.c: Add optional style to demangle switch
3035 * ld.texinfo: Document optional style to demangle switch.
3037 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
3039 * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o,
3041 (ecrisaout.c, ecriself.c, ecrislinux.c): New rules.
3042 Regenerate dependencies.
3043 * Makefile.in: Rebuild.
3044 * configure.tgt (cris-*-*): New target.
3045 * emulparams/crisaout.sh, emulparams/criself.sh,
3046 emulparams/crislinux.sh, scripttempl/crisaout.sc: New files.
3047 * po/POTFILES.in, po/ld.pot: Regenerate.
3049 2000-07-20 H.J. Lu <hjl@gnu.org>
3051 * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options):
3052 Print out ignored -z options.
3054 2000-07-19 H.J. Lu <hjl@gnu.org>
3056 * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed.
3057 (PARSE_AND_LIST_PROLOGUE): New.
3058 (PARSE_AND_LIST_LONGOPTS): Likewise.
3059 (PARSE_AND_LIST_OPTIONS): Likewise.
3060 (PARSE_AND_LIST_ARGS_CASES): Likewise.
3062 * ldmain.c (main): Clear link_info.flags and link_info.flags_1.
3064 * lexsup.c (ld_options): Comment out 'z'.
3065 (parse_args): Likewise.
3067 * emultempl/elf32.em: Include "elf/common.h".
3068 (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z
3070 (gld_${EMULATION_NAME}_list_options): Likewise.
3072 * ld.texinfo: Add documentation for the recognized -z options.
3074 2000-07-19 H.J. Lu <hjl@gnu.org>
3076 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call
3077 bfd_elf_set_dt_needed_soname ().
3079 2000-07-18 DJ Delorie <dj@cygnus.com>
3081 * pe-dll.c (pe_dll_id_target): check object target name also
3083 2000-07-18 Hans-Peter Nilsson <hp@axis.com>
3085 * scripttempl/elf.sc (.init): Only do ${INIT_START} and
3086 ${INIT_END} if relocating.
3087 (.fini): Likewise ${FINI_START} and ${FINI_END}.
3089 2000-07-16 Charles Wilson <cwilson@ece.gatech.edu>
3091 * emultempl/pe.em (gld_*_open_dynamic_archive): New search
3092 order for dynamic library '-lfoo' on pei386: libfoo.dll.a,
3093 foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility
3094 errors introduced by the old dynamic lib search order.
3096 2000-07-17 DJ Delorie <dj@cygnus.com>
3098 * pe-dll.c (process_def_file): auto-export data items also
3099 (pe_process_import_defs): also see if _imp_ form needed
3101 2000-07-12 Charles Wilson <cwilson@ece.gatech.edu>
3103 * pe-dll.c (make_one): fix a typo in the __imp_ name decoration
3104 for dll import libraries
3106 2000-07-12 Mark Elbrecht <snowball3@bigfoot.com>
3108 * scripttempl/i386go32.sc: Support the g++ attribute init_priority in
3109 gcc 2.95.2 and later.
3111 2000-07-11 Kazu Hirata <kazu@hxi.com>
3113 * ldfile.c (ldfile_try_open_bfd): Output '\n' after an error
3116 2000-07-10 Alan Modra <alan@linuxcare.com.au>
3118 * ldemul.h (struct lang_input_statement_struct): Remove forward
3120 (struct search_dirs): Likewise.
3121 * ldfile.h (struct lang_input_statement_struct): Likewise.
3122 Protect file from multiple inclusion.
3123 * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Move file_chain
3124 declaration from macro to file scope.
3126 * ldemul.c: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this order.
3127 * ldgram.y: Likewise here.
3128 * ldlang.c: And here.
3129 * ldmain.c: And here.
3130 * mpw-elfmips.c: And here.
3131 * mpw-eppcmac.c: And here.
3132 * emultempl/aix.em: And here.
3133 * emultempl/armcoff.em: And here.
3134 * emultempl/armelf.em: And here.
3135 * emultempl/armelf_oabi.em: And here.
3136 * emultempl/beos.em: And here.
3137 * emultempl/elf32.em: And here.
3138 * emultempl/hppaelf.em: And here.
3139 * emultempl/linux.em: And here.
3140 * emultempl/lnk960.em: And here.
3141 * emultempl/pe.em: And here.
3142 * emultempl/sunos.em: And here.
3143 * mpw-esh.c: And here. Include ldexp.h and ldlang.h too.
3144 * mpw-idtmips.c: Ditto.
3145 * emultempl/generic.em: Ditto.
3146 * emultempl/gld960.em: Ditto.
3147 * emultempl/gld960c.em: Ditto.
3148 * emultempl/mipsecoff.em: Ditto.
3149 * emultempl/ticoff.em: Ditto.
3150 * emultempl/vanilla.em: Ditto.
3152 * pe-dll.c: Include ldfile.h
3153 * ldver.c: Include ldexp.h, ldlang.h, ldfile.h
3155 * mpw-elfmips.c: (gldelf32ebmip_before_allocation): Add missing
3156 arguments to bfd_elf32_size_dynamic_sections call.
3157 (gldelf32ebmip_place_orphan): Add missing arguments to
3158 lang_leave_output_section_statement call.
3160 2000-07-10 H.J. Lu <hjl@gnu.org>
3162 * emultempl/pe.em (pe_enable_stdcall_fixup): Protect with
3164 (strhash): Likewise.
3165 (compute_dll_image_base): Likewise.
3166 (pe_undef_found_sym): Likewise.
3167 (pe_undef_cdecl_match): Likewise.
3168 (gld_${EMULATION_NAME}_open_dynamic_archive): Mark the
3169 argument "arch" with ATTRIBUTE_UNUSED.
3171 2000-07-10 Alan Modra <alan@linuxcare.com.au>
3173 * configure.tgt: Remove extraneous hppa*-*-linux-gnu*.
3175 From Ryan Bradetich <rbradetich@uswest.net>
3176 * ldwrite.c (SSIZE): Remove to cure macro redefinition warning.
3178 2000-07-09 Alan Modra <alan@linuxcare.com.au>
3180 Changes to create multiple linker stubs, positioned immediately
3181 before the section where they are required.
3182 * emultempl/hppaelf.em: Include elf32-hppa.h.
3183 (stub_sec, file_chain): Delete.
3184 (hppaelf_create_output_section_statements): Don't make a stub
3186 (hook_stub_info): New struct.
3187 (hook_in_stub): New function.
3188 (hppaelf_add_stub_section): New function.
3189 (hppaelf_finish): Do nothing for relocateable links. Modify the
3190 call to elf32_hppa_size_stubs. Move code for updating section
3192 (hppaelf_layaout_sections_again): ..to here, a new function.
3194 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Fix
3195 broken list handling. Pass in a pointer to the list.
3196 (hppaelf_finish): Update call to hppaelf_delete_padding_statements
3198 (hppaelf_before_parse): Prototype.
3199 (hppaelf_set_output_arch): Prototype.
3200 (hppaelf_create_output_section_statements): Prototype.
3201 (hppaelf_delete_padding_statements): Prototype.
3202 (hppaelf_finish): Prototype.
3205 * emultempl/hppaelf.em: Include ctype.h.
3206 (struct orphan_save): New.
3207 (gld${EMULATION_NAME}_place_orphan): New.
3208 (output_rel_find): New.
3209 (hppaelf_get_script): Update from elf32.em.
3210 (ld_hppaelf_emulation): Rename to ld_${EMULATION_NAME}_emulation.
3211 Change emulation_name field to "${EMULATION_NAME}". Add
3212 gld${EMULATION_NAME}_place_orphan.
3214 * Makefile.am (ALL_EMULATIONS): Reinstate ehppaelf.o, add
3215 ehppalinux.o, sort it. Regenerate dependencies.
3216 (ehppalinux.c): Depend on hppaelf.em
3217 * Makefile.in: Regenerate.
3219 * configure.tgt: targ_emul=hppalinux for hppa*linux
3221 * emulparams/hppalinux.sh: New.
3222 * emulparams/hppaelf.sh (TARGET_PAGE_SIZE): Write in hex.
3224 2000-07-08 Alan Modra <alan@linuxcare.com.au>
3226 * lexsup.c (parse_args): Copy section name.
3228 2000-07-07 Charles Wilson <cwilson@ece.gatech.edu>
3230 * emultempl/pe.em: institute the following search order for
3231 dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import
3232 libs), libfoo.dll, foo.dll (link direct to dll). Fall back to
3233 static lib (libfoo.a) if none of the above are found.
3235 2000-07-07 Mumit Khan <khan@xraylith.wisc.edu>
3237 * emultempl/pe.em (pe_enable_auto_image_base): New variable.
3238 (longopts): New --{enable,disable}-auto-image-base options.
3239 (gld_${EMULATION_NAME}_list_options): Document.
3240 (gld_${EMULATION_NAME}_parse): Handle.
3241 (strhash): New static function.
3242 (compute_dll_image_base): New static function.
3243 (gld_${EMULATION_NAME}_set_symbols): Use.
3245 2000-07-05 DJ Delorie <dj@redhat.com>
3249 2000-07-01 Koundinya K <kk@ddeorg.soft.net>
3251 * configure.tgt: Add traditional mips (mips*-*-sysv4*) target.
3252 * emulparams/elf32btsmip.sh: New file.
3253 * Makefile.am: Add traditional mips target.
3254 * Makefile.in: Rebuild.
3256 2000-07-01 H.J. Lu <hjl@gnu.org>
3258 * Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for
3259 automake to use YLWRAP.
3260 * Makefile.in: Rebuild.
3262 2000-07-01 Alan Modra <alan@linuxcare.com.au>
3264 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
3265 (CLEANFILES): Add DEPA.
3266 * Makefile.in: Regenerate.
3268 2000-06-30 Timothy Wall <twall@ppc>
3270 * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode
3271 the page in the upper octet of the address.
3273 2000-06-26 Marek Michalkiewicz <marekm@linux.org.pl>
3275 * emulparams/avrmega161.sh (ARCH): Change to avr:5.
3277 2000-06-24 Alan Modra <alan@linuxcare.com.au>
3279 * NEWS: arm-elf does --gc-sections too.
3281 2000-06-22 Alan Modra <alan@linuxcare.com.au>
3283 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
3285 * Makefile.in: Regenerate.
3287 2000-06-21 H.J. Lu <hjl@gnu.org>
3289 * Makefile.am: Rebuild dependency.
3290 * Makefile.in: Rebuild.
3292 2000-06-20 H.J. Lu <hjl@gnu.org>
3294 * Makefile.am: Rebuild dependency.
3295 * Makefile.in: Rebuild.
3297 2000-06-20 Timothy Wall <twall@cygnus.com>
3299 * scripttempl/tic54xcoff.sc: New.
3300 * ldlang.c (wild_doit): Propagate SEC_BLOCK flag.
3301 * gen-doc.texi: Add flag for TI COFF.
3302 * ld.texinfo: Add documentation for TI COFF handling switches.
3303 * emultempl/ticoff.em: New. TI COFF handling.
3304 * configure.tgt: Add tic54x target.
3305 * Makefile.am: Add tic54x target.
3306 * Makefile.in: Ditto.
3308 2000-06-20 Alan Modra <alan@linuxcare.com.au>
3310 * ldmain.c (set_scripts_dir): Correct pointer comparison when
3311 checking for backslashes.
3313 2000-06-19 Alan Modra <alan@linuxcare.com.au>
3315 * NEWS: Move entries not in 2.10 above "Changes in version 2.10".
3317 2000-06-18 Alan Modra <alan@linuxcare.com.au>
3319 * NEWS: Update list of targets supporting --gc-sections.
3321 * scripttempl/elf.sc: KEEP .eh_frame contents.
3322 * scripttempl/elfd30v.sc: Same here.
3324 2000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
3326 * Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12
3328 * Makefile.in: Rebuild.
3329 * configure.tgt: Recognize m68hc12 and m68hc11.
3330 * scripttempl/elfm68hc12.sc: New file.
3331 * emulparams/m68hc12elfb: New emulation.
3332 * emulparams/m68hc12elf: New emulation.
3333 * emulparams/m68hc11elfb.sh: New file. User configurable emulation
3334 (includes a memory.x script to define the ROM and RAM banks).
3335 * scripttempl/elfm68hc11.sc, emulparams/m68hc11elf.sh:
3336 New configuration files for support of Motorola 68hc11
3338 2000-06-15 Alan Modra <alan@linuxcare.com.au>
3340 * ldmain.c (main): Only change SEC_READONLY for final link.
3342 2000-06-13 H.J. Lu <hjl@gnu.org>
3344 * configure: Regenerate.
3346 2000-06-08 David O'Brien <obrien@FreeBSD.org>
3348 * configure.in (VERSION): Update to show this is the CVS mainline.
3350 2000-06-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3352 * emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all
3353 input objects to be ECOFF.
3354 (check_sections): einfo takes %B, not %P, to print a BFD name.
3356 2000-06-05 Michael Matz <matz@ifh.de>
3358 * ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in
3361 * ldlex.l (V_IDENTIFIER): Accept `::' in symbols.
3363 2000-05-23 Marek Michalkiewicz <marekm@linux.org.pl>
3365 * emulparams/avr1200.sh (STACK): Define as 0.
3366 * emulparams/avr23xx.sh (STACK): Define as last internal SRAM address.
3367 * emulparams/avr4433.sh (STACK): Likewise.
3368 * emulparams/avr44x4.sh (STACK): Likewise.
3369 * emulparams/avr85xx.sh (STACK): Likewise.
3370 * emulparams/avrmega103.sh (STACK): Likewise.
3371 * emulparams/avrmega161.sh (STACK): Likewise.
3372 * emulparams/avrmega603.sh (STACK): Likewise.
3373 * scripttempl/elf32avr.sc (__data_start): Define for gcrt1.
3374 (__stack): Define from ${STACK} for main().
3376 2000-05-26 Alan Modra <alan@linuxcare.com.au>
3378 * Makefile.am: Update dependencies with "make dep-am"
3379 * Makefile.in: Regenerate.
3381 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
3383 * ldmain.c: Include filenames.h.
3384 (set_scripts_dir): Support backslashes in program name.
3386 2000-05-22 Igor Shevlyakov <igor@windriver.com>
3388 * ldmain.c (main): When deciding if ".text" section should be
3389 read-only, don't forget to reset SEC_READONLY because it
3390 could be already set.
3392 2000-05-22 Thomas de Lellis <tdel@windriver.com>
3394 * ld.1: Add documentation for new command line option:
3395 --section-start <sectionname>=<sectionorg>
3396 This is a generic version of -Ttext etc. which accepts
3397 any section name as a parameter instead of just text/data/
3399 * ld.texinfo: More docs.
3401 * lexsup.c: (parse_args): Recognize new command line option.
3402 (ld_options): Add new option.
3404 2000-05-18 H.J. Lu <hjl@gnu.org>
3406 * lexsup.c (parse_args): `i' == `r', not `q'.
3408 2000-05-18 Jeffrey A Law (law@cygnus.com)
3410 * configure.tgt (hppa*64*-*-*): Enable PA64 target.
3412 2000-05-17 S. Bharadwaj Yadavalli <sby@scrugs.lkg.dec.com>
3413 Rick Gorton <gorton@scrugs.lkg.dec.com>
3415 Add support for '-q' == '--emit-relocs' switch.
3416 * ldmain.c (main): Default to false.
3417 * lexsup.c (parse_args): Turn on emitrelocations flag if set.
3418 * NEWS: Describe the emitrelocations switch.
3419 * ld.texinfo: Describe the emitrelocations switch.
3421 2000-05-16 Charles Wilson <cwilson@ece.gatech.edu>
3423 * emultempl/pe.em (_open_dynamic_archive): New function: Search
3424 the library path for "foo.dll" and "libfoo.dll" dynamic libraries
3425 before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo'
3428 2000-05-15 David O'Brien <obrien@FreeBSD.org>
3430 * lexsup.c (parse_args): Update the year in the copyright notice.
3432 2000-05-13 Alan Modra <alan@linuxcare.com.au>
3434 * ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain):
3435 Replace defines with those from intl/libgettext.h to quieten gcc
3438 2000-05-10 H.J. Lu <hjl@gnu.org>
3440 * ldlang.c (open_input_bfds): Don't load the same file within
3441 a group again if the whole archive has been loaded already.
3443 2000-05-03 Alan Modra <alan@linuxcare.com.au>
3445 From Ulf Carlsson <ulfc@engr.sgi.com> and Andreas Jaeger <aj@suse.de>
3446 * lexsup.c (set_section_start): Use bfd_scan_vma rather than
3449 2000-05-01 Jim Wilson <wilson@cygnus.com>
3451 * configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}.
3453 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
3454 host "ia64-*-linux-gnu*".
3456 2000-04-29 Andreas Jaeger <aj@suse.de>
3458 * ld.h: Correctly check GCC version.
3460 2000-04-25 Jeffrey A Law (law@cygnus.com)
3462 * Makefile.am: Add PA64 support. Add missing dependencies for
3464 * Makefile.in: Rebuilt.
3465 * configure.tgt: Add PA64 support (currently disabled).
3467 2000-04-25 Alan Modra <alan@linuxcare.com.au>
3469 * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete.
3470 (output_rel_find): New function.
3471 (hold_section, hold_use): Delete.
3472 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
3473 hold_interp): Make local to place_orphan.
3474 (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find
3475 rather than place_section to find possible previous use of orphan.
3476 Similarly find the place-holder output sections. Use returned
3477 value from lang_enter_output_section_statement rather than calling
3478 lang_output_section_statement_lookup.
3479 * emultempl/armelf.em: Same here.
3480 * emultempl/pe.em: Similar to above, but no need for output_rel_find.
3482 * ldlang.c (lang_enter_output_section_statement): Return output
3484 * ldlang.h (lang_enter_output_section_statement): Change
3487 * ldlang.h (lang_output_section_statement): Export it.
3488 * ldlang.c (lang_output_section_statement): Ditto.
3490 2000-04-24 Nick Clifton <nickc@cygnus.com>
3492 * ld.texinfo (Output Section Data): Add note that section data
3493 commands cannot appear outside of section directives.
3495 2000-04-2 Matthew Green <mrg@cygnus.com>
3497 * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support.
3499 2000-04-21 Richard Henderson <rth@cygnus.com>
3500 David Mosberger <davidm@hpl.hp.com>
3502 * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o.
3503 (eelf64_ia64.c): New rule.
3504 * Makefile.in: Rebuild.
3505 * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets.
3506 * emulparams/elf64_ia64.sh: New file.
3508 2000-04-21 Richard Henderson <rth@cygnus.com>
3510 * scripttempl/elfd30v.sc: Place .gcc_except_table.
3512 2000-04-19 Alan Modra <alan@linuxcare.com.au>
3514 * dep-in.sed: Match space at start of file name, not at end.
3516 2000-04-18 H.J. Lu <hjl@gnu.org>
3518 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
3519 lang_leave_output_section_statement () after calling
3520 lang_enter_output_section_statement ().
3521 * emultempl/armelf.em: Likewise.
3523 2000-04-18 Alan Modra <alan@linuxcare.com.au>
3525 * emultempl/elf32.em (struct orphan_save): Add section field.
3526 (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in
3527 better order, and place first orphan section as we did before the
3528 2000-04-12 patch. Ignore ~SEC_ALLOC sections when choosing place.
3529 Don't call make_bfd_section here, let wild_doit do the job for us.
3530 Don't build a statement list when we'll only throw it away.
3531 * emultempl/armelf.em: Ditto.
3532 * emultempl/pe.em: Similarly.
3534 2000-04-14 Geoff Keating <geoffk@cygnus.com>
3536 * scripttempl/elfppc.sc: Remove.
3537 * emulparams/elf32ppc.sh: Use elf.sc.
3538 * emulparams/elf32lppc.sh: Use elf.sc.
3539 * emulparams/elf32ppclinux.sh: Use elf.sc.
3540 * emulparams/elf32ppcsim.sh: New file.
3541 * emulparams/elf32lppcsim.sh: New file.
3542 * Makefile.am: Update dependencies. Add elf32ppcsim ad elf32lppcsim.
3543 (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim.
3544 * Makefile.in: Regenerate.
3545 * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim.
3547 2000-04-14 Alan Modra <alan@linuxcare.com.au>
3549 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process
3550 ~SEC_ALLOC sections too. Init start address of debug sections.
3551 * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto.
3552 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto.
3553 Also set all relocateable section start addresses.
3555 2000-04-13 Geoff Keating <geoffk@cygnus.com>
3557 * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections.
3558 Add new BSS_PLT variable for when .plt need not be contained in
3559 the file. Move _etext so that it is also after .fini, and provide
3560 both etext and _etext with a leading underscore. Mark the start
3563 2000-04-12 Alan Modra <alan@linuxcare.com.au>
3565 * emultempl/elf32.em (struct orphan_save): New.
3566 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
3567 hold_interp): Make them struct orphan_save.
3568 (gld${EMULATION_NAME}_place_section): Modify for new hold_*.
3569 (gld${EMULATION_NAME}_place_orphan): Add new orphan sections to
3570 the end of the relevant section list. Also add associated section
3571 statements to the end of any previous orphan statements.
3572 * emultempl/armelf.em: Similarly.
3573 * emultempl/pe.em: Similarly.
3575 2000-04-11 Alan Modra <alan@linuxcare.com.au>
3577 * ld.texinfo (Simple Example): Remove extraneous paragraph.
3579 2000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
3581 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
3582 --enable-build-warnings option.
3583 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
3584 * Makefile.in, configure: Re-generate.
3586 2000-04-04 Alan Modra <alan@linuxcare.com.au>
3588 * po/ld.pot: Regenerate.
3590 * lexsup.c (help): Restore translated part of bug string.
3592 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
3593 (DEP): Quote when passing vars to sub-make. Add warning message
3595 (DEP1): Rewrite for "gcc -MM".
3596 (CLEANFILES): Add DEP2.
3597 Update dependencies.
3598 * Makefile.in: Regenerate.
3600 2000-04-03 Alan Modra <alan@linuxcare.com.au>
3602 * ld.h: #include "bin-bugs.h"
3603 * lexsup.c (help): Use REPORT_BUGS_TO.
3605 2000-03-27 Denis Chertykov <denisc@overta.ru>
3607 * configure.tgt (avr-*-*): New target support.
3608 * Makefile.am: Likewise.
3609 * scripttempl/elf32avr.sc: New script file.
3610 * emulparams/avr1200.sh: New file.
3611 * emulparams/avr23xx.sh: New file.
3612 * emulparams/avr4433.sh New file.
3613 * emulparams/avr44x4.sh New file.
3614 * emulparams/avr85xx.sh New file.
3615 * emulparams/avrmega103.sh New file.
3616 * emulparams/avrmega161.sh New file.
3617 * emulparams/avrmega603.sh New file.
3618 * Makefile.in: Regenerate.
3620 2000-03-09 Andreas Jaeger <aj@suse.de>
3622 * Makefile.am (check-DEJAGNU): Also unset LANG.
3623 * Makefile.in: Rebuild.
3625 2000-03-06 Ian Lance Taylor <ian@zembu.com>
3627 * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty
3630 2000-03-02 H.J. Lu <hjl@gnu.org>
3632 * emulparams/elf32mcore.sh: Include "getopt.h".
3634 2000-03-01 Ian Lance Taylor <ian@zembu.com>
3636 * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware.
3638 2000-03-01 H.J. Lu <hjl@gnu.org>
3640 * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR.
3641 * emulparams/shpe.sh: Likewise.
3643 2000-03-01 Nick Clifton <nickc@cygnus.com>
3645 * pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED
3646 to unused parameters.
3648 * emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static
3649 functions only used by DLL code.
3650 (_place_orphan): Initialise 'dollar'.
3652 2000-03-01 H.J. Lu <hjl@gnu.org>
3654 * ldmain.c (undefined_symbol): Take one more arg, fatal, to
3655 indicate if the undefined symbol is a fatal error or not.
3656 Don't delete the output file if "fatal" is false.
3658 2000-02-29 H.J. Lu <hjl@gnu.org>
3660 * Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)".
3661 Set LC_COLLATE and LC_ALL to null and export them. It is for
3662 sort which expects the C locale.
3663 Add $(LIBS) to all $(HOSTING_LIBS).
3664 * Makefile.in: Rebuild.
3666 2000-02-29 Alan Modra <alan@spri.levels.unisa.edu.au>
3668 * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em,
3669 beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em,
3670 linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em}
3671 (ld_emulation_xfer_struct): Add missing NULL initialiser for
3672 find_potential_libraries.
3674 2000-02-28 Jim Blandy <jimb@redhat.com>
3676 * ldgram.y (exclude_name_list): Don't require a comma to separate
3677 list entries; the lexer considers commas to be valid part of a
3678 filename, so in something like `foo, bar' the comma is considered
3679 part of the first filename, `foo,'.
3680 * ld.texinfo: Update section on EXCLUDE_FILE lists.
3682 2000-02-27 Loren J. Rittle <ljrittle@acm.org>
3684 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
3685 host "i[3456]86-*-freebsdelf*".
3687 2000-02-27 Mark Elbrecht <snowball3@bigfoot.com>
3689 * scripttempl/i386go32.sc: Move misplaced semicolons.
3691 2000-02-25 Ian Lance Taylor <ian@zembu.com>
3693 * Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o.
3694 (ALL_64_EMULATIONS): Remove eelf64hppa.o.
3695 (eelf64hppa.c, ehppaelf.c): Remove targets.
3696 * Makefile.in: Rebuild.
3698 2000-02-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3700 * configure.tgt (targ_extra_ofiles): Enable elf64_sparc on
3701 GNU/Linux/sparc, but keep the default as 32.
3703 * configure.tgt: Enable elf64_sparc on Solaris7+/sparc. And make
3704 it default if sparcv9 or sparc64.
3706 2000-02-24 Nick Clifton <nickc@cygnus.com>
3708 * Makefile.am: Add rules to build emipspe.o and earmpe.o.
3709 * Makefile.in: Regenerate.
3710 * configure.tgt: Add targets for arm-wince, sh-pe and mips-pe.
3712 * ldemul.h (ld_emulation_xfer_struct): Add new field:
3713 find_potential_libraries.
3714 * ldemul.c (ldemul_find_potential_libraries): New function.
3716 * ldfile.c (ldfile_open_file_search): Allow function to be
3718 (ldfile_open_file): Call ldemul_find_potential_libraries.
3719 * ldfile.h: Add prototype for ldfile_open_file_search.
3721 * pe-dll.c: Add support for ARM, MIPS and SH targets.
3723 * emulparams/mipspe.sh: New file. Parameters for mips-pe target.
3724 * emulparams/shpe.sh: New file. Parameters for sh-pe target.
3726 * emultempl/pe.em: Add support for ARM, MIPS and SH DLLs.
3727 (gld_X_find_potential_libraries): New function. Search for
3728 libraries called "*.lib".
3730 * scripttempl/pe.sc: Add .pdata section.
3732 2000-02-23 Richard Henderson <rth@cygnus.com>
3734 * scripttempl/elfd10v.sc: Remove dynamic linking hooks.
3735 Add and use memory regions.
3737 2000-02-23 Linas Vepstas (linas@linas.org)
3739 * emulparams/elf32i370.sh, scripttempl/elfi370.sc: New.
3741 * Makefile.am: Add support for Linux/IBM 370.
3742 * configure.tgt: Likewise.
3744 * Makefile.in: Regenerate.
3746 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
3748 * ldlang.c (print_input_section, print_data_statement,
3749 print_reloc_statement, print_padding_statement, insert_pad,
3750 size_input_section, lang_check_section_addresses,
3751 lang_size_sections, lang_do_assignments, lang_set_startof,
3752 lang_one_common): Change `opb' to unsigned.
3753 (lang_do_assignments): Also change `size' to unsigned.
3755 2000-02-16 Richard Henderson <rth@cygnus.com>
3757 * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION.
3759 2000-02-16 Timothy Wall <twall@cygnus.com>
3761 * mri.c (mri_draw_tree): Add default LMA region argument to call
3762 to lang_leave_output_section_statement.
3763 * ldlang.h: Update prototypes with LMA region arguments.
3764 * ldlang.c (lang_size_sections): Encapsulate region bounds
3765 checking in os_check_region call.
3766 (os_check_region): New function.
3767 (lang_output_section_statement_lookup): Initialize lma_region.
3768 (lang_leave_output_section_statement): Add LMA region argument.
3769 (lang_leave_overlay): Ditto.
3770 * ldgram.y: Handle LMA region syntax.
3771 * ld.texinfo (Output Section Description): Describe LMA region usage.
3772 * emultempl/armelf.em (gld$place_orphan): Add default value for
3773 lma region in call to lang_leave_output_section_statement.
3774 * emultempl/elf32.em (gld$place_orphan): Add default value for
3775 lma region in call to lang_leave_output_section_statement.
3776 * emultempl/pe.em (gld$place_orphan): Add default value for
3777 lma region in call to lang_leave_output_section_statement.
3780 2000-02-04 Timothy Wall <twall@redhat.com>
3782 * ldlang.c (lang_check_section_addresses): Use bytes instead of
3783 octets when calculating section end addresses.
3785 2000-02-04 Timothy Wall <twall@redhat.com>
3787 * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation.
3789 2000-02-03 Timothy Wall <twall@redhat.com>
3791 * ldexp.c (fold_name): Make SIZEOF operator return byte count, not
3793 * ldlang.c (print_input_section, print_data_statement,
3794 print_reloc_statement, print_padding_statement): Print target
3795 address values and section sizes as bytes, not octets.
3796 (insert_pad) Calculate padding size in octets, and adjust "dot"
3798 (size_input_section) Always adjust "dot" by bytes, not octets.
3799 (lang_check_section_addresses, lang_do_assignments) Adjust
3800 "dot" by bytes, not octets. Use the larger of the directive size
3801 or octets_per_byte for the number of octets actually allocated in
3803 (lang_set_startof) Make sure STARTOF returns a target address.
3804 (lang_one_common) Record size changes in octets.
3805 (lang_abs_symbol_at_end_of) Section end symbol's value is
3806 recorded in target bytes.
3807 * ld.texinfo: Updated description of BYTE, SHORT, LONG, etc.
3808 to be clear about behavior when an octet is smaller than one byte.
3810 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
3812 * ldcref.c (output_cref): Don't pass message strings to printf
3816 * ldmisc.c (vfinfo): Same here.
3819 2000-01-23 Alan Modra <alan@spri.levels.unisa.edu.au>
3821 * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em,
3822 generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em,
3823 mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct):
3824 Add missing NULL initialisers, and comments.
3826 * testsuite/ld-srec/sr3.cc (__rethrow): New.
3828 2000-01-21 Nick Clifton <nickc@cygnus.com>
3830 * ldlang.c (lang_size_sections): Fix typo in comment.
3832 2000-01-18 H.J. Lu <hjl@gnu.org>
3834 * ldlang.c (lang_size_sections): Also update the current
3835 address of a region if the SEC_NEVER_LOAD bit is not set.
3837 2000-01-10 Philip Blundell <pb@futuretv.com>
3839 * configure.tgt (arm*-*-conix*): New target.
3841 2000-01-07 Nick Clifton <nickc@cygnus.com>
3843 * ld.texinfo (Options): Remind users to preceed linker command
3844 line switches with -Wl, (or whatever is appropriate) if it is
3845 being invoked by a comnpiler driver program.
3846 Fix description of the behaviour of the -n command line switch.
3848 2000-01-05 Catherine Moore <clm@cygnus.com>
3850 * ld.h (wildcard_spec): Change exclude_name to exclude_name_list.
3852 * ld.texinfo (EXCLUDE_FILE): Update documentation.
3853 * ldgram.y (wildcard_spec): Support a list of excluded_files.
3854 (exclude_name_list): New.
3855 ldlang.c (walk_wild_section): Support list of excluded files.
3856 (print_wild_statement): Likewise.
3857 (lang_add_wild): Likewise.
3858 * ldlang.h (lang_wild_statement_type): Likewise.
3859 * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support.
3861 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
3863 * pe-dll.c (pe_dll_warn_dup_exports): New variable.
3864 (process_def_file): Use.
3865 (pe_dll_compat_implib): New variable.
3868 * pe-dll.h: Add exports of pe_dll_warn_dup_exports and
3869 pe_dll_compat_implib.
3871 * emultempl/pe.em (longopts): Add warn-duplicate-exports and
3872 compat-implib options.
3873 (gld_${EMULATION_NAME}_list_options): List new options.
3874 (gld_${EMULATION_NAME}_parse_args): Handle.
3876 * pe-dll.c (pe_dll_generate_implib): Use the correct name for output
3879 * deffilep.y (opt_name): Allow "." in name.
3881 For older changes see ChangeLog-9899
3887 version-control: never