1 2002-01-07 Nick Clifton <nickc@cambridge.redhat.com>
3 * po/es.po: New file: Spanish translation.
4 * configure.in (ALL_LINGUAS): Add es.
5 * configure: Regenerate.
7 2002-01-06 John Marshall <jmarshall@acm.org>
9 * ld.texinfo: Note that --emit-relocs is currently only
12 2002-01-05 Alan Modra <amodra@bigpond.net.au>
14 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Make use
15 of bfd_section_list_remove and bfd_section_list_insert macros.
16 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
17 * emultempl/mmo.em (mmo_place_orphan): Likewise.
19 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
21 * configure.tgt (x86_64-*-netbsd*): New target.
23 2001-12-21 Tom Rix <trix@redhat.com>
25 (gld*_create_output_section_statements): New function.
26 For -binitfini support.
27 * emultempl/aix.em (gld*_before_parse): Fix comment.
28 * emultempl/aix.em (gld*_parse_args): Fix comment.
30 2001-12-20 Jason Thorpe <thorpej@wasabisystems.com>
32 * configure.tgt (mips*-dec-netbsd*): Delete alias for
34 (sparc64-*-netbsd*): Add elf32_sparc to targ_extra_emuls.
36 * configure.tgt (arm-*-netbsdelf*): Add target.
37 (arm-*-netbsd*): Add armelf and armelf_nbsd to targ_extra_emuls.
38 * emulparams/armelf_nbsd.sh: Added.
39 * Makefile.am: Add rules for earmelf_nbsd.
40 * Makefile.in: Regenerate.
42 2001-12-19 Andreas Jaeger <aj@suse.de>,
43 Susanne Oberhauser <froh@suse.de>
45 * configure.host: Add rules for x86_64-*linux-gnu. Change
46 s390x-linux entry to use gcc to report configuration, replace gcc
47 with $CC in s390-linux
49 2001-12-19 Andreas Jaeger <aj@suse.de>
51 * ld.texinfo (VERSION): Fix markup.
53 2001-12-18 matthew green <mrg@eterna.com.au>
55 * Makefile.am (ALL_EMULATIONS): Add m68kelfnbsd.o.
56 (m68kelfnbsd.c): New rule.
57 * Makefile.in: Regenerate.
58 * configure.tgt (m68*-hp-netbsd*): Renamed to ..
59 (m68*-*-netbsd*4k*): .. this.
60 (m68*-*-netbsdelf*): New target.
61 (m68*-*-netbsd*): Also include ELF support.
62 (m68*-*-netbsdaout*): New alias for m68*-*-netbsd*.
63 * emulparams/m68kelfnbsd.sh: New emulation.
65 2001-12-18 Jakub Jelinek <jakub@redhat.com>
67 * ldgram.y (vers_node): Support anonymous version tags.
68 * ldlang.c (lang_register_vers_node): Ensure anonymous version
69 tag is not defined together with non-anonymous versions.
70 * ld.texinfo: Document it.
72 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
74 * po/tr.po: New file: Turkish translation.
75 * configure.in (ALL_LINGUAS): Add tr.
76 * configure: Regenerate.
78 2001-12-17 Jason Thorpe <thorpej@wasabisystems.com>
80 * Makefile.am: Add rules for eelf64alpha_nbsd.
81 * Makefile.in: Regenerate.
82 * configure.tgt (alpha*-*-netbsd*): Set
83 targ_emul to elf64alpha_nbsd.
84 * emulparams/elf64alpha_nbsd.sh: Added.
86 2001-12-17 Alan Modra <amodra@bigpond.net.au>
88 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust
89 section_tail when fiddling with section list.
90 (gld${EMULATION_NAME}_list_options): Ensure sentences aren't
91 broken into separate strings to make translation easier.
92 * emultempl/mmo.em (mmo_place_orphan): Adjust section_tail when
93 fiddling with section list.
94 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
96 2001-12-16 Hans-Peter Nilsson <hp@bitrange.com>
98 * scripttempl/mmo.sc: Add .debug_ranges to listed sections.
100 2001-12-15 Alan Modra <amodra@bigpond.net.au>
102 * ldmain.c (main): Initialise link_info.eh_frame_hdr.
104 2001-12-13 Jakub Jelinek <jakub@redhat.com>
106 * emultempl/elf32.em (finish): Supply output_bfd
107 to bfd_elf*_discard_info.
108 (OPTION_EH_FRAME_HDR): Define.
109 (longopts): Add --eh-frame-hdr.
110 (parse_args): Handle it.
111 (list_options): Add --eh-frame-hdr to help.
112 * emultempl/hppaelf.em (finish): Supply output_bfd
113 to bfd_elf*_discard_info.
114 * scripttempl/elf.sc (.eh_frame_hdr): Add.
116 2001-12-13 Alan Modra <amodra@bigpond.net.au>
118 * lexsup.c (parse_args): Don't pass shortopts to second call to
119 getopt functions. Restore optind rather than decrementing before
120 second call. Remove errind as it now duplicates last_optind.
122 2001-12-11 Christopher Faylor <cgf@redhat.com>
124 * emultempl/pe.em (gld_${EMULATION_NAME}_list_options): Fix typo.
126 2001-12-07 Geoffrey Keating <geoffk@redhat.com>
127 Richard Henderson <rth@redhat.com>
129 * Makefile.am: Add support for xstormy16.
130 * configure.tgt: Add support for xstormy16.
131 * Makefile.in: Regenerate.
132 * emulparams/elf32xstormy16.sh: New file.
133 * scripttempl/xstormy16.sc: New file.
135 2001-10-01 Christopher Faylor <cgf@cygnus.com>
137 * Makefile.in (LIB_PATH): Make configurable.
138 (GENSCRIPTS): Set LIB_PATH in environment.
139 * configure.in: Substitute LIB_PATH.
140 * configure: Regenerate.
141 * configure.tgt (*cygwin): Set LIB_PATH for cross build.
142 * configure.host (*cygwin): Add /usr/lib/w32api to NATIVE_LIB_DIRS.
144 2001-12-07 Nick Clifton <nickc@cambridge.redhat.com>
146 * lexsup.c (ld_options): Insert 'PROGRAM' into the text string
147 describing the -N option so that it is easier to translate into
150 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
152 * emultempl/pe.em (..._list_options): Replace multiple fprintf
153 statements describing a single option with a single, newline
154 escaped fprintf. This allows better translation into other
157 * ldmain.c (add_archive_element): Combine multiple strings
158 into a single string to permit better translation into other
161 2001-12-05 Tom Rix <trix@redhat.com>
163 * Makefile.am: Remove eaixppc64.
164 * Makefile.in: Regenerate.
166 2001-12-04 Tom Rix <trix@redhat.com>
168 * emultempl/aix.em (choose_target): Change default target to
169 OUTPUT_FORMAT for ppcmacos. Add braces to remove compiler
171 (gld*_read_file): Fix typo.
172 (change_symbol_mode): Add prototype.
175 * emulparams/aixppc.sh (SYSCALL_MASK, SYMBOL_MODE_MASK): Delete.
176 * emulparams/aixrs6.sh : Same.
177 * emulparams/ppcmacos.sh : Same.
178 * emulparams/aixppc64.sh : Delete file.
179 * emultempl/aix.em : Formatting changes.
181 2001-12-04 Hans-Peter Nilsson <hp@axis.com>
183 * emulparams/criself.sh (NO_SMALL_DATA): Set, to yes.
184 (OTHER_BSS_END_SYMBOLS): Don't refer to .sbss when setting
186 (OTHER_END_SYMBOLS): Fix formatting.
187 * emulparams/crislinux.sh (NO_SMALL_DATA): Set, to yes.
188 (OTHER_END_SYMBOLS): Fix formatting.
190 2001-12-04 Alan Modra <amodra@bigpond.net.au>
192 * ldexp.c (exp_print_token): Correct "table" entry for RSHIFT.
194 2001-12-02 Tom Rix <trix@redhat.com>
196 * configure.tgt : Remove eaixppc64 emulations.
197 * Makefile.in : Remove eaixppc64.c
198 * ldemul.c (ldemul_choose_target): New parameters argc, argv.
199 (ldemul_default_target): Same.
200 * emultempl/gld960.em (gld960_choose_target): Same.
201 * emultempl/gld960c.em (gld960_choose_target): Same.
202 * scripttempl/aix.sc: Remove OUTPUT_FORMAT.
203 * emultempl/aix.em (is_syscall): syscall_mask now a variable.
204 * emultempl/aix.em (gld*_read_file): symbol_mode_mask now a variable.
205 * emultempl/aix.em (gld*_parse_args): Handle -b32 -b64 emulation.
206 * emultempl/aix.em (choose_target): New function. Handle emulation of
209 2001-11-27 H.J. Lu <hjl@gnu.org>
211 * emulparams/elf_i386.sh (NO_SMALL_DATA): Set to yes.
212 * emulparams/elf_i386_be.sh (NO_SMALL_DATA): Likewise.
213 * emulparams/elf_i386_chaos.sh (NO_SMALL_DATA): Likewise.
214 * emulparams/elf_i386_ldso.sh (NO_SMALL_DATA): Likewise.
215 * emulparams/elf_x86_64.sh (NO_SMALL_DATA): Likewise.
216 * emulparams/m68kelf.sh (NO_SMALL_DATA): Likewise.
217 * emulparams/elf32_sparc.sh (NO_SMALL_DATA): Likewise.
218 * emulparams/elf64_sparc.sh (NO_SMALL_DATA): Likewise.
220 * scripttempl/elf.sc (SBSS): New. Define if ${NO_SMALL_DATA}
223 (REL_SDATA): Likewise.
224 (REL_SBSS): Likewise.
225 (REL_SDATA2): Likewise.
226 (REL_SBSS2): Likewise.
227 (SBSS2): Define if ${NO_SMALL_DATA} is not empty.
230 2001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
232 * scripttempl/elfm68hc11.sc (CTOR, DTOR): Put constructor and
234 * scripttempl/elfm68hc12.sc (CTOR, DTOR): Likewise.
236 2001-11-22 H.J. Lu <hjl@gnu.org>
238 * Makefile.in: Regenerated with automake based on automake
241 2001-11-22 Alan Modra <amodra@bigpond.net.au>
243 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
244 (config.status): Delete rule.
245 Add extra dependencies to cover sourced emulparams files.
246 * Makefile.in: Regenerate.
248 * scripttempl/elf.sc: Order <section>, <section>.* and
249 corresponding linkonce sections as seen in input files.
250 Formatting fixes. Zero vma of all sections if not relocating.
251 (STACK): Define and insert if STACK_ADDR defined.
252 (OTHER_RELOCATING_SECTIONS): Delete.
253 (OTHER_END_SYMBOLS): Define.
254 (OTHER_READONLY_SECTIONS): Always insert, not just when relocating.
255 (OTHER_READWRITE_SECTIONS): Likewise.
256 (OTHER_GOT_SECTIONS): Likewise.
257 (OTHER_SDATA_SECTIONS): Likewise.
258 (OTHER_BSS_SECTIONS): Likewise.
259 * scripttempl/elfi370.sc (OTHER_READONLY_SECTIONS): Likewise.
260 (OTHER_READWRITE_SECTIONS): Likewise.
261 * scripttempl/nw.sc (OTHER_READONLY_SECTIONS): Likewise.
262 (OTHER_READWRITE_SECTIONS): Likewise
264 * emulparams/armelf.sh (OTHER_RELOCATING_SECTIONS): Delete.
265 (STACK_ADDR): Define.
266 * emulparams/armelf_oabi.sh: As for armelf.sh.
267 * emulparams/elf32mcore.sh: As for armelf.sh.
268 * emulparams/h8300elf.sh: As for armelf.sh.
269 * emulparams/mn10200.sh: As for armelf.sh.
270 * emulparams/shelf.sh: As for armelf.sh.
272 * emulparams/elf32fr30.sh (OTHER_RELOCATING_SECTIONS): Delete.
273 (OTHER_END_SYMBOLS): Define.
274 * emulparams/m32relf.sh: As for elf32fr30.sh.
275 * emulparams/h8300helf.sh: As for elf32fr30.sh.
276 * emulparams/h8300self.sh: As for elf32fr30.sh.
278 * emulparams/criself.sh (OTHER_READONLY_SECTIONS): Protect symbol
279 defines with RELOCATING test.
280 (OTHER_SDATA_SECTIONS): Likewise.
281 (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
282 (OTHER_END_SYMBOLS): ..this.
283 * emulparams/crislinux.sh: As for criself.sh.
285 * emulparams/elf32bmipn32.sh (OTHER_SDATA_SECTIONS): Zero vma
287 (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
288 (OTHER_SECTIONS): ..this. Zero vma if not relocating. Order
289 normal and linkonce sections as seen in input files.
290 * emulparams/elf32bmip.sh (DATA_ADDR): Don't define if EMBEDDED.
291 (TEXT_DYNAMIC): Likewise.
292 (INITIAL_READONLY_SECTIONS): Zero vma if not relocating.
293 (OTHER_SDATA_SECTIONS): Likewise.
294 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
295 * emulparams/shlelf_linux.sh (OTHER_READWRITE_SECTIONS): Likewise.
296 * emulparams/elf64alpha.sh (OTHER_READONLY_SECTIONS): Likewise.
297 * emulparams/hppalinux.sh (OTHER_READONLY_SECTIONS): Likewise.
298 * emulparams/elf64_aix.sh (OTHER_GOT_SECTIONS): Likewise.
299 (OTHER_PLT_RELOC_SECTIONS): Likewise.
300 (OTHER_READONLY_SECTIONS): Likewise. Order normal and linkonce
301 sections as seen in input files.
302 * emulparams/elf64_ia64.sh: As for emulparams/elf64_aix.sh.
303 * emulparams/hppa64linux.sh (OTHER_READONLY_SECTIONS): Zero vma
305 (OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS): Likewise.
306 (OTHER_BSS_END_SYMBOLS): Merge from elf64hppa.sh.
307 * emulparams/elf64mmix.sh (OTHER_RELOCATING_SECTIONS): Delete.
308 (OTHER_SECTIONS): Instead, use this..
309 (OTHER_END_SYMBOLS): ..and this.
311 * emulparams/elf32b4300.sh: Source elf32bmip.sh, remove duplicates.
312 * emulparams/elf32bsmip.sh: Likewise.
313 * emulparams/elf32btsmip.sh: Likewise.
314 * emulparams/elf32ebmip.sh: Likewise.
315 * emulparams/elf32lmip.sh: Likewise.
316 * emulparams/elf32elmip.sh: Source elf32lmip.sh, remove duplicates.
317 * emulparams/elf32lsmip.sh: Likewise.
318 * emulparams/elf32ltsmip.sh: Source elf32btsmip.sh, remove duplicates.
319 * emulparams/elf32l4300.sh: Source elf32b4300.sh, remove duplicates.
320 * emulparams/elf64bmip.sh: Source elf32bmipn32.sh, remove duplicates.
321 * emulparams/elf64btsmip.sh: Likewise.
322 * emulparams/elf64ltsmip.sh: Source elf64btsmip.sh, remove duplicates.
323 * emulparams/elf32lppc.sh: Source elf32ppc.sh, remove duplicates.
324 * emulparams/elf32ppclinux.sh: Likewise.
325 * emulparams/elf32ppcsim.sh: Likewise.
326 * emulparams/elf32lppcsim.sh: Source elf32lppc.sh, remove duplicates.
327 * emulparams/elf64hppa.sh: Source hppa64linux.sh, remove duplicates.
328 * emulparams/h8300helf.sh: Source h8300elf.sh, remove duplicates.
329 * emulparams/h8300self.sh: Likewise.
330 * emulparams/mn10300.sh: Source mn10200.sh, remove duplicates.
331 * emulparams/sh.sh: Comment.
332 * emulparams/shl.sh: Source sh.sh, remove duplicates.
333 * emulparams/shlelf.sh: Source shelf.sh, remove duplicates.
334 * emulparams/shelf_linux.sh: Source shlelf_linux.sh, remove duplicates.
336 2001-11-21 David Heine <dlheine@tensilica.com>
337 Alan Modra <amodra@bigpond.net.au>
339 * ldlang.c (map_input_to_output_sections): Replace "break"
340 accidentally removed with 2001-08-03 change.
341 (lang_gc_sections_1): Likewise.
343 2001-11-21 Alan Modra <amodra@bigpond.net.au>
345 * ldlang.c (walk_wild_section): Move sec == NULL case out of loop.
347 2001-11-20 Angela Marie Thomas <angela@redhat.com>
349 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Use NULL instead
350 of false when calling lang_size_sections.
351 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
353 2001-11-15 Alan Modra <amodra@bigpond.net.au>
355 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Only emit this
356 function when LDEMUL_FINISH isn't set to the same name. Don't
357 call ${LDEMUL_FINISH}.
358 (ld_${EMULATION_NAME}_emulation): Call $LDEMUL_FINISH if defined.
359 * emultempl/armelf.em (arm_elf_finish): Call
360 gld${EMULATION_NAME}_finish.
361 * emultempl/hppaelf.em (hppaelf_finish): Rename to
362 gld${EMULATION_NAME}_finish. Call bfd_elf32_discard_info and
363 hppaelf_layout_sections_again if necessary.
364 (need_laying_out): New var.
365 (hppaelf_layaout_sections_again): Rename to
366 hppaelf_layout_sections_again. Clear need_laying_out.
367 (PARSE_AND_LIST_OPTIONS): Format text.
369 2001-11-14 H.J. Lu <hjl@gnu.org>
371 * emultempl/armelf.em (arm_elf_finish): Renamed from
372 gld${EMULATION_NAME}_finish.
373 (LDEMUL_FINISH): Set to arm_elf_finish.
375 2001-11-14 Daniel Jacobowitz <drow@mvista.com>
377 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): New.
378 (struct ld_emulation_xfer_struct): Use it.
380 Tue Nov 13 11:27:14 2001 Ross Alexander <ross.alexander@uk.neceur.com>
382 * emulparams/elf64hppa.sh (OTHER_BSS_END_SYMBOLS): Add
383 additional symbols referenced by newer crt0.o files from HP.
385 2001-11-12 Anthony Green <green@redhat.com>
387 * emulparams/armelf.sh (DATA_START_SYMBOLS): New symbol.
389 2001-11-12 Alfred M. Szmidt <ams@kemisten.nu>
391 * Makefile.am (GENSCRIPTS): Quote ${exec_prefix}.
392 * Makefile.in: Regenerate.
394 2001-11-02 Stephane Carrez <Stephane.Carrez@worldnet.fr>
396 * ld.texinfo: Use @command for commands, @option for options.
397 * Makefile.am (POD2MAN): Use 'GNU Development Tools' for
399 * Makefile.in: Rebuild.
401 2001-11-04 Chris Demetriou <cgd@broadcom.com>
403 * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
404 Add support for targets.
406 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
408 * configure.in (ALL_LINGUAS): Add "fr" and "sv"
409 * configure: Regernate.
410 * po/fr.po: New file.
411 * po/sv.po: New file.
413 2001-11-01 NIIBE Yutaka <gniibe@m17n.org>
415 * configure.tgt (sh-*-linux): Set targ_emul, targ_extra_emuls
416 as little endian default and to support big endian.
418 2001-11-01 Chris Demetriou <cgd@broadcom.com>
420 * ld.texinfo (Options): Document new option, -nostdlib.
421 * lexsup.c (OPTION_NOSTDLIB): New definition.
422 (ld_options): Add entry for "nostdlib".
423 (parse_args): Handle OPTIONS_NOSTDLIB.
424 * ldfile.c (ldfile_add_library_path): Don't add directories
425 to the search path if they weren't specified on the command line
426 and -nostdlib was specified.
427 * ld.h (ld_config_type): New member only_cmd_line_lib_dirs.
429 2001-10-31 Nick Clifton <nickc@cambridge.redhat.com>
431 * lexsup.c (parse_args): Prevent infinite parsing loop when
432 "-rpath.a" is specified on the command line.
433 Replace calls to fprintf with calls to einfo.
435 2001-10-31 John Marshall <jmarshall@acm.org>
437 * ld.texinfo: A historical requirement that MEMORY and SECTIONS
438 appear only once across all the linker scripts involved in a link
439 invocation no longer applies. Make the documentation reflect
442 2001-10-31 NIIBE Yutaka <gniibe@m17n.org>
444 * configure.tgt: Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu
446 (sh-*-linux*): Added targ_extra_libpath.
448 2001-10-31 David Heine <dlheine@tensilica.com>
450 * ldlang.c (lang_size_sections): Keep a valid output_offset field
451 for padding statements.
453 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
455 * configure.tgt (mmix-*-*): New target.
456 * Makefile.am (ALL_EMULATIONS): Add eelf64mmix.o and emmo.o.
457 Add dependencies to match.
458 * emulparams/mmo.sh, emulparams/elf64mmix.sh, emultempl/mmo.em,
459 emultempl/mmix-elfnmmo.em, emultempl/mmixelf.em,
460 scripttempl/mmo.sc: New files.
461 * gen-doc.texi: @set MMIX.
463 [MMIX] Add MMIX node.
464 * Makefile.in: Regenerate.
466 2001-10-29 Kazu Hirata <kazu@hxi.com>
468 * ldlang.c: Fix a comment typo.
470 2001-10-23 Alan Modra <amodra@bigpond.net.au>
472 * configure.host: Move alpha*-*-linux-gnu* entry to generic
473 entries, and match *-*-linux*.
475 2001-10-20 Alan Modra <amodra@bigpond.net.au>
477 * ldgram.y (mri_script_command): Surround processing of INCLUDE
478 with ldlex_script, ldlex_popstate.
479 (ifile_p1): Likewise.
480 * ldlex.l (EOF): Don't BEGIN(SCRIPT). Restore lineno from the
482 (lex_push_file): Save current lineno to lineno_stack. Set lineno
483 to 1. Don't BEGIN(SCRIPT).
484 (lex_redirect): Similarly.
485 * ldmain.c (main): Set yydebug non-zero if YYDEBUG.
487 2001-10-20 Nick Clifton <nickc@cambridge.redhat.com>
489 * scripttempl/armcoff.sc: Define __EH_FRAME_BEGIN__ and
490 __EH_FRAME_END__ and accept eh frames into data section.
491 Add ctor and dtor sections.
493 2001-10-19 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
495 * pe-dll.c (autofilter_objectlist): Add gcrt0.o.
496 (auto-export): Fix indentation.
498 2001-10-18 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
500 * pe-dll.c (autofilter_objectlist): Add startup objects
502 (auto-export): Constify char * p.
503 Extract file basename and use strcmp rather than ststr
506 2001-10-18 Chris Demetriou <cgd@broadcom.com>
508 * ldmain.c (get_emulation): Improve comment about the handling
511 2001-10-17 Alan Modra <amodra@bigpond.net.au>
513 * po/POTFILES.in: Regenerate.
515 2001-10-16 Vassili Karpov <malc@pulsesoft.com>
517 * emultempl/elf32.em (gld*_list_options): Remove extra '\t' from
518 -z nocopyreloc and -z nocombreloc usage strings.
520 2001-10-12 Vassili Karpov <malc@pulsesoft.com>
522 * emultempl/elf32.em (gld*_list_options): Include -z nocopyreloc
525 2001-10-11 Aleksey Romanov <aromanov@ennovatenetworks.com>
527 * scripttempl/armaout.sc: Place .bss section after end of aligned
528 data section to match behaviour of aout code in constructrion of
531 2001-10-11 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
533 * pe-dll.c (autofilter_entry_type autofilter_liblist: Add
534 startup files for mingw32 dlls to list.
536 2001-10-10 Chris Demetriou <cgd@broadcom.com>
538 * emultempl/elf32.em: Fix shell 'if' usage for portability.
540 2001-10-08 Aldy Hernandez <aldyh@redhat.com>
542 * configure.tgt (targ): Add arm9e-*-elf.
544 2001-10-05 H.J. Lu <hjl@gnu.org>
546 * genscripts.sh: Fix a typo in the last change.
548 2001-10-05 Jakub Jelinek <jakub@redhat.com>
550 * emultempl/elf32.em (gld_*_list_options): Include -z combreloc and
551 -z nocombreloc in usage.
553 2001-10-03 Jim Blandy <jimb@redhat.com>
555 * genscripts.sh: Include a comment at the top of each generated
556 script, explaining its purpose.
558 2001-10-03 Vassili Karpov <malc@pulsesoft.com>
560 * emultempl/elf32.em (parse_args): Handle -z nocopyreloc.
561 * NEWS: Mention -z nocopyreloc.
562 * ld.texinfo (Options): Describe nocopyreloc.
564 2001-10-03 Alan Modra <amodra@bigpond.net.au>
566 * configure: Regenerate.
568 2001-10-02 Alan Modra <amodra@bigpond.net.au>
570 * ldver.h (ld_program_version): Remove declaration.
571 * lexsup.c (parse_args): Move printing of copyright message..
572 * ldver.c (ldversion): .. to here.
573 Use BFD_VERSION_STRING in place of BFD_VERSION.
574 (ld_program_version): Remove.
575 * Makefile.am (Makefile): Depend on bfd/configure.in.
577 * Makefile.in: Regenerate.
579 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
581 * Makefile.am: Update dependencies with "make dep-am".
582 * Makefile.in: Regenerate.
584 2001-09-29 John Reiser <jreiser@BitWagon.com>
586 * ldlang.c (lang_common): Conditionally inhibit Common allocation.
587 * lexsup.c: Add --no-define-common commandline option.
588 * ldgram.y: Add INHIBIT_COMMON_ALLOCATION script command.
590 * ld.h: Add command_line.inhibit_common_definition.
591 * ldmain.c (main): Initialize.
592 * ld.texinfo: Document.
594 2001-09-26 Alan Modra <amodra@bigpond.net.au>
596 * ldmisc.c (USE_STDARG): Remove.
597 (info_msg): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE.
602 * ldmisc.h: Remove #ifdef ANSI_PROTOTYPES and non-ansi
603 declarations. Update copyright.
605 2001-09-24 Charles Wilson <cwilson@ece.gatech.edu>
607 * pe-dll.c: Remove obsoleted declaration of
608 pe_get_data_import_dll_name.
609 (pe_create_import_fixup): Fix thinko.
611 * ld.texinfo(enable-auto-import): Clarify the explanation.
613 2001-09-24 Nick Clifton <nickc@cambridge.redhat.com>
615 * pe-dll.c (pe_create_import_fixup): Revert previous patch.
616 * emultemp/pe.em (pe_data_import_dll): Move definition outside of
617 DLL_SUPPORT controlled code.
619 2001-09-24 Charles Wilson <cwilson@ece.gatech.edu>
621 * emultempl/pe.em(pe_data_import_dll): Make static.
622 (pe_get_data_import_dll_name): New accessor function.
623 * pe-dll.c(pe_create_import_fixup): call
624 pe_get_data_import_dll_name() from pe.em, instead of
625 directly accessing pe_data_import_dll variable from pe.em.
627 2001-09-18 Bruno Haible <haible@clisp.cons.org>
629 * deffilep.y: Include "safe-ctype.h" instead of <ctype.h>.
630 (def_file_add_directive): Use ISSPACE instead of isspace.
631 (def_lex): Use ISDIGIT/ISXDIGIT/ISALPHA/ISALNUM instead of
632 isdigit/isxdigit/isalpha/isalnum.
633 * emultempl/aix.em: Include "safe-ctype.h" instead of <ctype.h>.
634 (gld${EMULATION_NAME}_read_file): Use ISSPACE instead of isspace.
635 * emultempl/elf32.em: Include "safe-ctype.h" instead of <ctype.h>.
636 (gld${EMULATION_NAME}_place_orphan): Use ISALNUM instead of
638 * emultempl/gld960c.em: Include "safe-ctype.h" instead of <ctype.h>.
639 (gld960_set_output_arch): Use ISUPPER/TOLOWER instead of
641 * emultempl/sunos.em: Include "safe-ctype.h" instead of <ctype.h>.
642 (gld${EMULATION_NAME}_search_dir): Use ISDIGIT instead of isdigit.
643 * ldctor.c: Include "safe-ctype.h" instead of <ctype.h>.
644 (ctor_prio): Use ISDIGIT instead of isdigit.
645 * ldfile.c: Include "safe-ctype.h" instead of <ctype.h>.
646 (ldfile_open_file_search): Use ISALPHA instead of isalpha.
647 (ldfile_add_arch): Use ISUPPER/TOLOWER instead of
649 * ldlang.c: Include "safe-ctype.h" instead of <ctype.h>.
650 (stricpy): Use TOLOWER instead of isupper/tolower.
651 (lang_leave_overlay_section): Use ISALNUM instead of isalnum.
652 * ldlex.l: Include "safe-ctype.h" instead of <ctype.h>.
653 (lex_warn_invalid): Use ISPRINT instead of isprint.
654 * ldmain.c: Include "safe-ctype.h" instead of <ctype.h>.
655 (main): For gettext, also set the LC_CTYPE locate facet.
656 (add_keepsyms_file): Use ISSPACE instead of isspace.
657 * lexsup.c: Include "safe-ctype.h" instead of <ctype.h>.
658 (is_num, parse_args): Use ISDIGIT instead of isdigit.
659 * mpw-elfmips.c: Include "safe-ctype.h" instead of <ctype.h>.
660 (gldelf32ebmip_place_orphan): Use ISALNUM instead of isalnum.
661 * mpw-eppcmac.c: Include "safe-ctype.h" instead of <ctype.h>.
662 (gldppcmacos_read_file): Use ISSPACE instead of isspace.
663 * pe-dll.c: Include "safe-ctype.h" instead of <ctype.h>.
664 (quoteput): Use ISSPACE instead of isspace.
665 (pe_dll_generate_implib, pe_process_import_defs): Use ISALNUM
668 2001-09-18 Alan Modra <amodra@bigpond.net.au>
670 * deffilep.y (def_stash_module): Constify "name" param.
672 * pe-dll.c: Replace CONST with const throughout.
673 (quick_symbol): Constify "n1", "n2", "n3" params.
674 (make_singleton_name_thunk): Constify "import" param. Make
675 "buffer_len" a size_t.
676 (make_import_fixup_entry): Constify "name", "fixup_name",
677 "dll_symname" params.
678 (pe_get16): Cast args of bfd_seek. Replace bfd_read with bfd_bread.
679 (pe_get32): Likewise.
680 (pe_implied_import_dll): Likewise.
682 * emultempl/beos.em (sort_by_file_name): Constify "ra", "rb".
683 (sort_by_section_name): Likewise.
685 * emultempl/pe.em: Move defines for arm_epoc_pe before bfd.h included.
686 (make_import_fixup): Cast printf arg, rel->address to long rather
688 (gld_${EMULATION_NAME}_after_open): Don't compare NULL against int.
690 2001-09-15 Alan Modra <amodra@bigpond.net.au>
692 * ldmain.c (main): Rename BufferSize to ld_bufsz because HPUX
693 defines BufferSize. Increase buffer size by one.
695 2001-09-14 Ralf Habacker <Ralf.Habacker@freenet.de>
697 * pe-dll.c (pe_walk_relocs_of_symbol): Fix memory leak.
699 2001-09-14 Kevin Lo <kevlo@openbsd.org>
701 * configure.tgt: Add arm-openbsd target.
703 2001-09-12 H.J. Lu <hjl@gnu.org>
705 * Makefile.am (ALL_EMULATIONS): Move eelf64ppc.o and
707 (ALL_64_EMULATIONS): Here.
708 * Makefile.in: Regenerated.
710 2001-09-12 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
712 * emultempl/pe.em(make_import_fixup): change signature to
713 take asection as well as arelec; we need this for proper
714 error reporting. Only call pe_create_import_fixup() if
715 there is no attempt to add a constant addend to the reloc;
716 otherwise, report error condition.
717 * pe-dll.c(pe_walk_relocs_of_symbol): change signature,
718 since final argument is a pointer to make_import_fixup().
719 Change call to cb() to match make_import_fixup() signature.
720 (make_import_fixup_mark): make buffer_len unsigned.
721 * pe-dll.h: change signature of pe_walk_relocs_of_symbol.
723 2001-09-12 Charles Wilson <cwilson@ece.gatech.edu>
725 * ld.texinfo: add verbose documentation for auto-import
726 direct-addressing workaround, to compliment the terse
729 2001-09-12 Andrew MacLeod <amacleod@redhat.com>
731 * scripttempl/v850.sc: Add gcc_except_table sections.
733 Fri Sep 7 11:34:24 2001 Jeffrey A Law (law@cygnus.com)
735 * emulparams/h8300helf.sh: Move stack to a much higher memory address.
736 * emulparams/h8300self.sh: Similarly.
738 2001-09-05 Danny Smith <dannysmith@users.souceforge.net>
740 * ld.texinfo (Options, --stack): Correct default value for stack
743 2001-09-05 Tom Rix <trix@redhat.com>
745 * emultempl/aix.em : Handle import file XMC_XO and syscall symbols.
747 2001-09-03 Andreas Jaeger <aj@suse.de>
749 * emultempl/beos.em: Declare prototypes for comparions functions,
752 2001-09-02 Andreas Jaeger <aj@suse.de>
754 * emultempl/aix.em: Add missing prototype.
755 * emultempl/lnk960.em: Likewise.
756 * emultempl/vanilla.em: Likewise.
757 * emultempl/armcoff.em: Likewise.
758 * emultempl/armelf_oabi.em: Likewise.
759 * emultempl/beos.em: Likewise.
760 * emultempl/gld960c.em: Likewise.
761 * emultempl/gld960.em: Likewise.
763 * emulparams/elf64alpha.sh (PARSE_AND_LIST_PROLOGUE): Add parameter
764 for prototype declaration.
766 2001-08-31 Eric Christopher <echristo@redhat.com>
767 Jason Eckhardt <jle@redhat.com>
769 * ldmain.c (get_emulation): Add support for -mips32 and -mips64.
771 2001-08-31 Andreas Jaeger <aj@suse.de>
773 * emultempl/pe.em: Add missing prototypes.
774 (gld_${EMULATION_NAME}_after_open): Remove extra args to
775 pe_find_data_imports.
776 (pr_sym): Add unused attribute.
778 2001-08-29 Joel Sherrill <joel@OARcorp.com>
780 * configure.tgt (i[3456]86-*-rtems*, m68*-*-rtems*): Change
781 default from coff to elf.
783 2001-08-29 Jeff Law <law@redhat.com>
785 * emulparams/h8300helf.sh: Resync with h8300elf.sh. Update
787 * emulparams/h8300self.sh: Similarly.
789 Wed Aug 28 13:37:20 2001 J"orn Rennecke <amylaar@redhat.com>
791 * Makefile.am (ALL_EMULATIONS): Add eh8300elf.o, eh8300elf.o and
793 (eh8300elf.c, eh8300helf.c, eh8300self.c): New targets.
794 * configure.tgt (h8300-*-elf*): New case.
795 * emulparams/h8300elf.sh, emulparams/h8300helf.sh: New files.
796 * emulparams/h8300self.sh: New file.
797 * Makefile.in: Regenerated.
799 2001-08-28 Nick Clifton <nickc@cambridge.redhat.com>
801 * ldmain.c (main): Rename BSIZE to BufferSize to avoid collision
804 2001-08-27 Linus Nordberg <linus@swox.com>
805 Alan Modra <amodra@bigpond.net.au>
807 * Makefile.am (ALL_EMULATIONS): Add eelf64ppc.o and eelf64lppc.o.
808 (eelf64ppc.c, eelf64lppc.c): Add make targets.
810 * Makefile.in: Regenerate.
811 * configure.tgt: Add powerpc64 support. Move pdp11, pjl, pj
812 entries to correct alphabetical position.
813 * emulparams/elf64ppc.sh: New.
814 * emulparams/elf64lppc.sh: New.
816 2001-08-27 Nick Clifton <nickc@cambridge.redhat.com>
818 * ldmain.c (main): Declare BSIZE as static.
820 2001-08-23 Jakub Jelinek <jakub@redhat.com>
822 * emultempl/elf32.em (place_orphan): Place orphan .rel* sections
823 into .rel.dyn resp. .rela.dyn if combreloc.
824 (get_script): If .x linker script is equal to .xn, only put it
825 once into the binary.
826 Add .xc and .xsc scripts.
827 (parse_args): Handle -z combreloc and -z nocombreloc.
828 * scripttempl/elf.sc (.rela.sbss): Fix a typo.
829 For .xc and .xsc scripts put all .rel* or .rela* input sections
830 but .rel*.plt and PLT-like sections into .rel.dyn resp. .rela.dyn.
831 * genscripts.sh (GENERATE_COMBRELOC_SCRIPT): Set if SCRIPT_NAME
833 Strip trailing whitespace from script.
834 Generate .xc and .xsc scripts if requested.
835 * ldmain.c (main): Initialize link_info.combreloc and
836 link_info.spare_dynamic_tags.
837 * lexsup.c (OPTION_SPARE_DYNAMIC_TAGS): Define.
838 (ld_options): Add --spare-dynamic-tags option.
839 (parse_args): Likewise.
840 * ld.texinfo: Document -z combreloc and -z nocombreloc.
841 * ldint.texinfo: Document .xc and .xsc linker scripts.
842 * NEWS: Add notes about -z combreloc and SHF_MERGE.
844 2001-08-22 H.J. Lu <hjl@gnu.org>
846 * emulparams/elf32fr30.sh: Add a newline.
848 2001-08-21 Andreas Jaeger <aj@suse.de>
850 * deffilep.y: Add missing prototypes.
851 * pe-dll.c: Likewise.
853 2001-08-20 Alan Modra <amodra@bigpond.net.au>
855 * ldlang.c (insert_pad): Fix typos in last patch.
857 * ldlang.c: When traversing lang_statement_union_type lists,
858 consistently use "header.next" rather than "next".
859 * mpw-eppcmac.c: Likewise.
860 * emultempl/beos.em: Likewise.
861 * emultempl/hppaelf.em: Likewise.
862 * emultempl/pe.em: Likewise.
863 * ldlang.h (union lang_statement_union): Remove "next" field.
865 * ldlang.c (insert_pad): Use offsetof macro.
866 (lang_size_sections): Always neuter padding statements.
867 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Delete.
869 * pe-dll.c (pe_dll_fill_sections): Correct type of "relax" param
870 passed to lang_size_sections.
871 (pe_exe_fill_sections): Likewise.
872 * emultempl/pe.em (output_prev_sec_find): Copied from elf32.em.
873 (gld_${EMULATION_NAME}_place_orphan): Merge from elf32.em.
875 2001-08-18 Alan Modra <amodra@bigpond.net.au>
877 * emultempl/aix.em: Formatting fixes.
879 2001-08-18 Alan Modra <amodra@bigpond.net.au>
881 * ldlang.c (insert_pad): Make use of an existing pad statement if
882 available. Move code calculating alignment, adjusting section
883 alignment power, and adjusting dot to ..
884 (size_input_section): .. here. Remove unused relax param.
885 (lang_size_sections): Change boolean `relax' param to boolean *.
886 Adjust call to size_input_section. Make use of insert_pad to
887 place pad after the assignment statement. If relaxing, zap
889 (reset_memory_regions): Reset output_bfd section sizes too.
890 (relax_again): Move to..
891 (lang_process): ..here. Adjust call to lang_size_sections, and
892 remove duplicated code.
893 * ldlang.h (lang_size_sections): Change `relax' param to boolean *.
895 2001-08-17 Alan Modra <amodra@bigpond.net.au>
897 * ld.texinfo: Document that fill values now use the four least
899 * emulparams/elf32fr30.sh (NOP): Update.
900 * emulparams/elf32mcore.sh: Likewise.
901 * emulparams/elf64_s390.sh: Likewise.
902 * emulparams/elf_i386.sh: Likewise.
903 * emulparams/elf_i386_be.sh: Likewise.
904 * emulparams/elf_i386_chaos.sh: Likewise.
905 * emulparams/elf_i386_ldso.sh: Likewise.
906 * emulparams/elf_s390.sh: Likewise.
907 * emulparams/elf_x86_64.sh: Likewise.
908 * emulparams/i386moss.sh: Likewise.
909 * emulparams/i386nw.sh: Likewise.
910 * emulparams/m68kelf.sh: Likewise.
911 * scripttempl/elf.sc: Update NOP comment.
912 * scripttempl/elfi370.sc: Likewise.
913 * scripttempl/elfm68hc11.sc: Likewise.
914 * scripttempl/elfm68hc12.sc: Likewise.
915 * scripttempl/nw.sc: Likewise.
917 2001-08-15 Tom Rix <trix@redhat.com>
919 * ldgram.y (saved_script_handle): Initialize to NULL.
920 * ldmain.c (main): Change check on saved_script_handle.
922 2001-08-14 Alan Modra <amodra@bigpond.net.au>
924 * emultempl/elf32.em: Formatting fixes.
925 (output_prev_sec_find): Test for bfd_ind_section too; do so by
926 looking at sec->owner.
927 (output_rel_find): Move function inside LDEMUL_PLACE_ORPHAN test.
928 (gld${EMULATION_NAME}_place_orphan): Add a few comments. Remove
929 unused code, and reorganize orphan section placement code.
931 * ldlang.c (wild_doit): Rename to lang_add_section.
932 * ldlang.h: Here too.
933 * mpw-elfmips.c: And here.
934 * emultempl/beos.em: And here.
935 * emultempl/elf32.em: And here.
936 * emultempl/hppaelf.em: And here.
937 * emultempl/pe.em: And here.
939 2001-08-13 Richard Henderson <rth@redhat.com>
941 * emultempl/needrelax.em: New file.
942 * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Reference it.
943 * Makefile.am (eelf64_ia64.c): Depend on it.
944 * Makefile.in: Rebuild.
946 2001-08-13 Alan Modra <amodra@bigpond.net.au>
948 * emultempl/elf32.em: For SEC_EXCLUDE sections, ensure that
949 output_section is set non-NULL.
951 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Return
952 `true' for SEC_EXCLUDE sections so that the generic code doesn't
953 needlessly create an output_section_statement. Treat a correctly
954 named output_section_statement with NULL bfd_section as compatible.
956 2001-08-13 Hans-Peter Nilsson <hp@bitrange.com>
958 * emultempl/generic.em: Support EXTRA_EM_FILE.
959 (ld_${EMULATION_NAME}_emulation): Support emulation parameters
960 LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
961 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
962 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
963 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
964 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
965 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
966 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
967 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
968 LDEMUL_FIND_POTENTIAL_LIBRARIES.
970 2001-08-12 Richard Henderson <rth@redhat.com>
972 * scripttempl/elf.sc, scripttempl/elfd30v.sc,
973 scripttempl/elfm68hc11.sc, scripttempl/elfm68hc12.sc,
974 scripttempl/v850.sc: Keep .jcr data.
976 2001-08-12 H.J. Lu <hjl@gnu.org>
977 Andrew Haley <aph@cambridge.redhat.com>
978 Nick Clifton <nickc@redhat.com>
980 * ldgram.y (had_script): Change name to saved_script_handle.
981 Change type to file handle.
982 * ld.h (had_script): Rename and retype.
983 * ldfile.c (ldfile_open_command_file): Save the file handle
984 used in saved_script_handle.
985 * lexsup.c (parse_args): Do not allow -c option to alter
987 * ldmain.c (main): Print out the linker script used if
988 --verbose is given. Check saved_script_handle to obtain the
989 external linker script used, or if NULL, dump the builtin
991 * ld.texinfo: Document that --verbose now dumps the linker
992 script used, regardless of whether it was an internal or an
995 2001-08-10 Andreas Jaeger <aj@suse.de>
997 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
999 * configure: Regenerate.
1001 2001-08-09 Alan Modra <amodra@bigpond.net.au>
1003 * emultempl/elf32.em (output_prev_sec_find): Add missing prototype.
1005 * scripttempl/elf.sc: Move non-text .dynamic section before
1006 .plt/.got/.sdata* group.
1007 (OTHER_GOT_SECTIONS): Move to immediately after .got.
1008 (OTHER_SDATA_SECTIONS): Add.
1009 * emulparams/criself.sh: Use OTHER_SDATA_SECTIONS rather than
1011 * emulparams/crislinux.sh: Likewise.
1012 * emulparams/elf32b4300.sh: Likewise.
1013 * emulparams/elf32bmip.sh: Likewise.
1014 * emulparams/elf32bmipn32.sh: Likewise.
1015 * emulparams/elf32bsmip.sh: Likewise.
1016 * emulparams/elf32btsmip.sh: Likewise.
1017 * emulparams/elf32ebmip.sh: Likewise.
1018 * emulparams/elf32elmip.sh: Likewise.
1019 * emulparams/elf32l4300.sh: Likewise.
1020 * emulparams/elf32lmip.sh: Likewise.
1021 * emulparams/elf32lsmip.sh: Likewise.
1022 * emulparams/elf32ltsmip.sh: Likewise.
1023 * emulparams/elf64bmip.sh: Likewise.
1024 * emulparams/elf64btsmip.sh: Likewise.
1025 * emulparams/elf64ltsmip.sh: Likewise.
1027 2001-08-08 Alan Modra <amodra@bigpond.net.au>
1029 * genscripts.sh: Source the emulparams script before each output
1030 script is generated so that variables like `RELOCATING' may affect
1031 variables defined in the emulparams script.
1033 2001-08-04 Alan Modra <amodra@bigpond.net.au>
1035 * emultempl/aix.em: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this
1038 * emultempl/beos.em (sort_sections): Modify for 2001-08-03 change,
1039 ie. iterate over wild_statement.section_list.
1040 (gld${EMULATION_NAME}_place_orphan): Likewise.
1042 2001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1044 * scripttempl/elfm68hc12.sc (FINISH_CODE, FINISH_RELOC): New to handle
1045 .fini[0-4] sections used by _exit
1046 (CTOR, DTOR): Export ctor/dtor symbols; move them to ROM.
1047 (*.text,*.data,*.bss): Take into account .text.*, .data.*, .bss.*.
1048 * scripttempl/elfm68hc11.sc: Likewise.
1050 2001-08-03 H.J. Lu <hjl@gnu.org>
1052 * emultempl/beos.em (init): Add the missing initialization.
1054 2001-08-03 Alan Modra <amodra@bigpond.net.au>
1056 * ld.texinfo (Input Section Basics): Clarify ordering of output
1058 * ldlang.c (callback_t): Add wildcard_list param.
1059 (walk_wild_section): Remove "section" param. Rewrite for
1060 lang_wild_statement_type change. Remove unique_section_p test.
1061 (walk_wild_file): Remove "section" param.
1062 (walk_wild): Remove "section" and "file" params.
1063 (lang_gc_wild): Likewise.
1064 (wild): Likewise. Modify for lang_wild_statement_type change.
1065 (wild_sort): Likewise. Add "sec" param.
1066 (gc_section_callback): Likewise.
1067 (output_section_callback): Likewise. Do unique_section_p test.
1068 (map_input_to_output_sections): Modify call to wild.
1069 (lang_gc_sections_1): Likewise.
1070 (print_wild_statement): Modify for lang_wild_statement_type
1072 (lang_add_wild): Replace filename, filenames_sorted param with
1073 filespec. Replace section_name, sections_sorted,
1074 exclude_filename_list with section_list.
1075 * ldlang.h (lang_add_wild): Here too.
1076 (lang_wild_statement_type): Replace section_name, sections_sorted,
1077 and exclude_filename_list with section_list.
1078 * ldgram.y (current_file): Delete.
1079 (%union): Add wildcard_list.
1080 (file_NAME_list): Set type to wildcard_list. Build a linked list
1081 rather than calling lang_add_wild for each entry.
1082 (input_section_spec_no_keep): Call lang_add_wild here instead.
1083 * ld.h (struct wildcard_list): Declare.
1084 * mri.c (mri_draw_tree): Modify to suit new lang_add_wild.
1086 2001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
1088 * ldmain.c (main): initialize link_info.pei386_auto_import
1089 * pe-dll.c: new tables for auto-export filtering
1090 (auto_export): change API, pass abfd for contextual filtering.
1091 Loop thru tables of excluded symbols instead of comparing
1094 2001-08-02 Paul Sokolovsky <paul.sokolovsky@technologist.com>
1096 * pe-dll.c: new variable pe_dll_enable_extra_debug. New
1097 static variable current_sec (static struct sec *). Add
1098 forward declaration for add_bfd_to_link.
1099 (process_def_file): Don't export undefined symbols. Do not
1100 export symbols starting with "_imp__". Call auto_export()
1102 (pe_walk_relocs_of_symbol): New function.
1103 (generate_reloc): add optional extra debugging
1104 (pe_dll_generate_def_file): eliminate extraneous initial blank
1106 (make_one): enlarge symtab to make room for __nm__ symbols
1107 (DATA auto-import support).
1108 (make_singleton_name_thunk): New function.
1109 (make_import_fixup_mark): New function.
1110 (make_import_fixup_entry): New function.
1111 (pe_create_import_fixup): New function.
1112 (add_bfd_to_link): Specify that 'name' argument is a CONST
1114 * pe-dll.h: declare new variable pe_dll_extra_pe_debug;
1115 declare new functions pe_walk_relocs_of_symbol and
1116 pe_create_import_fixup.
1117 * emultempl/pe.em: add new options --enable-auto-import,
1118 --disable-auto-import, and --enable-extra-pe-debug.
1119 (make_import_fixup): New function.
1120 (pe_find_data_imports): New function.
1121 (pr_sym): New function.
1122 (gld_${EMULATION_NAME}_after_open): Add optional extra pe
1123 debugging. Call pe_find_data_imports. Mark .idata as DATA, not
1126 2001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
1128 * ld.texinfo: add additional documentation for
1129 --export-all-symbols. Document --out-implib,
1130 --enable-auto-image-base, --disable-auto-image-base,
1131 --dll-search-prefix, --enable-auto-import, and
1132 --disable-auto-import.
1133 * ldint.texinfo: Add detailed documentation on auto-import
1136 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
1138 * ld.texinfo (Simple Assignments): Fix computation in SECTIONS
1141 2001-07-24 Alan Modra <amodra@bigpond.net.au>
1143 * Makefile.am: Update dependencies with "make dep-am".
1144 * Makefile.in: Regenerate
1146 2001-07-23 Alan Modra <amodra@bigpond.net.au>
1148 * ldcref.c (check_section_sym_xref): New function.
1149 (check_nocrossrefs): Call it.
1150 (check_nocrossref): Interate over h->refs here instead of..
1151 (check_refs): ..here. Pass in the symbol name, section, and bfd
1152 rather than hash_entry pointers.
1153 (struct check_refs_info): Keep symbol name rather than hash entry.
1155 (check_reloc_refs): Tweak for above changes in check_refs_info.
1156 Only report references to section syms when symname is NULL to
1157 prevent duplicate messages for the same reloc.
1159 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
1161 * ldexp.c (exp_print_tree): Use stderr if config.map_file is not
1162 available. Do not print NULL trees.
1163 (exp_print_token): Print unknown tokens with values > 126 as
1164 decimal values not ASCII characters.
1166 * ldlang.c (lang_leave_overlay): If a region is specified assign
1167 it to all sections inside the overlay unless they have been
1168 assigned to the own, non-default, memory region.
1170 * README: Add header for consistency with other README files.
1172 2001-07-14 H.J. Lu <hjl@gnu.org>
1174 * emultempl/elf32.em (output_prev_sec_find): Never return
1175 bfd_abs_section_ptr, bfd_com_section_ptr nor
1176 bfd_und_section_ptr.
1178 2001-07-14 Nick Clifton <nickc@cambridge.redhat.com>
1180 * Makefile.am (em32relf.c): Change dependency from generic.em to
1182 * Makefile.in: Regenerate.
1184 2001-07-14 matthew green <mrg@eterna.com.au>
1186 * configure.tgt (i386-*-netbsdelf*): New target.
1187 (i386-*-netbsd*): Set targ_extra_emuls to `elf_i386'
1189 2001-07-13 Jakub Jelinek <jakub@redhat.com>
1191 * emultempl/elf32.em (output_prev_sec_find): New.
1192 (place_orphan): Use it.
1194 2001-07-11 H.J. Lu <hjl@gnu.org>
1196 * ldmain.c (main): Fix typos in the last change.
1198 2001-07-11 Jakub Jelinek <jakub@redhat.com>
1200 * ldmain.c (main): Disallow -F and -f without -shared.
1202 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
1204 * emultempl/pe.em (after_open): Check for the output_bfd not
1205 having any coff_data structure allocated to it.
1207 2001-07-09 David O'Brien <obrien@FreeBSD.org>
1209 * emultempl/elf32.em: Do not assuming that contents of the buffer
1210 returned from basename function will remain unchanged accross other
1213 2001-07-03 H.J. Lu <hjl@gnu.org>
1215 * scripttempl/elf.sc (DYNAMIC_PAD): Revert the change made on
1216 2001-07-03. It creates dynamic entries even for static binaries.
1218 2001-07-03 Jakub Jelinek <jakub@redhat.com>
1220 * scripttempl/elf.sc (DYNAMIC_PAD): New variable.
1221 (DYNAMIC): Use it to reserve few dynamic entries for
1224 2001-06-27 Alan Modra <amodra@bigpond.net.au>
1226 * emulparams/hppa64linux.sh: New file.
1227 * configure.tgt: hppa*64*-*-linux* uses hppa64linux.sh
1228 * Makefile.am (ALL_64_EMULATIONS): Add ehppa64linux.o
1229 (ehppa64linux.c): Add rule to make it.
1231 * Makefile.in: Regenerate.
1233 2001-06-21 Hans-Peter Nilsson <hp@axis.com>
1235 * ld.texinfo (Options, -r): Mention restrictions when using
1236 different object formats.
1238 2001-06-19 Hans-Peter Nilsson <hp@axis.com>
1240 * ldlang.c (lang_check): Emit fatal error if relocatable link
1241 between different object flavours with relocations in input.
1243 2001-06-19 H.J. Lu <hjl@gnu.org>
1245 * ld.texinfo (-E, --export-dynamic): Mention --version-script.
1246 (--version-script): Mention the language support.
1248 2001-06-19 H.J. Lu <hjl@gnu.org>
1250 * ldlang.c (lang_check): Revert the change mode on 2001-06-15.
1252 2001-06-18 H.J. Lu <hjl@gnu.org>
1254 * Makefile.am (ld.1): Remove the prefix `$(srcdir)/'.
1255 (diststuff): Add $(MANS).
1256 * Makefile.in: Regenerated.
1260 2001-06-18 Hans-Peter Nilsson <hp@axis.com>
1262 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
1263 Update for API change in bfd_elf${ELFSIZE}_size_dynamic_sections.
1264 * mpw-elfmips.c (gldelf32ebmip_before_allocation): Ditto.
1265 * ld.h (args_type): Remove member export_dynamic. All users
1266 changed to use struct bfd_link_info member.
1268 * Makefile.am (ecriself.c, ed10velf.c, ei386moss.c): Depend on
1269 $(srcdir)/emultempl/elf32.em, not $(srcdir)/emultempl/generic.em.
1270 * Makefile.in: Regenerate.
1272 2001-06-18 H.J. Lu <hjl@gnu.org>
1274 * ldlang.c (init_os): Add the newline to the einfo call.
1275 (lang_check): Likewise.
1276 (lang_do_version_exports_section): Likewise.
1278 2001-06-15 H.J. Lu <hjl@gnu.org>
1280 * lexsup.c (parse_args); Save optind to report unrecognized
1283 2001-06-15 Hans-Peter Nilsson <hp@axis.com>
1285 * ldlang.c (lang_check): Emit fatal error if relocatable link
1286 between different object flavours.
1288 * lexsup.c (parse_args) <case OPTION_EXPORT_DYNAMIC, case 'E'>:
1289 Set new link_info member export_dynamic.
1290 * ldmain.c (main): Initialize new link_info member export_dynamic.
1292 2001-06-12 Nick Clifton <nickc@cambridge.redhat.com>
1294 * ldlang.c (walk_wild): Only call walk_wild_file if
1295 lookup_name returns something.
1296 (lookup_name): If load_symbols fails, return NULL.
1297 (load_symbols): Change to a boolean function.
1298 (open_input_bfds): If load_symbols fails then do not make the
1301 2001-06-08 Alan Modra <amodra@bigpond.net.au>
1303 * ldlang.c (record_bfd_errors): Remove.
1305 * emultempl/aix.em: Fix copyright dates.
1307 2001-06-07 Andreas Jaeger <aj@suse.de>
1309 * elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase.
1310 (TEXT_START_ADDR): Likewise.
1312 2001-06-06 Martin Schwidefsky <schwidefsky@de.ibm.com>
1314 * configure.host: Set HOSTING_CRT0/HOSTING_LIBS correctly for s/390.
1316 2001-06-05 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
1318 * emultempl/pe.em (init): Reduce default stack reserve to 0x200000.
1320 2001-05-31 H.J. Lu <hjl@gnu.org>
1322 * ldlang.c (open_input_bfds): Don't change the bfd error
1323 handler whilst loading symbols.
1325 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1327 * configure.tgt: Remove i370-mvs architecture, it is not currently
1330 2001-05-25 H.J. Lu <hjl@gnu.org>
1332 * emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
1333 like emulparams/aixppc.sh.
1335 2001-05-25 H.J. Lu <hjl@gnu.org>
1337 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move
1338 setting of output_filename after bfd_scan_arch.
1339 * emultempl/pe.em: Likewise.
1341 2001-05-25 H.J. Lu <hjl@gnu.org>
1343 * emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
1344 like emulparams/aixppc.sh.
1346 * emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed
1347 instead of ${srcdir}/emultempl/stringify.sed.
1349 2001-05-25 Timothy Wall <twall@oculustech.com>
1351 * emulparams/elf64_aix.sh: Change settings to match IBM linker
1354 2001-05-25 Alan Modra <amodra@one.net.au>
1356 * configure.host: Replace linuxoldld with linux*oldld.
1357 * configure.tgt: Likewise.
1359 2001-05-24 H.J. Lu <hjl@gnu.org>
1361 * emultempl/stringify.sed: Removed again.
1363 2001-05-24 H.J. Lu <hjl@gnu.org>
1365 * emultempl/aix.em (OUTPUT_ARCH): Defined.
1366 (gld${EMULATION_NAME}_before_parse): Initialize
1367 ldfile_output_architecture, ldfile_output_machine and
1368 ldfile_output_machine_name from ${OUTPUT_ARCH} if possible.
1369 * emultempl/beos.em: Likewise.
1370 * emultempl/elf32.em: Likewise.
1371 * emultempl/linux.em: Likewise.
1372 * emultempl/mipsecoff.em: Likewise.
1373 * emultempl/pe.em: Likewise.
1374 * emultempl/sunos.em: Likewise.
1376 2001-05-24 Tom Rix <trix@redhat.com>
1378 * emultempl/aix.em : (gld${EMULATION_NAME}_read_file)
1379 udate import file format.
1380 (change_symbol_mode) New, same
1381 (is_syscall) New, same
1382 * emulparams/aixppc.sh : add SYSCALL_MASK and SYMBOL_MODE_MASK
1383 * emulparams/aixppc64.sh : same
1384 * emulparams/aixrs6.sh : same
1385 * emulparams/ppcmacos.sh : same
1386 * emultempl/aix.em : use strtoull to parse options
1387 * Makefile.am : add eaixppc64 emulation for xcoff64
1388 * Makefile.in : same
1389 * configure.tgt : same
1391 * scripttempl/aix.sc : default text section offset to 0x10000000
1392 default data section offset to 0x20000000
1393 add .sv3264 and .sv64 pseudo sections
1394 loader and debug sections use the currect section offset.
1396 * emultempl/aix.em : Add xcoff64 support
1397 Add -binitfini support
1398 (gld${EMULATION_NAME}_before_parse) -binitfini
1399 (gld${EMULATION_NAME}_parse_args) same
1400 (gld${EMULATION_NAME}_before_allocation) format change for special
1403 * emulparams/aixppc64.sh : New file for xcoff64 support
1405 2001-05-23 Alexandre Oliva <aoliva@redhat.com>
1407 * emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new
1408 variable to avoid non-portable shell construct.
1410 2001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1412 * ldmain.c (get_emulation): Add -mips5 command line argument.
1414 2001-05-22 Alexandre Oliva <aoliva@redhat.com>
1416 * emulparams/elf_i386_ldso.sh: New, copied from elf_i386.sh.
1417 (ELF_INTERPRETER_NAME): Define it.
1418 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use
1420 * configure.tgt (targ_emul, targ_extra_emuls)
1421 [i[3456]86-*-solaris2*, i[3456]86-*-solaris*]: Use elf_i386_ldso
1422 as primary, elf_i386 as extra.
1423 * Makefile.am (ALL_EMULATIONS): Added eelf_i386_ldso.o.
1424 (eelf_i386_ldso.c): New rule.
1425 * Makefile.in: Rebuilt.
1427 2001-05-22 Nick Clifton <nickc@redhat.com>
1429 * lexsup.c (ld_options): Allow -I to be an alias for
1430 --dynamic-linker. This is for Solaris compatability.
1431 * ld.texinfo: Document that -I can be used.
1434 2001-05-16 Alan Modra <amodra@one.net.au>
1436 * ldlang.c (wild_doit): Use linker_has_input to reliably determine
1437 whether an input section is the first one assigned to an output
1439 Assorted formatting fixes.
1441 2001-05-14 DJ Delorie <dj@delorie.com>
1443 * Makefile.am (ld.dvi): Search bfd/doc for texinfo files.
1444 * Makefile.in: Ditto.
1446 2001-05-11 Jakub Jelinek <jakub@redhat.com>
1448 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put
1449 .gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind*
1451 * emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise.
1453 2001-05-11 Jakub Jelinek <jakub@redhat.com>
1455 * ldlang.c (lang_process): Call bfd_merge_sections.
1457 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1459 * ldgram.y: Fix typo.
1461 2001-05-03 H.J. Lu <hjl@gnu.org>
1463 * emultempl/elf32.em: Include "libiberty.h".
1464 (gld${EMULATION_NAME}_vercheck): Call basename () to get the
1465 basename of the bfd filename.
1466 (gld${EMULATION_NAME}_stat_needed): Likewise.
1467 (gld${EMULATION_NAME}_try_needed): Likewise.
1468 (gld${EMULATION_NAME}_open_dynamic_archive): Likewise.
1470 2001-05-02 H.J. Lu <hjl@gnu.org>
1472 * emultempl/pe.em: Include <ctype.h>.
1474 2001-05-02 Johan Rydberg <jrydberg@opencores.org>
1476 * emulparams/elf32openrisc.sh: New file.
1478 * Makefile.am: Add OpenRISC target.
1479 * Makefile.in: Regenerated.
1481 * configure.tgt: Add openrisc-*-* mapping.
1483 2001-05-02 Nick Clifton <nickc@redhat.com>
1485 * emultempl/aix.em: Replace buystring with xstrdup.
1486 * emultempl/beos.em: Replace buystring with xstrdup.
1488 2001-05-02 H.J. Lu <hjl@gnu.org>
1490 * ldfile.c: Include "libiberty.h".
1491 * ldlex.l: Likewise.
1493 * ldmisc.c (buystring): Removed.
1494 * ldmisc.h: Likewise.
1496 * ldfile.c: Replace buystring with xstrdup.
1497 * ldlang.c: Likewise.
1498 * ldlex.l: Likewise.
1499 * ldmain.c: Likewise.
1500 * ldmisc.c: Likewise.
1501 * lexsup.c: Likewise.
1502 * mpw-eppcmac.c: Likewise.
1504 2001-04-30 Andreas Jaeger <aj@suse.de>
1506 * emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value.
1508 2001-04-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
1510 * ldlang.c (load_symbols): Give emulation a chance
1511 to process unrecognized file before fatal error is
1512 reported, not after.
1514 2001-04-27 Sean McNeil <sean@mcneil.com>
1516 * configure.tgt: Add arm-vxworks target.
1517 * scripttempl/armcoff.sc: Support .text or .data as a section name
1521 2001-04-13 J.T. Conklin <jtc@redback.com>
1523 * ld.texinfo: Document --fatal-warnings.
1526 * ldmisc.c (vfinfo): Set flag to inhibit making executable if
1527 warnings have been turned into errors.
1528 * lexsup.c (OPTION_WARN_FATAL): Define.
1529 (ld_options): Entry for --fatal-warnings.
1530 (parse_args): Handle OPTION_WARN_FATAL.
1531 * ld.h (ld_config_type): Add fatal_warnings field.
1533 2001-04-13 Jakub Jelinek <jakub@redhat.com>
1535 * ldmain.c (main): Default to discard_sec_merge.
1536 * lexsup.c (OPTION_DISCARD_NONE): Define.
1537 (ld_options): Add --discard-none.
1538 (parse_args): Handle OPTION_DISCARD_NONE.
1539 * ldlang.c (wild_doit): SEC_MERGE should be set in the output
1540 section only if SEC_MERGE and SEC_STRINGS flags and entsize of
1541 all its input sections match.
1543 2001-04-05 Steven J. Hill <sjhill@cotw.com>
1545 * Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o.
1546 (ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o.
1547 (eelf32ltsmip.c): New target.
1548 (eelf64btsmip.c): Likewise.
1549 (eelf64ltsmip.c): Likewise.
1550 * Makefile.in: Regenerated.
1552 * configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS
1554 (mips*-*-linux-gnu*): Likewise.
1556 * emulparams/elf32ltsmip.sh: New. Traditional little endian
1558 * emulparams/elf64btsmip.sh: New. Traditional 64bit big endian
1560 * emulparams/elf64ltsmip.sh: New. Traditional 64bit little
1563 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
1565 * emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide
1566 correct value of __Stext here.
1567 (TEXT_START_SYMBOLS): Define; always define __Stext, to start of
1570 * emulparams/crislinux.sh: Remove FIXME.
1572 2001-04-02 Alan Modra <alan@linuxcare.com.au>
1574 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k.
1575 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Likewise.
1577 2001-03-27 Hans-Peter Nilsson <hp@axis.com>
1579 * configure.tgt (cris-*-*): Change default emulation to criself.
1580 (cris-*-*aout*): New rule.
1582 2001-03-27 Matthew Wilcox <willy@ldl.fc.hp.com>
1584 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 0x4000.
1585 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
1587 2001-03-26 Andreas Jaeger <aj@suse.de>
1589 * ld.texinfo (Overview): Fix syntax in texi code.
1591 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1593 * ld.texinfo: Put @c man indications to generate the ld man page.
1594 When generating man, define all the variables. Define SEEALSO
1595 and SYNOPSIS. Re-organize some lines to avoid the cross references.
1596 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variables.
1597 (ld.1): Generate from ld.texinfo.
1598 * Makefile.in: Regenerate.
1600 2001-03-23 Mark Elbrecht <snowball3@bigfoot.com>
1602 * scripttempl/i386go32.sc: Support the GCC flags '-ffunction-sections'
1603 and '-fdata-sections'. Set the VMA of STABS sections to zero.
1605 2001-03-17 Ulrich Drepper <drepper@redhat.com>
1607 * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME
1608 is an absolute path look only for this file and not along the path.
1610 2001-03-17 Ulrich Drepper <drepper@redhat.com>
1612 * emultempl/elf32.em (OPTION_GROUP): New macro.
1613 Add new option Bgroup to longopts.
1614 (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs.
1615 (gld*_list_options): Add -Bgroup and -z defs.
1616 * ld.1: Document -Bgroup and -z defs.
1617 * ld.texinfo: Likewise.
1619 2001-03-07 Michael Meissner <meissner@redhat.com>
1621 * scripttempl/elfd10v.sc (.rodata,.rodata1,.data1,.sdata): Deal
1622 with sections created by -fdata-sections.
1623 (.dynbss,.bss): Ditto.
1625 2001-03-05 Alan Modra <alan@linuxcare.com.au>
1627 * emultempl/m68kelf.em (m68k_elf_after_allocation): Call
1628 after_allocation_default, not gld..._before_allocation.
1630 2001-02-27 Alan Modra <alan@linuxcare.com.au>
1632 * configure.in (BFD_VERSION): New.
1633 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1634 * configure: Regenerate.
1635 * Makefile.am: Run "make dep-am"
1636 * Makefile.in: Regenerate.
1638 2001-02-26 Timothy Wall <twall@cygnus.com>
1640 * emulparams/elf64_aix.sh: Add additional read-only sections;
1641 uncomment lines which are now required.
1643 2001-02-26 H.J. Lu <hjl@gnu.org>
1645 * ldlang.c (open_input_bfds): Set the bfd error handler so
1646 that problems can be caught whilst loading symbols.
1647 (record_bfd_errors): New function: Report BFD errors and mark
1648 the executable output as being invalid.
1650 2001-02-22 Timothy Wall <twall@cygnus.com>
1652 * configure.host: Add configuration for ia64-*-aix*.
1653 * Makefile.am (ALL_64_EMULATIONS): Add emulation for ia64-*-aix*.
1654 Add dependencies for eelf64_aix.c.
1655 * Makefile.in: Regenerate.
1656 * configure.tgt: Add ia64-*-aix* mapping.
1657 * emulparams/elf64_aix.sh: Add settings for elf64 on aix5.
1658 * testsuite/ld-bootstrap/bootstrap.exp: Exclude ia64 flavor from
1661 2001-02-20 H.J. Lu <hjl@gnu.org>
1663 * ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to
1664 false if we found the file.
1666 2001-02-18 David O'Brien <obrien@FreeBSD.org>
1668 * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64,
1669 FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries.
1671 2001-02-18 lars brinkhoff <lars@nocrew.org>
1673 * Makefile.am: Add PDP-11 target.
1674 * configure.tgt: Likewise.
1675 * emulparams/pdp11.sh: New file.
1677 2001-02-17 David O'Brien <obrien@FreeBSD.org>
1679 * configure.host: Add a generic FreeBSD configuration entry such that
1680 all [modern] FreeBSD systems on all platforms will look the same.
1682 2001-02-14 H.J. Lu <hjl@gnu.org>
1684 * configure.tgt: Remove mention of earmelf_linux26.
1686 2001-02-13 Richard Henderson <rth@redhat.com>
1688 * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove.
1690 2001-02-13 H.J. Lu <hjl@gnu.org>
1692 * ldexp.h (node_type): Add etree_provided.
1693 * ldexp.c (exp_fold_tree): Handle etree_provided. Set the node
1694 type to etree_provided if defined by PROVIDE. Allow updating
1696 (exp_print_tree): Handle etree_provided.
1697 * mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle
1700 2001-02-09 David Mosberger <davidm@hpl.hp.com>
1702 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add
1703 .IA_64.unwind.* pattern to unwind table section and
1704 .IA_64.unwind_info* pattern to unwind info section.
1706 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
1708 * Makefile.am: Add linux target for S/390.
1709 * Makefile.in: Likewise.
1710 * configure.host: Likewise.
1711 * configure.tgt: Likewise.
1712 * emulparams/elf64_s390.sh: New file.
1713 * emulparams/elf_s390.sh: New file.
1715 2001-02-09 Jakub Jelinek <jakub@redhat.com>
1717 * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into
1719 (sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath.
1721 2001-02-06 Philip Blundell <philb@gnu.org>
1723 * Makefile.am: Remove mention of earmelf_linux26.
1724 * Makefile.in: Regenerate.
1726 2001-02-04 Philip Blundell <philb@gnu.org>
1728 * emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000.
1729 * emulparams/armelf_linux26.sh: Delete.
1730 * configure.tgt: Remove mention of armelf_linux26 emulation.
1732 2001-02-01 Nick Clifton <nickc@redhat.com>
1734 * ld.1: Replace occurances of -oformat with --oformat.
1736 2001-01-25 Jim Driftmyer <jdrift@stny.rr.com>
1738 * ldlang.c (lang_leave_overlay): Don't set lma_region when
1739 load_base is specified.
1741 2001-01-24 Hans-Peter Nilsson <hp@axis.com>
1743 * emultempl/elf32.em: Correct spelling in comments and listed
1746 2001-01-23 Alan Modra <alan@linuxcare.com.au>
1748 * ldlang.c (lang_leave_overlay): Only set lma_region from the
1749 default for the first section of a group of overlay sections.
1751 2001-01-22 Alan Modra <alan@linuxcare.com.au>
1753 * Makefile.am (GENSCRIPTS): Pass exec_prefix.
1754 * Makefile.in: Regenerate.
1755 * genscripts.sh: Use exec_prefix parameter to specify tool lib.
1756 Check for null tool_dir.
1758 2001-01-16 Jim Wilson <wilson@redhat.com>
1760 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind
1761 and IA_64.unwind.info.
1763 2001-01-16 H.J. Lu <hjl@gnu.org>
1765 * ldlang.c (lang_check): Merge the private data only if the
1766 input file has contents.
1768 2001-01-14 Alan Modra <alan@linuxcare.com.au>
1770 * emulparams/hppalinux.sh (OUTPUT_FORMAT): Set to elf32-hppa-linux.
1772 * emultempl/hppaelf.em (hppaelf_after_parse): New function,
1773 enabling search for libmilli. On a relocatable link, make .text
1775 (LDEMUL_AFTER_PARSE): Define.
1776 (hppaelf_finish): Correct spelling of relocatable in comments.
1778 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
1779 rummage through the script for sections on the unique list.
1780 Correct length of strncmp for ".note".
1781 (gld${EMULATION_NAME}_check_needed): Rearrange function.
1783 * ldlang.c (unique_section_list): New var.
1784 (unique_section_p): New function.
1785 (walk_wild_section): Don't match sections on unique_section_list.
1786 (lang_add_unique): New function.
1787 Correct spelling of relocatable in comments.
1789 * ldlang.h (struct unique_sections): Declare.
1790 (unique_section_list): Declare.
1791 (unique_section_p): Declare.
1792 (lang_add_unique): Declare.
1794 * lexsup.c (ld_options): Allow --unique to take an optional arg.
1795 (parse_args [OPTION_UNIQUE]): Call lang_add_unique.
1797 * ld.texinfo (--unique): Update.
1799 2001-01-13 Nick Clifton <nickc@redhat.com>
1801 * lexsup.c (parse_args): Remove spurious white space.
1803 2001-01-12 Nick Clifton <nickc@redhat.com>
1805 * lexsup.c (parse_args): Update copyright date.
1807 2001-01-12 Philip Blundell <pb@futuretv.com>
1809 * configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin.
1811 2001-01-10 Kazu Hirata <kazu@hxi.com>
1813 * scripttempl/h8300.sc: Fix formatting. Fix a comment typo.
1814 * scripttempl/h8300h.sc: Fix formatting.
1815 * scripttempl/h8300s.sc: Likewise.
1816 * scripttempl/h8500.sc: Likewise.
1817 * scripttempl/h8500b.sc: Likewise.
1818 * scripttempl/h8500c.sc: Likewise.
1819 * scripttempl/h8500m.sc: Likewise.
1820 * scripttempl/h8500s.sc: Likewise.
1822 2000-01-07 David O'Brien <obrien@BSDi.com>
1824 * emultempl/elf32.em: Only perform Linux ld hints processing when
1827 2001-01-07 Philip Blundell <philb@gnu.org>
1829 * ld.texinfo (Bug Reporting): Update email address for reports.
1831 2000-12-31 Nick Clifton <nickc@redhat.com>
1833 * lexsup.c (parse_args): Set opterr to 0 and detect unparsed long
1834 options by checking for a return value of '?' not -1.
1836 2000-12-28 Nick Clifton <nickc@redhat.com>
1838 * lexsup.c (struct ld_option): Add new enum value:
1840 (ld_options[]): Change -omagic, -output and -oformat options
1841 to be EXACTLY_TWO_DASHES.
1842 (OUTPUT_COUNT): Use ARRAY_SIZE.
1843 (parse_args): Change parameter 'argc' to unsigned.
1844 Place EXACTLY_TWO_DASHES options into new really_longopts
1846 If getopt_long_only fails, try calling getopt_long using the
1847 really_longopts array.
1848 (help): Print a double dash for both EXACTLY_TWO_DASHES and
1851 * ldlex.h: Fix prototype of parse_args.
1853 * ld.texinfo: Document that long options starting with 'o'
1854 must be preceeded by two dashes. Change example of a single
1855 dashed long option from -oformat to -trace-symbol.
1857 2000-12-26 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
1859 * emultempl/pe.em (OPTION_NO_DEFAULT_EXCLUDES): Define.
1860 (longopts[]): New --no-default-excludes option.
1861 (gld_${EMULATION_NAME}_list_options): Document.
1862 (gld_${EMULATION_NAME}_parse_args): Handle.
1864 2000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1866 * ldlang.c (new_stat): Revert the last beautification with "innocent"
1867 whitespace, it breaks the K&R C preprocessor.
1869 2000-12-11 DJ Delorie <dj@redhat.com>
1871 * ld.texinfo: Add notes about --whole-archive and gcc.
1873 2000-11-18 Fred Fish <fnf@be.com>
1875 * lexsup.c (OPTION_ALLOW_SHLIB_UNDEFINED): Define.
1876 (ld_options): Entry for --allow-shlib-undefined.
1877 (parse_args): Handle OPTION_ALLOW_SHLIB_UNDEFINED.
1878 * ldmain.c (main): Initialize link_info.allow_shlib_undefined
1880 * ld.texinfo: Document new command line switch.
1882 2000-12-12 Geoffrey Keating <geoffk@redhat.com>
1884 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS):
1885 .fixup is actually read/write.
1886 * emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
1887 * emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
1888 * emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
1890 Mon Dec 11 14:50:33 MET 2000 Jan Hubicka <jh@suse.cz>
1892 * NEWS: Add note about x86_64 architecture.
1894 2000-12-06 Mark Elbrecht <snowball3@bigfoot.com>
1896 * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end.
1897 Set DWARF2 sections to a VMA of zero.
1899 2000-12-01 Joel Sherrill <joel@OARcorp.com>
1901 * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
1903 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
1904 (sparc*-*-rtems*): Switched from a.out to ELF.
1906 2000-11-30 Jan Hubicka <jh@suse.cz>
1908 * Makefile.am (ALL_EMULATIONS): Add eelf_x86_64.o
1909 (eelf_x86_64.c): New.
1910 * Makefile.in: Regenerate.
1911 * configure.tgt: Add support for x86_64-*-linux-gnu*.
1912 * emulparams/elf_x86_64.sh: New.
1914 2000-11-30 Hans-Peter Nilsson <hp@axis.com>
1916 * emulparams/crislinux.sh (ENTRY): Change back to _start.
1917 (TEXT_START_SYMBOLS): Remove conditional setting of __start.
1919 * scripttempl/crisaout.sc: Change all RELOCATING not related to
1920 merging non-a.out sections into CONSTRUCTING.
1922 2000-11-28 Nick Clifton <nickc@redhat.com>
1924 * ld.1 (COPYING): Mention that the GNU Free Documentation
1925 License is present in the sources, but not the output, and
1926 also available from the GNU website.
1927 (GNU Free Documentation License): Comment out this section.
1929 2000-11-28 David O'Brien <obrien@dragon.nuxi.com>
1931 * emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF
1934 2000-11-25 David O'Brien <obrien@FreeBSD.org>
1936 * ld.1: Remove old date so it does not give the impression the manpage
1939 2000-11-24 Nick Clifton <nickc@redhat.com>
1941 * configure.tgt (xscale-coff): Add target.
1942 (xscale-elf): Add target.
1944 2000-11-24 Fred Fish <fnf@be.com>
1946 * ldmain.c (main): Remove redundant init of config.make_executable
1949 2000-11-15 Richard Henderson <rth@redhat.com>
1951 * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M.
1953 2000-11-14 Kazu Hirata <kazu@hxi.com>
1955 * scripttempl/h8300.sc: Fix formatting.
1956 * scripttempl/h8300h.sc: Likewise.
1957 * scripttempl/h8300s.sc: Likewise.
1959 Tue Nov 14 00:59:19 2000 Denis Chertykov <denisc@overta.ru>
1961 * scripttempl/elf32avr.sc: Fix bug in .eeprom segment.
1963 2000-11-09 Philip Blundell <pb@futuretv.com>
1965 * emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME
1966 around orphan sections whose names can be represented in C.
1968 2000-11-07 Jim Wilson <wilson@redhat.com>
1970 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local
1971 hold_sdata. If SEC_SMALL_DATA set, set place to hold_sdata.
1973 2000-11-06 Nick Clifton <nickc@redhat.com>
1975 * ld.texinfo: Add GNU Free Documentation License.
1976 * ldint.texinfo: Add GNU Free Documentation License.
1977 * ld.1: Add GNU Free Documentation License.
1979 2000-11-05 Alan Modra <alan@linuxcare.com.au>
1981 * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer,
1982 yy_is_interactive, yy_at_bol, and yy_fill_buffer.
1984 * Makefile.am (DISTCLEANFILES): Add stringify.sed.
1985 Move 2000-11-02 Makefile.in changes to this file.
1986 * Makefile.in: Regenerate.
1988 2000-11-03 Nick Clifton <nickc@redhat.com>
1990 * scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose
1991 constructors and destructors.
1992 * scripttempl/h8300h.sc: Ditto.
1993 * scripttempl/h8300s.sc: Ditto.
1994 * scripttempl/h8500.sc: Ditto.
1995 * scripttempl/h8500b.sc: Ditto.
1996 * scripttempl/h8500c.sc: Ditto.
1997 * scripttempl/h8500m.sc: Ditto.
1998 * scripttempl/h8500s.sc: Ditto.
1999 * scripttempl/v850.sc: Ditto.
2000 * scripttempl/w65.sc: Ditto.
2001 * scripttempl/z8000.sc: Ditto.
2003 2000-11-02 Per Lundberg <plundis@chaosdev.org>
2005 * Makefile.in (e_i386_chaos.c): New rule.
2006 (ALL_EMULATIONS): Added e_i386_chaos.o.
2007 * emulparams/elf_i386_chaos.sh: New file.
2008 * configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos.
2010 2000-10-20 Jakub Jelinek <jakub@redhat.com>
2012 * emulparams/elf64_sparc.sh (TEXT_START_ADDR,
2013 NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets.
2014 Fix sed invocation, so that it coped with '/' in Solaris 64bit
2015 library path suffix.
2016 Based on patch by Andrew Macleod <amacleod@cygnus.com>.
2018 2000-10-18 Hans-Peter Nilsson <hp@axis.com>
2020 * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),
2021 for consecutive sections.
2023 2000-10-17 Chandrakala Chavva <cchavva@redhat.com>
2025 * lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific
2027 * ld.texinfo: Added notes about this new option.
2029 2000-10-16 Nick Clifton <nickc@redhat.com>
2031 * emultempl/pe.em (_after_open): Add tests of return values from
2032 bfd functions. Emit appropriate error messages if necessary.
2034 2000-10-13 Nick Clifton <nickc@redhat.com>
2036 * emultempl/pe.em (_after_open): Delete 'is2' and 'nsyms'
2037 local variables - they are not used, but leave in the call to
2038 bfd_canonicalize_symtab.
2039 (_open_dynamic_archive): Add #ifdef DLL_SUPPORT around use of
2040 pe_dll_search_prefix.
2042 2000-10-12 Charles Wilson <cwilson@ece.gatech.edu>
2044 * emultempl/pe.em (pe_dll_search_prefix): New variable,
2045 (longopts): New --dll-search-prefix option.
2046 (gld_${EMULATION_NAME}_list_options): Document.
2047 (gld_${EMULATION_NAME}_parse_args): Handle.
2048 (gld_${EMULATION_NAME}_open_dynamic_archive): When linking
2049 dynamically, search for a dll named '<prefix><basename>.dll'
2050 in preference to 'lib<basename>.dll' if --dll-search-prefix
2053 2000-10-12 Alan Modra <alan@linuxcare.com.au>
2055 * ldlang.c (section_already_linked): Set kept_section instead of
2058 2000-10-10 Kazu Hirata <kazu@hxi.com>
2060 * deffile.h: Fix formatting.
2061 * lexsup.c: Likewise.
2064 2000-10-09 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
2066 * pe-dll.c (make_one): Do not generate code thunk for DATA
2068 (process_def_file): deduce DATA flag for auto-export sumbols.
2070 2000-10-09 Kazu Hirata <kazu@hxi.com>
2072 * ld.h: Fix formatting.
2073 * ldcref.c: Likewise.
2074 * ldctor.h: Likewise.
2075 * ldemul.c: Likewise.
2076 * ldemul.h: Likewise.
2077 * ldexp.c: Likewise.
2078 * ldexp.h: Likewise.
2079 * ldfile.c: Likewise.
2080 * ldfile.h: Likewise.
2081 * ldlang.c: Likewise.
2082 * ldlang.h: Likewise.
2083 * ldmain.c: Likewise.
2084 * pe-dll.c: Likewise.
2086 * pe-dll.c: Revert some formatting fixes.
2088 2000-10-08 Kazu Hirata <kazu@hxi.com>
2090 * pe-dll.c: Fix formatting.
2092 2000-10-05 Kazu Hirata <kazu@hxi.com>
2094 * ldlang.c: Fix formatting.
2096 2000-10-03 DJ Delorie <dj@redhat.com>
2098 * pe-dll.c (fill_edata): initialize entire block
2099 (make_one): fill in correct section.
2101 2000-10-03 Kazu Hirata <kazu@hxi.com>
2103 * ldexp.c: Fix formatting.
2105 2000-10-02 DJ Delorie <dj@redhat.com>
2107 * emultempl/pe.em (gld_*_after_open): detect case where there two
2108 import libraries for same dll; rename one to ensure proper link
2111 * pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix
2113 (generate_edata): fix typo
2115 2000-09-29 Hans-Peter Nilsson <hp@axis.com>
2117 * scripttempl/crisaout.sc (ENTRY): Now __start.
2118 (.text): Add default setting for __start.
2119 Remove CONSTRUCTORS handling.
2120 (/DISCARD/): Add .gnu.warning.*.
2121 * emulparams/crislinux.sh (ENTRY): Now __start.
2122 (TEXT_START_SYMBOLS): New; provide __Stext and __start default.
2123 * emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris.
2124 (ENTRY): Now __start.
2125 (INITIAL_READONLY_SECTIONS): Add KEEP for .startup.
2126 (EXECUTABLE_SYMBOLS): Add default setting for __start.
2128 2000-09-29 Kazu Hirata <kazu@hxi.com>
2130 * deffile.h: Fix formatting.
2132 * ldcref.c: Likewise.
2133 * ldctor.c: Likewise.
2134 * ldctor.h: Likewise.
2135 * ldemul.c: Likewise.
2136 * ldemul.h: Likewise.
2137 * ldexp.c: Likewise.
2138 * ldexp.h: Likewise.
2139 * ldfile.c: Likewise.
2140 * ldfile.h: Likewise.
2141 * ldlang.c: Likewise.
2142 * ldlang.h: Likewise.
2143 * lexsup.c: Likewise.
2145 * pe-dll.c: Likewise.
2147 2000-09-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
2149 * pe-dll.c (process_def_file): Uninitialized data wasn't
2150 exported with --export-all-symbols switch.
2152 2000-09-28 DJ Delorie <dj@redhat.com>
2154 * pe-dll.c (fill_edata): rearrange the data so that ordinals and
2155 noname work properly.
2157 2000-09-28 Alan Modra <alan@linuxcare.com.au>
2159 * ld.texinfo (HPPA ELF32): New section.
2161 * emultempl/hppaelf.em (group_size): New.
2162 (hppaelf_finish): Pass group_size to elf32_hppa_size_stubs.
2163 (PARSE_AND_LIST_PROLOGUE): Add OPTION_STUBGROUP_SIZE.
2164 (PARSE_AND_LIST_LONGOPTS): Add --stub-group-size. Duplicate
2165 options to prevent abbreviations matching.
2166 (PARSE_AND_LIST_OPTIONS): Describe the above. Reformat.
2167 (PARSE_AND_LIST_ARGS_CASES): Handle it.
2169 2000-09-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2171 * emultempl/m68kelf.em: Conditionalise the embedded relocs feature
2172 on the m68*-*-elf target. Make it support COFF input objects.
2174 2000-09-21 Kazu Hirata <kazu@hxi.com>
2176 * ldmain.c: Fix formatting.
2177 * ldmisc.c: Likewise.
2178 * ldver.c: Likewise.
2179 * ldwrite.c: Likewise.
2181 2000-09-21 Alan Modra <alan@linuxcare.com.au>
2183 * ldwrite.c (clone_section): Silence gcc warnings.
2185 2000-09-20 Alan Modra <alan@linuxcare.com.au>
2187 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Handle
2188 out of memory failure.
2190 * ldwrite.c (ldwrite): Remove unnecessary einfo arg.
2191 (clone_section): Handle out of memory failures. Rename var to
2192 avoid c++ reserved word.
2194 2000-09-18 Alan Modra <alan@linuxcare.com.au>
2196 * emultempl/hppaelf.em (hppaelf_add_stub_section): Rename
2197 stub_name param to stub_sec_name.
2198 (hppaelf_finish): Modify call to elf32_hppa_size_stubs.
2200 2000-09-10 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2202 * emultempl/m68kelf.em: New file.
2203 * emulparams/m68kelf.sh (EXTRA_EM_FILE): Use it.
2204 * Makefile.am (em68kelf.c): Add dependency on m68kelf.em.
2205 * Makefile.in: Regenerate.
2207 2000-09-15 Alan Modra <alan@linuxcare.com.au>
2209 * emulparams/hppalinux.sh (DATA_START_SYMBOLS): Provide $global$
2212 2000-09-13 Nick Clifton <nickc@redhat.com>
2214 * ldmain.c (multiple_definition): Disable relaxation if
2215 multiple symbol definitions are encountered - otherwise the
2216 linker could abort with an assertion failure.
2218 2000-09-10 Nick Clifton <nickc@redhat.com>
2220 * mri.c: Fix formatting.
2222 2000-09-07 H.J. Lu <hjl@gnu.org>
2224 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
2225 * configure: Rebuild.
2227 2000-09-07 H.J. Lu <hjl@gnu.org>
2229 * Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h.
2230 * Makefile.in: Rebuild.
2232 2000-09-07 Alan Modra <alan@linuxcare.com.au>
2234 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Fix
2235 broken list handling. Create __start_SECNAME and __stop_SECNAME
2236 when no place-holder. Add some comments. Test both SEC_CODE and
2237 SEC_READONLY for hold_text to prevent .rodata orphan poisoning.
2238 Handle case where no output section statement created.
2240 2000-09-07 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
2242 * configure.tgt (sh-*-linux*): Added.
2243 * Makefile.am: Added eshelf_linux and eshlelf_linux.
2244 * Makefile.in: Rebuilt.
2245 * emulparams/shelf_linux.sh: New file.
2246 * emulparams/shlelf_linux.sh: New file.
2248 2000-09-06 Alan Modra <alan@linuxcare.com.au>
2250 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
2251 try shuffling sections when the orphan happens to be the place
2252 holder. Keep count of unique section names generated so we speed
2253 the search for a new name.
2255 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
2257 * configure: Rebuilt with new libtool.m4.
2259 2000-09-05 Nick Clifton <nickc@redhat.com>
2261 * Makefile.in: Regenerate.
2262 * aclocal.m4: Regenerate.
2263 * configure: Regenerate.
2264 * config.in: Regenerate.
2265 * po/ld.pot: Regenerate.
2267 * ldint.texinfo: Remove CVS revision marker - it foils local
2270 * emultempl/ticoff.em: Remove extraneous comma.
2272 2000-09-05 Alan Modra <alan@linuxcare.com.au>
2274 * emultempl/hppaelf.em (hppaelf_add_stub_section): Add SEC_RELOC
2275 to stub section flags.
2276 (hppa_for_each_input_file_wrapper): New.
2277 (hppa_lang_for_each_input_file): New.
2278 (lang_for_each_input_file): Define to call above.
2279 (multi_subspace): New.
2280 (hppaelf_finish): Pass multi_subspace to elf32_hppa_size_stubs.
2281 (PARSE_AND_LIST_PROLOGUE): Define.
2282 (PARSE_AND_LIST_LONGOPTS): Define.
2283 (PARSE_AND_LIST_OPTIONS): Define.
2284 (PARSE_AND_LIST_ARGS_CASES): Define.
2285 (hppaelf_finish): Call elf32_hppa_set_gp.
2286 (hppaelf_set_output_arch): Remove.
2287 (LDEMUL_SET_OUTPUT_ARCH): Remove.
2289 * emulparams/hppalinux.sh (ELFSIZE): Define.
2291 (OTHER_READONLY_SECTIONS): Define.
2293 (GENERATE_SHLIB_SCRIPT): Define.
2295 * ldlang.c: Add missing prototypes, and tidy others. Change CONST
2296 to const throughout. Change `void *' to `PTR' throughout.
2297 (lang_memory_default): Function is local to file, add `static'.
2299 * Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em.
2300 (ehppalinux.c): Likewise.
2301 (earmelf.c): Likewise.
2302 (earmelf_linux.c): Likewise.
2303 (earmelf_linux26.c): Likewise.
2304 * Makefile.in: Regenerate.
2306 * ld.h (ld_config_type): Add unique_orphan_sections.
2307 * lexsup.c (OPTION_UNIQUE): Define.
2308 (ld_options): Add "--unique".
2309 (parse_args): Handle it.
2310 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
2311 search for an existing output section if unique_orphan_sections is
2312 set. Make use of bfd_get_unique_section_name rather than
2313 duplicating code here.
2314 * ld.texinfo: Describe --unique.
2316 * lexsup.c (ld_options): Make split-by-reloc arg optional. Add
2317 optional arg to split-by-file.
2318 (parse_args): Handle them.
2319 * ld.texinfo: Update description of these options.
2320 * ldwrite.c (clone_section): Pass in the section name. Replace
2321 local code with bfd_get_unique_section_name.
2322 (split_sections): Tidy code and comments. Use a list traversal
2323 more appropriate to the list construction. Handle cooked section
2324 sizes. Split when split_by_reloc reached rather than exceeded.
2325 Track section size and split when split_by_file reached. Fix
2326 link_order_tail (even though it's not used).
2327 (ldwrite): Modify condition for calling split_sections to suit
2328 changed split_by_reloc and split_by_file.
2329 * ldmain.c (main): Init config.split_by_reloc and
2330 config.split_by_file to -1.
2331 * ld.h (ld_config_type): Change split_by_reloc to unsigned.
2332 Change split_by_file to bfd_size_type.
2334 2000-09-02 Nick Clifton <nickc@redhat.com>
2336 * configure.in: Increase version number to 2.10.91.
2337 * NEWS: Mention new ability to support removal of duplicate DWARF2
2339 * configure: Regenerate.
2340 * aclocal.m4: Regenerate.
2341 * config.in: Regenerate.
2343 2000-09-02 Daniel Berlin <dberlin@redhat.com>
2345 * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info
2347 * scripttempl/elf32avr.sc: Ditto.
2348 * scripttempl/elfd10v.sc: Ditto.
2349 * scripttempl/elfd30v.sc: Ditto.
2350 * scripttempl/elfi370.sc: Ditto.
2351 * scripttempl/elfm68hc11.sc: Ditto.
2352 * scripttempl/elfm68hc12.sc: Ditto.
2353 * scripttempl/elfi386beos.sc: Ditto.
2354 * scripttempl/v850.sc: Ditto.
2356 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
2358 * acinclude.m4: Include libtool and gettext macros from the
2360 * aclocal.m4, configure: Rebuilt.
2362 2000-08-25 Nick Clifton <nickc@redhat.com>
2364 * ldlang.c (open_output): When choosing the target for a
2365 particular endianness, do nothing if the target is not
2368 2000-08-25 H.J. Lu <hjl@gnu.org>
2370 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
2371 check -rpath nor LD_RUN_PATH for cross link.
2372 * ld.texinfo: Document the change.
2374 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
2376 * NEWS: Mention support for CRIS.
2378 2000-08-23 H.J. Lu <hjl@gnu.org>
2380 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get
2381 the current runpath list from bfd_elf_get_runpath_list ()
2384 2000-08-22 H.J. Lu <hjl@gnu.org>
2386 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search
2387 the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after
2388 LD_LIBRARY_PATH for native linker. Display the needed DSO if
2389 trace_file_tries is non-zero.
2390 (gld${EMULATION_NAME}_try_needed): Report the needed DSO found
2391 if trace_file_tries is non-zero.
2393 * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH.
2396 2000-08-14 Jason Eckhardt <jle@cygnus.com>
2398 * NEWS: Mention i860 support.
2400 2000-08-14 Andreas Schwab <schwab@suse.de>
2402 * scripttempl/elf.sc: Fix last change to use correct comment
2405 2000-08-10 Geoff Keating <geoffk@cygnus.com>
2407 * scripttempl/elf.sc: Add a comment giving the correspondence
2408 between sections, per-datum sections, and linkonce sections. Make
2409 the comment true even for .bss, .sdata, .sdata2, .sbss, and
2412 2000-08-10 Jason Eckhardt <jle@cygnus.com>
2414 * emulparams/elf32_i860.sh: New file.
2415 * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}.
2416 * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o.
2417 (eelf32_i860.c): New rule.
2418 * Makefile.in: Regenerate.
2420 2000-08-10 Nick Clifton <nickc@cygnus.com>
2422 * emulparams/mipspe.sh (ENTRY): Add definition.
2424 2000-08-08 Peter Jeremy <peter.jeremy@alcatel.com.au>
2426 * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath
2429 2000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2431 * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate
2432 the final size of .bss section.
2433 * scripttempl/elfm68hc12.sc: Likewise.
2435 2000-08-04 Alan Modra <alan@linuxcare.com.au>
2437 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to
2438 gld${EMULATION_NAME}_parse_args for consistency. Combine
2439 lastoptind and prevoptind vars, and keep track of last optind.
2440 (gld_${EMULATION_NAME}_list_options): Rename to
2441 gld${EMULATION_NAME}_list_options.
2443 2000-08-03 Rodney Brown <RodneyBrown@pmsc.com>
2445 * configure.tgt: Select targ_emul=elf_i386 for Unixware 7
2446 (i586-sco-sysv5uw7.1.0).
2448 2000-07-27 H.J. Lu <hjl@gnu.org>
2450 * emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed.
2451 (PARSE_AND_LIST_PROLOGUE): New.
2452 (PARSE_AND_LIST_LONGOPTS): Likewise.
2453 (PARSE_AND_LIST_OPTIONS): Likewise.
2454 (PARSE_AND_LIST_ARGS_CASES): Likewise.
2455 (PARSE_AND_LIST_EPILOGUE): Likewise.
2457 2000-07-28 Alan Modra <alan@linuxcare.com.au>
2459 * emultempl/armelf.em: Elide functions common to elf32.em,
2460 ie. most of the file.
2461 (arm_elf_after_open): New. Do arm specific things then call
2462 gld${EMULATION_NAME}_after_open.
2463 (arm_elf_before_allocation): New. Call
2464 gld${EMULATION_NAME}_before_allocation then do arm specifics.
2465 (PARSE_AND_LIST_PROLOGUE): Define.
2466 (PARSE_AND_LIST_SHORTOPTS): Define.
2467 (PARSE_AND_LIST_LONGOPTS): Define.
2468 (PARSE_AND_LIST_OPTIONS): Define.
2469 (PARSE_AND_LIST_ARGS_CASES): Define.
2470 (LDEMUL_AFTER_OPEN): Define.
2471 (LDEMUL_BEFORE_ALLOCATION): Define.
2472 (LDEMUL_BEFORE_PARSE): Define.
2473 (LDEMUL_FINISH): Define.
2475 * emultempl/hppaelf.em: Similarly zap most of this file.
2476 (hppaelf_add_stub_section): Prototype.
2477 (hppaelf_layaout_sections_again): Prototype.
2478 (hook_in_stub): Prototype.
2479 (LDEMUL_SET_OUTPUT_ARCH): Define.
2480 (LDEMUL_FINISH): Define.
2481 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
2483 * emulparams/armelf.sh (TEMPLATE_NAME): Use elf32.
2484 (EXTRA_EM_FILE): New.
2485 * emulparams/armelf_linux.sh: Likewise.
2486 * emulparams/armelf_linux26.sh: Likewise.
2487 * emulparams/hppalinux.sh: Likewise.
2488 * emulparams/hppaelf.sh: Likewise.
2491 * emultempl/elf32.em: Fix formatting.
2492 (EXTRA_EM_FILE): Source it.
2493 (LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
2494 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
2495 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
2496 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
2497 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
2498 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
2499 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
2500 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
2501 LDEMUL_FIND_POTENTIAL_LIBRARIES): New shell vars. Add code to
2502 allow functions in this file to be overridden.
2503 (PARSE_AND_LIST_SHORTOPTS): Handle it.
2505 * emultempl/m68kcoff.em: Include ldfile.h before ldemul.h.
2507 * emultempl/elf32.em: Reorganize file.
2509 2000-07-27 Ivan Kokshaysky <ink@jurassic.park.msu.ru>
2511 * emulparams/elf64alpha.sh: Implement "-taso" emulation
2512 specific option to fit 64-bit executable in the lower
2513 31-bit address range. This is done by changing start
2514 address of .interp (the very first section of executable)
2515 and then setting EF_ALPHA_32BIT elf header flag.
2517 2000-07-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2519 * emultempl/m68kcoff.em: New file.
2520 * emulparams/m68kcoff.sh (TEMPLATE_NAME): Use m68kcoff template.
2521 * Makefile.am (em68kcoff.c): Depend on m68kcoff.em rather than
2523 * Makefile.in: Regenerate.
2525 2000-07-20 H.J. Lu <hjl@gnu.org>
2527 * emultempl/elf32.em (longopts): Duplicate "disable-new-dtags"
2528 and "disable-new-dtags" to stop getopt from treating -d/-e as
2529 abbreviations for these options.
2531 2000-07-20 H.J. Lu <hjl@gnu.org>
2533 * ld.texinfo: Add documentation for --disable-new-dtags and
2536 * ldmain.c (main): Initialize link_info.new_dtags to false.
2538 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add
2539 --disable-new-dtags and --enable-new-dtags.
2540 (gld_${EMULATION_NAME}_list_options): Likewise.
2542 2000-07-05 Kenneth Block <krblock@computer.org>
2544 * lexsup.c: Add optional style to demangle switch
2545 * ld.texinfo: Document optional style to demangle switch.
2547 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
2549 * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o,
2551 (ecrisaout.c, ecriself.c, ecrislinux.c): New rules.
2552 Regenerate dependencies.
2553 * Makefile.in: Rebuild.
2554 * configure.tgt (cris-*-*): New target.
2555 * emulparams/crisaout.sh, emulparams/criself.sh,
2556 emulparams/crislinux.sh, scripttempl/crisaout.sc: New files.
2557 * po/POTFILES.in, po/ld.pot: Regenerate.
2559 2000-07-20 H.J. Lu <hjl@gnu.org>
2561 * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options):
2562 Print out ignored -z options.
2564 2000-07-19 H.J. Lu <hjl@gnu.org>
2566 * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed.
2567 (PARSE_AND_LIST_PROLOGUE): New.
2568 (PARSE_AND_LIST_LONGOPTS): Likewise.
2569 (PARSE_AND_LIST_OPTIONS): Likewise.
2570 (PARSE_AND_LIST_ARGS_CASES): Likewise.
2572 * ldmain.c (main): Clear link_info.flags and link_info.flags_1.
2574 * lexsup.c (ld_options): Comment out 'z'.
2575 (parse_args): Likewise.
2577 * emultempl/elf32.em: Include "elf/common.h".
2578 (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z
2580 (gld_${EMULATION_NAME}_list_options): Likewise.
2582 * ld.texinfo: Add documentation for the recognized -z options.
2584 2000-07-19 H.J. Lu <hjl@gnu.org>
2586 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call
2587 bfd_elf_set_dt_needed_soname ().
2589 2000-07-18 DJ Delorie <dj@cygnus.com>
2591 * pe-dll.c (pe_dll_id_target): check object target name also
2593 2000-07-18 Hans-Peter Nilsson <hp@axis.com>
2595 * scripttempl/elf.sc (.init): Only do ${INIT_START} and
2596 ${INIT_END} if relocating.
2597 (.fini): Likewise ${FINI_START} and ${FINI_END}.
2599 2000-07-16 Charles Wilson <cwilson@ece.gatech.edu>
2601 * emultempl/pe.em (gld_*_open_dynamic_archive): New search
2602 order for dynamic library '-lfoo' on pei386: libfoo.dll.a,
2603 foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility
2604 errors introduced by the old dynamic lib search order.
2606 2000-07-17 DJ Delorie <dj@cygnus.com>
2608 * pe-dll.c (process_def_file): auto-export data items also
2609 (pe_process_import_defs): also see if _imp_ form needed
2611 2000-07-12 Charles Wilson <cwilson@ece.gatech.edu>
2613 * pe-dll.c (make_one): fix a typo in the __imp_ name decoration
2614 for dll import libraries
2616 2000-07-12 Mark Elbrecht <snowball3@bigfoot.com>
2618 * scripttempl/i386go32.sc: Support the g++ attribute init_priority in
2619 gcc 2.95.2 and later.
2621 2000-07-11 Kazu Hirata <kazu@hxi.com>
2623 * ldfile.c (ldfile_try_open_bfd): Output '\n' after an error
2626 2000-07-10 Alan Modra <alan@linuxcare.com.au>
2628 * ldemul.h (struct lang_input_statement_struct): Remove forward
2630 (struct search_dirs): Likewise.
2631 * ldfile.h (struct lang_input_statement_struct): Likewise.
2632 Protect file from multiple inclusion.
2633 * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Move file_chain
2634 declaration from macro to file scope.
2636 * ldemul.c: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this order.
2637 * ldgram.y: Likewise here.
2638 * ldlang.c: And here.
2639 * ldmain.c: And here.
2640 * mpw-elfmips.c: And here.
2641 * mpw-eppcmac.c: And here.
2642 * emultempl/aix.em: And here.
2643 * emultempl/armcoff.em: And here.
2644 * emultempl/armelf.em: And here.
2645 * emultempl/armelf_oabi.em: And here.
2646 * emultempl/beos.em: And here.
2647 * emultempl/elf32.em: And here.
2648 * emultempl/hppaelf.em: And here.
2649 * emultempl/linux.em: And here.
2650 * emultempl/lnk960.em: And here.
2651 * emultempl/pe.em: And here.
2652 * emultempl/sunos.em: And here.
2653 * mpw-esh.c: And here. Include ldexp.h and ldlang.h too.
2654 * mpw-idtmips.c: Ditto.
2655 * emultempl/generic.em: Ditto.
2656 * emultempl/gld960.em: Ditto.
2657 * emultempl/gld960c.em: Ditto.
2658 * emultempl/mipsecoff.em: Ditto.
2659 * emultempl/ticoff.em: Ditto.
2660 * emultempl/vanilla.em: Ditto.
2662 * pe-dll.c: Include ldfile.h
2663 * ldver.c: Include ldexp.h, ldlang.h, ldfile.h
2665 * mpw-elfmips.c: (gldelf32ebmip_before_allocation): Add missing
2666 arguments to bfd_elf32_size_dynamic_sections call.
2667 (gldelf32ebmip_place_orphan): Add missing arguments to
2668 lang_leave_output_section_statement call.
2670 2000-07-10 H.J. Lu <hjl@gnu.org>
2672 * emultempl/pe.em (pe_enable_stdcall_fixup): Protect with
2674 (strhash): Likewise.
2675 (compute_dll_image_base): Likewise.
2676 (pe_undef_found_sym): Likewise.
2677 (pe_undef_cdecl_match): Likewise.
2678 (gld_${EMULATION_NAME}_open_dynamic_archive): Mark the
2679 argument "arch" with ATTRIBUTE_UNUSED.
2681 2000-07-10 Alan Modra <alan@linuxcare.com.au>
2683 * configure.tgt: Remove extraneous hppa*-*-linux-gnu*.
2685 From Ryan Bradetich <rbradetich@uswest.net>
2686 * ldwrite.c (SSIZE): Remove to cure macro redefinition warning.
2688 2000-07-09 Alan Modra <alan@linuxcare.com.au>
2690 Changes to create multiple linker stubs, positioned immediately
2691 before the section where they are required.
2692 * emultempl/hppaelf.em: Include elf32-hppa.h.
2693 (stub_sec, file_chain): Delete.
2694 (hppaelf_create_output_section_statements): Don't make a stub
2696 (hook_stub_info): New struct.
2697 (hook_in_stub): New function.
2698 (hppaelf_add_stub_section): New function.
2699 (hppaelf_finish): Do nothing for relocateable links. Modify the
2700 call to elf32_hppa_size_stubs. Move code for updating section
2702 (hppaelf_layaout_sections_again): ..to here, a new function.
2704 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Fix
2705 broken list handling. Pass in a pointer to the list.
2706 (hppaelf_finish): Update call to hppaelf_delete_padding_statements
2708 (hppaelf_before_parse): Prototype.
2709 (hppaelf_set_output_arch): Prototype.
2710 (hppaelf_create_output_section_statements): Prototype.
2711 (hppaelf_delete_padding_statements): Prototype.
2712 (hppaelf_finish): Prototype.
2715 * emultempl/hppaelf.em: Include ctype.h.
2716 (struct orphan_save): New.
2717 (gld${EMULATION_NAME}_place_orphan): New.
2718 (output_rel_find): New.
2719 (hppaelf_get_script): Update from elf32.em.
2720 (ld_hppaelf_emulation): Rename to ld_${EMULATION_NAME}_emulation.
2721 Change emulation_name field to "${EMULATION_NAME}". Add
2722 gld${EMULATION_NAME}_place_orphan.
2724 * Makefile.am (ALL_EMULATIONS): Reinstate ehppaelf.o, add
2725 ehppalinux.o, sort it. Regenerate dependencies.
2726 (ehppalinux.c): Depend on hppaelf.em
2727 * Makefile.in: Regenerate.
2729 * configure.tgt: targ_emul=hppalinux for hppa*linux
2731 * emulparams/hppalinux.sh: New.
2732 * emulparams/hppaelf.sh (TARGET_PAGE_SIZE): Write in hex.
2734 2000-07-08 Alan Modra <alan@linuxcare.com.au>
2736 * lexsup.c (parse_args): Copy section name.
2738 2000-07-07 Charles Wilson <cwilson@ece.gatech.edu>
2740 * emultempl/pe.em: institute the following search order for
2741 dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import
2742 libs), libfoo.dll, foo.dll (link direct to dll). Fall back to
2743 static lib (libfoo.a) if none of the above are found.
2745 2000-07-07 Mumit Khan <khan@xraylith.wisc.edu>
2747 * emultempl/pe.em (pe_enable_auto_image_base): New variable.
2748 (longopts): New --{enable,disable}-auto-image-base options.
2749 (gld_${EMULATION_NAME}_list_options): Document.
2750 (gld_${EMULATION_NAME}_parse): Handle.
2751 (strhash): New static function.
2752 (compute_dll_image_base): New static function.
2753 (gld_${EMULATION_NAME}_set_symbols): Use.
2755 2000-07-05 DJ Delorie <dj@redhat.com>
2759 2000-07-01 Koundinya K <kk@ddeorg.soft.net>
2761 * configure.tgt: Add traditional mips (mips*-*-sysv4*) target.
2762 * emulparams/elf32btsmip.sh: New file.
2763 * Makefile.am: Add traditional mips target.
2764 * Makefile.in: Rebuild.
2766 2000-07-01 H.J. Lu <hjl@gnu.org>
2768 * Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for
2769 automake to use YLWRAP.
2770 * Makefile.in: Rebuild.
2772 2000-07-01 Alan Modra <alan@linuxcare.com.au>
2774 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
2775 (CLEANFILES): Add DEPA.
2776 * Makefile.in: Regenerate.
2778 2000-06-30 Timothy Wall <twall@ppc>
2780 * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode
2781 the page in the upper octet of the address.
2783 2000-06-26 Marek Michalkiewicz <marekm@linux.org.pl>
2785 * emulparams/avrmega161.sh (ARCH): Change to avr:5.
2787 2000-06-24 Alan Modra <alan@linuxcare.com.au>
2789 * NEWS: arm-elf does --gc-sections too.
2791 2000-06-22 Alan Modra <alan@linuxcare.com.au>
2793 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
2795 * Makefile.in: Regenerate.
2797 2000-06-21 H.J. Lu <hjl@gnu.org>
2799 * Makefile.am: Rebuild dependency.
2800 * Makefile.in: Rebuild.
2802 2000-06-20 H.J. Lu <hjl@gnu.org>
2804 * Makefile.am: Rebuild dependency.
2805 * Makefile.in: Rebuild.
2807 2000-06-20 Timothy Wall <twall@cygnus.com>
2809 * scripttempl/tic54xcoff.sc: New.
2810 * ldlang.c (wild_doit): Propagate SEC_BLOCK flag.
2811 * gen-doc.texi: Add flag for TI COFF.
2812 * ld.texinfo: Add documentation for TI COFF handling switches.
2813 * emultempl/ticoff.em: New. TI COFF handling.
2814 * configure.tgt: Add tic54x target.
2815 * Makefile.am: Add tic54x target.
2816 * Makefile.in: Ditto.
2818 2000-06-20 Alan Modra <alan@linuxcare.com.au>
2820 * ldmain.c (set_scripts_dir): Correct pointer comparison when
2821 checking for backslashes.
2823 2000-06-19 Alan Modra <alan@linuxcare.com.au>
2825 * NEWS: Move entries not in 2.10 above "Changes in version 2.10".
2827 2000-06-18 Alan Modra <alan@linuxcare.com.au>
2829 * NEWS: Update list of targets supporting --gc-sections.
2831 * scripttempl/elf.sc: KEEP .eh_frame contents.
2832 * scripttempl/elfd30v.sc: Same here.
2834 2000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
2836 * Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12
2838 * Makefile.in: Rebuild.
2839 * configure.tgt: Recognize m68hc12 and m68hc11.
2840 * scripttempl/elfm68hc12.sc: New file.
2841 * emulparams/m68hc12elfb: New emulation.
2842 * emulparams/m68hc12elf: New emulation.
2843 * emulparams/m68hc11elfb.sh: New file. User configurable emulation
2844 (includes a memory.x script to define the ROM and RAM banks).
2845 * scripttempl/elfm68hc11.sc, emulparams/m68hc11elf.sh:
2846 New configuration files for support of Motorola 68hc11
2848 2000-06-15 Alan Modra <alan@linuxcare.com.au>
2850 * ldmain.c (main): Only change SEC_READONLY for final link.
2852 2000-06-13 H.J. Lu <hjl@gnu.org>
2854 * configure: Regenerate.
2856 2000-06-08 David O'Brien <obrien@FreeBSD.org>
2858 * configure.in (VERSION): Update to show this is the CVS mainline.
2860 2000-06-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2862 * emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all
2863 input objects to be ECOFF.
2864 (check_sections): einfo takes %B, not %P, to print a BFD name.
2866 2000-06-05 Michael Matz <matz@ifh.de>
2868 * ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in
2871 * ldlex.l (V_IDENTIFIER): Accept `::' in symbols.
2873 2000-05-23 Marek Michalkiewicz <marekm@linux.org.pl>
2875 * emulparams/avr1200.sh (STACK): Define as 0.
2876 * emulparams/avr23xx.sh (STACK): Define as last internal SRAM address.
2877 * emulparams/avr4433.sh (STACK): Likewise.
2878 * emulparams/avr44x4.sh (STACK): Likewise.
2879 * emulparams/avr85xx.sh (STACK): Likewise.
2880 * emulparams/avrmega103.sh (STACK): Likewise.
2881 * emulparams/avrmega161.sh (STACK): Likewise.
2882 * emulparams/avrmega603.sh (STACK): Likewise.
2883 * scripttempl/elf32avr.sc (__data_start): Define for gcrt1.
2884 (__stack): Define from ${STACK} for main().
2886 2000-05-26 Alan Modra <alan@linuxcare.com.au>
2888 * Makefile.am: Update dependencies with "make dep-am"
2889 * Makefile.in: Regenerate.
2891 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
2893 * ldmain.c: Include filenames.h.
2894 (set_scripts_dir): Support backslashes in program name.
2896 2000-05-22 Igor Shevlyakov <igor@windriver.com>
2898 * ldmain.c (main): When deciding if ".text" section should be
2899 read-only, don't forget to reset SEC_READONLY because it
2900 could be already set.
2902 2000-05-22 Thomas de Lellis <tdel@windriver.com>
2904 * ld.1: Add documentation for new command line option:
2905 --section-start <sectionname>=<sectionorg>
2906 This is a generic version of -Ttext etc. which accepts
2907 any section name as a parameter instead of just text/data/
2909 * ld.texinfo: More docs.
2911 * lexsup.c: (parse_args): Recognize new command line option.
2912 (ld_options): Add new option.
2914 2000-05-18 H.J. Lu <hjl@gnu.org>
2916 * lexsup.c (parse_args): `i' == `r', not `q'.
2918 Thu May 18 10:47:57 2000 Jeffrey A Law (law@cygnus.com)
2920 * configure.tgt (hppa*64*-*-*): Enable PA64 target.
2922 2000-05-17 S. Bharadwaj Yadavalli <sby@scrugs.lkg.dec.com>
2923 Rick Gorton <gorton@scrugs.lkg.dec.com>
2925 Add support for '-q' == '--emit-relocs' switch.
2926 * ldmain.c (main): Default to false.
2927 * lexsup.c (parse_args): Turn on emitrelocations flag if set.
2928 * NEWS: Describe the emitrelocations switch.
2929 * ld.texinfo: Describe the emitrelocations switch.
2931 2000-05-16 Charles Wilson <cwilson@ece.gatech.edu>
2933 * emultempl/pe.em (_open_dynamic_archive): New function: Search
2934 the library path for "foo.dll" and "libfoo.dll" dynamic libraries
2935 before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo'
2938 2000-05-15 David O'Brien <obrien@FreeBSD.org>
2940 * lexsup.c (parse_args): Update the year in the copyright notice.
2942 2000-05-13 Alan Modra <alan@linuxcare.com.au>
2944 * ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain):
2945 Replace defines with those from intl/libgettext.h to quieten gcc
2948 2000-05-10 H.J. Lu <hjl@gnu.org>
2950 * ldlang.c (open_input_bfds): Don't load the same file within
2951 a group again if the whole archive has been loaded already.
2953 2000-05-03 Alan Modra <alan@linuxcare.com.au>
2955 From Ulf Carlsson <ulfc@engr.sgi.com> and Andreas Jaeger <aj@suse.de>
2956 * lexsup.c (set_section_start): Use bfd_scan_vma rather than
2959 Mon May 1 17:34:34 2000 Jim Wilson <wilson@cygnus.com>
2961 * configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}.
2963 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
2964 host "ia64-*-linux-gnu*".
2966 2000-04-29 Andreas Jaeger <aj@suse.de>
2968 * ld.h: Correctly check GCC version.
2970 Tue Apr 25 11:20:43 2000 Jeffrey A Law (law@cygnus.com)
2972 * Makefile.am: Add PA64 support. Add missing dependencies for
2974 * Makefile.in: Rebuilt.
2975 * configure.tgt: Add PA64 support (currently disabled).
2977 2000-04-25 Alan Modra <alan@linuxcare.com.au>
2979 * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete.
2980 (output_rel_find): New function.
2981 (hold_section, hold_use): Delete.
2982 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
2983 hold_interp): Make local to place_orphan.
2984 (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find
2985 rather than place_section to find possible previous use of orphan.
2986 Similarly find the place-holder output sections. Use returned
2987 value from lang_enter_output_section_statement rather than calling
2988 lang_output_section_statement_lookup.
2989 * emultempl/armelf.em: Same here.
2990 * emultempl/pe.em: Similar to above, but no need for output_rel_find.
2992 * ldlang.c (lang_enter_output_section_statement): Return output
2994 * ldlang.h (lang_enter_output_section_statement): Change
2997 * ldlang.h (lang_output_section_statement): Export it.
2998 * ldlang.c (lang_output_section_statement): Ditto.
3000 2000-04-24 Nick Clifton <nickc@cygnus.com>
3002 * ld.texinfo (Output Section Data): Add note that section data
3003 commands cannot appear outside of section directives.
3005 2000-04-2 Matthew Green <mrg@cygnus.com>
3007 * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support.
3009 Fri Apr 21 13:20:53 2000 Richard Henderson <rth@cygnus.com>
3010 David Mosberger <davidm@hpl.hp.com>
3012 * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o.
3013 (eelf64_ia64.c): New rule.
3014 * Makefile.in: Rebuild.
3015 * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets.
3016 * emulparams/elf64_ia64.sh: New file.
3018 2000-04-21 Richard Henderson <rth@cygnus.com>
3020 * scripttempl/elfd30v.sc: Place .gcc_except_table.
3022 2000-04-19 Alan Modra <alan@linuxcare.com.au>
3024 * dep-in.sed: Match space at start of file name, not at end.
3026 2000-04-18 H.J. Lu <hjl@gnu.org>
3028 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
3029 lang_leave_output_section_statement () after calling
3030 lang_enter_output_section_statement ().
3031 * emultempl/armelf.em: Likewise.
3033 2000-04-18 Alan Modra <alan@linuxcare.com.au>
3035 * emultempl/elf32.em (struct orphan_save): Add section field.
3036 (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in
3037 better order, and place first orphan section as we did before the
3038 2000-04-12 patch. Ignore ~SEC_ALLOC sections when choosing place.
3039 Don't call make_bfd_section here, let wild_doit do the job for us.
3040 Don't build a statement list when we'll only throw it away.
3041 * emultempl/armelf.em: Ditto.
3042 * emultempl/pe.em: Similarly.
3044 2000-04-14 Geoff Keating <geoffk@cygnus.com>
3046 * scripttempl/elfppc.sc: Remove.
3047 * emulparams/elf32ppc.sh: Use elf.sc.
3048 * emulparams/elf32lppc.sh: Use elf.sc.
3049 * emulparams/elf32ppclinux.sh: Use elf.sc.
3050 * emulparams/elf32ppcsim.sh: New file.
3051 * emulparams/elf32lppcsim.sh: New file.
3052 * Makefile.am: Update dependencies. Add elf32ppcsim ad elf32lppcsim.
3053 (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim.
3054 * Makefile.in: Regenerate.
3055 * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim.
3057 2000-04-14 Alan Modra <alan@linuxcare.com.au>
3059 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process
3060 ~SEC_ALLOC sections too. Init start address of debug sections.
3061 * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto.
3062 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto.
3063 Also set all relocateable section start addresses.
3065 2000-04-13 Geoff Keating <geoffk@cygnus.com>
3067 * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections.
3068 Add new BSS_PLT variable for when .plt need not be contained in
3069 the file. Move _etext so that it is also after .fini, and provide
3070 both etext and _etext with a leading underscore. Mark the start
3073 2000-04-12 Alan Modra <alan@linuxcare.com.au>
3075 * emultempl/elf32.em (struct orphan_save): New.
3076 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
3077 hold_interp): Make them struct orphan_save.
3078 (gld${EMULATION_NAME}_place_section): Modify for new hold_*.
3079 (gld${EMULATION_NAME}_place_orphan): Add new orphan sections to
3080 the end of the relevant section list. Also add associated section
3081 statements to the end of any previous orphan statements.
3082 * emultempl/armelf.em: Similarly.
3083 * emultempl/pe.em: Similarly.
3085 2000-04-11 Alan Modra <alan@linuxcare.com.au>
3087 * ld.texinfo (Simple Example): Remove extraneous paragraph.
3089 Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
3091 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
3092 --enable-build-warnings option.
3093 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
3094 * Makefile.in, configure: Re-generate.
3096 2000-04-04 Alan Modra <alan@linuxcare.com.au>
3098 * po/ld.pot: Regenerate.
3100 * lexsup.c (help): Restore translated part of bug string.
3102 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
3103 (DEP): Quote when passing vars to sub-make. Add warning message
3105 (DEP1): Rewrite for "gcc -MM".
3106 (CLEANFILES): Add DEP2.
3107 Update dependencies.
3108 * Makefile.in: Regenerate.
3110 2000-04-03 Alan Modra <alan@linuxcare.com.au>
3112 * ld.h: #include "bin-bugs.h"
3113 * lexsup.c (help): Use REPORT_BUGS_TO.
3115 2000-03-27 Denis Chertykov <denisc@overta.ru>
3117 * configure.tgt (avr-*-*): New target support.
3118 * Makefile.am: Likewise.
3119 * scripttempl/elf32avr.sc: New script file.
3120 * emulparams/avr1200.sh: New file.
3121 * emulparams/avr23xx.sh: New file.
3122 * emulparams/avr4433.sh New file.
3123 * emulparams/avr44x4.sh New file.
3124 * emulparams/avr85xx.sh New file.
3125 * emulparams/avrmega103.sh New file.
3126 * emulparams/avrmega161.sh New file.
3127 * emulparams/avrmega603.sh New file.
3128 * Makefile.in: Regenerate.
3130 2000-03-09 Andreas Jaeger <aj@suse.de>
3132 * Makefile.am (check-DEJAGNU): Also unset LANG.
3133 * Makefile.in: Rebuild.
3135 2000-03-06 Ian Lance Taylor <ian@zembu.com>
3137 * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty
3140 2000-03-02 H.J. Lu <hjl@gnu.org>
3142 * emulparams/elf32mcore.sh: Include "getopt.h".
3144 2000-03-01 Ian Lance Taylor <ian@zembu.com>
3146 * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware.
3148 2000-03-01 H.J. Lu <hjl@gnu.org>
3150 * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR.
3151 * emulparams/shpe.sh: Likewise.
3153 2000-03-01 Nick Clifton <nickc@cygnus.com>
3155 * pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED
3156 to unused parameters.
3158 * emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static
3159 functions only used by DLL code.
3160 (_place_orphan): Initialise 'dollar'.
3162 2000-03-01 H.J. Lu <hjl@gnu.org>
3164 * ldmain.c (undefined_symbol): Take one more arg, fatal, to
3165 indicate if the undefined symbol is a fatal error or not.
3166 Don't delete the output file if "fatal" is false.
3168 2000-02-29 H.J. Lu <hjl@gnu.org>
3170 * Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)".
3171 Set LC_COLLATE and LC_ALL to null and export them. It is for
3172 sort which expects the C locale.
3173 Add $(LIBS) to all $(HOSTING_LIBS).
3174 * Makefile.in: Rebuild.
3176 2000-02-29 Alan Modra <alan@spri.levels.unisa.edu.au>
3178 * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em,
3179 beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em,
3180 linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em}
3181 (ld_emulation_xfer_struct): Add missing NULL initialiser for
3182 find_potential_libraries.
3184 2000-02-28 Jim Blandy <jimb@redhat.com>
3186 * ldgram.y (exclude_name_list): Don't require a comma to separate
3187 list entries; the lexer considers commas to be valid part of a
3188 filename, so in something like `foo, bar' the comma is considered
3189 part of the first filename, `foo,'.
3190 * ld.texinfo: Update section on EXCLUDE_FILE lists.
3192 2000-02-27 Loren J. Rittle <ljrittle@acm.org>
3194 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
3195 host "i[3456]86-*-freebsdelf*".
3197 2000-02-27 Mark Elbrecht <snowball3@bigfoot.com>
3199 * scripttempl/i386go32.sc: Move misplaced semicolons.
3201 2000-02-25 Ian Lance Taylor <ian@zembu.com>
3203 * Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o.
3204 (ALL_64_EMULATIONS): Remove eelf64hppa.o.
3205 (eelf64hppa.c, ehppaelf.c): Remove targets.
3206 * Makefile.in: Rebuild.
3208 2000-02-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3210 * configure.tgt (targ_extra_ofiles): Enable elf64_sparc on
3211 GNU/Linux/sparc, but keep the default as 32.
3213 * configure.tgt: Enable elf64_sparc on Solaris7+/sparc. And make
3214 it default if sparcv9 or sparc64.
3216 2000-02-24 Nick Clifton <nickc@cygnus.com>
3218 * Makefile.am: Add rules to build emipspe.o and earmpe.o.
3219 * Makefile.in: Regenerate.
3220 * configure.tgt: Add targets for arm-wince, sh-pe and mips-pe.
3222 * ldemul.h (ld_emulation_xfer_struct): Add new field:
3223 find_potential_libraries.
3224 * ldemul.c (ldemul_find_potential_libraries): New function.
3226 * ldfile.c (ldfile_open_file_search): Allow function to be
3228 (ldfile_open_file): Call ldemul_find_potential_libraries.
3229 * ldfile.h: Add prototype for ldfile_open_file_search.
3231 * pe-dll.c: Add support for ARM, MIPS and SH targets.
3233 * emulparams/mipspe.sh: New file. Parameters for mips-pe target.
3234 * emulparams/shpe.sh: New file. Parameters for sh-pe target.
3236 * emultempl/pe.em: Add support for ARM, MIPS and SH DLLs.
3237 (gld_X_find_potential_libraries): New function. Search for
3238 libraries called "*.lib".
3240 * scripttempl/pe.sc: Add .pdata section.
3242 2000-02-23 Richard Henderson <rth@cygnus.com>
3244 * scripttempl/elfd10v.sc: Remove dynamic linking hooks.
3245 Add and use memory regions.
3247 2000-02-23 Linas Vepstas (linas@linas.org)
3249 * emulparams/elf32i370.sh, scripttempl/elfi370.sc: New.
3251 * Makefile.am: Add support for Linux/IBM 370.
3252 * configure.tgt: Likewise.
3254 * Makefile.in: Regenerate.
3256 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
3258 * ldlang.c (print_input_section, print_data_statement,
3259 print_reloc_statement, print_padding_statement, insert_pad,
3260 size_input_section, lang_check_section_addresses,
3261 lang_size_sections, lang_do_assignments, lang_set_startof,
3262 lang_one_common): Change `opb' to unsigned.
3263 (lang_do_assignments): Also change `size' to unsigned.
3265 2000-02-16 Richard Henderson <rth@cygnus.com>
3267 * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION.
3269 2000-02-16 Timothy Wall <twall@cygnus.com>
3271 * mri.c (mri_draw_tree): Add default LMA region argument to call
3272 to lang_leave_output_section_statement.
3273 * ldlang.h: Update prototypes with LMA region arguments.
3274 * ldlang.c (lang_size_sections): Encapsulate region bounds
3275 checking in os_check_region call.
3276 (os_check_region): New function.
3277 (lang_output_section_statement_lookup): Initialize lma_region.
3278 (lang_leave_output_section_statement): Add LMA region argument.
3279 (lang_leave_overlay): Ditto.
3280 * ldgram.y: Handle LMA region syntax.
3281 * ld.texinfo (Output Section Description): Describe LMA region usage.
3282 * emultempl/armelf.em (gld$place_orphan): Add default value for
3283 lma region in call to lang_leave_output_section_statement.
3284 * emultempl/elf32.em (gld$place_orphan): Add default value for
3285 lma region in call to lang_leave_output_section_statement.
3286 * emultempl/pe.em (gld$place_orphan): Add default value for
3287 lma region in call to lang_leave_output_section_statement.
3290 2000-02-04 Timothy Wall <twall@redhat.com>
3292 * ldlang.c (lang_check_section_addresses): Use bytes instead of
3293 octets when calculating section end addresses.
3295 2000-02-04 Timothy Wall <twall@redhat.com>
3297 * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation.
3299 2000-02-03 Timothy Wall <twall@redhat.com>
3301 * ldexp.c (fold_name): Make SIZEOF operator return byte count, not
3303 * ldlang.c (print_input_section, print_data_statement,
3304 print_reloc_statement, print_padding_statement): Print target
3305 address values and section sizes as bytes, not octets.
3306 (insert_pad) Calculate padding size in octets, and adjust "dot"
3308 (size_input_section) Always adjust "dot" by bytes, not octets.
3309 (lang_check_section_addresses, lang_do_assignments) Adjust
3310 "dot" by bytes, not octets. Use the larger of the directive size
3311 or octets_per_byte for the number of octets actually allocated in
3313 (lang_set_startof) Make sure STARTOF returns a target address.
3314 (lang_one_common) Record size changes in octets.
3315 (lang_abs_symbol_at_end_of) Section end symbol's value is
3316 recorded in target bytes.
3317 * ld.texinfo: Updated description of BYTE, SHORT, LONG, etc.
3318 to be clear about behavior when an octet is smaller than one byte.
3320 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
3322 * ldcref.c (output_cref): Don't pass message strings to printf
3326 * ldmisc.c (vfinfo): Same here.
3329 2000-01-23 Alan Modra <alan@spri.levels.unisa.edu.au>
3331 * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em,
3332 generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em,
3333 mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct):
3334 Add missing NULL initialisers, and comments.
3336 * testsuite/ld-srec/sr3.cc (__rethrow): New.
3338 2000-01-21 Nick Clifton <nickc@cygnus.com>
3340 * ldlang.c (lang_size_sections): Fix typo in comment.
3342 2000-01-18 H.J. Lu <hjl@gnu.org>
3344 * ldlang.c (lang_size_sections): Also update the current
3345 address of a region if the SEC_NEVER_LOAD bit is not set.
3347 2000-01-10 Philip Blundell <pb@futuretv.com>
3349 * configure.tgt (arm*-*-conix*): New target.
3351 2000-01-07 Nick Clifton <nickc@cygnus.com>
3353 * ld.texinfo (Options): Remind users to preceed linker command
3354 line switches with -Wl, (or whatever is appropriate) if it is
3355 being invoked by a comnpiler driver program.
3356 Fix description of the behaviour of the -n command line switch.
3358 Wed Jan 5 08:02:12 2000 Catherine Moore <clm@cygnus.com>
3360 * ld.h (wildcard_spec): Change exclude_name to exclude_name_list.
3362 * ld.texinfo (EXCLUDE_FILE): Update documentation.
3363 * ldgram.y (wildcard_spec): Support a list of excluded_files.
3364 (exclude_name_list): New.
3365 ldlang.c (walk_wild_section): Support list of excluded files.
3366 (print_wild_statement): Likewise.
3367 (lang_add_wild): Likewise.
3368 * ldlang.h (lang_wild_statement_type): Likewise.
3369 * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support.
3371 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
3373 * pe-dll.c (pe_dll_warn_dup_exports): New variable.
3374 (process_def_file): Use.
3375 (pe_dll_compat_implib): New variable.
3378 * pe-dll.h: Add exports of pe_dll_warn_dup_exports and
3379 pe_dll_compat_implib.
3381 * emultempl/pe.em (longopts): Add warn-duplicate-exports and
3382 compat-implib options.
3383 (gld_${EMULATION_NAME}_list_options): List new options.
3384 (gld_${EMULATION_NAME}_parse_args): Handle.
3386 * pe-dll.c (pe_dll_generate_implib): Use the correct name for output
3389 * deffilep.y (opt_name): Allow "." in name.
3391 For older changes see ChangeLog-9899
3397 version-control: never