1 2002-02-18 Tom Rix <trix@redhat.com>
3 * emultempl/aix.em (gld*_parse_args): Add -brtl support.
4 (gld*_before_allocation): Same.
5 (gld*_create_output_section_statements): Generate
6 __rtinit if run time linking. Add librtl.a to the link.
7 (gld*_read_file): Clean.
9 2002-02-18 Alan Modra <amodra@bigpond.net.au>
11 * emulparams/elf64ppc.sh (OTHER_TEXT_SECTIONS): Define.
13 2002-02-18 David O'Brien <obrien@FreeBSD.org>
15 * Makefile.in: Add new files earmelf_fbsd, eelf32ppc_fbsd,
16 eelf_i386_fbsd, eelf64_ia64_fbsd, eelf_x86_64_fbsd, eelf64_sparc_fbsd,
18 * configure.tgt(sparc64-*-freebsd, ia64-*-freebsd, i[3456]86-*-freebsd,
19 x86_64-*-freebsd, arm-*-freebsd, alpha*-*-freebsd, powerpc-*-freebsd):
20 use a FreeBSD-specific emulation rather than the psABI one.
21 * emulparams/elf_fbsd.sh (ELF_INTERPRETER_NAME): Set appropriate value
22 for all FreeBSD ELF systems.
23 * emulparams/armelf_fbsd.sh: Bridge elf_fbsd.sh and the "native" psABI
25 * emulparams/elf32ppc_fbsd.sh: Likewise.
26 * emulparams/elf64_ia64_fbsd.sh: Likewise.
27 * emulparams/elf64_sparc_fbsd.sh: Likewise.
28 * emulparams/elf64alpha_fbsd.sh: Likewise.
29 * emulparams/elf_i386_fbsd.sh: Likewise.
30 * emulparams/elf_x86_64_fbsd.sh: Likewise.
32 2002-02-18 Nick Clifton <nickc@cambridge.redhat.com>
34 * po/tr.po: Updated version.
36 2002-02-18 Alan Modra <amodra@bigpond.net.au>
38 * ld.texinfo (Output Section Fill): Fix amateur texinfo.
41 2002-02-17 Hans-Peter Nilsson <hp@bitrange.com>
43 * emultempl/mmo.em (mmo_after_open): Don't call
44 _bfd_mmix_check_all_relocs when producing ELF output.
46 2002-02-15 Richard Henderson <rth@redhat.com>
48 * emulparams/elf64alpha.sh (NOP): Adjust for big-endian
49 definition. Emit a unop+nop pair.
51 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
53 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Also check
54 for presence of .MMIX.reg_contents.linker_allocated before early
57 * NEWS: Mention support for MMIX.
59 2002-02-15 Alan Modra <amodra@bigpond.net.au>
61 Support arbitrary length fill patterns.
62 * ld.texinfo (Output Section Fill): Describe fill expressions.
63 (FILL): Refer to the above.
64 * ldexp.h (etree_value_type): Add "str" field.
65 (union etree_union): Add "str" to "value" struct.
66 (exp_bigintop): Declare.
67 (exp_get_fill): Declare.
68 * ldexp.c: Include "safe-ctype.h".
69 (exp_intop): Set value.str to NULL.
70 (exp_bigintop): New function.
71 (new_rel): Pass in "str", and set new.str from it.
72 (new_rel_from_section): Set new.str to NULL.
73 (fold_name): Adjust calls to new_rel.
74 (exp_fold_tree): Likewise.
75 (exp_get_fill): New function.
76 * ldgram.y (struct big_int bigint, fill_type *fill): New.
77 (INT): Returns a "bigint". Adjust all code handling INTs.
78 (fill_opt): Returns a "fill".
79 (fill_exp): Split out of fill_opt, use for FILL.
80 * ldlang.h (struct _fill_type): New.
81 (fill_type): Move typedef to ldexp.h.
82 (lang_output_section_statement_type): "fill" is now a pointer.
83 (lang_fill_statement_type): Likewise.
84 (lang_padding_statement_type): Likewise.
85 (lang_add_fill): Now takes a "fill_type *" param.
86 (lang_leave_output_section_statement): Likewise.
87 (lang_do_assignments): Likewise.
88 (lang_size_sections): Likewise.
89 (lang_leave_overlay_section): Likewise.
90 (lang_leave_overlay): Likewise.
91 * ldlang.c: Include ldgram.h after ldexp.h.
92 (lang_output_section_statement_lookup): Adjust for fill_type change.
93 (print_fill_statement): Likewise.
94 (print_padding_statement): Likewise.
95 (insert_pad): Now takes a "fill_type *" arg.
96 (size_input_section): Likewise.
97 (lang_size_sections_1): Likewise.
98 (lang_size_sections): Likewise.
99 (lang_do_assignments): Likewise.
100 (lang_add_fill): Likewise.
101 (lang_leave_output_section_statement): Likewise.
102 (lang_leave_overlay_section): Likewise.
103 (lang_leave_overlay): Likewise.
104 Adjust all callers of the above function.
105 * ldlex.l: Include ldgram.h after ldexp.h. Allow hex numbers
106 starting with "0X" as well as "0x". Return bigint.str for hex
107 numbers starting with "0x" or "0X", zero bigint.str otherwise.
108 Always use base 16 for numbers starting with "$".
109 * ldmain.c: Include ldgram.h after ldexp.h.
110 * ldwrite.c (build_link_order): Use bfd_data_link_order in place
111 of bfd_fill_link_order.
112 * pe-dll.c: Adjust lang_do_assignments calls.
113 * emultempl/elf32.em: Likewise.
114 * emultempl/hppaelf.em: Likewise.
115 * emultempl/ppc64elf.em: Likewise.
116 * emultempl/beos.em: Include ldgram.h after ldexp.h, adjust
117 lang_add_assignment call.
118 * emultempl/pe.em: Likewise.
120 2002-02-14 Phil Edwards <pme@gcc.gnu.org>
122 * ld.texinfo (VERSION scripts): Symbol names are globbing patterns.
123 * ldgram.y (lang_new_vers_regex): Rename to lang_new_vers_pattern;
124 the pattern in question is not a regexp.
125 * ldlang.c: Likewise.
126 * ldlang.h: Likewise.
127 * ldlex.l (V_IDENTIFIER): Allow '[', ']', '-', '!', and '^' also.
129 2002-02-12 Jakub Jelinek <jakub@redhat.com>
131 * ldlex.l (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
132 * ldgram.y (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
133 (exp): Add DATA_SEGMENT_ALIGN (exp, exp) and DATA_SEGMENT_END (exp).
134 * ldexp.c (exp_data_seg): New variable.
135 (exp_print_token): Handle DATA_SEGMENT_ALIGN and DATA_SEGMENT_END.
136 (fold_binary): Handle DATA_SEGMENT_ALIGN.
137 (exp_fold_tree): Handle DATA_SEGMENT_END.
138 Pass allocation_done when recursing instead of hardcoding
139 lang_allocating_phase_enum.
140 * ldexp.h (exp_data_seg): New.
141 * ldlang.c (lang_size_sections_1): Renamed from lang_size_sections.
142 (lang_size_sections): New.
143 * ld.texinfo (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): Document.
144 * scripttempl/elf.sc: Use DATA_SEGMENT_ALIGN and DATA_SEGMENT_END
145 if COMMONPAGESIZE is defined.
146 * emulparams/elf_i386.sh (COMMONPAGESIZE): Set to 4K.
147 * emulparams/elf32_sparc.sh (COMMONPAGESIZE): Set to 8K.
148 * emulparams/elf64_sparc.sh (COMMONPAGESIZE): Set to 8K.
149 * emulparams/elf64alpha.sh (COMMONPAGESIZE): Set to 8K.
150 * emulparams/elf64_ia64.sh (COMMONPAGESIZE): Set to 16K for shared
153 2002-02-11 Alan Modra <amodra@bigpond.net.au>
155 * Makefile.in: Regenerate.
157 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
159 * lexsup.c: Remove strtoul declaration.
161 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
163 * ldmain.c: Add prototype for main ().
164 * lexsup.c: Guard declaration of strtoul with HAVE_STDLIB_H.
165 * emultempl/lnk960.em (lnk960_choose_target): Function should
168 2002-02-10 Alan Modra <amodra@bigpond.net.au>
170 * ldlang.c (entry_section): New initialised variable.
171 (lang_finish): Use it.
172 * ldlang.h (entry_section): Declare.
173 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Set
174 entry_section to ".opd".
176 2002-02-09 Chris Demetriou <cgd@broadcom.com>
178 * ld.texinfo (Options): Add back in -nostdlib documentation,
179 which had been inadvertently removed.
181 2002-02-09 Hans-Peter Nilsson <hp@bitrange.com>
183 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Adjust
184 register section vma to a sane value after emitting error. Make
185 fatal conditions cause program exit when emitting message.
187 2002-02-08 Ivan Guzvinec <ivang@opencores.org>
189 * configure.tgt: Add or32-*-rtems target.
191 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
194 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
195 * emulparams/shelf32.sh (STACK_ADDR): Define as formerly defined
196 in OTHER_RELOCATABLE_SECTIONS.
197 2002-01-18 Alexandre Oliva <aoliva@redhat.com>
198 * emulparams/shelf32.sh (STACK_ADDR): Define.
199 (OTHER_RELOCATABLE_SECTIONS): Renamed to...
200 (OTHER_SECTIONS): this. Removed stack settings.
201 * emulparams/shelf64.sh (OTHER_RELOCATABLE_SECTIONS): Do not set.
202 (OTHER_SECTIONS): Reset after sourcing shelf32.sh.
203 2001-03-12 DJ Delorie <dj@redhat.com>
204 * emultempl/sh64elf.em (sh64_elf_$_before_allocation): Disable
205 relaxing if any shmedia or mixed sections are found.
206 2001-03-07 DJ Delorie <dj@redhat.com>
207 * emultempl/sh64elf.em (sh64_elf_before_allocation): Pass f to
208 einfo. Gracefully decline to output to non-elf formats.
209 2001-03-06 Hans-Peter Nilsson <hpn@redhat.com>
210 * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS) <.stack>:
211 Default to _end aligned to next multiple of 0x40000, plus 0x40000.
212 * emulparams/shelf32.sh: Ditto.
213 2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com>
214 * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Tweak
216 2001-01-10 Ben Elliston <bje@redhat.com>
217 * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Avoid
218 non-portable shell constructs. From Hans-Peter Nilsson.
219 2001-01-09 Hans-Peter Nilsson <hpn@cygnus.com>
220 * emulparams/shelf64.sh (EXTRA_EM_FILE): Define empty.
221 * Makefile.am (eshelf64.c, eshlelf64.c, eshlelf32.c): Adjust
222 dependencies to the shell script include chain.
223 * Makefile.in: Regenerate.
224 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
225 * emultempl/sh64elf.em: Update and tweak comments.
226 (sh64_elf_${EMULATION_NAME}_after_allocation): Always allocate and
227 make a .cranges section SEC_IN_MEMORY.
228 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
229 * emultempl/sh64elf.em
230 (sh64_elf_${EMULATION_NAME}_before_allocation): Don't stop when
231 .cranges section found to be necessary; continue and set stored
232 section contents flags for sections with non-mixed contents.
233 Use a struct sh64_section_data container and sh64_elf_section_data
234 to store contents-type flags.
235 Remove unused update of "isec".
236 (sh64_elf_${EMULATION_NAME}_after_allocation): Only process
237 sections marked SHF_SH5_ISA32_MIXED. Use sh64_elf_section_data to
238 access contents-type flags. Assert that the associated container
239 is initialized. Use that container, not elf_gp_size, to hold size
240 of linker-generated cranges contents.
241 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
242 * emultempl/sh64elf.em
243 (sh64_elf_${EMULATION_NAME}_before_allocation): Exit early if
244 there's already a .cranges section. When section flag difference
245 is found, don't NULL-check cranges a second time. Tweak comments.
246 (sh64_elf_${EMULATION_NAME}_after_allocation): Use size after
247 merging, not max size, as size of ld-generated .cranges contents.
248 Don't set ELF section flags in output section. When checking for
249 needed .cranges descriptors, don't use a variable; compare
250 incoming ELF section flags directly to SHF_SH5_ISA32_MIXED. Tweak
252 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
253 * emultempl/sh64elf.em: New file.
254 * Makefile.am (eshelf32.c, eshlelf32.c): Adjust dependencies.
255 * Makefile.in: Regenerate.
256 * emulparams/shelf32.sh (OUTPUT_FORMAT): Only set if not set.
257 (OTHER_RELOCATING_SECTIONS): Ditto.
258 (EXTRA_EM_FILE): New, set to sh64elf if not set.
259 * emulparams/shlelf32.sh: Stub out all settings except
260 OUTPUT_FORMAT. Source shelf32.sh.
261 * emulparams/shelf64.sh: Similar, but also keep ELF_SIZE and
262 OTHER_RELOCATING_SECTIONS.
263 (OTHER_RELOCATING_SECTIONS): Remove .cranges.
264 * emulparams/shlelf64.sh: Stub out all settings except
265 OUTPUT_FORMAT. Source shelf64.sh.
266 2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com>
267 * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS): Include
269 (DATA_START_SYMBOLS): Define, provide ___data.
270 (OTHER_READONLY_SYMBOLS): Define, provide ___rodata and align to 8
271 for consecutive .data section.
272 (OTHER_GOT_SECTIONS): Define, align to 8 for consecutive .bss
273 section after .data section.
274 * emulparams/shlelf64.sh: Ditto.
275 * emulparams/shelf32.sh: Ditto.
276 (ALIGNMENT): Define to 8.
277 * emulparams/shelf32.sh: Ditto.
278 2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com>
279 * configure.tgt (sh64-*-elf*): Assign targ_extra_libpath to get
280 built-in linker scripts.
281 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
282 * emulparams/shlelf64.sh: New.
283 * emulparams/shelf64.sh: New.
284 * configure.tgt (sh64-*-elf*): Add shelf64 and shlelf64 to
286 * Makefile.am: Add support for shlelf64 and shelf64.
287 * Makefile.in: Regenerate.
288 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
289 * configure.tgt (sh64-*-elf*): Add shelf as default.
290 Add shlelf to targ_extra_emuls.
291 2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com>
292 * emulparams/shelf32.sh: New file.
293 * emulparams/shlelf32.sh: New file.
294 * Makefile.am: Add support for shlelf32 and shelf32.
295 * configure.tgt: Map sh64-*-elf* to shlelf32 and shelf32.
296 * Makefile.in: Regenerate.
298 2002-02-05 Hans-Peter Nilsson <hp@axis.com>
300 * ldlang.c (lang_reset_memory_regions): Rename from
301 reset_memory_regions. Change all callers. Make public.
302 * ldlang.h (lang_reset_memory_regions): Prototype.
303 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Call
304 lang_reset_memory_regions before lang_size_sections.
305 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
306 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Likewise.
308 2002-02-04 Hans-Peter Nilsson <hp@bitrange.com>
310 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Use signed
311 arithmetic when checking for too many global registers.
313 2002-02-02 Jason Thorpe <thorpej@wasabisystems.com>
315 * Makefile.am (ALL_EMULATIONS): Add ehppanbsd.o.
316 (ehppanbsd.c): New rule.
317 * Makefile.in: Regenerate.
318 * configure.tgt (hppa*-*-netbsd*): New target.
319 * emulparams/hppalinux.sh: Add comment to check other files
320 that source this file it is modified, and list which
322 * emulparams/hppanbsd.sh: New file.
324 2002-02-01 Geoffrey Keating <geoffk@redhat.com>
326 * scripttempl/xstormy16.sc: Don't allocate extra space for the
329 2002-02-01 Hans-Peter Nilsson <hp@bitrange.com>
331 Support on-demand global register allocation from
332 R_MMIX_BASE_PLUS_OFFSET relocs.
333 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Rename from
334 mmix_set_reg_section_vma. Call
335 _bfd_mmix_finalize_linker_allocated_gregs.
336 (mmix_before_allocation): New function.
337 (LDEMUL_AFTER_ALLOCATION): Set to mmix_after_allocation.
338 (LDEMUL_BEFORE_ALLOCATION): Define to mmix_before_allocation.
339 * scripttempl/mmo.sc (.text): Mark .init, .fini as KEEP.
340 (.MMIX.reg_contents): Add .MMIX.reg_contents.linker_allocated
341 before .MMIX.reg_contents.
342 * emultempl/mmo.em (gldmmo_before_allocation): Define to default.
343 (mmo_after_open): New function.
344 (LDEMUL_AFTER_OPEN): Define to mmo_after_open.
345 * emulparams/elf64mmix.sh (OTHER_SECTIONS): Tweak formatting. Add
346 .MMIX.reg_contents.linker_allocated before .MMIX.reg_contents.
348 2002-01-31 Ivan Guzvinec <ivang@opencores.org>
350 * emulparams/or32.sh: New file.
351 * emulparams/or32elf.sh: New file.
352 * scripttempl/or32.sc: New file.
353 * configure.tgt : Add support for or32.
354 * configure: Regenerate
355 * Makefile.am: Add support for or32.
356 * Makefile.in: Regenerate.
357 * NEWS: Mention support for or32.
358 * po/ld.pot: Regenerate.
360 2002-01-29 Chris Demetriou <cgd@broadcom.com>
361 Mitch Lichtenberg <mpl@broadcom.com>
363 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define to be mipself.
364 * emultempl/mipself.em: New file to handle MIPS ELF embedded
365 reloc creation (ld --embedded-relocs).
367 2002-01-27 Daniel Jacobowitz <drow@mvista.com>
369 * configure: Regenerated.
371 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
373 * Makefile.am (install): Depend on install-info.
374 * Makefile.in: Regenerate.
376 2002-01-26 Christian Rose <menthos@menthos.com>
378 * ldmain.c (main): Use full sentences to ease translation.
380 2002-01-26 Nick Clifton <nickc@cambridge.redhat.com>
382 * po/fr.po: Updated version.
384 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
386 * po/es.po: Updated version.
388 2002-01-25 Andreas Jaeger <aj@suse.de>
390 * ldlex.l (yy_input): Correct error check.
392 2002-01-25 Alan Modra <amodra@bigpond.net.au>
394 * ldmisc.c (demangle): Put back dots when string not demangled.
396 2002-01-22 Richard Henderson <rth@redhat.com>
398 * emulparams/elf64alpha.sh (NOP): Use unop.
400 2002-01-21 Andreas Jaeger <aj@suse.de>
402 * ldlex.l: Use fread instead of read.
404 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
406 * configure.tgt (ia64-*-netbsd*): New target.
408 2002-01-21 H.J. Lu <hjl@gnu.org>
410 * emulparams/elf32btsmip.sh (SHLIB_TEXT_START_ADDR): Change to
412 * emulparams/elf64btsmip.sh (SHLIB_TEXT_START_ADDR): Likewise.
414 2002-01-18 Andreas Jaeger <aj@suse.de>
416 * ldver.c (ldversion): Update year.
418 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
420 * po/ld.pot: Regenerate.
422 2002-01-16 Alan Modra <amodra@bigpond.net.au>
424 * Makefile.am (eelf64ppc.c, eelf64lppc.c): Depend on ppc64elf.em.
425 * Makefile.in: Regenerate.
426 * emulparams/elf64ppc.sh (EXTRA_EM_FILE): Define.
427 * emultempl/ppc64elf.em: New file.
429 2002-01-15 DJ Delorie <dj@redhat.com>
431 * scripttempl/pe.sc: Add support for constructor priorities.
433 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
435 * emulparams/avr1200.sh (DATA_START): Define as 0x60.
436 * emulparams/avr23xx.sh: Likewise.
437 * emulparams/avr4433.sh: Likewise.
438 * emulparams/avr44x4.sh: Likewise.
439 * emulparams/avr85xx.sh: Likewise.
440 * emulparams/avrmega103.sh: Likewise.
441 * emulparams/avrmega161.sh: Likewise.
442 * emulparams/avrmega603.sh: Likewise.
443 * scripttempl/elf32avr.sc: Use DATA_START instead of 0x60.
445 2002-01-08 Alexandre Oliva <aoliva@redhat.com>
447 * ldlang.c (walk_wild_section): Exclude object file if enclosing
450 2002-01-07 Jason Thorpe <thorpej@wasabisystems.com>
452 * Makefile.am (ALL_EMULATIONS): Add eshelf_nbsd.o and eshlelf_nbsd.o.
453 (eshelf_nbsd.c): New rule.
454 (eshlelf_nbsd.c): New rule.
455 * Makefile.in: Regenerate.
456 * configure.tgt (sh*le-*-netbsdelf*): New target.
457 (sh*-*-netbsdelf*): New target.
458 * emulparams/shelf.sh: Document that shelf_nbsd.sh sources this file.
459 * ld/emulparams/shelf_nbsd.sh: New emulation.
460 * ld/emulparams/shlelf_nbsd.sh: New emulation.
462 2002-01-07 Nick Clifton <nickc@cambridge.redhat.com>
464 * po/es.po: New file: Spanish translation.
465 * configure.in (ALL_LINGUAS): Add es.
466 * configure: Regenerate.
468 2002-01-06 John Marshall <jmarshall@acm.org>
470 * ld.texinfo: Note that --emit-relocs is currently only
473 2002-01-05 Alan Modra <amodra@bigpond.net.au>
475 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Make use
476 of bfd_section_list_remove and bfd_section_list_insert macros.
477 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
478 * emultempl/mmo.em (mmo_place_orphan): Likewise.
480 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
482 * configure.tgt (x86_64-*-netbsd*): New target.
484 2001-12-21 Tom Rix <trix@redhat.com>
486 (gld*_create_output_section_statements): New function.
487 For -binitfini support.
488 * emultempl/aix.em (gld*_before_parse): Fix comment.
489 * emultempl/aix.em (gld*_parse_args): Fix comment.
491 2001-12-20 Jason Thorpe <thorpej@wasabisystems.com>
493 * configure.tgt (mips*-dec-netbsd*): Delete alias for
495 (sparc64-*-netbsd*): Add elf32_sparc to targ_extra_emuls.
497 * configure.tgt (arm-*-netbsdelf*): Add target.
498 (arm-*-netbsd*): Add armelf and armelf_nbsd to targ_extra_emuls.
499 * emulparams/armelf_nbsd.sh: Added.
500 * Makefile.am: Add rules for earmelf_nbsd.
501 * Makefile.in: Regenerate.
503 2001-12-19 Andreas Jaeger <aj@suse.de>,
504 Susanne Oberhauser <froh@suse.de>
506 * configure.host: Add rules for x86_64-*linux-gnu. Change
507 s390x-linux entry to use gcc to report configuration, replace gcc
508 with $CC in s390-linux
510 2001-12-19 Andreas Jaeger <aj@suse.de>
512 * ld.texinfo (VERSION): Fix markup.
514 2001-12-18 matthew green <mrg@eterna.com.au>
516 * Makefile.am (ALL_EMULATIONS): Add m68kelfnbsd.o.
517 (m68kelfnbsd.c): New rule.
518 * Makefile.in: Regenerate.
519 * configure.tgt (m68*-hp-netbsd*): Renamed to ..
520 (m68*-*-netbsd*4k*): .. this.
521 (m68*-*-netbsdelf*): New target.
522 (m68*-*-netbsd*): Also include ELF support.
523 (m68*-*-netbsdaout*): New alias for m68*-*-netbsd*.
524 * emulparams/m68kelfnbsd.sh: New emulation.
526 2001-12-18 Jakub Jelinek <jakub@redhat.com>
528 * ldgram.y (vers_node): Support anonymous version tags.
529 * ldlang.c (lang_register_vers_node): Ensure anonymous version
530 tag is not defined together with non-anonymous versions.
531 * ld.texinfo: Document it.
533 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
535 * po/tr.po: New file: Turkish translation.
536 * configure.in (ALL_LINGUAS): Add tr.
537 * configure: Regenerate.
539 2001-12-17 Jason Thorpe <thorpej@wasabisystems.com>
541 * Makefile.am: Add rules for eelf64alpha_nbsd.
542 * Makefile.in: Regenerate.
543 * configure.tgt (alpha*-*-netbsd*): Set
544 targ_emul to elf64alpha_nbsd.
545 * emulparams/elf64alpha_nbsd.sh: Added.
547 2001-12-17 Alan Modra <amodra@bigpond.net.au>
549 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust
550 section_tail when fiddling with section list.
551 (gld${EMULATION_NAME}_list_options): Ensure sentences aren't
552 broken into separate strings to make translation easier.
553 * emultempl/mmo.em (mmo_place_orphan): Adjust section_tail when
554 fiddling with section list.
555 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
557 2001-12-16 Hans-Peter Nilsson <hp@bitrange.com>
559 * scripttempl/mmo.sc: Add .debug_ranges to listed sections.
561 2001-12-15 Alan Modra <amodra@bigpond.net.au>
563 * ldmain.c (main): Initialise link_info.eh_frame_hdr.
565 2001-12-13 Jakub Jelinek <jakub@redhat.com>
567 * emultempl/elf32.em (finish): Supply output_bfd
568 to bfd_elf*_discard_info.
569 (OPTION_EH_FRAME_HDR): Define.
570 (longopts): Add --eh-frame-hdr.
571 (parse_args): Handle it.
572 (list_options): Add --eh-frame-hdr to help.
573 * emultempl/hppaelf.em (finish): Supply output_bfd
574 to bfd_elf*_discard_info.
575 * scripttempl/elf.sc (.eh_frame_hdr): Add.
577 2001-12-13 Alan Modra <amodra@bigpond.net.au>
579 * lexsup.c (parse_args): Don't pass shortopts to second call to
580 getopt functions. Restore optind rather than decrementing before
581 second call. Remove errind as it now duplicates last_optind.
583 2001-12-11 Christopher Faylor <cgf@redhat.com>
585 * emultempl/pe.em (gld_${EMULATION_NAME}_list_options): Fix typo.
587 2001-12-07 Geoffrey Keating <geoffk@redhat.com>
588 Richard Henderson <rth@redhat.com>
590 * Makefile.am: Add support for xstormy16.
591 * configure.tgt: Add support for xstormy16.
592 * Makefile.in: Regenerate.
593 * emulparams/elf32xstormy16.sh: New file.
594 * scripttempl/xstormy16.sc: New file.
596 2001-10-01 Christopher Faylor <cgf@cygnus.com>
598 * Makefile.in (LIB_PATH): Make configurable.
599 (GENSCRIPTS): Set LIB_PATH in environment.
600 * configure.in: Substitute LIB_PATH.
601 * configure: Regenerate.
602 * configure.tgt (*cygwin): Set LIB_PATH for cross build.
603 * configure.host (*cygwin): Add /usr/lib/w32api to NATIVE_LIB_DIRS.
605 2001-12-07 Nick Clifton <nickc@cambridge.redhat.com>
607 * lexsup.c (ld_options): Insert 'PROGRAM' into the text string
608 describing the -N option so that it is easier to translate into
611 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
613 * emultempl/pe.em (..._list_options): Replace multiple fprintf
614 statements describing a single option with a single, newline
615 escaped fprintf. This allows better translation into other
618 * ldmain.c (add_archive_element): Combine multiple strings
619 into a single string to permit better translation into other
622 2001-12-05 Tom Rix <trix@redhat.com>
624 * Makefile.am: Remove eaixppc64.
625 * Makefile.in: Regenerate.
627 2001-12-04 Tom Rix <trix@redhat.com>
629 * emultempl/aix.em (choose_target): Change default target to
630 OUTPUT_FORMAT for ppcmacos. Add braces to remove compiler
632 (gld*_read_file): Fix typo.
633 (change_symbol_mode): Add prototype.
636 * emulparams/aixppc.sh (SYSCALL_MASK, SYMBOL_MODE_MASK): Delete.
637 * emulparams/aixrs6.sh : Same.
638 * emulparams/ppcmacos.sh : Same.
639 * emulparams/aixppc64.sh : Delete file.
640 * emultempl/aix.em : Formatting changes.
642 2001-12-04 Hans-Peter Nilsson <hp@axis.com>
644 * emulparams/criself.sh (NO_SMALL_DATA): Set, to yes.
645 (OTHER_BSS_END_SYMBOLS): Don't refer to .sbss when setting
647 (OTHER_END_SYMBOLS): Fix formatting.
648 * emulparams/crislinux.sh (NO_SMALL_DATA): Set, to yes.
649 (OTHER_END_SYMBOLS): Fix formatting.
651 2001-12-04 Alan Modra <amodra@bigpond.net.au>
653 * ldexp.c (exp_print_token): Correct "table" entry for RSHIFT.
655 2001-12-02 Tom Rix <trix@redhat.com>
657 * configure.tgt : Remove eaixppc64 emulations.
658 * Makefile.in : Remove eaixppc64.c
659 * ldemul.c (ldemul_choose_target): New parameters argc, argv.
660 (ldemul_default_target): Same.
661 * emultempl/gld960.em (gld960_choose_target): Same.
662 * emultempl/gld960c.em (gld960_choose_target): Same.
663 * scripttempl/aix.sc: Remove OUTPUT_FORMAT.
664 * emultempl/aix.em (is_syscall): syscall_mask now a variable.
665 * emultempl/aix.em (gld*_read_file): symbol_mode_mask now a variable.
666 * emultempl/aix.em (gld*_parse_args): Handle -b32 -b64 emulation.
667 * emultempl/aix.em (choose_target): New function. Handle emulation of
670 2001-11-27 H.J. Lu <hjl@gnu.org>
672 * emulparams/elf_i386.sh (NO_SMALL_DATA): Set to yes.
673 * emulparams/elf_i386_be.sh (NO_SMALL_DATA): Likewise.
674 * emulparams/elf_i386_chaos.sh (NO_SMALL_DATA): Likewise.
675 * emulparams/elf_i386_ldso.sh (NO_SMALL_DATA): Likewise.
676 * emulparams/elf_x86_64.sh (NO_SMALL_DATA): Likewise.
677 * emulparams/m68kelf.sh (NO_SMALL_DATA): Likewise.
678 * emulparams/elf32_sparc.sh (NO_SMALL_DATA): Likewise.
679 * emulparams/elf64_sparc.sh (NO_SMALL_DATA): Likewise.
681 * scripttempl/elf.sc (SBSS): New. Define if ${NO_SMALL_DATA}
684 (REL_SDATA): Likewise.
685 (REL_SBSS): Likewise.
686 (REL_SDATA2): Likewise.
687 (REL_SBSS2): Likewise.
688 (SBSS2): Define if ${NO_SMALL_DATA} is not empty.
691 2001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
693 * scripttempl/elfm68hc11.sc (CTOR, DTOR): Put constructor and
695 * scripttempl/elfm68hc12.sc (CTOR, DTOR): Likewise.
697 2001-11-22 H.J. Lu <hjl@gnu.org>
699 * Makefile.in: Regenerated with automake based on automake
702 2001-11-22 Alan Modra <amodra@bigpond.net.au>
704 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
705 (config.status): Delete rule.
706 Add extra dependencies to cover sourced emulparams files.
707 * Makefile.in: Regenerate.
709 * scripttempl/elf.sc: Order <section>, <section>.* and
710 corresponding linkonce sections as seen in input files.
711 Formatting fixes. Zero vma of all sections if not relocating.
712 (STACK): Define and insert if STACK_ADDR defined.
713 (OTHER_RELOCATING_SECTIONS): Delete.
714 (OTHER_END_SYMBOLS): Define.
715 (OTHER_READONLY_SECTIONS): Always insert, not just when relocating.
716 (OTHER_READWRITE_SECTIONS): Likewise.
717 (OTHER_GOT_SECTIONS): Likewise.
718 (OTHER_SDATA_SECTIONS): Likewise.
719 (OTHER_BSS_SECTIONS): Likewise.
720 * scripttempl/elfi370.sc (OTHER_READONLY_SECTIONS): Likewise.
721 (OTHER_READWRITE_SECTIONS): Likewise.
722 * scripttempl/nw.sc (OTHER_READONLY_SECTIONS): Likewise.
723 (OTHER_READWRITE_SECTIONS): Likewise
725 * emulparams/armelf.sh (OTHER_RELOCATING_SECTIONS): Delete.
726 (STACK_ADDR): Define.
727 * emulparams/armelf_oabi.sh: As for armelf.sh.
728 * emulparams/elf32mcore.sh: As for armelf.sh.
729 * emulparams/h8300elf.sh: As for armelf.sh.
730 * emulparams/mn10200.sh: As for armelf.sh.
731 * emulparams/shelf.sh: As for armelf.sh.
733 * emulparams/elf32fr30.sh (OTHER_RELOCATING_SECTIONS): Delete.
734 (OTHER_END_SYMBOLS): Define.
735 * emulparams/m32relf.sh: As for elf32fr30.sh.
736 * emulparams/h8300helf.sh: As for elf32fr30.sh.
737 * emulparams/h8300self.sh: As for elf32fr30.sh.
739 * emulparams/criself.sh (OTHER_READONLY_SECTIONS): Protect symbol
740 defines with RELOCATING test.
741 (OTHER_SDATA_SECTIONS): Likewise.
742 (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
743 (OTHER_END_SYMBOLS): ..this.
744 * emulparams/crislinux.sh: As for criself.sh.
746 * emulparams/elf32bmipn32.sh (OTHER_SDATA_SECTIONS): Zero vma
748 (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
749 (OTHER_SECTIONS): ..this. Zero vma if not relocating. Order
750 normal and linkonce sections as seen in input files.
751 * emulparams/elf32bmip.sh (DATA_ADDR): Don't define if EMBEDDED.
752 (TEXT_DYNAMIC): Likewise.
753 (INITIAL_READONLY_SECTIONS): Zero vma if not relocating.
754 (OTHER_SDATA_SECTIONS): Likewise.
755 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
756 * emulparams/shlelf_linux.sh (OTHER_READWRITE_SECTIONS): Likewise.
757 * emulparams/elf64alpha.sh (OTHER_READONLY_SECTIONS): Likewise.
758 * emulparams/hppalinux.sh (OTHER_READONLY_SECTIONS): Likewise.
759 * emulparams/elf64_aix.sh (OTHER_GOT_SECTIONS): Likewise.
760 (OTHER_PLT_RELOC_SECTIONS): Likewise.
761 (OTHER_READONLY_SECTIONS): Likewise. Order normal and linkonce
762 sections as seen in input files.
763 * emulparams/elf64_ia64.sh: As for emulparams/elf64_aix.sh.
764 * emulparams/hppa64linux.sh (OTHER_READONLY_SECTIONS): Zero vma
766 (OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS): Likewise.
767 (OTHER_BSS_END_SYMBOLS): Merge from elf64hppa.sh.
768 * emulparams/elf64mmix.sh (OTHER_RELOCATING_SECTIONS): Delete.
769 (OTHER_SECTIONS): Instead, use this..
770 (OTHER_END_SYMBOLS): ..and this.
772 * emulparams/elf32b4300.sh: Source elf32bmip.sh, remove duplicates.
773 * emulparams/elf32bsmip.sh: Likewise.
774 * emulparams/elf32btsmip.sh: Likewise.
775 * emulparams/elf32ebmip.sh: Likewise.
776 * emulparams/elf32lmip.sh: Likewise.
777 * emulparams/elf32elmip.sh: Source elf32lmip.sh, remove duplicates.
778 * emulparams/elf32lsmip.sh: Likewise.
779 * emulparams/elf32ltsmip.sh: Source elf32btsmip.sh, remove duplicates.
780 * emulparams/elf32l4300.sh: Source elf32b4300.sh, remove duplicates.
781 * emulparams/elf64bmip.sh: Source elf32bmipn32.sh, remove duplicates.
782 * emulparams/elf64btsmip.sh: Likewise.
783 * emulparams/elf64ltsmip.sh: Source elf64btsmip.sh, remove duplicates.
784 * emulparams/elf32lppc.sh: Source elf32ppc.sh, remove duplicates.
785 * emulparams/elf32ppclinux.sh: Likewise.
786 * emulparams/elf32ppcsim.sh: Likewise.
787 * emulparams/elf32lppcsim.sh: Source elf32lppc.sh, remove duplicates.
788 * emulparams/elf64hppa.sh: Source hppa64linux.sh, remove duplicates.
789 * emulparams/h8300helf.sh: Source h8300elf.sh, remove duplicates.
790 * emulparams/h8300self.sh: Likewise.
791 * emulparams/mn10300.sh: Source mn10200.sh, remove duplicates.
792 * emulparams/sh.sh: Comment.
793 * emulparams/shl.sh: Source sh.sh, remove duplicates.
794 * emulparams/shlelf.sh: Source shelf.sh, remove duplicates.
795 * emulparams/shelf_linux.sh: Source shlelf_linux.sh, remove duplicates.
797 2001-11-21 David Heine <dlheine@tensilica.com>
798 Alan Modra <amodra@bigpond.net.au>
800 * ldlang.c (map_input_to_output_sections): Replace "break"
801 accidentally removed with 2001-08-03 change.
802 (lang_gc_sections_1): Likewise.
804 2001-11-21 Alan Modra <amodra@bigpond.net.au>
806 * ldlang.c (walk_wild_section): Move sec == NULL case out of loop.
808 2001-11-20 Angela Marie Thomas <angela@redhat.com>
810 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Use NULL instead
811 of false when calling lang_size_sections.
812 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
814 2001-11-15 Alan Modra <amodra@bigpond.net.au>
816 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Only emit this
817 function when LDEMUL_FINISH isn't set to the same name. Don't
818 call ${LDEMUL_FINISH}.
819 (ld_${EMULATION_NAME}_emulation): Call $LDEMUL_FINISH if defined.
820 * emultempl/armelf.em (arm_elf_finish): Call
821 gld${EMULATION_NAME}_finish.
822 * emultempl/hppaelf.em (hppaelf_finish): Rename to
823 gld${EMULATION_NAME}_finish. Call bfd_elf32_discard_info and
824 hppaelf_layout_sections_again if necessary.
825 (need_laying_out): New var.
826 (hppaelf_layaout_sections_again): Rename to
827 hppaelf_layout_sections_again. Clear need_laying_out.
828 (PARSE_AND_LIST_OPTIONS): Format text.
830 2001-11-14 H.J. Lu <hjl@gnu.org>
832 * emultempl/armelf.em (arm_elf_finish): Renamed from
833 gld${EMULATION_NAME}_finish.
834 (LDEMUL_FINISH): Set to arm_elf_finish.
836 2001-11-14 Daniel Jacobowitz <drow@mvista.com>
838 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): New.
839 (struct ld_emulation_xfer_struct): Use it.
841 2001-11-13 Ross Alexander <ross.alexander@uk.neceur.com>
843 * emulparams/elf64hppa.sh (OTHER_BSS_END_SYMBOLS): Add
844 additional symbols referenced by newer crt0.o files from HP.
846 2001-11-12 Anthony Green <green@redhat.com>
848 * emulparams/armelf.sh (DATA_START_SYMBOLS): New symbol.
850 2001-11-12 Alfred M. Szmidt <ams@kemisten.nu>
852 * Makefile.am (GENSCRIPTS): Quote ${exec_prefix}.
853 * Makefile.in: Regenerate.
855 2001-11-02 Stephane Carrez <Stephane.Carrez@worldnet.fr>
857 * ld.texinfo: Use @command for commands, @option for options.
858 * Makefile.am (POD2MAN): Use 'GNU Development Tools' for
860 * Makefile.in: Rebuild.
862 2001-11-04 Chris Demetriou <cgd@broadcom.com>
864 * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
865 Add support for targets.
867 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
869 * configure.in (ALL_LINGUAS): Add "fr" and "sv"
870 * configure: Regernate.
871 * po/fr.po: New file.
872 * po/sv.po: New file.
874 2001-11-01 NIIBE Yutaka <gniibe@m17n.org>
876 * configure.tgt (sh-*-linux): Set targ_emul, targ_extra_emuls
877 as little endian default and to support big endian.
879 2001-11-01 Chris Demetriou <cgd@broadcom.com>
881 * ld.texinfo (Options): Document new option, -nostdlib.
882 * lexsup.c (OPTION_NOSTDLIB): New definition.
883 (ld_options): Add entry for "nostdlib".
884 (parse_args): Handle OPTIONS_NOSTDLIB.
885 * ldfile.c (ldfile_add_library_path): Don't add directories
886 to the search path if they weren't specified on the command line
887 and -nostdlib was specified.
888 * ld.h (ld_config_type): New member only_cmd_line_lib_dirs.
890 2001-10-31 Nick Clifton <nickc@cambridge.redhat.com>
892 * lexsup.c (parse_args): Prevent infinite parsing loop when
893 "-rpath.a" is specified on the command line.
894 Replace calls to fprintf with calls to einfo.
896 2001-10-31 John Marshall <jmarshall@acm.org>
898 * ld.texinfo: A historical requirement that MEMORY and SECTIONS
899 appear only once across all the linker scripts involved in a link
900 invocation no longer applies. Make the documentation reflect
903 2001-10-31 NIIBE Yutaka <gniibe@m17n.org>
905 * configure.tgt: Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu
907 (sh-*-linux*): Added targ_extra_libpath.
909 2001-10-31 David Heine <dlheine@tensilica.com>
911 * ldlang.c (lang_size_sections): Keep a valid output_offset field
912 for padding statements.
914 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
916 * configure.tgt (mmix-*-*): New target.
917 * Makefile.am (ALL_EMULATIONS): Add eelf64mmix.o and emmo.o.
918 Add dependencies to match.
919 * emulparams/mmo.sh, emulparams/elf64mmix.sh, emultempl/mmo.em,
920 emultempl/mmix-elfnmmo.em, emultempl/mmixelf.em,
921 scripttempl/mmo.sc: New files.
922 * gen-doc.texi: @set MMIX.
924 [MMIX] Add MMIX node.
925 * Makefile.in: Regenerate.
927 2001-10-29 Kazu Hirata <kazu@hxi.com>
929 * ldlang.c: Fix a comment typo.
931 2001-10-23 Alan Modra <amodra@bigpond.net.au>
933 * configure.host: Move alpha*-*-linux-gnu* entry to generic
934 entries, and match *-*-linux*.
936 2001-10-20 Alan Modra <amodra@bigpond.net.au>
938 * ldgram.y (mri_script_command): Surround processing of INCLUDE
939 with ldlex_script, ldlex_popstate.
940 (ifile_p1): Likewise.
941 * ldlex.l (EOF): Don't BEGIN(SCRIPT). Restore lineno from the
943 (lex_push_file): Save current lineno to lineno_stack. Set lineno
944 to 1. Don't BEGIN(SCRIPT).
945 (lex_redirect): Similarly.
946 * ldmain.c (main): Set yydebug non-zero if YYDEBUG.
948 2001-10-20 Nick Clifton <nickc@cambridge.redhat.com>
950 * scripttempl/armcoff.sc: Define __EH_FRAME_BEGIN__ and
951 __EH_FRAME_END__ and accept eh frames into data section.
952 Add ctor and dtor sections.
954 2001-10-19 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
956 * pe-dll.c (autofilter_objectlist): Add gcrt0.o.
957 (auto-export): Fix indentation.
959 2001-10-18 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
961 * pe-dll.c (autofilter_objectlist): Add startup objects
963 (auto-export): Constify char * p.
964 Extract file basename and use strcmp rather than ststr
967 2001-10-18 Chris Demetriou <cgd@broadcom.com>
969 * ldmain.c (get_emulation): Improve comment about the handling
972 2001-10-17 Alan Modra <amodra@bigpond.net.au>
974 * po/POTFILES.in: Regenerate.
976 2001-10-16 Vassili Karpov <malc@pulsesoft.com>
978 * emultempl/elf32.em (gld*_list_options): Remove extra '\t' from
979 -z nocopyreloc and -z nocombreloc usage strings.
981 2001-10-12 Vassili Karpov <malc@pulsesoft.com>
983 * emultempl/elf32.em (gld*_list_options): Include -z nocopyreloc
986 2001-10-11 Aleksey Romanov <aromanov@ennovatenetworks.com>
988 * scripttempl/armaout.sc: Place .bss section after end of aligned
989 data section to match behaviour of aout code in constructrion of
992 2001-10-11 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
994 * pe-dll.c (autofilter_entry_type autofilter_liblist: Add
995 startup files for mingw32 dlls to list.
997 2001-10-10 Chris Demetriou <cgd@broadcom.com>
999 * emultempl/elf32.em: Fix shell 'if' usage for portability.
1001 2001-10-08 Aldy Hernandez <aldyh@redhat.com>
1003 * configure.tgt (targ): Add arm9e-*-elf.
1005 2001-10-05 H.J. Lu <hjl@gnu.org>
1007 * genscripts.sh: Fix a typo in the last change.
1009 2001-10-05 Jakub Jelinek <jakub@redhat.com>
1011 * emultempl/elf32.em (gld_*_list_options): Include -z combreloc and
1012 -z nocombreloc in usage.
1014 2001-10-03 Jim Blandy <jimb@redhat.com>
1016 * genscripts.sh: Include a comment at the top of each generated
1017 script, explaining its purpose.
1019 2001-10-03 Vassili Karpov <malc@pulsesoft.com>
1021 * emultempl/elf32.em (parse_args): Handle -z nocopyreloc.
1022 * NEWS: Mention -z nocopyreloc.
1023 * ld.texinfo (Options): Describe nocopyreloc.
1025 2001-10-03 Alan Modra <amodra@bigpond.net.au>
1027 * configure: Regenerate.
1029 2001-10-02 Alan Modra <amodra@bigpond.net.au>
1031 * ldver.h (ld_program_version): Remove declaration.
1032 * lexsup.c (parse_args): Move printing of copyright message..
1033 * ldver.c (ldversion): .. to here.
1034 Use BFD_VERSION_STRING in place of BFD_VERSION.
1035 (ld_program_version): Remove.
1036 * Makefile.am (Makefile): Depend on bfd/configure.in.
1038 * Makefile.in: Regenerate.
1040 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
1042 * Makefile.am: Update dependencies with "make dep-am".
1043 * Makefile.in: Regenerate.
1045 2001-09-29 John Reiser <jreiser@BitWagon.com>
1047 * ldlang.c (lang_common): Conditionally inhibit Common allocation.
1048 * lexsup.c: Add --no-define-common commandline option.
1049 * ldgram.y: Add INHIBIT_COMMON_ALLOCATION script command.
1050 * ldlex.l: Likewise.
1051 * ld.h: Add command_line.inhibit_common_definition.
1052 * ldmain.c (main): Initialize.
1053 * ld.texinfo: Document.
1055 2001-09-26 Alan Modra <amodra@bigpond.net.au>
1057 * ldmisc.c (USE_STDARG): Remove.
1058 (info_msg): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE.
1063 * ldmisc.h: Remove #ifdef ANSI_PROTOTYPES and non-ansi
1064 declarations. Update copyright.
1066 2001-09-24 Charles Wilson <cwilson@ece.gatech.edu>
1068 * pe-dll.c: Remove obsoleted declaration of
1069 pe_get_data_import_dll_name.
1070 (pe_create_import_fixup): Fix thinko.
1072 * ld.texinfo(enable-auto-import): Clarify the explanation.
1074 2001-09-24 Nick Clifton <nickc@cambridge.redhat.com>
1076 * pe-dll.c (pe_create_import_fixup): Revert previous patch.
1077 * emultemp/pe.em (pe_data_import_dll): Move definition outside of
1078 DLL_SUPPORT controlled code.
1080 2001-09-24 Charles Wilson <cwilson@ece.gatech.edu>
1082 * emultempl/pe.em(pe_data_import_dll): Make static.
1083 (pe_get_data_import_dll_name): New accessor function.
1084 * pe-dll.c(pe_create_import_fixup): call
1085 pe_get_data_import_dll_name() from pe.em, instead of
1086 directly accessing pe_data_import_dll variable from pe.em.
1088 2001-09-18 Bruno Haible <haible@clisp.cons.org>
1090 * deffilep.y: Include "safe-ctype.h" instead of <ctype.h>.
1091 (def_file_add_directive): Use ISSPACE instead of isspace.
1092 (def_lex): Use ISDIGIT/ISXDIGIT/ISALPHA/ISALNUM instead of
1093 isdigit/isxdigit/isalpha/isalnum.
1094 * emultempl/aix.em: Include "safe-ctype.h" instead of <ctype.h>.
1095 (gld${EMULATION_NAME}_read_file): Use ISSPACE instead of isspace.
1096 * emultempl/elf32.em: Include "safe-ctype.h" instead of <ctype.h>.
1097 (gld${EMULATION_NAME}_place_orphan): Use ISALNUM instead of
1099 * emultempl/gld960c.em: Include "safe-ctype.h" instead of <ctype.h>.
1100 (gld960_set_output_arch): Use ISUPPER/TOLOWER instead of
1102 * emultempl/sunos.em: Include "safe-ctype.h" instead of <ctype.h>.
1103 (gld${EMULATION_NAME}_search_dir): Use ISDIGIT instead of isdigit.
1104 * ldctor.c: Include "safe-ctype.h" instead of <ctype.h>.
1105 (ctor_prio): Use ISDIGIT instead of isdigit.
1106 * ldfile.c: Include "safe-ctype.h" instead of <ctype.h>.
1107 (ldfile_open_file_search): Use ISALPHA instead of isalpha.
1108 (ldfile_add_arch): Use ISUPPER/TOLOWER instead of
1110 * ldlang.c: Include "safe-ctype.h" instead of <ctype.h>.
1111 (stricpy): Use TOLOWER instead of isupper/tolower.
1112 (lang_leave_overlay_section): Use ISALNUM instead of isalnum.
1113 * ldlex.l: Include "safe-ctype.h" instead of <ctype.h>.
1114 (lex_warn_invalid): Use ISPRINT instead of isprint.
1115 * ldmain.c: Include "safe-ctype.h" instead of <ctype.h>.
1116 (main): For gettext, also set the LC_CTYPE locate facet.
1117 (add_keepsyms_file): Use ISSPACE instead of isspace.
1118 * lexsup.c: Include "safe-ctype.h" instead of <ctype.h>.
1119 (is_num, parse_args): Use ISDIGIT instead of isdigit.
1120 * mpw-elfmips.c: Include "safe-ctype.h" instead of <ctype.h>.
1121 (gldelf32ebmip_place_orphan): Use ISALNUM instead of isalnum.
1122 * mpw-eppcmac.c: Include "safe-ctype.h" instead of <ctype.h>.
1123 (gldppcmacos_read_file): Use ISSPACE instead of isspace.
1124 * pe-dll.c: Include "safe-ctype.h" instead of <ctype.h>.
1125 (quoteput): Use ISSPACE instead of isspace.
1126 (pe_dll_generate_implib, pe_process_import_defs): Use ISALNUM
1129 2001-09-18 Alan Modra <amodra@bigpond.net.au>
1131 * deffilep.y (def_stash_module): Constify "name" param.
1133 * pe-dll.c: Replace CONST with const throughout.
1134 (quick_symbol): Constify "n1", "n2", "n3" params.
1135 (make_singleton_name_thunk): Constify "import" param. Make
1136 "buffer_len" a size_t.
1137 (make_import_fixup_entry): Constify "name", "fixup_name",
1138 "dll_symname" params.
1139 (pe_get16): Cast args of bfd_seek. Replace bfd_read with bfd_bread.
1140 (pe_get32): Likewise.
1141 (pe_implied_import_dll): Likewise.
1143 * emultempl/beos.em (sort_by_file_name): Constify "ra", "rb".
1144 (sort_by_section_name): Likewise.
1146 * emultempl/pe.em: Move defines for arm_epoc_pe before bfd.h included.
1147 (make_import_fixup): Cast printf arg, rel->address to long rather
1149 (gld_${EMULATION_NAME}_after_open): Don't compare NULL against int.
1151 2001-09-15 Alan Modra <amodra@bigpond.net.au>
1153 * ldmain.c (main): Rename BufferSize to ld_bufsz because HPUX
1154 defines BufferSize. Increase buffer size by one.
1156 2001-09-14 Ralf Habacker <Ralf.Habacker@freenet.de>
1158 * pe-dll.c (pe_walk_relocs_of_symbol): Fix memory leak.
1160 2001-09-14 Kevin Lo <kevlo@openbsd.org>
1162 * configure.tgt: Add arm-openbsd target.
1164 2001-09-12 H.J. Lu <hjl@gnu.org>
1166 * Makefile.am (ALL_EMULATIONS): Move eelf64ppc.o and
1168 (ALL_64_EMULATIONS): Here.
1169 * Makefile.in: Regenerated.
1171 2001-09-12 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
1173 * emultempl/pe.em(make_import_fixup): change signature to
1174 take asection as well as arelec; we need this for proper
1175 error reporting. Only call pe_create_import_fixup() if
1176 there is no attempt to add a constant addend to the reloc;
1177 otherwise, report error condition.
1178 * pe-dll.c(pe_walk_relocs_of_symbol): change signature,
1179 since final argument is a pointer to make_import_fixup().
1180 Change call to cb() to match make_import_fixup() signature.
1181 (make_import_fixup_mark): make buffer_len unsigned.
1182 * pe-dll.h: change signature of pe_walk_relocs_of_symbol.
1184 2001-09-12 Charles Wilson <cwilson@ece.gatech.edu>
1186 * ld.texinfo: add verbose documentation for auto-import
1187 direct-addressing workaround, to compliment the terse
1190 2001-09-12 Andrew MacLeod <amacleod@redhat.com>
1192 * scripttempl/v850.sc: Add gcc_except_table sections.
1194 2001-09-11 Jeffrey A Law (law@cygnus.com)
1196 * emulparams/h8300helf.sh: Move stack to a much higher memory address.
1197 * emulparams/h8300self.sh: Similarly.
1199 2001-09-05 Danny Smith <dannysmith@users.souceforge.net>
1201 * ld.texinfo (Options, --stack): Correct default value for stack
1204 2001-09-05 Tom Rix <trix@redhat.com>
1206 * emultempl/aix.em : Handle import file XMC_XO and syscall symbols.
1208 2001-09-03 Andreas Jaeger <aj@suse.de>
1210 * emultempl/beos.em: Declare prototypes for comparions functions,
1213 2001-09-02 Andreas Jaeger <aj@suse.de>
1215 * emultempl/aix.em: Add missing prototype.
1216 * emultempl/lnk960.em: Likewise.
1217 * emultempl/vanilla.em: Likewise.
1218 * emultempl/armcoff.em: Likewise.
1219 * emultempl/armelf_oabi.em: Likewise.
1220 * emultempl/beos.em: Likewise.
1221 * emultempl/gld960c.em: Likewise.
1222 * emultempl/gld960.em: Likewise.
1224 * emulparams/elf64alpha.sh (PARSE_AND_LIST_PROLOGUE): Add parameter
1225 for prototype declaration.
1227 2001-08-31 Eric Christopher <echristo@redhat.com>
1228 Jason Eckhardt <jle@redhat.com>
1230 * ldmain.c (get_emulation): Add support for -mips32 and -mips64.
1232 2001-08-31 Andreas Jaeger <aj@suse.de>
1234 * emultempl/pe.em: Add missing prototypes.
1235 (gld_${EMULATION_NAME}_after_open): Remove extra args to
1236 pe_find_data_imports.
1237 (pr_sym): Add unused attribute.
1239 2001-08-29 Joel Sherrill <joel@OARcorp.com>
1241 * configure.tgt (i[3456]86-*-rtems*, m68*-*-rtems*): Change
1242 default from coff to elf.
1244 2001-08-29 Jeff Law <law@redhat.com>
1246 * emulparams/h8300helf.sh: Resync with h8300elf.sh. Update
1248 * emulparams/h8300self.sh: Similarly.
1250 2001-08-28 J"orn Rennecke <amylaar@redhat.com>
1252 * Makefile.am (ALL_EMULATIONS): Add eh8300elf.o, eh8300elf.o and
1254 (eh8300elf.c, eh8300helf.c, eh8300self.c): New targets.
1255 * configure.tgt (h8300-*-elf*): New case.
1256 * emulparams/h8300elf.sh, emulparams/h8300helf.sh: New files.
1257 * emulparams/h8300self.sh: New file.
1258 * Makefile.in: Regenerated.
1260 2001-08-28 Nick Clifton <nickc@cambridge.redhat.com>
1262 * ldmain.c (main): Rename BSIZE to BufferSize to avoid collision
1265 2001-08-27 Linus Nordberg <linus@swox.com>
1266 Alan Modra <amodra@bigpond.net.au>
1268 * Makefile.am (ALL_EMULATIONS): Add eelf64ppc.o and eelf64lppc.o.
1269 (eelf64ppc.c, eelf64lppc.c): Add make targets.
1271 * Makefile.in: Regenerate.
1272 * configure.tgt: Add powerpc64 support. Move pdp11, pjl, pj
1273 entries to correct alphabetical position.
1274 * emulparams/elf64ppc.sh: New.
1275 * emulparams/elf64lppc.sh: New.
1277 2001-08-27 Nick Clifton <nickc@cambridge.redhat.com>
1279 * ldmain.c (main): Declare BSIZE as static.
1281 2001-08-23 Jakub Jelinek <jakub@redhat.com>
1283 * emultempl/elf32.em (place_orphan): Place orphan .rel* sections
1284 into .rel.dyn resp. .rela.dyn if combreloc.
1285 (get_script): If .x linker script is equal to .xn, only put it
1286 once into the binary.
1287 Add .xc and .xsc scripts.
1288 (parse_args): Handle -z combreloc and -z nocombreloc.
1289 * scripttempl/elf.sc (.rela.sbss): Fix a typo.
1290 For .xc and .xsc scripts put all .rel* or .rela* input sections
1291 but .rel*.plt and PLT-like sections into .rel.dyn resp. .rela.dyn.
1292 * genscripts.sh (GENERATE_COMBRELOC_SCRIPT): Set if SCRIPT_NAME
1294 Strip trailing whitespace from script.
1295 Generate .xc and .xsc scripts if requested.
1296 * ldmain.c (main): Initialize link_info.combreloc and
1297 link_info.spare_dynamic_tags.
1298 * lexsup.c (OPTION_SPARE_DYNAMIC_TAGS): Define.
1299 (ld_options): Add --spare-dynamic-tags option.
1300 (parse_args): Likewise.
1301 * ld.texinfo: Document -z combreloc and -z nocombreloc.
1302 * ldint.texinfo: Document .xc and .xsc linker scripts.
1303 * NEWS: Add notes about -z combreloc and SHF_MERGE.
1305 2001-08-22 H.J. Lu <hjl@gnu.org>
1307 * emulparams/elf32fr30.sh: Add a newline.
1309 2001-08-21 Andreas Jaeger <aj@suse.de>
1311 * deffilep.y: Add missing prototypes.
1312 * pe-dll.c: Likewise.
1314 2001-08-20 Alan Modra <amodra@bigpond.net.au>
1316 * ldlang.c (insert_pad): Fix typos in last patch.
1318 * ldlang.c: When traversing lang_statement_union_type lists,
1319 consistently use "header.next" rather than "next".
1320 * mpw-eppcmac.c: Likewise.
1321 * emultempl/beos.em: Likewise.
1322 * emultempl/hppaelf.em: Likewise.
1323 * emultempl/pe.em: Likewise.
1324 * ldlang.h (union lang_statement_union): Remove "next" field.
1326 * ldlang.c (insert_pad): Use offsetof macro.
1327 (lang_size_sections): Always neuter padding statements.
1328 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Delete.
1330 * pe-dll.c (pe_dll_fill_sections): Correct type of "relax" param
1331 passed to lang_size_sections.
1332 (pe_exe_fill_sections): Likewise.
1333 * emultempl/pe.em (output_prev_sec_find): Copied from elf32.em.
1334 (gld_${EMULATION_NAME}_place_orphan): Merge from elf32.em.
1336 2001-08-18 Alan Modra <amodra@bigpond.net.au>
1338 * emultempl/aix.em: Formatting fixes.
1340 2001-08-18 Alan Modra <amodra@bigpond.net.au>
1342 * ldlang.c (insert_pad): Make use of an existing pad statement if
1343 available. Move code calculating alignment, adjusting section
1344 alignment power, and adjusting dot to ..
1345 (size_input_section): .. here. Remove unused relax param.
1346 (lang_size_sections): Change boolean `relax' param to boolean *.
1347 Adjust call to size_input_section. Make use of insert_pad to
1348 place pad after the assignment statement. If relaxing, zap
1350 (reset_memory_regions): Reset output_bfd section sizes too.
1351 (relax_again): Move to..
1352 (lang_process): ..here. Adjust call to lang_size_sections, and
1353 remove duplicated code.
1354 * ldlang.h (lang_size_sections): Change `relax' param to boolean *.
1356 2001-08-17 Alan Modra <amodra@bigpond.net.au>
1358 * ld.texinfo: Document that fill values now use the four least
1360 * emulparams/elf32fr30.sh (NOP): Update.
1361 * emulparams/elf32mcore.sh: Likewise.
1362 * emulparams/elf64_s390.sh: Likewise.
1363 * emulparams/elf_i386.sh: Likewise.
1364 * emulparams/elf_i386_be.sh: Likewise.
1365 * emulparams/elf_i386_chaos.sh: Likewise.
1366 * emulparams/elf_i386_ldso.sh: Likewise.
1367 * emulparams/elf_s390.sh: Likewise.
1368 * emulparams/elf_x86_64.sh: Likewise.
1369 * emulparams/i386moss.sh: Likewise.
1370 * emulparams/i386nw.sh: Likewise.
1371 * emulparams/m68kelf.sh: Likewise.
1372 * scripttempl/elf.sc: Update NOP comment.
1373 * scripttempl/elfi370.sc: Likewise.
1374 * scripttempl/elfm68hc11.sc: Likewise.
1375 * scripttempl/elfm68hc12.sc: Likewise.
1376 * scripttempl/nw.sc: Likewise.
1378 2001-08-15 Tom Rix <trix@redhat.com>
1380 * ldgram.y (saved_script_handle): Initialize to NULL.
1381 * ldmain.c (main): Change check on saved_script_handle.
1383 2001-08-14 Alan Modra <amodra@bigpond.net.au>
1385 * emultempl/elf32.em: Formatting fixes.
1386 (output_prev_sec_find): Test for bfd_ind_section too; do so by
1387 looking at sec->owner.
1388 (output_rel_find): Move function inside LDEMUL_PLACE_ORPHAN test.
1389 (gld${EMULATION_NAME}_place_orphan): Add a few comments. Remove
1390 unused code, and reorganize orphan section placement code.
1392 * ldlang.c (wild_doit): Rename to lang_add_section.
1393 * ldlang.h: Here too.
1394 * mpw-elfmips.c: And here.
1395 * emultempl/beos.em: And here.
1396 * emultempl/elf32.em: And here.
1397 * emultempl/hppaelf.em: And here.
1398 * emultempl/pe.em: And here.
1400 2001-08-13 Richard Henderson <rth@redhat.com>
1402 * emultempl/needrelax.em: New file.
1403 * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Reference it.
1404 * Makefile.am (eelf64_ia64.c): Depend on it.
1405 * Makefile.in: Rebuild.
1407 2001-08-13 Alan Modra <amodra@bigpond.net.au>
1409 * emultempl/elf32.em: For SEC_EXCLUDE sections, ensure that
1410 output_section is set non-NULL.
1412 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Return
1413 `true' for SEC_EXCLUDE sections so that the generic code doesn't
1414 needlessly create an output_section_statement. Treat a correctly
1415 named output_section_statement with NULL bfd_section as compatible.
1417 2001-08-13 Hans-Peter Nilsson <hp@bitrange.com>
1419 * emultempl/generic.em: Support EXTRA_EM_FILE.
1420 (ld_${EMULATION_NAME}_emulation): Support emulation parameters
1421 LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
1422 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
1423 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
1424 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
1425 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
1426 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
1427 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
1428 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
1429 LDEMUL_FIND_POTENTIAL_LIBRARIES.
1431 2001-08-12 Richard Henderson <rth@redhat.com>
1433 * scripttempl/elf.sc, scripttempl/elfd30v.sc,
1434 scripttempl/elfm68hc11.sc, scripttempl/elfm68hc12.sc,
1435 scripttempl/v850.sc: Keep .jcr data.
1437 2001-08-12 H.J. Lu <hjl@gnu.org>
1438 Andrew Haley <aph@cambridge.redhat.com>
1439 Nick Clifton <nickc@redhat.com>
1441 * ldgram.y (had_script): Change name to saved_script_handle.
1442 Change type to file handle.
1443 * ld.h (had_script): Rename and retype.
1444 * ldfile.c (ldfile_open_command_file): Save the file handle
1445 used in saved_script_handle.
1446 * lexsup.c (parse_args): Do not allow -c option to alter
1447 saved_script_handle.
1448 * ldmain.c (main): Print out the linker script used if
1449 --verbose is given. Check saved_script_handle to obtain the
1450 external linker script used, or if NULL, dump the builtin
1452 * ld.texinfo: Document that --verbose now dumps the linker
1453 script used, regardless of whether it was an internal or an
1456 2001-08-10 Andreas Jaeger <aj@suse.de>
1458 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
1460 * configure: Regenerate.
1462 2001-08-09 Alan Modra <amodra@bigpond.net.au>
1464 * emultempl/elf32.em (output_prev_sec_find): Add missing prototype.
1466 * scripttempl/elf.sc: Move non-text .dynamic section before
1467 .plt/.got/.sdata* group.
1468 (OTHER_GOT_SECTIONS): Move to immediately after .got.
1469 (OTHER_SDATA_SECTIONS): Add.
1470 * emulparams/criself.sh: Use OTHER_SDATA_SECTIONS rather than
1472 * emulparams/crislinux.sh: Likewise.
1473 * emulparams/elf32b4300.sh: Likewise.
1474 * emulparams/elf32bmip.sh: Likewise.
1475 * emulparams/elf32bmipn32.sh: Likewise.
1476 * emulparams/elf32bsmip.sh: Likewise.
1477 * emulparams/elf32btsmip.sh: Likewise.
1478 * emulparams/elf32ebmip.sh: Likewise.
1479 * emulparams/elf32elmip.sh: Likewise.
1480 * emulparams/elf32l4300.sh: Likewise.
1481 * emulparams/elf32lmip.sh: Likewise.
1482 * emulparams/elf32lsmip.sh: Likewise.
1483 * emulparams/elf32ltsmip.sh: Likewise.
1484 * emulparams/elf64bmip.sh: Likewise.
1485 * emulparams/elf64btsmip.sh: Likewise.
1486 * emulparams/elf64ltsmip.sh: Likewise.
1488 2001-08-08 Alan Modra <amodra@bigpond.net.au>
1490 * genscripts.sh: Source the emulparams script before each output
1491 script is generated so that variables like `RELOCATING' may affect
1492 variables defined in the emulparams script.
1494 2001-08-04 Alan Modra <amodra@bigpond.net.au>
1496 * emultempl/aix.em: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this
1499 * emultempl/beos.em (sort_sections): Modify for 2001-08-03 change,
1500 ie. iterate over wild_statement.section_list.
1501 (gld${EMULATION_NAME}_place_orphan): Likewise.
1503 2001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1505 * scripttempl/elfm68hc12.sc (FINISH_CODE, FINISH_RELOC): New to handle
1506 .fini[0-4] sections used by _exit
1507 (CTOR, DTOR): Export ctor/dtor symbols; move them to ROM.
1508 (*.text,*.data,*.bss): Take into account .text.*, .data.*, .bss.*.
1509 * scripttempl/elfm68hc11.sc: Likewise.
1511 2001-08-03 H.J. Lu <hjl@gnu.org>
1513 * emultempl/beos.em (init): Add the missing initialization.
1515 2001-08-03 Alan Modra <amodra@bigpond.net.au>
1517 * ld.texinfo (Input Section Basics): Clarify ordering of output
1519 * ldlang.c (callback_t): Add wildcard_list param.
1520 (walk_wild_section): Remove "section" param. Rewrite for
1521 lang_wild_statement_type change. Remove unique_section_p test.
1522 (walk_wild_file): Remove "section" param.
1523 (walk_wild): Remove "section" and "file" params.
1524 (lang_gc_wild): Likewise.
1525 (wild): Likewise. Modify for lang_wild_statement_type change.
1526 (wild_sort): Likewise. Add "sec" param.
1527 (gc_section_callback): Likewise.
1528 (output_section_callback): Likewise. Do unique_section_p test.
1529 (map_input_to_output_sections): Modify call to wild.
1530 (lang_gc_sections_1): Likewise.
1531 (print_wild_statement): Modify for lang_wild_statement_type
1533 (lang_add_wild): Replace filename, filenames_sorted param with
1534 filespec. Replace section_name, sections_sorted,
1535 exclude_filename_list with section_list.
1536 * ldlang.h (lang_add_wild): Here too.
1537 (lang_wild_statement_type): Replace section_name, sections_sorted,
1538 and exclude_filename_list with section_list.
1539 * ldgram.y (current_file): Delete.
1540 (%union): Add wildcard_list.
1541 (file_NAME_list): Set type to wildcard_list. Build a linked list
1542 rather than calling lang_add_wild for each entry.
1543 (input_section_spec_no_keep): Call lang_add_wild here instead.
1544 * ld.h (struct wildcard_list): Declare.
1545 * mri.c (mri_draw_tree): Modify to suit new lang_add_wild.
1547 2001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
1549 * ldmain.c (main): initialize link_info.pei386_auto_import
1550 * pe-dll.c: new tables for auto-export filtering
1551 (auto_export): change API, pass abfd for contextual filtering.
1552 Loop thru tables of excluded symbols instead of comparing
1555 2001-08-02 Paul Sokolovsky <paul.sokolovsky@technologist.com>
1557 * pe-dll.c: new variable pe_dll_enable_extra_debug. New
1558 static variable current_sec (static struct sec *). Add
1559 forward declaration for add_bfd_to_link.
1560 (process_def_file): Don't export undefined symbols. Do not
1561 export symbols starting with "_imp__". Call auto_export()
1563 (pe_walk_relocs_of_symbol): New function.
1564 (generate_reloc): add optional extra debugging
1565 (pe_dll_generate_def_file): eliminate extraneous initial blank
1567 (make_one): enlarge symtab to make room for __nm__ symbols
1568 (DATA auto-import support).
1569 (make_singleton_name_thunk): New function.
1570 (make_import_fixup_mark): New function.
1571 (make_import_fixup_entry): New function.
1572 (pe_create_import_fixup): New function.
1573 (add_bfd_to_link): Specify that 'name' argument is a CONST
1575 * pe-dll.h: declare new variable pe_dll_extra_pe_debug;
1576 declare new functions pe_walk_relocs_of_symbol and
1577 pe_create_import_fixup.
1578 * emultempl/pe.em: add new options --enable-auto-import,
1579 --disable-auto-import, and --enable-extra-pe-debug.
1580 (make_import_fixup): New function.
1581 (pe_find_data_imports): New function.
1582 (pr_sym): New function.
1583 (gld_${EMULATION_NAME}_after_open): Add optional extra pe
1584 debugging. Call pe_find_data_imports. Mark .idata as DATA, not
1587 2001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
1589 * ld.texinfo: add additional documentation for
1590 --export-all-symbols. Document --out-implib,
1591 --enable-auto-image-base, --disable-auto-image-base,
1592 --dll-search-prefix, --enable-auto-import, and
1593 --disable-auto-import.
1594 * ldint.texinfo: Add detailed documentation on auto-import
1597 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
1599 * ld.texinfo (Simple Assignments): Fix computation in SECTIONS
1602 2001-07-24 Alan Modra <amodra@bigpond.net.au>
1604 * Makefile.am: Update dependencies with "make dep-am".
1605 * Makefile.in: Regenerate
1607 2001-07-23 Alan Modra <amodra@bigpond.net.au>
1609 * ldcref.c (check_section_sym_xref): New function.
1610 (check_nocrossrefs): Call it.
1611 (check_nocrossref): Interate over h->refs here instead of..
1612 (check_refs): ..here. Pass in the symbol name, section, and bfd
1613 rather than hash_entry pointers.
1614 (struct check_refs_info): Keep symbol name rather than hash entry.
1616 (check_reloc_refs): Tweak for above changes in check_refs_info.
1617 Only report references to section syms when symname is NULL to
1618 prevent duplicate messages for the same reloc.
1620 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
1622 * ldexp.c (exp_print_tree): Use stderr if config.map_file is not
1623 available. Do not print NULL trees.
1624 (exp_print_token): Print unknown tokens with values > 126 as
1625 decimal values not ASCII characters.
1627 * ldlang.c (lang_leave_overlay): If a region is specified assign
1628 it to all sections inside the overlay unless they have been
1629 assigned to the own, non-default, memory region.
1631 * README: Add header for consistency with other README files.
1633 2001-07-14 H.J. Lu <hjl@gnu.org>
1635 * emultempl/elf32.em (output_prev_sec_find): Never return
1636 bfd_abs_section_ptr, bfd_com_section_ptr nor
1637 bfd_und_section_ptr.
1639 2001-07-14 Nick Clifton <nickc@cambridge.redhat.com>
1641 * Makefile.am (em32relf.c): Change dependency from generic.em to
1643 * Makefile.in: Regenerate.
1645 2001-07-14 matthew green <mrg@eterna.com.au>
1647 * configure.tgt (i386-*-netbsdelf*): New target.
1648 (i386-*-netbsd*): Set targ_extra_emuls to `elf_i386'
1650 2001-07-13 Jakub Jelinek <jakub@redhat.com>
1652 * emultempl/elf32.em (output_prev_sec_find): New.
1653 (place_orphan): Use it.
1655 2001-07-11 H.J. Lu <hjl@gnu.org>
1657 * ldmain.c (main): Fix typos in the last change.
1659 2001-07-11 Jakub Jelinek <jakub@redhat.com>
1661 * ldmain.c (main): Disallow -F and -f without -shared.
1663 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
1665 * emultempl/pe.em (after_open): Check for the output_bfd not
1666 having any coff_data structure allocated to it.
1668 2001-07-09 David O'Brien <obrien@FreeBSD.org>
1670 * emultempl/elf32.em: Do not assuming that contents of the buffer
1671 returned from basename function will remain unchanged accross other
1674 2001-07-03 H.J. Lu <hjl@gnu.org>
1676 * scripttempl/elf.sc (DYNAMIC_PAD): Revert the change made on
1677 2001-07-03. It creates dynamic entries even for static binaries.
1679 2001-07-03 Jakub Jelinek <jakub@redhat.com>
1681 * scripttempl/elf.sc (DYNAMIC_PAD): New variable.
1682 (DYNAMIC): Use it to reserve few dynamic entries for
1685 2001-06-27 Alan Modra <amodra@bigpond.net.au>
1687 * emulparams/hppa64linux.sh: New file.
1688 * configure.tgt: hppa*64*-*-linux* uses hppa64linux.sh
1689 * Makefile.am (ALL_64_EMULATIONS): Add ehppa64linux.o
1690 (ehppa64linux.c): Add rule to make it.
1692 * Makefile.in: Regenerate.
1694 2001-06-21 Hans-Peter Nilsson <hp@axis.com>
1696 * ld.texinfo (Options, -r): Mention restrictions when using
1697 different object formats.
1699 2001-06-19 Hans-Peter Nilsson <hp@axis.com>
1701 * ldlang.c (lang_check): Emit fatal error if relocatable link
1702 between different object flavours with relocations in input.
1704 2001-06-19 H.J. Lu <hjl@gnu.org>
1706 * ld.texinfo (-E, --export-dynamic): Mention --version-script.
1707 (--version-script): Mention the language support.
1709 2001-06-19 H.J. Lu <hjl@gnu.org>
1711 * ldlang.c (lang_check): Revert the change mode on 2001-06-15.
1713 2001-06-18 H.J. Lu <hjl@gnu.org>
1715 * Makefile.am (ld.1): Remove the prefix `$(srcdir)/'.
1716 (diststuff): Add $(MANS).
1717 * Makefile.in: Regenerated.
1721 2001-06-18 Hans-Peter Nilsson <hp@axis.com>
1723 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
1724 Update for API change in bfd_elf${ELFSIZE}_size_dynamic_sections.
1725 * mpw-elfmips.c (gldelf32ebmip_before_allocation): Ditto.
1726 * ld.h (args_type): Remove member export_dynamic. All users
1727 changed to use struct bfd_link_info member.
1729 * Makefile.am (ecriself.c, ed10velf.c, ei386moss.c): Depend on
1730 $(srcdir)/emultempl/elf32.em, not $(srcdir)/emultempl/generic.em.
1731 * Makefile.in: Regenerate.
1733 2001-06-18 H.J. Lu <hjl@gnu.org>
1735 * ldlang.c (init_os): Add the newline to the einfo call.
1736 (lang_check): Likewise.
1737 (lang_do_version_exports_section): Likewise.
1739 2001-06-15 H.J. Lu <hjl@gnu.org>
1741 * lexsup.c (parse_args); Save optind to report unrecognized
1744 2001-06-15 Hans-Peter Nilsson <hp@axis.com>
1746 * ldlang.c (lang_check): Emit fatal error if relocatable link
1747 between different object flavours.
1749 * lexsup.c (parse_args) <case OPTION_EXPORT_DYNAMIC, case 'E'>:
1750 Set new link_info member export_dynamic.
1751 * ldmain.c (main): Initialize new link_info member export_dynamic.
1753 2001-06-12 Nick Clifton <nickc@cambridge.redhat.com>
1755 * ldlang.c (walk_wild): Only call walk_wild_file if
1756 lookup_name returns something.
1757 (lookup_name): If load_symbols fails, return NULL.
1758 (load_symbols): Change to a boolean function.
1759 (open_input_bfds): If load_symbols fails then do not make the
1762 2001-06-08 Alan Modra <amodra@bigpond.net.au>
1764 * ldlang.c (record_bfd_errors): Remove.
1766 * emultempl/aix.em: Fix copyright dates.
1768 2001-06-07 Andreas Jaeger <aj@suse.de>
1770 * elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase.
1771 (TEXT_START_ADDR): Likewise.
1773 2001-06-06 Martin Schwidefsky <schwidefsky@de.ibm.com>
1775 * configure.host: Set HOSTING_CRT0/HOSTING_LIBS correctly for s/390.
1777 2001-06-05 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
1779 * emultempl/pe.em (init): Reduce default stack reserve to 0x200000.
1781 2001-05-31 H.J. Lu <hjl@gnu.org>
1783 * ldlang.c (open_input_bfds): Don't change the bfd error
1784 handler whilst loading symbols.
1786 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1788 * configure.tgt: Remove i370-mvs architecture, it is not currently
1791 2001-05-25 H.J. Lu <hjl@gnu.org>
1793 * emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
1794 like emulparams/aixppc.sh.
1796 2001-05-25 H.J. Lu <hjl@gnu.org>
1798 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move
1799 setting of output_filename after bfd_scan_arch.
1800 * emultempl/pe.em: Likewise.
1802 2001-05-25 H.J. Lu <hjl@gnu.org>
1804 * emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
1805 like emulparams/aixppc.sh.
1807 * emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed
1808 instead of ${srcdir}/emultempl/stringify.sed.
1810 2001-05-25 Timothy Wall <twall@oculustech.com>
1812 * emulparams/elf64_aix.sh: Change settings to match IBM linker
1815 2001-05-25 Alan Modra <amodra@one.net.au>
1817 * configure.host: Replace linuxoldld with linux*oldld.
1818 * configure.tgt: Likewise.
1820 2001-05-24 H.J. Lu <hjl@gnu.org>
1822 * emultempl/stringify.sed: Removed again.
1824 2001-05-24 H.J. Lu <hjl@gnu.org>
1826 * emultempl/aix.em (OUTPUT_ARCH): Defined.
1827 (gld${EMULATION_NAME}_before_parse): Initialize
1828 ldfile_output_architecture, ldfile_output_machine and
1829 ldfile_output_machine_name from ${OUTPUT_ARCH} if possible.
1830 * emultempl/beos.em: Likewise.
1831 * emultempl/elf32.em: Likewise.
1832 * emultempl/linux.em: Likewise.
1833 * emultempl/mipsecoff.em: Likewise.
1834 * emultempl/pe.em: Likewise.
1835 * emultempl/sunos.em: Likewise.
1837 2001-05-24 Tom Rix <trix@redhat.com>
1839 * emultempl/aix.em : (gld${EMULATION_NAME}_read_file)
1840 udate import file format.
1841 (change_symbol_mode) New, same
1842 (is_syscall) New, same
1843 * emulparams/aixppc.sh : add SYSCALL_MASK and SYMBOL_MODE_MASK
1844 * emulparams/aixppc64.sh : same
1845 * emulparams/aixrs6.sh : same
1846 * emulparams/ppcmacos.sh : same
1847 * emultempl/aix.em : use strtoull to parse options
1848 * Makefile.am : add eaixppc64 emulation for xcoff64
1849 * Makefile.in : same
1850 * configure.tgt : same
1852 * scripttempl/aix.sc : default text section offset to 0x10000000
1853 default data section offset to 0x20000000
1854 add .sv3264 and .sv64 pseudo sections
1855 loader and debug sections use the currect section offset.
1857 * emultempl/aix.em : Add xcoff64 support
1858 Add -binitfini support
1859 (gld${EMULATION_NAME}_before_parse) -binitfini
1860 (gld${EMULATION_NAME}_parse_args) same
1861 (gld${EMULATION_NAME}_before_allocation) format change for special
1864 * emulparams/aixppc64.sh : New file for xcoff64 support
1866 2001-05-23 Alexandre Oliva <aoliva@redhat.com>
1868 * emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new
1869 variable to avoid non-portable shell construct.
1871 2001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1873 * ldmain.c (get_emulation): Add -mips5 command line argument.
1875 2001-05-22 Alexandre Oliva <aoliva@redhat.com>
1877 * emulparams/elf_i386_ldso.sh: New, copied from elf_i386.sh.
1878 (ELF_INTERPRETER_NAME): Define it.
1879 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use
1881 * configure.tgt (targ_emul, targ_extra_emuls)
1882 [i[3456]86-*-solaris2*, i[3456]86-*-solaris*]: Use elf_i386_ldso
1883 as primary, elf_i386 as extra.
1884 * Makefile.am (ALL_EMULATIONS): Added eelf_i386_ldso.o.
1885 (eelf_i386_ldso.c): New rule.
1886 * Makefile.in: Rebuilt.
1888 2001-05-22 Nick Clifton <nickc@redhat.com>
1890 * lexsup.c (ld_options): Allow -I to be an alias for
1891 --dynamic-linker. This is for Solaris compatability.
1892 * ld.texinfo: Document that -I can be used.
1895 2001-05-16 Alan Modra <amodra@one.net.au>
1897 * ldlang.c (wild_doit): Use linker_has_input to reliably determine
1898 whether an input section is the first one assigned to an output
1900 Assorted formatting fixes.
1902 2001-05-14 DJ Delorie <dj@delorie.com>
1904 * Makefile.am (ld.dvi): Search bfd/doc for texinfo files.
1905 * Makefile.in: Ditto.
1907 2001-05-11 Jakub Jelinek <jakub@redhat.com>
1909 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put
1910 .gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind*
1912 * emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise.
1914 2001-05-11 Jakub Jelinek <jakub@redhat.com>
1916 * ldlang.c (lang_process): Call bfd_merge_sections.
1918 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1920 * ldgram.y: Fix typo.
1922 2001-05-03 H.J. Lu <hjl@gnu.org>
1924 * emultempl/elf32.em: Include "libiberty.h".
1925 (gld${EMULATION_NAME}_vercheck): Call basename () to get the
1926 basename of the bfd filename.
1927 (gld${EMULATION_NAME}_stat_needed): Likewise.
1928 (gld${EMULATION_NAME}_try_needed): Likewise.
1929 (gld${EMULATION_NAME}_open_dynamic_archive): Likewise.
1931 2001-05-02 H.J. Lu <hjl@gnu.org>
1933 * emultempl/pe.em: Include <ctype.h>.
1935 2001-05-02 Johan Rydberg <jrydberg@opencores.org>
1937 * emulparams/elf32openrisc.sh: New file.
1939 * Makefile.am: Add OpenRISC target.
1940 * Makefile.in: Regenerated.
1942 * configure.tgt: Add openrisc-*-* mapping.
1944 2001-05-02 Nick Clifton <nickc@redhat.com>
1946 * emultempl/aix.em: Replace buystring with xstrdup.
1947 * emultempl/beos.em: Replace buystring with xstrdup.
1949 2001-05-02 H.J. Lu <hjl@gnu.org>
1951 * ldfile.c: Include "libiberty.h".
1952 * ldlex.l: Likewise.
1954 * ldmisc.c (buystring): Removed.
1955 * ldmisc.h: Likewise.
1957 * ldfile.c: Replace buystring with xstrdup.
1958 * ldlang.c: Likewise.
1959 * ldlex.l: Likewise.
1960 * ldmain.c: Likewise.
1961 * ldmisc.c: Likewise.
1962 * lexsup.c: Likewise.
1963 * mpw-eppcmac.c: Likewise.
1965 2001-04-30 Andreas Jaeger <aj@suse.de>
1967 * emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value.
1969 2001-04-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
1971 * ldlang.c (load_symbols): Give emulation a chance
1972 to process unrecognized file before fatal error is
1973 reported, not after.
1975 2001-04-27 Sean McNeil <sean@mcneil.com>
1977 * configure.tgt: Add arm-vxworks target.
1978 * scripttempl/armcoff.sc: Support .text or .data as a section name
1982 2001-04-13 J.T. Conklin <jtc@redback.com>
1984 * ld.texinfo: Document --fatal-warnings.
1987 * ldmisc.c (vfinfo): Set flag to inhibit making executable if
1988 warnings have been turned into errors.
1989 * lexsup.c (OPTION_WARN_FATAL): Define.
1990 (ld_options): Entry for --fatal-warnings.
1991 (parse_args): Handle OPTION_WARN_FATAL.
1992 * ld.h (ld_config_type): Add fatal_warnings field.
1994 2001-04-13 Jakub Jelinek <jakub@redhat.com>
1996 * ldmain.c (main): Default to discard_sec_merge.
1997 * lexsup.c (OPTION_DISCARD_NONE): Define.
1998 (ld_options): Add --discard-none.
1999 (parse_args): Handle OPTION_DISCARD_NONE.
2000 * ldlang.c (wild_doit): SEC_MERGE should be set in the output
2001 section only if SEC_MERGE and SEC_STRINGS flags and entsize of
2002 all its input sections match.
2004 2001-04-05 Steven J. Hill <sjhill@cotw.com>
2006 * Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o.
2007 (ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o.
2008 (eelf32ltsmip.c): New target.
2009 (eelf64btsmip.c): Likewise.
2010 (eelf64ltsmip.c): Likewise.
2011 * Makefile.in: Regenerated.
2013 * configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS
2015 (mips*-*-linux-gnu*): Likewise.
2017 * emulparams/elf32ltsmip.sh: New. Traditional little endian
2019 * emulparams/elf64btsmip.sh: New. Traditional 64bit big endian
2021 * emulparams/elf64ltsmip.sh: New. Traditional 64bit little
2024 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
2026 * emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide
2027 correct value of __Stext here.
2028 (TEXT_START_SYMBOLS): Define; always define __Stext, to start of
2031 * emulparams/crislinux.sh: Remove FIXME.
2033 2001-04-02 Alan Modra <alan@linuxcare.com.au>
2035 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k.
2036 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Likewise.
2038 2001-03-27 Hans-Peter Nilsson <hp@axis.com>
2040 * configure.tgt (cris-*-*): Change default emulation to criself.
2041 (cris-*-*aout*): New rule.
2043 2001-03-27 Matthew Wilcox <willy@ldl.fc.hp.com>
2045 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 0x4000.
2046 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
2048 2001-03-26 Andreas Jaeger <aj@suse.de>
2050 * ld.texinfo (Overview): Fix syntax in texi code.
2052 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2054 * ld.texinfo: Put @c man indications to generate the ld man page.
2055 When generating man, define all the variables. Define SEEALSO
2056 and SYNOPSIS. Re-organize some lines to avoid the cross references.
2057 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variables.
2058 (ld.1): Generate from ld.texinfo.
2059 * Makefile.in: Regenerate.
2061 2001-03-23 Mark Elbrecht <snowball3@bigfoot.com>
2063 * scripttempl/i386go32.sc: Support the GCC flags '-ffunction-sections'
2064 and '-fdata-sections'. Set the VMA of STABS sections to zero.
2066 2001-03-17 Ulrich Drepper <drepper@redhat.com>
2068 * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME
2069 is an absolute path look only for this file and not along the path.
2071 2001-03-17 Ulrich Drepper <drepper@redhat.com>
2073 * emultempl/elf32.em (OPTION_GROUP): New macro.
2074 Add new option Bgroup to longopts.
2075 (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs.
2076 (gld*_list_options): Add -Bgroup and -z defs.
2077 * ld.1: Document -Bgroup and -z defs.
2078 * ld.texinfo: Likewise.
2080 2001-03-07 Michael Meissner <meissner@redhat.com>
2082 * scripttempl/elfd10v.sc (.rodata,.rodata1,.data1,.sdata): Deal
2083 with sections created by -fdata-sections.
2084 (.dynbss,.bss): Ditto.
2086 2001-03-05 Alan Modra <alan@linuxcare.com.au>
2088 * emultempl/m68kelf.em (m68k_elf_after_allocation): Call
2089 after_allocation_default, not gld..._before_allocation.
2091 2001-02-27 Alan Modra <alan@linuxcare.com.au>
2093 * configure.in (BFD_VERSION): New.
2094 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
2095 * configure: Regenerate.
2096 * Makefile.am: Run "make dep-am"
2097 * Makefile.in: Regenerate.
2099 2001-02-26 Timothy Wall <twall@cygnus.com>
2101 * emulparams/elf64_aix.sh: Add additional read-only sections;
2102 uncomment lines which are now required.
2104 2001-02-26 H.J. Lu <hjl@gnu.org>
2106 * ldlang.c (open_input_bfds): Set the bfd error handler so
2107 that problems can be caught whilst loading symbols.
2108 (record_bfd_errors): New function: Report BFD errors and mark
2109 the executable output as being invalid.
2111 2001-02-22 Timothy Wall <twall@cygnus.com>
2113 * configure.host: Add configuration for ia64-*-aix*.
2114 * Makefile.am (ALL_64_EMULATIONS): Add emulation for ia64-*-aix*.
2115 Add dependencies for eelf64_aix.c.
2116 * Makefile.in: Regenerate.
2117 * configure.tgt: Add ia64-*-aix* mapping.
2118 * emulparams/elf64_aix.sh: Add settings for elf64 on aix5.
2119 * testsuite/ld-bootstrap/bootstrap.exp: Exclude ia64 flavor from
2122 2001-02-20 H.J. Lu <hjl@gnu.org>
2124 * ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to
2125 false if we found the file.
2127 2001-02-18 David O'Brien <obrien@FreeBSD.org>
2129 * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64,
2130 FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries.
2132 2001-02-18 lars brinkhoff <lars@nocrew.org>
2134 * Makefile.am: Add PDP-11 target.
2135 * configure.tgt: Likewise.
2136 * emulparams/pdp11.sh: New file.
2138 2001-02-17 David O'Brien <obrien@FreeBSD.org>
2140 * configure.host: Add a generic FreeBSD configuration entry such that
2141 all [modern] FreeBSD systems on all platforms will look the same.
2143 2001-02-14 H.J. Lu <hjl@gnu.org>
2145 * configure.tgt: Remove mention of earmelf_linux26.
2147 2001-02-13 Richard Henderson <rth@redhat.com>
2149 * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove.
2151 2001-02-13 H.J. Lu <hjl@gnu.org>
2153 * ldexp.h (node_type): Add etree_provided.
2154 * ldexp.c (exp_fold_tree): Handle etree_provided. Set the node
2155 type to etree_provided if defined by PROVIDE. Allow updating
2157 (exp_print_tree): Handle etree_provided.
2158 * mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle
2161 2001-02-09 David Mosberger <davidm@hpl.hp.com>
2163 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add
2164 .IA_64.unwind.* pattern to unwind table section and
2165 .IA_64.unwind_info* pattern to unwind info section.
2167 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
2169 * Makefile.am: Add linux target for S/390.
2170 * Makefile.in: Likewise.
2171 * configure.host: Likewise.
2172 * configure.tgt: Likewise.
2173 * emulparams/elf64_s390.sh: New file.
2174 * emulparams/elf_s390.sh: New file.
2176 2001-02-09 Jakub Jelinek <jakub@redhat.com>
2178 * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into
2180 (sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath.
2182 2001-02-06 Philip Blundell <philb@gnu.org>
2184 * Makefile.am: Remove mention of earmelf_linux26.
2185 * Makefile.in: Regenerate.
2187 2001-02-04 Philip Blundell <philb@gnu.org>
2189 * emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000.
2190 * emulparams/armelf_linux26.sh: Delete.
2191 * configure.tgt: Remove mention of armelf_linux26 emulation.
2193 2001-02-01 Nick Clifton <nickc@redhat.com>
2195 * ld.1: Replace occurances of -oformat with --oformat.
2197 2001-01-25 Jim Driftmyer <jdrift@stny.rr.com>
2199 * ldlang.c (lang_leave_overlay): Don't set lma_region when
2200 load_base is specified.
2202 2001-01-24 Hans-Peter Nilsson <hp@axis.com>
2204 * emultempl/elf32.em: Correct spelling in comments and listed
2207 2001-01-23 Alan Modra <alan@linuxcare.com.au>
2209 * ldlang.c (lang_leave_overlay): Only set lma_region from the
2210 default for the first section of a group of overlay sections.
2212 2001-01-22 Alan Modra <alan@linuxcare.com.au>
2214 * Makefile.am (GENSCRIPTS): Pass exec_prefix.
2215 * Makefile.in: Regenerate.
2216 * genscripts.sh: Use exec_prefix parameter to specify tool lib.
2217 Check for null tool_dir.
2219 2001-01-16 Jim Wilson <wilson@redhat.com>
2221 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind
2222 and IA_64.unwind.info.
2224 2001-01-16 H.J. Lu <hjl@gnu.org>
2226 * ldlang.c (lang_check): Merge the private data only if the
2227 input file has contents.
2229 2001-01-14 Alan Modra <alan@linuxcare.com.au>
2231 * emulparams/hppalinux.sh (OUTPUT_FORMAT): Set to elf32-hppa-linux.
2233 * emultempl/hppaelf.em (hppaelf_after_parse): New function,
2234 enabling search for libmilli. On a relocatable link, make .text
2236 (LDEMUL_AFTER_PARSE): Define.
2237 (hppaelf_finish): Correct spelling of relocatable in comments.
2239 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
2240 rummage through the script for sections on the unique list.
2241 Correct length of strncmp for ".note".
2242 (gld${EMULATION_NAME}_check_needed): Rearrange function.
2244 * ldlang.c (unique_section_list): New var.
2245 (unique_section_p): New function.
2246 (walk_wild_section): Don't match sections on unique_section_list.
2247 (lang_add_unique): New function.
2248 Correct spelling of relocatable in comments.
2250 * ldlang.h (struct unique_sections): Declare.
2251 (unique_section_list): Declare.
2252 (unique_section_p): Declare.
2253 (lang_add_unique): Declare.
2255 * lexsup.c (ld_options): Allow --unique to take an optional arg.
2256 (parse_args [OPTION_UNIQUE]): Call lang_add_unique.
2258 * ld.texinfo (--unique): Update.
2260 2001-01-13 Nick Clifton <nickc@redhat.com>
2262 * lexsup.c (parse_args): Remove spurious white space.
2264 2001-01-12 Nick Clifton <nickc@redhat.com>
2266 * lexsup.c (parse_args): Update copyright date.
2268 2001-01-12 Philip Blundell <pb@futuretv.com>
2270 * configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin.
2272 2001-01-10 Kazu Hirata <kazu@hxi.com>
2274 * scripttempl/h8300.sc: Fix formatting. Fix a comment typo.
2275 * scripttempl/h8300h.sc: Fix formatting.
2276 * scripttempl/h8300s.sc: Likewise.
2277 * scripttempl/h8500.sc: Likewise.
2278 * scripttempl/h8500b.sc: Likewise.
2279 * scripttempl/h8500c.sc: Likewise.
2280 * scripttempl/h8500m.sc: Likewise.
2281 * scripttempl/h8500s.sc: Likewise.
2283 2000-01-07 David O'Brien <obrien@BSDi.com>
2285 * emultempl/elf32.em: Only perform Linux ld hints processing when
2288 2001-01-07 Philip Blundell <philb@gnu.org>
2290 * ld.texinfo (Bug Reporting): Update email address for reports.
2292 2000-12-31 Nick Clifton <nickc@redhat.com>
2294 * lexsup.c (parse_args): Set opterr to 0 and detect unparsed long
2295 options by checking for a return value of '?' not -1.
2297 2000-12-28 Nick Clifton <nickc@redhat.com>
2299 * lexsup.c (struct ld_option): Add new enum value:
2301 (ld_options[]): Change -omagic, -output and -oformat options
2302 to be EXACTLY_TWO_DASHES.
2303 (OUTPUT_COUNT): Use ARRAY_SIZE.
2304 (parse_args): Change parameter 'argc' to unsigned.
2305 Place EXACTLY_TWO_DASHES options into new really_longopts
2307 If getopt_long_only fails, try calling getopt_long using the
2308 really_longopts array.
2309 (help): Print a double dash for both EXACTLY_TWO_DASHES and
2312 * ldlex.h: Fix prototype of parse_args.
2314 * ld.texinfo: Document that long options starting with 'o'
2315 must be preceeded by two dashes. Change example of a single
2316 dashed long option from -oformat to -trace-symbol.
2318 2000-12-26 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
2320 * emultempl/pe.em (OPTION_NO_DEFAULT_EXCLUDES): Define.
2321 (longopts[]): New --no-default-excludes option.
2322 (gld_${EMULATION_NAME}_list_options): Document.
2323 (gld_${EMULATION_NAME}_parse_args): Handle.
2325 2000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2327 * ldlang.c (new_stat): Revert the last beautification with "innocent"
2328 whitespace, it breaks the K&R C preprocessor.
2330 2000-12-11 DJ Delorie <dj@redhat.com>
2332 * ld.texinfo: Add notes about --whole-archive and gcc.
2334 2000-11-18 Fred Fish <fnf@be.com>
2336 * lexsup.c (OPTION_ALLOW_SHLIB_UNDEFINED): Define.
2337 (ld_options): Entry for --allow-shlib-undefined.
2338 (parse_args): Handle OPTION_ALLOW_SHLIB_UNDEFINED.
2339 * ldmain.c (main): Initialize link_info.allow_shlib_undefined
2341 * ld.texinfo: Document new command line switch.
2343 2000-12-12 Geoffrey Keating <geoffk@redhat.com>
2345 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS):
2346 .fixup is actually read/write.
2347 * emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
2348 * emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
2349 * emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
2351 2000-12-11 Jan Hubicka <jh@suse.cz>
2353 * NEWS: Add note about x86_64 architecture.
2355 2000-12-06 Mark Elbrecht <snowball3@bigfoot.com>
2357 * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end.
2358 Set DWARF2 sections to a VMA of zero.
2360 2000-12-01 Joel Sherrill <joel@OARcorp.com>
2362 * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
2364 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
2365 (sparc*-*-rtems*): Switched from a.out to ELF.
2367 2000-11-30 Jan Hubicka <jh@suse.cz>
2369 * Makefile.am (ALL_EMULATIONS): Add eelf_x86_64.o
2370 (eelf_x86_64.c): New.
2371 * Makefile.in: Regenerate.
2372 * configure.tgt: Add support for x86_64-*-linux-gnu*.
2373 * emulparams/elf_x86_64.sh: New.
2375 2000-11-30 Hans-Peter Nilsson <hp@axis.com>
2377 * emulparams/crislinux.sh (ENTRY): Change back to _start.
2378 (TEXT_START_SYMBOLS): Remove conditional setting of __start.
2380 * scripttempl/crisaout.sc: Change all RELOCATING not related to
2381 merging non-a.out sections into CONSTRUCTING.
2383 2000-11-28 Nick Clifton <nickc@redhat.com>
2385 * ld.1 (COPYING): Mention that the GNU Free Documentation
2386 License is present in the sources, but not the output, and
2387 also available from the GNU website.
2388 (GNU Free Documentation License): Comment out this section.
2390 2000-11-28 David O'Brien <obrien@dragon.nuxi.com>
2392 * emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF
2395 2000-11-25 David O'Brien <obrien@FreeBSD.org>
2397 * ld.1: Remove old date so it does not give the impression the manpage
2400 2000-11-24 Nick Clifton <nickc@redhat.com>
2402 * configure.tgt (xscale-coff): Add target.
2403 (xscale-elf): Add target.
2405 2000-11-24 Fred Fish <fnf@be.com>
2407 * ldmain.c (main): Remove redundant init of config.make_executable
2410 2000-11-15 Richard Henderson <rth@redhat.com>
2412 * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M.
2414 2000-11-14 Kazu Hirata <kazu@hxi.com>
2416 * scripttempl/h8300.sc: Fix formatting.
2417 * scripttempl/h8300h.sc: Likewise.
2418 * scripttempl/h8300s.sc: Likewise.
2420 2000-11-14 Denis Chertykov <denisc@overta.ru>
2422 * scripttempl/elf32avr.sc: Fix bug in .eeprom segment.
2424 2000-11-09 Philip Blundell <pb@futuretv.com>
2426 * emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME
2427 around orphan sections whose names can be represented in C.
2429 2000-11-07 Jim Wilson <wilson@redhat.com>
2431 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local
2432 hold_sdata. If SEC_SMALL_DATA set, set place to hold_sdata.
2434 2000-11-06 Nick Clifton <nickc@redhat.com>
2436 * ld.texinfo: Add GNU Free Documentation License.
2437 * ldint.texinfo: Add GNU Free Documentation License.
2438 * ld.1: Add GNU Free Documentation License.
2440 2000-11-05 Alan Modra <alan@linuxcare.com.au>
2442 * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer,
2443 yy_is_interactive, yy_at_bol, and yy_fill_buffer.
2445 * Makefile.am (DISTCLEANFILES): Add stringify.sed.
2446 Move 2000-11-02 Makefile.in changes to this file.
2447 * Makefile.in: Regenerate.
2449 2000-11-03 Nick Clifton <nickc@redhat.com>
2451 * scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose
2452 constructors and destructors.
2453 * scripttempl/h8300h.sc: Ditto.
2454 * scripttempl/h8300s.sc: Ditto.
2455 * scripttempl/h8500.sc: Ditto.
2456 * scripttempl/h8500b.sc: Ditto.
2457 * scripttempl/h8500c.sc: Ditto.
2458 * scripttempl/h8500m.sc: Ditto.
2459 * scripttempl/h8500s.sc: Ditto.
2460 * scripttempl/v850.sc: Ditto.
2461 * scripttempl/w65.sc: Ditto.
2462 * scripttempl/z8000.sc: Ditto.
2464 2000-11-02 Per Lundberg <plundis@chaosdev.org>
2466 * Makefile.in (e_i386_chaos.c): New rule.
2467 (ALL_EMULATIONS): Added e_i386_chaos.o.
2468 * emulparams/elf_i386_chaos.sh: New file.
2469 * configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos.
2471 2000-10-20 Jakub Jelinek <jakub@redhat.com>
2473 * emulparams/elf64_sparc.sh (TEXT_START_ADDR,
2474 NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets.
2475 Fix sed invocation, so that it coped with '/' in Solaris 64bit
2476 library path suffix.
2477 Based on patch by Andrew Macleod <amacleod@cygnus.com>.
2479 2000-10-18 Hans-Peter Nilsson <hp@axis.com>
2481 * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),
2482 for consecutive sections.
2484 2000-10-17 Chandrakala Chavva <cchavva@redhat.com>
2486 * lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific
2488 * ld.texinfo: Added notes about this new option.
2490 2000-10-16 Nick Clifton <nickc@redhat.com>
2492 * emultempl/pe.em (_after_open): Add tests of return values from
2493 bfd functions. Emit appropriate error messages if necessary.
2495 2000-10-13 Nick Clifton <nickc@redhat.com>
2497 * emultempl/pe.em (_after_open): Delete 'is2' and 'nsyms'
2498 local variables - they are not used, but leave in the call to
2499 bfd_canonicalize_symtab.
2500 (_open_dynamic_archive): Add #ifdef DLL_SUPPORT around use of
2501 pe_dll_search_prefix.
2503 2000-10-12 Charles Wilson <cwilson@ece.gatech.edu>
2505 * emultempl/pe.em (pe_dll_search_prefix): New variable,
2506 (longopts): New --dll-search-prefix option.
2507 (gld_${EMULATION_NAME}_list_options): Document.
2508 (gld_${EMULATION_NAME}_parse_args): Handle.
2509 (gld_${EMULATION_NAME}_open_dynamic_archive): When linking
2510 dynamically, search for a dll named '<prefix><basename>.dll'
2511 in preference to 'lib<basename>.dll' if --dll-search-prefix
2514 2000-10-12 Alan Modra <alan@linuxcare.com.au>
2516 * ldlang.c (section_already_linked): Set kept_section instead of
2519 2000-10-10 Kazu Hirata <kazu@hxi.com>
2521 * deffile.h: Fix formatting.
2522 * lexsup.c: Likewise.
2525 2000-10-09 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
2527 * pe-dll.c (make_one): Do not generate code thunk for DATA
2529 (process_def_file): deduce DATA flag for auto-export sumbols.
2531 2000-10-09 Kazu Hirata <kazu@hxi.com>
2533 * ld.h: Fix formatting.
2534 * ldcref.c: Likewise.
2535 * ldctor.h: Likewise.
2536 * ldemul.c: Likewise.
2537 * ldemul.h: Likewise.
2538 * ldexp.c: Likewise.
2539 * ldexp.h: Likewise.
2540 * ldfile.c: Likewise.
2541 * ldfile.h: Likewise.
2542 * ldlang.c: Likewise.
2543 * ldlang.h: Likewise.
2544 * ldmain.c: Likewise.
2545 * pe-dll.c: Likewise.
2547 * pe-dll.c: Revert some formatting fixes.
2549 2000-10-08 Kazu Hirata <kazu@hxi.com>
2551 * pe-dll.c: Fix formatting.
2553 2000-10-05 Kazu Hirata <kazu@hxi.com>
2555 * ldlang.c: Fix formatting.
2557 2000-10-03 DJ Delorie <dj@redhat.com>
2559 * pe-dll.c (fill_edata): initialize entire block
2560 (make_one): fill in correct section.
2562 2000-10-03 Kazu Hirata <kazu@hxi.com>
2564 * ldexp.c: Fix formatting.
2566 2000-10-02 DJ Delorie <dj@redhat.com>
2568 * emultempl/pe.em (gld_*_after_open): detect case where there two
2569 import libraries for same dll; rename one to ensure proper link
2572 * pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix
2574 (generate_edata): fix typo
2576 2000-09-29 Hans-Peter Nilsson <hp@axis.com>
2578 * scripttempl/crisaout.sc (ENTRY): Now __start.
2579 (.text): Add default setting for __start.
2580 Remove CONSTRUCTORS handling.
2581 (/DISCARD/): Add .gnu.warning.*.
2582 * emulparams/crislinux.sh (ENTRY): Now __start.
2583 (TEXT_START_SYMBOLS): New; provide __Stext and __start default.
2584 * emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris.
2585 (ENTRY): Now __start.
2586 (INITIAL_READONLY_SECTIONS): Add KEEP for .startup.
2587 (EXECUTABLE_SYMBOLS): Add default setting for __start.
2589 2000-09-29 Kazu Hirata <kazu@hxi.com>
2591 * deffile.h: Fix formatting.
2593 * ldcref.c: Likewise.
2594 * ldctor.c: Likewise.
2595 * ldctor.h: Likewise.
2596 * ldemul.c: Likewise.
2597 * ldemul.h: Likewise.
2598 * ldexp.c: Likewise.
2599 * ldexp.h: Likewise.
2600 * ldfile.c: Likewise.
2601 * ldfile.h: Likewise.
2602 * ldlang.c: Likewise.
2603 * ldlang.h: Likewise.
2604 * lexsup.c: Likewise.
2606 * pe-dll.c: Likewise.
2608 2000-09-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
2610 * pe-dll.c (process_def_file): Uninitialized data wasn't
2611 exported with --export-all-symbols switch.
2613 2000-09-28 DJ Delorie <dj@redhat.com>
2615 * pe-dll.c (fill_edata): rearrange the data so that ordinals and
2616 noname work properly.
2618 2000-09-28 Alan Modra <alan@linuxcare.com.au>
2620 * ld.texinfo (HPPA ELF32): New section.
2622 * emultempl/hppaelf.em (group_size): New.
2623 (hppaelf_finish): Pass group_size to elf32_hppa_size_stubs.
2624 (PARSE_AND_LIST_PROLOGUE): Add OPTION_STUBGROUP_SIZE.
2625 (PARSE_AND_LIST_LONGOPTS): Add --stub-group-size. Duplicate
2626 options to prevent abbreviations matching.
2627 (PARSE_AND_LIST_OPTIONS): Describe the above. Reformat.
2628 (PARSE_AND_LIST_ARGS_CASES): Handle it.
2630 2000-09-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2632 * emultempl/m68kelf.em: Conditionalise the embedded relocs feature
2633 on the m68*-*-elf target. Make it support COFF input objects.
2635 2000-09-21 Kazu Hirata <kazu@hxi.com>
2637 * ldmain.c: Fix formatting.
2638 * ldmisc.c: Likewise.
2639 * ldver.c: Likewise.
2640 * ldwrite.c: Likewise.
2642 2000-09-21 Alan Modra <alan@linuxcare.com.au>
2644 * ldwrite.c (clone_section): Silence gcc warnings.
2646 2000-09-20 Alan Modra <alan@linuxcare.com.au>
2648 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Handle
2649 out of memory failure.
2651 * ldwrite.c (ldwrite): Remove unnecessary einfo arg.
2652 (clone_section): Handle out of memory failures. Rename var to
2653 avoid c++ reserved word.
2655 2000-09-18 Alan Modra <alan@linuxcare.com.au>
2657 * emultempl/hppaelf.em (hppaelf_add_stub_section): Rename
2658 stub_name param to stub_sec_name.
2659 (hppaelf_finish): Modify call to elf32_hppa_size_stubs.
2661 2000-09-10 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2663 * emultempl/m68kelf.em: New file.
2664 * emulparams/m68kelf.sh (EXTRA_EM_FILE): Use it.
2665 * Makefile.am (em68kelf.c): Add dependency on m68kelf.em.
2666 * Makefile.in: Regenerate.
2668 2000-09-15 Alan Modra <alan@linuxcare.com.au>
2670 * emulparams/hppalinux.sh (DATA_START_SYMBOLS): Provide $global$
2673 2000-09-13 Nick Clifton <nickc@redhat.com>
2675 * ldmain.c (multiple_definition): Disable relaxation if
2676 multiple symbol definitions are encountered - otherwise the
2677 linker could abort with an assertion failure.
2679 2000-09-10 Nick Clifton <nickc@redhat.com>
2681 * mri.c: Fix formatting.
2683 2000-09-07 H.J. Lu <hjl@gnu.org>
2685 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
2686 * configure: Rebuild.
2688 2000-09-07 H.J. Lu <hjl@gnu.org>
2690 * Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h.
2691 * Makefile.in: Rebuild.
2693 2000-09-07 Alan Modra <alan@linuxcare.com.au>
2695 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Fix
2696 broken list handling. Create __start_SECNAME and __stop_SECNAME
2697 when no place-holder. Add some comments. Test both SEC_CODE and
2698 SEC_READONLY for hold_text to prevent .rodata orphan poisoning.
2699 Handle case where no output section statement created.
2701 2000-09-07 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
2703 * configure.tgt (sh-*-linux*): Added.
2704 * Makefile.am: Added eshelf_linux and eshlelf_linux.
2705 * Makefile.in: Rebuilt.
2706 * emulparams/shelf_linux.sh: New file.
2707 * emulparams/shlelf_linux.sh: New file.
2709 2000-09-06 Alan Modra <alan@linuxcare.com.au>
2711 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
2712 try shuffling sections when the orphan happens to be the place
2713 holder. Keep count of unique section names generated so we speed
2714 the search for a new name.
2716 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
2718 * configure: Rebuilt with new libtool.m4.
2720 2000-09-05 Nick Clifton <nickc@redhat.com>
2722 * Makefile.in: Regenerate.
2723 * aclocal.m4: Regenerate.
2724 * configure: Regenerate.
2725 * config.in: Regenerate.
2726 * po/ld.pot: Regenerate.
2728 * ldint.texinfo: Remove CVS revision marker - it foils local
2731 * emultempl/ticoff.em: Remove extraneous comma.
2733 2000-09-05 Alan Modra <alan@linuxcare.com.au>
2735 * emultempl/hppaelf.em (hppaelf_add_stub_section): Add SEC_RELOC
2736 to stub section flags.
2737 (hppa_for_each_input_file_wrapper): New.
2738 (hppa_lang_for_each_input_file): New.
2739 (lang_for_each_input_file): Define to call above.
2740 (multi_subspace): New.
2741 (hppaelf_finish): Pass multi_subspace to elf32_hppa_size_stubs.
2742 (PARSE_AND_LIST_PROLOGUE): Define.
2743 (PARSE_AND_LIST_LONGOPTS): Define.
2744 (PARSE_AND_LIST_OPTIONS): Define.
2745 (PARSE_AND_LIST_ARGS_CASES): Define.
2746 (hppaelf_finish): Call elf32_hppa_set_gp.
2747 (hppaelf_set_output_arch): Remove.
2748 (LDEMUL_SET_OUTPUT_ARCH): Remove.
2750 * emulparams/hppalinux.sh (ELFSIZE): Define.
2752 (OTHER_READONLY_SECTIONS): Define.
2754 (GENERATE_SHLIB_SCRIPT): Define.
2756 * ldlang.c: Add missing prototypes, and tidy others. Change CONST
2757 to const throughout. Change `void *' to `PTR' throughout.
2758 (lang_memory_default): Function is local to file, add `static'.
2760 * Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em.
2761 (ehppalinux.c): Likewise.
2762 (earmelf.c): Likewise.
2763 (earmelf_linux.c): Likewise.
2764 (earmelf_linux26.c): Likewise.
2765 * Makefile.in: Regenerate.
2767 * ld.h (ld_config_type): Add unique_orphan_sections.
2768 * lexsup.c (OPTION_UNIQUE): Define.
2769 (ld_options): Add "--unique".
2770 (parse_args): Handle it.
2771 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
2772 search for an existing output section if unique_orphan_sections is
2773 set. Make use of bfd_get_unique_section_name rather than
2774 duplicating code here.
2775 * ld.texinfo: Describe --unique.
2777 * lexsup.c (ld_options): Make split-by-reloc arg optional. Add
2778 optional arg to split-by-file.
2779 (parse_args): Handle them.
2780 * ld.texinfo: Update description of these options.
2781 * ldwrite.c (clone_section): Pass in the section name. Replace
2782 local code with bfd_get_unique_section_name.
2783 (split_sections): Tidy code and comments. Use a list traversal
2784 more appropriate to the list construction. Handle cooked section
2785 sizes. Split when split_by_reloc reached rather than exceeded.
2786 Track section size and split when split_by_file reached. Fix
2787 link_order_tail (even though it's not used).
2788 (ldwrite): Modify condition for calling split_sections to suit
2789 changed split_by_reloc and split_by_file.
2790 * ldmain.c (main): Init config.split_by_reloc and
2791 config.split_by_file to -1.
2792 * ld.h (ld_config_type): Change split_by_reloc to unsigned.
2793 Change split_by_file to bfd_size_type.
2795 2000-09-02 Nick Clifton <nickc@redhat.com>
2797 * configure.in: Increase version number to 2.10.91.
2798 * NEWS: Mention new ability to support removal of duplicate DWARF2
2800 * configure: Regenerate.
2801 * aclocal.m4: Regenerate.
2802 * config.in: Regenerate.
2804 2000-09-02 Daniel Berlin <dberlin@redhat.com>
2806 * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info
2808 * scripttempl/elf32avr.sc: Ditto.
2809 * scripttempl/elfd10v.sc: Ditto.
2810 * scripttempl/elfd30v.sc: Ditto.
2811 * scripttempl/elfi370.sc: Ditto.
2812 * scripttempl/elfm68hc11.sc: Ditto.
2813 * scripttempl/elfm68hc12.sc: Ditto.
2814 * scripttempl/elfi386beos.sc: Ditto.
2815 * scripttempl/v850.sc: Ditto.
2817 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
2819 * acinclude.m4: Include libtool and gettext macros from the
2821 * aclocal.m4, configure: Rebuilt.
2823 2000-08-25 Nick Clifton <nickc@redhat.com>
2825 * ldlang.c (open_output): When choosing the target for a
2826 particular endianness, do nothing if the target is not
2829 2000-08-25 H.J. Lu <hjl@gnu.org>
2831 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
2832 check -rpath nor LD_RUN_PATH for cross link.
2833 * ld.texinfo: Document the change.
2835 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
2837 * NEWS: Mention support for CRIS.
2839 2000-08-23 H.J. Lu <hjl@gnu.org>
2841 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get
2842 the current runpath list from bfd_elf_get_runpath_list ()
2845 2000-08-22 H.J. Lu <hjl@gnu.org>
2847 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search
2848 the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after
2849 LD_LIBRARY_PATH for native linker. Display the needed DSO if
2850 trace_file_tries is non-zero.
2851 (gld${EMULATION_NAME}_try_needed): Report the needed DSO found
2852 if trace_file_tries is non-zero.
2854 * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH.
2857 2000-08-14 Jason Eckhardt <jle@cygnus.com>
2859 * NEWS: Mention i860 support.
2861 2000-08-14 Andreas Schwab <schwab@suse.de>
2863 * scripttempl/elf.sc: Fix last change to use correct comment
2866 2000-08-10 Geoff Keating <geoffk@cygnus.com>
2868 * scripttempl/elf.sc: Add a comment giving the correspondence
2869 between sections, per-datum sections, and linkonce sections. Make
2870 the comment true even for .bss, .sdata, .sdata2, .sbss, and
2873 2000-08-10 Jason Eckhardt <jle@cygnus.com>
2875 * emulparams/elf32_i860.sh: New file.
2876 * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}.
2877 * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o.
2878 (eelf32_i860.c): New rule.
2879 * Makefile.in: Regenerate.
2881 2000-08-10 Nick Clifton <nickc@cygnus.com>
2883 * emulparams/mipspe.sh (ENTRY): Add definition.
2885 2000-08-08 Peter Jeremy <peter.jeremy@alcatel.com.au>
2887 * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath
2890 2000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2892 * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate
2893 the final size of .bss section.
2894 * scripttempl/elfm68hc12.sc: Likewise.
2896 2000-08-04 Alan Modra <alan@linuxcare.com.au>
2898 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to
2899 gld${EMULATION_NAME}_parse_args for consistency. Combine
2900 lastoptind and prevoptind vars, and keep track of last optind.
2901 (gld_${EMULATION_NAME}_list_options): Rename to
2902 gld${EMULATION_NAME}_list_options.
2904 2000-08-03 Rodney Brown <RodneyBrown@pmsc.com>
2906 * configure.tgt: Select targ_emul=elf_i386 for Unixware 7
2907 (i586-sco-sysv5uw7.1.0).
2909 2000-07-27 H.J. Lu <hjl@gnu.org>
2911 * emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed.
2912 (PARSE_AND_LIST_PROLOGUE): New.
2913 (PARSE_AND_LIST_LONGOPTS): Likewise.
2914 (PARSE_AND_LIST_OPTIONS): Likewise.
2915 (PARSE_AND_LIST_ARGS_CASES): Likewise.
2916 (PARSE_AND_LIST_EPILOGUE): Likewise.
2918 2000-07-28 Alan Modra <alan@linuxcare.com.au>
2920 * emultempl/armelf.em: Elide functions common to elf32.em,
2921 ie. most of the file.
2922 (arm_elf_after_open): New. Do arm specific things then call
2923 gld${EMULATION_NAME}_after_open.
2924 (arm_elf_before_allocation): New. Call
2925 gld${EMULATION_NAME}_before_allocation then do arm specifics.
2926 (PARSE_AND_LIST_PROLOGUE): Define.
2927 (PARSE_AND_LIST_SHORTOPTS): Define.
2928 (PARSE_AND_LIST_LONGOPTS): Define.
2929 (PARSE_AND_LIST_OPTIONS): Define.
2930 (PARSE_AND_LIST_ARGS_CASES): Define.
2931 (LDEMUL_AFTER_OPEN): Define.
2932 (LDEMUL_BEFORE_ALLOCATION): Define.
2933 (LDEMUL_BEFORE_PARSE): Define.
2934 (LDEMUL_FINISH): Define.
2936 * emultempl/hppaelf.em: Similarly zap most of this file.
2937 (hppaelf_add_stub_section): Prototype.
2938 (hppaelf_layaout_sections_again): Prototype.
2939 (hook_in_stub): Prototype.
2940 (LDEMUL_SET_OUTPUT_ARCH): Define.
2941 (LDEMUL_FINISH): Define.
2942 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
2944 * emulparams/armelf.sh (TEMPLATE_NAME): Use elf32.
2945 (EXTRA_EM_FILE): New.
2946 * emulparams/armelf_linux.sh: Likewise.
2947 * emulparams/armelf_linux26.sh: Likewise.
2948 * emulparams/hppalinux.sh: Likewise.
2949 * emulparams/hppaelf.sh: Likewise.
2952 * emultempl/elf32.em: Fix formatting.
2953 (EXTRA_EM_FILE): Source it.
2954 (LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
2955 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
2956 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
2957 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
2958 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
2959 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
2960 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
2961 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
2962 LDEMUL_FIND_POTENTIAL_LIBRARIES): New shell vars. Add code to
2963 allow functions in this file to be overridden.
2964 (PARSE_AND_LIST_SHORTOPTS): Handle it.
2966 * emultempl/m68kcoff.em: Include ldfile.h before ldemul.h.
2968 * emultempl/elf32.em: Reorganize file.
2970 2000-07-27 Ivan Kokshaysky <ink@jurassic.park.msu.ru>
2972 * emulparams/elf64alpha.sh: Implement "-taso" emulation
2973 specific option to fit 64-bit executable in the lower
2974 31-bit address range. This is done by changing start
2975 address of .interp (the very first section of executable)
2976 and then setting EF_ALPHA_32BIT elf header flag.
2978 2000-07-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2980 * emultempl/m68kcoff.em: New file.
2981 * emulparams/m68kcoff.sh (TEMPLATE_NAME): Use m68kcoff template.
2982 * Makefile.am (em68kcoff.c): Depend on m68kcoff.em rather than
2984 * Makefile.in: Regenerate.
2986 2000-07-20 H.J. Lu <hjl@gnu.org>
2988 * emultempl/elf32.em (longopts): Duplicate "disable-new-dtags"
2989 and "disable-new-dtags" to stop getopt from treating -d/-e as
2990 abbreviations for these options.
2992 2000-07-20 H.J. Lu <hjl@gnu.org>
2994 * ld.texinfo: Add documentation for --disable-new-dtags and
2997 * ldmain.c (main): Initialize link_info.new_dtags to false.
2999 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add
3000 --disable-new-dtags and --enable-new-dtags.
3001 (gld_${EMULATION_NAME}_list_options): Likewise.
3003 2000-07-05 Kenneth Block <krblock@computer.org>
3005 * lexsup.c: Add optional style to demangle switch
3006 * ld.texinfo: Document optional style to demangle switch.
3008 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
3010 * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o,
3012 (ecrisaout.c, ecriself.c, ecrislinux.c): New rules.
3013 Regenerate dependencies.
3014 * Makefile.in: Rebuild.
3015 * configure.tgt (cris-*-*): New target.
3016 * emulparams/crisaout.sh, emulparams/criself.sh,
3017 emulparams/crislinux.sh, scripttempl/crisaout.sc: New files.
3018 * po/POTFILES.in, po/ld.pot: Regenerate.
3020 2000-07-20 H.J. Lu <hjl@gnu.org>
3022 * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options):
3023 Print out ignored -z options.
3025 2000-07-19 H.J. Lu <hjl@gnu.org>
3027 * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed.
3028 (PARSE_AND_LIST_PROLOGUE): New.
3029 (PARSE_AND_LIST_LONGOPTS): Likewise.
3030 (PARSE_AND_LIST_OPTIONS): Likewise.
3031 (PARSE_AND_LIST_ARGS_CASES): Likewise.
3033 * ldmain.c (main): Clear link_info.flags and link_info.flags_1.
3035 * lexsup.c (ld_options): Comment out 'z'.
3036 (parse_args): Likewise.
3038 * emultempl/elf32.em: Include "elf/common.h".
3039 (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z
3041 (gld_${EMULATION_NAME}_list_options): Likewise.
3043 * ld.texinfo: Add documentation for the recognized -z options.
3045 2000-07-19 H.J. Lu <hjl@gnu.org>
3047 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call
3048 bfd_elf_set_dt_needed_soname ().
3050 2000-07-18 DJ Delorie <dj@cygnus.com>
3052 * pe-dll.c (pe_dll_id_target): check object target name also
3054 2000-07-18 Hans-Peter Nilsson <hp@axis.com>
3056 * scripttempl/elf.sc (.init): Only do ${INIT_START} and
3057 ${INIT_END} if relocating.
3058 (.fini): Likewise ${FINI_START} and ${FINI_END}.
3060 2000-07-16 Charles Wilson <cwilson@ece.gatech.edu>
3062 * emultempl/pe.em (gld_*_open_dynamic_archive): New search
3063 order for dynamic library '-lfoo' on pei386: libfoo.dll.a,
3064 foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility
3065 errors introduced by the old dynamic lib search order.
3067 2000-07-17 DJ Delorie <dj@cygnus.com>
3069 * pe-dll.c (process_def_file): auto-export data items also
3070 (pe_process_import_defs): also see if _imp_ form needed
3072 2000-07-12 Charles Wilson <cwilson@ece.gatech.edu>
3074 * pe-dll.c (make_one): fix a typo in the __imp_ name decoration
3075 for dll import libraries
3077 2000-07-12 Mark Elbrecht <snowball3@bigfoot.com>
3079 * scripttempl/i386go32.sc: Support the g++ attribute init_priority in
3080 gcc 2.95.2 and later.
3082 2000-07-11 Kazu Hirata <kazu@hxi.com>
3084 * ldfile.c (ldfile_try_open_bfd): Output '\n' after an error
3087 2000-07-10 Alan Modra <alan@linuxcare.com.au>
3089 * ldemul.h (struct lang_input_statement_struct): Remove forward
3091 (struct search_dirs): Likewise.
3092 * ldfile.h (struct lang_input_statement_struct): Likewise.
3093 Protect file from multiple inclusion.
3094 * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Move file_chain
3095 declaration from macro to file scope.
3097 * ldemul.c: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this order.
3098 * ldgram.y: Likewise here.
3099 * ldlang.c: And here.
3100 * ldmain.c: And here.
3101 * mpw-elfmips.c: And here.
3102 * mpw-eppcmac.c: And here.
3103 * emultempl/aix.em: And here.
3104 * emultempl/armcoff.em: And here.
3105 * emultempl/armelf.em: And here.
3106 * emultempl/armelf_oabi.em: And here.
3107 * emultempl/beos.em: And here.
3108 * emultempl/elf32.em: And here.
3109 * emultempl/hppaelf.em: And here.
3110 * emultempl/linux.em: And here.
3111 * emultempl/lnk960.em: And here.
3112 * emultempl/pe.em: And here.
3113 * emultempl/sunos.em: And here.
3114 * mpw-esh.c: And here. Include ldexp.h and ldlang.h too.
3115 * mpw-idtmips.c: Ditto.
3116 * emultempl/generic.em: Ditto.
3117 * emultempl/gld960.em: Ditto.
3118 * emultempl/gld960c.em: Ditto.
3119 * emultempl/mipsecoff.em: Ditto.
3120 * emultempl/ticoff.em: Ditto.
3121 * emultempl/vanilla.em: Ditto.
3123 * pe-dll.c: Include ldfile.h
3124 * ldver.c: Include ldexp.h, ldlang.h, ldfile.h
3126 * mpw-elfmips.c: (gldelf32ebmip_before_allocation): Add missing
3127 arguments to bfd_elf32_size_dynamic_sections call.
3128 (gldelf32ebmip_place_orphan): Add missing arguments to
3129 lang_leave_output_section_statement call.
3131 2000-07-10 H.J. Lu <hjl@gnu.org>
3133 * emultempl/pe.em (pe_enable_stdcall_fixup): Protect with
3135 (strhash): Likewise.
3136 (compute_dll_image_base): Likewise.
3137 (pe_undef_found_sym): Likewise.
3138 (pe_undef_cdecl_match): Likewise.
3139 (gld_${EMULATION_NAME}_open_dynamic_archive): Mark the
3140 argument "arch" with ATTRIBUTE_UNUSED.
3142 2000-07-10 Alan Modra <alan@linuxcare.com.au>
3144 * configure.tgt: Remove extraneous hppa*-*-linux-gnu*.
3146 From Ryan Bradetich <rbradetich@uswest.net>
3147 * ldwrite.c (SSIZE): Remove to cure macro redefinition warning.
3149 2000-07-09 Alan Modra <alan@linuxcare.com.au>
3151 Changes to create multiple linker stubs, positioned immediately
3152 before the section where they are required.
3153 * emultempl/hppaelf.em: Include elf32-hppa.h.
3154 (stub_sec, file_chain): Delete.
3155 (hppaelf_create_output_section_statements): Don't make a stub
3157 (hook_stub_info): New struct.
3158 (hook_in_stub): New function.
3159 (hppaelf_add_stub_section): New function.
3160 (hppaelf_finish): Do nothing for relocateable links. Modify the
3161 call to elf32_hppa_size_stubs. Move code for updating section
3163 (hppaelf_layaout_sections_again): ..to here, a new function.
3165 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Fix
3166 broken list handling. Pass in a pointer to the list.
3167 (hppaelf_finish): Update call to hppaelf_delete_padding_statements
3169 (hppaelf_before_parse): Prototype.
3170 (hppaelf_set_output_arch): Prototype.
3171 (hppaelf_create_output_section_statements): Prototype.
3172 (hppaelf_delete_padding_statements): Prototype.
3173 (hppaelf_finish): Prototype.
3176 * emultempl/hppaelf.em: Include ctype.h.
3177 (struct orphan_save): New.
3178 (gld${EMULATION_NAME}_place_orphan): New.
3179 (output_rel_find): New.
3180 (hppaelf_get_script): Update from elf32.em.
3181 (ld_hppaelf_emulation): Rename to ld_${EMULATION_NAME}_emulation.
3182 Change emulation_name field to "${EMULATION_NAME}". Add
3183 gld${EMULATION_NAME}_place_orphan.
3185 * Makefile.am (ALL_EMULATIONS): Reinstate ehppaelf.o, add
3186 ehppalinux.o, sort it. Regenerate dependencies.
3187 (ehppalinux.c): Depend on hppaelf.em
3188 * Makefile.in: Regenerate.
3190 * configure.tgt: targ_emul=hppalinux for hppa*linux
3192 * emulparams/hppalinux.sh: New.
3193 * emulparams/hppaelf.sh (TARGET_PAGE_SIZE): Write in hex.
3195 2000-07-08 Alan Modra <alan@linuxcare.com.au>
3197 * lexsup.c (parse_args): Copy section name.
3199 2000-07-07 Charles Wilson <cwilson@ece.gatech.edu>
3201 * emultempl/pe.em: institute the following search order for
3202 dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import
3203 libs), libfoo.dll, foo.dll (link direct to dll). Fall back to
3204 static lib (libfoo.a) if none of the above are found.
3206 2000-07-07 Mumit Khan <khan@xraylith.wisc.edu>
3208 * emultempl/pe.em (pe_enable_auto_image_base): New variable.
3209 (longopts): New --{enable,disable}-auto-image-base options.
3210 (gld_${EMULATION_NAME}_list_options): Document.
3211 (gld_${EMULATION_NAME}_parse): Handle.
3212 (strhash): New static function.
3213 (compute_dll_image_base): New static function.
3214 (gld_${EMULATION_NAME}_set_symbols): Use.
3216 2000-07-05 DJ Delorie <dj@redhat.com>
3220 2000-07-01 Koundinya K <kk@ddeorg.soft.net>
3222 * configure.tgt: Add traditional mips (mips*-*-sysv4*) target.
3223 * emulparams/elf32btsmip.sh: New file.
3224 * Makefile.am: Add traditional mips target.
3225 * Makefile.in: Rebuild.
3227 2000-07-01 H.J. Lu <hjl@gnu.org>
3229 * Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for
3230 automake to use YLWRAP.
3231 * Makefile.in: Rebuild.
3233 2000-07-01 Alan Modra <alan@linuxcare.com.au>
3235 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
3236 (CLEANFILES): Add DEPA.
3237 * Makefile.in: Regenerate.
3239 2000-06-30 Timothy Wall <twall@ppc>
3241 * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode
3242 the page in the upper octet of the address.
3244 2000-06-26 Marek Michalkiewicz <marekm@linux.org.pl>
3246 * emulparams/avrmega161.sh (ARCH): Change to avr:5.
3248 2000-06-24 Alan Modra <alan@linuxcare.com.au>
3250 * NEWS: arm-elf does --gc-sections too.
3252 2000-06-22 Alan Modra <alan@linuxcare.com.au>
3254 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
3256 * Makefile.in: Regenerate.
3258 2000-06-21 H.J. Lu <hjl@gnu.org>
3260 * Makefile.am: Rebuild dependency.
3261 * Makefile.in: Rebuild.
3263 2000-06-20 H.J. Lu <hjl@gnu.org>
3265 * Makefile.am: Rebuild dependency.
3266 * Makefile.in: Rebuild.
3268 2000-06-20 Timothy Wall <twall@cygnus.com>
3270 * scripttempl/tic54xcoff.sc: New.
3271 * ldlang.c (wild_doit): Propagate SEC_BLOCK flag.
3272 * gen-doc.texi: Add flag for TI COFF.
3273 * ld.texinfo: Add documentation for TI COFF handling switches.
3274 * emultempl/ticoff.em: New. TI COFF handling.
3275 * configure.tgt: Add tic54x target.
3276 * Makefile.am: Add tic54x target.
3277 * Makefile.in: Ditto.
3279 2000-06-20 Alan Modra <alan@linuxcare.com.au>
3281 * ldmain.c (set_scripts_dir): Correct pointer comparison when
3282 checking for backslashes.
3284 2000-06-19 Alan Modra <alan@linuxcare.com.au>
3286 * NEWS: Move entries not in 2.10 above "Changes in version 2.10".
3288 2000-06-18 Alan Modra <alan@linuxcare.com.au>
3290 * NEWS: Update list of targets supporting --gc-sections.
3292 * scripttempl/elf.sc: KEEP .eh_frame contents.
3293 * scripttempl/elfd30v.sc: Same here.
3295 2000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
3297 * Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12
3299 * Makefile.in: Rebuild.
3300 * configure.tgt: Recognize m68hc12 and m68hc11.
3301 * scripttempl/elfm68hc12.sc: New file.
3302 * emulparams/m68hc12elfb: New emulation.
3303 * emulparams/m68hc12elf: New emulation.
3304 * emulparams/m68hc11elfb.sh: New file. User configurable emulation
3305 (includes a memory.x script to define the ROM and RAM banks).
3306 * scripttempl/elfm68hc11.sc, emulparams/m68hc11elf.sh:
3307 New configuration files for support of Motorola 68hc11
3309 2000-06-15 Alan Modra <alan@linuxcare.com.au>
3311 * ldmain.c (main): Only change SEC_READONLY for final link.
3313 2000-06-13 H.J. Lu <hjl@gnu.org>
3315 * configure: Regenerate.
3317 2000-06-08 David O'Brien <obrien@FreeBSD.org>
3319 * configure.in (VERSION): Update to show this is the CVS mainline.
3321 2000-06-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3323 * emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all
3324 input objects to be ECOFF.
3325 (check_sections): einfo takes %B, not %P, to print a BFD name.
3327 2000-06-05 Michael Matz <matz@ifh.de>
3329 * ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in
3332 * ldlex.l (V_IDENTIFIER): Accept `::' in symbols.
3334 2000-05-23 Marek Michalkiewicz <marekm@linux.org.pl>
3336 * emulparams/avr1200.sh (STACK): Define as 0.
3337 * emulparams/avr23xx.sh (STACK): Define as last internal SRAM address.
3338 * emulparams/avr4433.sh (STACK): Likewise.
3339 * emulparams/avr44x4.sh (STACK): Likewise.
3340 * emulparams/avr85xx.sh (STACK): Likewise.
3341 * emulparams/avrmega103.sh (STACK): Likewise.
3342 * emulparams/avrmega161.sh (STACK): Likewise.
3343 * emulparams/avrmega603.sh (STACK): Likewise.
3344 * scripttempl/elf32avr.sc (__data_start): Define for gcrt1.
3345 (__stack): Define from ${STACK} for main().
3347 2000-05-26 Alan Modra <alan@linuxcare.com.au>
3349 * Makefile.am: Update dependencies with "make dep-am"
3350 * Makefile.in: Regenerate.
3352 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
3354 * ldmain.c: Include filenames.h.
3355 (set_scripts_dir): Support backslashes in program name.
3357 2000-05-22 Igor Shevlyakov <igor@windriver.com>
3359 * ldmain.c (main): When deciding if ".text" section should be
3360 read-only, don't forget to reset SEC_READONLY because it
3361 could be already set.
3363 2000-05-22 Thomas de Lellis <tdel@windriver.com>
3365 * ld.1: Add documentation for new command line option:
3366 --section-start <sectionname>=<sectionorg>
3367 This is a generic version of -Ttext etc. which accepts
3368 any section name as a parameter instead of just text/data/
3370 * ld.texinfo: More docs.
3372 * lexsup.c: (parse_args): Recognize new command line option.
3373 (ld_options): Add new option.
3375 2000-05-18 H.J. Lu <hjl@gnu.org>
3377 * lexsup.c (parse_args): `i' == `r', not `q'.
3379 2000-05-18 Jeffrey A Law (law@cygnus.com)
3381 * configure.tgt (hppa*64*-*-*): Enable PA64 target.
3383 2000-05-17 S. Bharadwaj Yadavalli <sby@scrugs.lkg.dec.com>
3384 Rick Gorton <gorton@scrugs.lkg.dec.com>
3386 Add support for '-q' == '--emit-relocs' switch.
3387 * ldmain.c (main): Default to false.
3388 * lexsup.c (parse_args): Turn on emitrelocations flag if set.
3389 * NEWS: Describe the emitrelocations switch.
3390 * ld.texinfo: Describe the emitrelocations switch.
3392 2000-05-16 Charles Wilson <cwilson@ece.gatech.edu>
3394 * emultempl/pe.em (_open_dynamic_archive): New function: Search
3395 the library path for "foo.dll" and "libfoo.dll" dynamic libraries
3396 before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo'
3399 2000-05-15 David O'Brien <obrien@FreeBSD.org>
3401 * lexsup.c (parse_args): Update the year in the copyright notice.
3403 2000-05-13 Alan Modra <alan@linuxcare.com.au>
3405 * ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain):
3406 Replace defines with those from intl/libgettext.h to quieten gcc
3409 2000-05-10 H.J. Lu <hjl@gnu.org>
3411 * ldlang.c (open_input_bfds): Don't load the same file within
3412 a group again if the whole archive has been loaded already.
3414 2000-05-03 Alan Modra <alan@linuxcare.com.au>
3416 From Ulf Carlsson <ulfc@engr.sgi.com> and Andreas Jaeger <aj@suse.de>
3417 * lexsup.c (set_section_start): Use bfd_scan_vma rather than
3420 2000-05-01 Jim Wilson <wilson@cygnus.com>
3422 * configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}.
3424 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
3425 host "ia64-*-linux-gnu*".
3427 2000-04-29 Andreas Jaeger <aj@suse.de>
3429 * ld.h: Correctly check GCC version.
3431 2000-04-25 Jeffrey A Law (law@cygnus.com)
3433 * Makefile.am: Add PA64 support. Add missing dependencies for
3435 * Makefile.in: Rebuilt.
3436 * configure.tgt: Add PA64 support (currently disabled).
3438 2000-04-25 Alan Modra <alan@linuxcare.com.au>
3440 * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete.
3441 (output_rel_find): New function.
3442 (hold_section, hold_use): Delete.
3443 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
3444 hold_interp): Make local to place_orphan.
3445 (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find
3446 rather than place_section to find possible previous use of orphan.
3447 Similarly find the place-holder output sections. Use returned
3448 value from lang_enter_output_section_statement rather than calling
3449 lang_output_section_statement_lookup.
3450 * emultempl/armelf.em: Same here.
3451 * emultempl/pe.em: Similar to above, but no need for output_rel_find.
3453 * ldlang.c (lang_enter_output_section_statement): Return output
3455 * ldlang.h (lang_enter_output_section_statement): Change
3458 * ldlang.h (lang_output_section_statement): Export it.
3459 * ldlang.c (lang_output_section_statement): Ditto.
3461 2000-04-24 Nick Clifton <nickc@cygnus.com>
3463 * ld.texinfo (Output Section Data): Add note that section data
3464 commands cannot appear outside of section directives.
3466 2000-04-2 Matthew Green <mrg@cygnus.com>
3468 * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support.
3470 2000-04-21 Richard Henderson <rth@cygnus.com>
3471 David Mosberger <davidm@hpl.hp.com>
3473 * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o.
3474 (eelf64_ia64.c): New rule.
3475 * Makefile.in: Rebuild.
3476 * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets.
3477 * emulparams/elf64_ia64.sh: New file.
3479 2000-04-21 Richard Henderson <rth@cygnus.com>
3481 * scripttempl/elfd30v.sc: Place .gcc_except_table.
3483 2000-04-19 Alan Modra <alan@linuxcare.com.au>
3485 * dep-in.sed: Match space at start of file name, not at end.
3487 2000-04-18 H.J. Lu <hjl@gnu.org>
3489 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
3490 lang_leave_output_section_statement () after calling
3491 lang_enter_output_section_statement ().
3492 * emultempl/armelf.em: Likewise.
3494 2000-04-18 Alan Modra <alan@linuxcare.com.au>
3496 * emultempl/elf32.em (struct orphan_save): Add section field.
3497 (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in
3498 better order, and place first orphan section as we did before the
3499 2000-04-12 patch. Ignore ~SEC_ALLOC sections when choosing place.
3500 Don't call make_bfd_section here, let wild_doit do the job for us.
3501 Don't build a statement list when we'll only throw it away.
3502 * emultempl/armelf.em: Ditto.
3503 * emultempl/pe.em: Similarly.
3505 2000-04-14 Geoff Keating <geoffk@cygnus.com>
3507 * scripttempl/elfppc.sc: Remove.
3508 * emulparams/elf32ppc.sh: Use elf.sc.
3509 * emulparams/elf32lppc.sh: Use elf.sc.
3510 * emulparams/elf32ppclinux.sh: Use elf.sc.
3511 * emulparams/elf32ppcsim.sh: New file.
3512 * emulparams/elf32lppcsim.sh: New file.
3513 * Makefile.am: Update dependencies. Add elf32ppcsim ad elf32lppcsim.
3514 (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim.
3515 * Makefile.in: Regenerate.
3516 * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim.
3518 2000-04-14 Alan Modra <alan@linuxcare.com.au>
3520 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process
3521 ~SEC_ALLOC sections too. Init start address of debug sections.
3522 * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto.
3523 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto.
3524 Also set all relocateable section start addresses.
3526 2000-04-13 Geoff Keating <geoffk@cygnus.com>
3528 * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections.
3529 Add new BSS_PLT variable for when .plt need not be contained in
3530 the file. Move _etext so that it is also after .fini, and provide
3531 both etext and _etext with a leading underscore. Mark the start
3534 2000-04-12 Alan Modra <alan@linuxcare.com.au>
3536 * emultempl/elf32.em (struct orphan_save): New.
3537 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
3538 hold_interp): Make them struct orphan_save.
3539 (gld${EMULATION_NAME}_place_section): Modify for new hold_*.
3540 (gld${EMULATION_NAME}_place_orphan): Add new orphan sections to
3541 the end of the relevant section list. Also add associated section
3542 statements to the end of any previous orphan statements.
3543 * emultempl/armelf.em: Similarly.
3544 * emultempl/pe.em: Similarly.
3546 2000-04-11 Alan Modra <alan@linuxcare.com.au>
3548 * ld.texinfo (Simple Example): Remove extraneous paragraph.
3550 2000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
3552 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
3553 --enable-build-warnings option.
3554 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
3555 * Makefile.in, configure: Re-generate.
3557 2000-04-04 Alan Modra <alan@linuxcare.com.au>
3559 * po/ld.pot: Regenerate.
3561 * lexsup.c (help): Restore translated part of bug string.
3563 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
3564 (DEP): Quote when passing vars to sub-make. Add warning message
3566 (DEP1): Rewrite for "gcc -MM".
3567 (CLEANFILES): Add DEP2.
3568 Update dependencies.
3569 * Makefile.in: Regenerate.
3571 2000-04-03 Alan Modra <alan@linuxcare.com.au>
3573 * ld.h: #include "bin-bugs.h"
3574 * lexsup.c (help): Use REPORT_BUGS_TO.
3576 2000-03-27 Denis Chertykov <denisc@overta.ru>
3578 * configure.tgt (avr-*-*): New target support.
3579 * Makefile.am: Likewise.
3580 * scripttempl/elf32avr.sc: New script file.
3581 * emulparams/avr1200.sh: New file.
3582 * emulparams/avr23xx.sh: New file.
3583 * emulparams/avr4433.sh New file.
3584 * emulparams/avr44x4.sh New file.
3585 * emulparams/avr85xx.sh New file.
3586 * emulparams/avrmega103.sh New file.
3587 * emulparams/avrmega161.sh New file.
3588 * emulparams/avrmega603.sh New file.
3589 * Makefile.in: Regenerate.
3591 2000-03-09 Andreas Jaeger <aj@suse.de>
3593 * Makefile.am (check-DEJAGNU): Also unset LANG.
3594 * Makefile.in: Rebuild.
3596 2000-03-06 Ian Lance Taylor <ian@zembu.com>
3598 * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty
3601 2000-03-02 H.J. Lu <hjl@gnu.org>
3603 * emulparams/elf32mcore.sh: Include "getopt.h".
3605 2000-03-01 Ian Lance Taylor <ian@zembu.com>
3607 * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware.
3609 2000-03-01 H.J. Lu <hjl@gnu.org>
3611 * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR.
3612 * emulparams/shpe.sh: Likewise.
3614 2000-03-01 Nick Clifton <nickc@cygnus.com>
3616 * pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED
3617 to unused parameters.
3619 * emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static
3620 functions only used by DLL code.
3621 (_place_orphan): Initialise 'dollar'.
3623 2000-03-01 H.J. Lu <hjl@gnu.org>
3625 * ldmain.c (undefined_symbol): Take one more arg, fatal, to
3626 indicate if the undefined symbol is a fatal error or not.
3627 Don't delete the output file if "fatal" is false.
3629 2000-02-29 H.J. Lu <hjl@gnu.org>
3631 * Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)".
3632 Set LC_COLLATE and LC_ALL to null and export them. It is for
3633 sort which expects the C locale.
3634 Add $(LIBS) to all $(HOSTING_LIBS).
3635 * Makefile.in: Rebuild.
3637 2000-02-29 Alan Modra <alan@spri.levels.unisa.edu.au>
3639 * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em,
3640 beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em,
3641 linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em}
3642 (ld_emulation_xfer_struct): Add missing NULL initialiser for
3643 find_potential_libraries.
3645 2000-02-28 Jim Blandy <jimb@redhat.com>
3647 * ldgram.y (exclude_name_list): Don't require a comma to separate
3648 list entries; the lexer considers commas to be valid part of a
3649 filename, so in something like `foo, bar' the comma is considered
3650 part of the first filename, `foo,'.
3651 * ld.texinfo: Update section on EXCLUDE_FILE lists.
3653 2000-02-27 Loren J. Rittle <ljrittle@acm.org>
3655 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
3656 host "i[3456]86-*-freebsdelf*".
3658 2000-02-27 Mark Elbrecht <snowball3@bigfoot.com>
3660 * scripttempl/i386go32.sc: Move misplaced semicolons.
3662 2000-02-25 Ian Lance Taylor <ian@zembu.com>
3664 * Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o.
3665 (ALL_64_EMULATIONS): Remove eelf64hppa.o.
3666 (eelf64hppa.c, ehppaelf.c): Remove targets.
3667 * Makefile.in: Rebuild.
3669 2000-02-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3671 * configure.tgt (targ_extra_ofiles): Enable elf64_sparc on
3672 GNU/Linux/sparc, but keep the default as 32.
3674 * configure.tgt: Enable elf64_sparc on Solaris7+/sparc. And make
3675 it default if sparcv9 or sparc64.
3677 2000-02-24 Nick Clifton <nickc@cygnus.com>
3679 * Makefile.am: Add rules to build emipspe.o and earmpe.o.
3680 * Makefile.in: Regenerate.
3681 * configure.tgt: Add targets for arm-wince, sh-pe and mips-pe.
3683 * ldemul.h (ld_emulation_xfer_struct): Add new field:
3684 find_potential_libraries.
3685 * ldemul.c (ldemul_find_potential_libraries): New function.
3687 * ldfile.c (ldfile_open_file_search): Allow function to be
3689 (ldfile_open_file): Call ldemul_find_potential_libraries.
3690 * ldfile.h: Add prototype for ldfile_open_file_search.
3692 * pe-dll.c: Add support for ARM, MIPS and SH targets.
3694 * emulparams/mipspe.sh: New file. Parameters for mips-pe target.
3695 * emulparams/shpe.sh: New file. Parameters for sh-pe target.
3697 * emultempl/pe.em: Add support for ARM, MIPS and SH DLLs.
3698 (gld_X_find_potential_libraries): New function. Search for
3699 libraries called "*.lib".
3701 * scripttempl/pe.sc: Add .pdata section.
3703 2000-02-23 Richard Henderson <rth@cygnus.com>
3705 * scripttempl/elfd10v.sc: Remove dynamic linking hooks.
3706 Add and use memory regions.
3708 2000-02-23 Linas Vepstas (linas@linas.org)
3710 * emulparams/elf32i370.sh, scripttempl/elfi370.sc: New.
3712 * Makefile.am: Add support for Linux/IBM 370.
3713 * configure.tgt: Likewise.
3715 * Makefile.in: Regenerate.
3717 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
3719 * ldlang.c (print_input_section, print_data_statement,
3720 print_reloc_statement, print_padding_statement, insert_pad,
3721 size_input_section, lang_check_section_addresses,
3722 lang_size_sections, lang_do_assignments, lang_set_startof,
3723 lang_one_common): Change `opb' to unsigned.
3724 (lang_do_assignments): Also change `size' to unsigned.
3726 2000-02-16 Richard Henderson <rth@cygnus.com>
3728 * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION.
3730 2000-02-16 Timothy Wall <twall@cygnus.com>
3732 * mri.c (mri_draw_tree): Add default LMA region argument to call
3733 to lang_leave_output_section_statement.
3734 * ldlang.h: Update prototypes with LMA region arguments.
3735 * ldlang.c (lang_size_sections): Encapsulate region bounds
3736 checking in os_check_region call.
3737 (os_check_region): New function.
3738 (lang_output_section_statement_lookup): Initialize lma_region.
3739 (lang_leave_output_section_statement): Add LMA region argument.
3740 (lang_leave_overlay): Ditto.
3741 * ldgram.y: Handle LMA region syntax.
3742 * ld.texinfo (Output Section Description): Describe LMA region usage.
3743 * emultempl/armelf.em (gld$place_orphan): Add default value for
3744 lma region in call to lang_leave_output_section_statement.
3745 * emultempl/elf32.em (gld$place_orphan): Add default value for
3746 lma region in call to lang_leave_output_section_statement.
3747 * emultempl/pe.em (gld$place_orphan): Add default value for
3748 lma region in call to lang_leave_output_section_statement.
3751 2000-02-04 Timothy Wall <twall@redhat.com>
3753 * ldlang.c (lang_check_section_addresses): Use bytes instead of
3754 octets when calculating section end addresses.
3756 2000-02-04 Timothy Wall <twall@redhat.com>
3758 * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation.
3760 2000-02-03 Timothy Wall <twall@redhat.com>
3762 * ldexp.c (fold_name): Make SIZEOF operator return byte count, not
3764 * ldlang.c (print_input_section, print_data_statement,
3765 print_reloc_statement, print_padding_statement): Print target
3766 address values and section sizes as bytes, not octets.
3767 (insert_pad) Calculate padding size in octets, and adjust "dot"
3769 (size_input_section) Always adjust "dot" by bytes, not octets.
3770 (lang_check_section_addresses, lang_do_assignments) Adjust
3771 "dot" by bytes, not octets. Use the larger of the directive size
3772 or octets_per_byte for the number of octets actually allocated in
3774 (lang_set_startof) Make sure STARTOF returns a target address.
3775 (lang_one_common) Record size changes in octets.
3776 (lang_abs_symbol_at_end_of) Section end symbol's value is
3777 recorded in target bytes.
3778 * ld.texinfo: Updated description of BYTE, SHORT, LONG, etc.
3779 to be clear about behavior when an octet is smaller than one byte.
3781 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
3783 * ldcref.c (output_cref): Don't pass message strings to printf
3787 * ldmisc.c (vfinfo): Same here.
3790 2000-01-23 Alan Modra <alan@spri.levels.unisa.edu.au>
3792 * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em,
3793 generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em,
3794 mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct):
3795 Add missing NULL initialisers, and comments.
3797 * testsuite/ld-srec/sr3.cc (__rethrow): New.
3799 2000-01-21 Nick Clifton <nickc@cygnus.com>
3801 * ldlang.c (lang_size_sections): Fix typo in comment.
3803 2000-01-18 H.J. Lu <hjl@gnu.org>
3805 * ldlang.c (lang_size_sections): Also update the current
3806 address of a region if the SEC_NEVER_LOAD bit is not set.
3808 2000-01-10 Philip Blundell <pb@futuretv.com>
3810 * configure.tgt (arm*-*-conix*): New target.
3812 2000-01-07 Nick Clifton <nickc@cygnus.com>
3814 * ld.texinfo (Options): Remind users to preceed linker command
3815 line switches with -Wl, (or whatever is appropriate) if it is
3816 being invoked by a comnpiler driver program.
3817 Fix description of the behaviour of the -n command line switch.
3819 2000-01-05 Catherine Moore <clm@cygnus.com>
3821 * ld.h (wildcard_spec): Change exclude_name to exclude_name_list.
3823 * ld.texinfo (EXCLUDE_FILE): Update documentation.
3824 * ldgram.y (wildcard_spec): Support a list of excluded_files.
3825 (exclude_name_list): New.
3826 ldlang.c (walk_wild_section): Support list of excluded files.
3827 (print_wild_statement): Likewise.
3828 (lang_add_wild): Likewise.
3829 * ldlang.h (lang_wild_statement_type): Likewise.
3830 * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support.
3832 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
3834 * pe-dll.c (pe_dll_warn_dup_exports): New variable.
3835 (process_def_file): Use.
3836 (pe_dll_compat_implib): New variable.
3839 * pe-dll.h: Add exports of pe_dll_warn_dup_exports and
3840 pe_dll_compat_implib.
3842 * emultempl/pe.em (longopts): Add warn-duplicate-exports and
3843 compat-implib options.
3844 (gld_${EMULATION_NAME}_list_options): List new options.
3845 (gld_${EMULATION_NAME}_parse_args): Handle.
3847 * pe-dll.c (pe_dll_generate_implib): Use the correct name for output
3850 * deffilep.y (opt_name): Allow "." in name.
3852 For older changes see ChangeLog-9899
3858 version-control: never