1 2001-06-10 Philip Blundell <philb@gnu.org>
3 * configure.in: Set version to 2.11.1.
4 * configure: Regenerate.
6 2001-06-08 Alan Modra <amodra@bigpond.net.au>
8 * ldlang.c (record_bfd_errors): Remove.
11 2001-05-31 H.J. Lu <hjl@gnu.org>
12 * ldlang.c (open_input_bfds): Don't change the bfd error
13 handler whilst loading symbols.
15 2001-05-02 Nick Clifton <nickc@redhat.com>
16 * emultempl/aix.em: Replace buystring with xstrdup.
17 * emultempl/beos.em: Replace buystring with xstrdup.
19 2001-06-07 Alan Modra <amodra@bigpond.net.au>
21 * Many files: Update copyright notices.
23 2001-05-23 Alan Modra <amodra@one.net.au>
25 * ldlang.c (wild_doit): Use linker_has_input to reliably determine
26 whether an input section is the first one assigned to an output
28 Assorted formatting fixes.
31 2001-05-03 H.J. Lu <hjl@gnu.org>
32 * emultempl/elf32.em: Include "libiberty.h".
33 (gld${EMULATION_NAME}_vercheck): Call basename () to get the
34 basename of the bfd filename.
35 (gld${EMULATION_NAME}_stat_needed): Likewise.
36 (gld${EMULATION_NAME}_try_needed): Likewise.
37 (gld${EMULATION_NAME}_open_dynamic_archive): Likewise.
39 2001-03-17 Ulrich Drepper <drepper@redhat.com>
40 * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME
41 is an absolute path look only for this file and not along the path.
42 (OPTION_GROUP): New macro.
43 Add new option Bgroup to longopts.
44 (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs.
45 (gld*_list_options): Add -Bgroup and -z defs.
46 * ld.1: Document -Bgroup and -z defs.
47 * ld.texinfo: Likewise.
49 2001-02-01 Nick Clifton <nickc@redhat.com>
50 * ld.1: Replace occurances of -oformat with --oformat.
52 2001-05-02 H.J. Lu <hjl@gnu.org>
53 * ldfile.c: Include "libiberty.h".
55 * ldmisc.c (buystring): Removed.
57 * ldfile.c: Replace buystring with xstrdup.
63 * mpw-eppcmac.c: Likewise.
65 2001-04-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
66 * ldlang.c (load_symbols): Give emulation a chance
67 to process unrecognized file before fatal error is
70 2001-02-26 H.J. Lu <hjl@gnu.org>
71 * ldlang.c (open_input_bfds): Set the bfd error handler so
72 that problems can be caught whilst loading symbols.
73 (record_bfd_errors): New function: Report BFD errors and mark
74 the executable output as being invalid.
76 2001-04-02 Alan Modra <alan@linuxcare.com.au>
78 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k.
79 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Likewise.
81 2001-03-27 Hans-Peter Nilsson <hp@axis.com>
83 * configure.tgt (cris-*-*): Change default emulation to criself.
84 (cris-*-*aout*): New rule.
86 2001-03-27 Matthew Wilcox <willy@ldl.fc.hp.com>
88 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 0x4000.
89 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
91 2001-03-17 Ulrich Drepper <drepper@redhat.com>
93 * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME
94 is an absolute path look only for this file and not along the path.
96 2001-03-16 Philip Blundell <philb@gnu.org>
98 * configure: Regenerate.
100 2001-03-11 Philip Blundell <philb@gnu.org>
102 * configure.in: Set version to 2.11.
104 2001-03-05 Alan Modra <alan@linuxcare.com.au>
106 * emultempl/m68kelf.em (m68k_elf_after_allocation): Call
107 after_allocation_default, not gld..._before_allocation.
109 001-02-18 David O'Brien <obrien@FreeBSD.org>
111 * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64,
112 FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries.
114 2001-02-17 David O'Brien <obrien@FreeBSD.org>
116 * configure.host: Add a generic FreeBSD configuration entry such that
117 all [modern] FreeBSD systems on all platforms will look the same.
119 2001-02-13 Richard Henderson <rth@redhat.com>
121 * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove.
123 2001-02-11 Philip Blundell <philb@gnu.org>
125 * Makefile.am: Remove mention of earmelf_linux26.o.
126 * Makefile.in: Regenerate.
127 * emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000.
128 * emulparams/armelf_linux26.sh: Delete.
129 * configure.tgt: Remove mention of armelf_linux26 emulation.
131 2001-02-09 David Mosberger <davidm@hpl.hp.com>
133 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add
134 .IA_64.unwind.* pattern to unwind table section and
135 .IA_64.unwind_info* pattern to unwind info section.
137 2001-01-25 Jim Driftmyer <jdrift@stny.rr.com>
139 * ldlang.c (lang_leave_overlay): Don't set lma_region when
140 load_base is specified.
142 2001-01-24 Hans-Peter Nilsson <hp@axis.com>
144 * emultempl/elf32.em: Correct spelling in comments and listed
147 2001-01-23 Alan Modra <alan@linuxcare.com.au>
149 * ldlang.c (lang_leave_overlay): Only set lma_region from the
150 default for the first section of a group of overlay sections.
152 2001-01-22 Alan Modra <alan@linuxcare.com.au>
154 * Makefile.am (GENSCRIPTS): Pass exec_prefix.
155 * Makefile.in: Regenerate.
156 * genscripts.sh: Use exec_prefix parameter to specify tool lib.
157 Check for null tool_dir.
159 2001-01-16 Jim Wilson <wilson@redhat.com>
161 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind
162 and IA_64.unwind.info.
164 2001-01-16 H.J. Lu <hjl@gnu.org>
166 * ldlang.c (lang_check): Merge the private data only if the
167 input file has contents.
169 2001-01-14 Alan Modra <alan@linuxcare.com.au>
171 * emulparams/hppalinux.sh (OUTPUT_FORMAT): Set to elf32-hppa-linux.
173 * emultempl/hppaelf.em (hppaelf_after_parse): New function,
174 enabling search for libmilli. On a relocatable link, make .text
176 (LDEMUL_AFTER_PARSE): Define.
177 (hppaelf_finish): Correct spelling of relocatable in comments.
179 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
180 rummage through the script for sections on the unique list.
181 Correct length of strncmp for ".note".
182 (gld${EMULATION_NAME}_check_needed): Rearrange function.
184 * ldlang.c (unique_section_list): New var.
185 (unique_section_p): New function.
186 (walk_wild_section): Don't match sections on unique_section_list.
187 (lang_add_unique): New function.
188 Correct spelling of relocatable in comments.
190 * ldlang.h (struct unique_sections): Declare.
191 (unique_section_list): Declare.
192 (unique_section_p): Declare.
193 (lang_add_unique): Declare.
195 * lexsup.c (ld_options): Allow --unique to take an optional arg.
196 (parse_args [OPTION_UNIQUE]): Call lang_add_unique.
198 * ld.texinfo (--unique): Update.
200 2001-01-13 Nick Clifton <nickc@redhat.com>
202 * lexsup.c (parse_args): Remove spurious white space.
204 2001-01-12 Nick Clifton <nickc@redhat.com>
206 * lexsup.c (parse_args): Update copyright date.
208 2001-01-12 Philip Blundell <pb@futuretv.com>
210 * configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin.
212 2001-01-10 Kazu Hirata <kazu@hxi.com>
214 * scripttempl/h8300.sc: Fix formatting. Fix a comment typo.
215 * scripttempl/h8300h.sc: Fix formatting.
216 * scripttempl/h8300s.sc: Likewise.
217 * scripttempl/h8500.sc: Likewise.
218 * scripttempl/h8500b.sc: Likewise.
219 * scripttempl/h8500c.sc: Likewise.
220 * scripttempl/h8500m.sc: Likewise.
221 * scripttempl/h8500s.sc: Likewise.
223 2000-01-07 David O'Brien <obrien@BSDi.com>
225 * emultempl/elf32.em: Only perform Linux ld hints processing when
228 2001-01-07 Philip Blundell <philb@gnu.org>
230 * ld.texinfo (Bug Reporting): Update email address for reports.
232 2000-12-31 Nick Clifton <nickc@redhat.com>
234 * lexsup.c (parse_args): Set opterr to 0 and detect unparsed long
235 options by checking for a return value of '?' not -1.
237 2000-12-28 Nick Clifton <nickc@redhat.com>
239 * lexsup.c (struct ld_option): Add new enum value:
241 (ld_options[]): Change -omagic, -output and -oformat options
242 to be EXACTLY_TWO_DASHES.
243 (OUTPUT_COUNT): Use ARRAY_SIZE.
244 (parse_args): Change parameter 'argc' to unsigned.
245 Place EXACTLY_TWO_DASHES options into new really_longopts
247 If getopt_long_only fails, try calling getopt_long using the
248 really_longopts array.
249 (help): Print a double dash for both EXACTLY_TWO_DASHES and
252 * ldlex.h: Fix prototype of parse_args.
254 * ld.texinfo: Document that long options starting with 'o'
255 must be preceeded by two dashes. Change example of a single
256 dashed long option from -oformat to -trace-symbol.
258 2000-12-26 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
260 * emultempl/pe.em (OPTION_NO_DEFAULT_EXCLUDES): Define.
261 (longopts[]): New --no-default-excludes option.
262 (gld_${EMULATION_NAME}_list_options): Document.
263 (gld_${EMULATION_NAME}_parse_args): Handle.
265 2000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
267 * ldlang.c (new_stat): Revert the last beautification with "innocent"
268 whitespace, it breaks the K&R C preprocessor.
270 2000-12-11 DJ Delorie <dj@redhat.com>
272 * ld.texinfo: Add notes about --whole-archive and gcc.
274 2000-11-18 Fred Fish <fnf@be.com>
276 * lexsup.c (OPTION_ALLOW_SHLIB_UNDEFINED): Define.
277 (ld_options): Entry for --allow-shlib-undefined.
278 (parse_args): Handle OPTION_ALLOW_SHLIB_UNDEFINED.
279 * ldmain.c (main): Initialize link_info.allow_shlib_undefined
281 * ld.texinfo: Document new command line switch.
283 2000-12-12 Geoffrey Keating <geoffk@redhat.com>
285 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS):
286 .fixup is actually read/write.
287 * emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
288 * emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
289 * emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
291 Mon Dec 11 14:50:33 MET 2000 Jan Hubicka <jh@suse.cz>
293 * NEWS: Add note about x86_64 architecture.
295 2000-12-06 Mark Elbrecht <snowball3@bigfoot.com>
297 * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end.
298 Set DWARF2 sections to a VMA of zero.
300 2000-12-01 Joel Sherrill <joel@OARcorp.com>
302 * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
304 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
305 (sparc*-*-rtems*): Switched from a.out to ELF.
307 2000-11-30 Jan Hubicka <jh@suse.cz>
309 * Makefile.am (ALL_EMULATIONS): Add eelf_x86_64.o
310 (eelf_x86_64.c): New.
311 * Makefile.in: Regenerate.
312 * configure.tgt: Add support for x86_64-*-linux-gnu*.
313 * emulparams/elf_x86_64.sh: New.
315 2000-11-30 Hans-Peter Nilsson <hp@axis.com>
317 * emulparams/crislinux.sh (ENTRY): Change back to _start.
318 (TEXT_START_SYMBOLS): Remove conditional setting of __start.
320 * scripttempl/crisaout.sc: Change all RELOCATING not related to
321 merging non-a.out sections into CONSTRUCTING.
323 2000-11-28 Nick Clifton <nickc@redhat.com>
325 * ld.1 (COPYING): Mention that the GNU Free Documentation
326 License is present in the sources, but not the output, and
327 also available from the GNU website.
328 (GNU Free Documentation License): Comment out this section.
330 2000-11-28 David O'Brien <obrien@dragon.nuxi.com>
332 * emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF
335 2000-11-25 David O'Brien <obrien@FreeBSD.org>
337 * ld.1: Remove old date so it does not give the impression the manpage
340 2000-11-24 Nick Clifton <nickc@redhat.com>
342 * configure.tgt (xscale-coff): Add target.
343 (xscale-elf): Add target.
345 2000-11-24 Fred Fish <fnf@be.com>
347 * ldmain.c (main): Remove redundant init of config.make_executable
350 2000-11-15 Richard Henderson <rth@redhat.com>
352 * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M.
354 2000-11-14 Kazu Hirata <kazu@hxi.com>
356 * scripttempl/h8300.sc: Fix formatting.
357 * scripttempl/h8300h.sc: Likewise.
358 * scripttempl/h8300s.sc: Likewise.
360 Tue Nov 14 00:59:19 2000 Denis Chertykov <denisc@overta.ru>
362 * scripttempl/elf32avr.sc: Fix bug in .eeprom segment.
364 2000-11-09 Philip Blundell <pb@futuretv.com>
366 * emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME
367 around orphan sections whose names can be represented in C.
369 2000-11-07 Jim Wilson <wilson@redhat.com>
371 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local
372 hold_sdata. If SEC_SMALL_DATA set, set place to hold_sdata.
374 2000-11-06 Nick Clifton <nickc@redhat.com>
376 * ld.texinfo: Add GNU Free Documentation License.
377 * ldint.texinfo: Add GNU Free Documentation License.
378 * ld.1: Add GNU Free Documentation License.
380 2000-11-05 Alan Modra <alan@linuxcare.com.au>
382 * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer,
383 yy_is_interactive, yy_at_bol, and yy_fill_buffer.
385 * Makefile.am (DISTCLEANFILES): Add stringify.sed.
386 Move 2000-11-02 Makefile.in changes to this file.
387 * Makefile.in: Regenerate.
389 2000-11-03 Nick Clifton <nickc@redhat.com>
391 * scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose
392 constructors and destructors.
393 * scripttempl/h8300h.sc: Ditto.
394 * scripttempl/h8300s.sc: Ditto.
395 * scripttempl/h8500.sc: Ditto.
396 * scripttempl/h8500b.sc: Ditto.
397 * scripttempl/h8500c.sc: Ditto.
398 * scripttempl/h8500m.sc: Ditto.
399 * scripttempl/h8500s.sc: Ditto.
400 * scripttempl/v850.sc: Ditto.
401 * scripttempl/w65.sc: Ditto.
402 * scripttempl/z8000.sc: Ditto.
404 2000-11-02 Per Lundberg <plundis@chaosdev.org>
406 * Makefile.in (e_i386_chaos.c): New rule.
407 (ALL_EMULATIONS): Added e_i386_chaos.o.
408 * emulparams/elf_i386_chaos.sh: New file.
409 * configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos.
411 2000-10-20 Jakub Jelinek <jakub@redhat.com>
413 * emulparams/elf64_sparc.sh (TEXT_START_ADDR,
414 NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets.
415 Fix sed invocation, so that it coped with '/' in Solaris 64bit
417 Based on patch by Andrew Macleod <amacleod@cygnus.com>.
419 2000-10-18 Hans-Peter Nilsson <hp@axis.com>
421 * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),
422 for consecutive sections.
424 2000-10-17 Chandrakala Chavva <cchavva@redhat.com>
426 * lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific
428 * ld.texinfo: Added notes about this new option.
430 2000-10-16 Nick Clifton <nickc@redhat.com>
432 * emultempl/pe.em (_after_open): Add tests of return values from
433 bfd functions. Emit appropriate error messages if necessary.
435 2000-10-13 Nick Clifton <nickc@redhat.com>
437 * emultempl/pe.em (_after_open): Delete 'is2' and 'nsyms'
438 local variables - they are not used, but leave in the call to
439 bfd_canonicalize_symtab.
440 (_open_dynamic_archive): Add #ifdef DLL_SUPPORT around use of
441 pe_dll_search_prefix.
443 2000-10-12 Charles Wilson <cwilson@ece.gatech.edu>
445 * emultempl/pe.em (pe_dll_search_prefix): New variable,
446 (longopts): New --dll-search-prefix option.
447 (gld_${EMULATION_NAME}_list_options): Document.
448 (gld_${EMULATION_NAME}_parse_args): Handle.
449 (gld_${EMULATION_NAME}_open_dynamic_archive): When linking
450 dynamically, search for a dll named '<prefix><basename>.dll'
451 in preference to 'lib<basename>.dll' if --dll-search-prefix
454 2000-10-12 Alan Modra <alan@linuxcare.com.au>
456 * ldlang.c (section_already_linked): Set kept_section instead of
459 2000-10-10 Kazu Hirata <kazu@hxi.com>
461 * deffile.h: Fix formatting.
462 * lexsup.c: Likewise.
465 2000-10-09 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
467 * pe-dll.c (make_one): Do not generate code thunk for DATA
469 (process_def_file): deduce DATA flag for auto-export sumbols.
471 2000-10-09 Kazu Hirata <kazu@hxi.com>
473 * ld.h: Fix formatting.
474 * ldcref.c: Likewise.
475 * ldctor.h: Likewise.
476 * ldemul.c: Likewise.
477 * ldemul.h: Likewise.
480 * ldfile.c: Likewise.
481 * ldfile.h: Likewise.
482 * ldlang.c: Likewise.
483 * ldlang.h: Likewise.
484 * ldmain.c: Likewise.
485 * pe-dll.c: Likewise.
487 * pe-dll.c: Revert some formatting fixes.
489 2000-10-08 Kazu Hirata <kazu@hxi.com>
491 * pe-dll.c: Fix formatting.
493 2000-10-05 Kazu Hirata <kazu@hxi.com>
495 * ldlang.c: Fix formatting.
497 2000-10-03 DJ Delorie <dj@redhat.com>
499 * pe-dll.c (fill_edata): initialize entire block
500 (make_one): fill in correct section.
502 2000-10-03 Kazu Hirata <kazu@hxi.com>
504 * ldexp.c: Fix formatting.
506 2000-10-02 DJ Delorie <dj@redhat.com>
508 * emultempl/pe.em (gld_*_after_open): detect case where there two
509 import libraries for same dll; rename one to ensure proper link
512 * pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix
514 (generate_edata): fix typo
516 2000-09-29 Hans-Peter Nilsson <hp@axis.com>
518 * scripttempl/crisaout.sc (ENTRY): Now __start.
519 (.text): Add default setting for __start.
520 Remove CONSTRUCTORS handling.
521 (/DISCARD/): Add .gnu.warning.*.
522 * emulparams/crislinux.sh (ENTRY): Now __start.
523 (TEXT_START_SYMBOLS): New; provide __Stext and __start default.
524 * emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris.
525 (ENTRY): Now __start.
526 (INITIAL_READONLY_SECTIONS): Add KEEP for .startup.
527 (EXECUTABLE_SYMBOLS): Add default setting for __start.
529 2000-09-29 Kazu Hirata <kazu@hxi.com>
531 * deffile.h: Fix formatting.
533 * ldcref.c: Likewise.
534 * ldctor.c: Likewise.
535 * ldctor.h: Likewise.
536 * ldemul.c: Likewise.
537 * ldemul.h: Likewise.
540 * ldfile.c: Likewise.
541 * ldfile.h: Likewise.
542 * ldlang.c: Likewise.
543 * ldlang.h: Likewise.
544 * lexsup.c: Likewise.
546 * pe-dll.c: Likewise.
548 2000-09-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
550 * pe-dll.c (process_def_file): Uninitialized data wasn't
551 exported with --export-all-symbols switch.
553 2000-09-28 DJ Delorie <dj@redhat.com>
555 * pe-dll.c (fill_edata): rearrange the data so that ordinals and
556 noname work properly.
558 2000-09-28 Alan Modra <alan@linuxcare.com.au>
560 * ld.texinfo (HPPA ELF32): New section.
562 * emultempl/hppaelf.em (group_size): New.
563 (hppaelf_finish): Pass group_size to elf32_hppa_size_stubs.
564 (PARSE_AND_LIST_PROLOGUE): Add OPTION_STUBGROUP_SIZE.
565 (PARSE_AND_LIST_LONGOPTS): Add --stub-group-size. Duplicate
566 options to prevent abbreviations matching.
567 (PARSE_AND_LIST_OPTIONS): Describe the above. Reformat.
568 (PARSE_AND_LIST_ARGS_CASES): Handle it.
570 2000-09-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
572 * emultempl/m68kelf.em: Conditionalise the embedded relocs feature
573 on the m68*-*-elf target. Make it support COFF input objects.
575 2000-09-21 Kazu Hirata <kazu@hxi.com>
577 * ldmain.c: Fix formatting.
578 * ldmisc.c: Likewise.
580 * ldwrite.c: Likewise.
582 2000-09-21 Alan Modra <alan@linuxcare.com.au>
584 * ldwrite.c (clone_section): Silence gcc warnings.
586 2000-09-20 Alan Modra <alan@linuxcare.com.au>
588 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Handle
589 out of memory failure.
591 * ldwrite.c (ldwrite): Remove unnecessary einfo arg.
592 (clone_section): Handle out of memory failures. Rename var to
593 avoid c++ reserved word.
595 2000-09-18 Alan Modra <alan@linuxcare.com.au>
597 * emultempl/hppaelf.em (hppaelf_add_stub_section): Rename
598 stub_name param to stub_sec_name.
599 (hppaelf_finish): Modify call to elf32_hppa_size_stubs.
601 2000-09-10 Michael Sokolov <msokolov@ivan.Harhan.ORG>
603 * emultempl/m68kelf.em: New file.
604 * emulparams/m68kelf.sh (EXTRA_EM_FILE): Use it.
605 * Makefile.am (em68kelf.c): Add dependency on m68kelf.em.
606 * Makefile.in: Regenerate.
608 2000-09-15 Alan Modra <alan@linuxcare.com.au>
610 * emulparams/hppalinux.sh (DATA_START_SYMBOLS): Provide $global$
613 2000-09-13 Nick Clifton <nickc@redhat.com>
615 * ldmain.c (multiple_definition): Disable relaxation if
616 multiple symbol definitions are encountered - otherwise the
617 linker could abort with an assertion failure.
619 2000-09-10 Nick Clifton <nickc@redhat.com>
621 * mri.c: Fix formatting.
623 2000-09-07 H.J. Lu <hjl@gnu.org>
625 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
626 * configure: Rebuild.
628 2000-09-07 H.J. Lu <hjl@gnu.org>
630 * Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h.
631 * Makefile.in: Rebuild.
633 2000-09-07 Alan Modra <alan@linuxcare.com.au>
635 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Fix
636 broken list handling. Create __start_SECNAME and __stop_SECNAME
637 when no place-holder. Add some comments. Test both SEC_CODE and
638 SEC_READONLY for hold_text to prevent .rodata orphan poisoning.
639 Handle case where no output section statement created.
641 2000-09-07 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
643 * configure.tgt (sh-*-linux*): Added.
644 * Makefile.am: Added eshelf_linux and eshlelf_linux.
645 * Makefile.in: Rebuilt.
646 * emulparams/shelf_linux.sh: New file.
647 * emulparams/shlelf_linux.sh: New file.
649 2000-09-06 Alan Modra <alan@linuxcare.com.au>
651 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
652 try shuffling sections when the orphan happens to be the place
653 holder. Keep count of unique section names generated so we speed
654 the search for a new name.
656 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
658 * configure: Rebuilt with new libtool.m4.
660 2000-09-05 Nick Clifton <nickc@redhat.com>
662 * Makefile.in: Regenerate.
663 * aclocal.m4: Regenerate.
664 * configure: Regenerate.
665 * config.in: Regenerate.
666 * po/ld.pot: Regenerate.
668 * ldint.texinfo: Remove CVS revision marker - it foils local
671 * emultempl/ticoff.em: Remove extraneous comma.
673 2000-09-05 Alan Modra <alan@linuxcare.com.au>
675 * emultempl/hppaelf.em (hppaelf_add_stub_section): Add SEC_RELOC
676 to stub section flags.
677 (hppa_for_each_input_file_wrapper): New.
678 (hppa_lang_for_each_input_file): New.
679 (lang_for_each_input_file): Define to call above.
680 (multi_subspace): New.
681 (hppaelf_finish): Pass multi_subspace to elf32_hppa_size_stubs.
682 (PARSE_AND_LIST_PROLOGUE): Define.
683 (PARSE_AND_LIST_LONGOPTS): Define.
684 (PARSE_AND_LIST_OPTIONS): Define.
685 (PARSE_AND_LIST_ARGS_CASES): Define.
686 (hppaelf_finish): Call elf32_hppa_set_gp.
687 (hppaelf_set_output_arch): Remove.
688 (LDEMUL_SET_OUTPUT_ARCH): Remove.
690 * emulparams/hppalinux.sh (ELFSIZE): Define.
692 (OTHER_READONLY_SECTIONS): Define.
694 (GENERATE_SHLIB_SCRIPT): Define.
696 * ldlang.c: Add missing prototypes, and tidy others. Change CONST
697 to const throughout. Change `void *' to `PTR' throughout.
698 (lang_memory_default): Function is local to file, add `static'.
700 * Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em.
701 (ehppalinux.c): Likewise.
702 (earmelf.c): Likewise.
703 (earmelf_linux.c): Likewise.
704 (earmelf_linux26.c): Likewise.
705 * Makefile.in: Regenerate.
707 * ld.h (ld_config_type): Add unique_orphan_sections.
708 * lexsup.c (OPTION_UNIQUE): Define.
709 (ld_options): Add "--unique".
710 (parse_args): Handle it.
711 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
712 search for an existing output section if unique_orphan_sections is
713 set. Make use of bfd_get_unique_section_name rather than
714 duplicating code here.
715 * ld.texinfo: Describe --unique.
717 * lexsup.c (ld_options): Make split-by-reloc arg optional. Add
718 optional arg to split-by-file.
719 (parse_args): Handle them.
720 * ld.texinfo: Update description of these options.
721 * ldwrite.c (clone_section): Pass in the section name. Replace
722 local code with bfd_get_unique_section_name.
723 (split_sections): Tidy code and comments. Use a list traversal
724 more appropriate to the list construction. Handle cooked section
725 sizes. Split when split_by_reloc reached rather than exceeded.
726 Track section size and split when split_by_file reached. Fix
727 link_order_tail (even though it's not used).
728 (ldwrite): Modify condition for calling split_sections to suit
729 changed split_by_reloc and split_by_file.
730 * ldmain.c (main): Init config.split_by_reloc and
731 config.split_by_file to -1.
732 * ld.h (ld_config_type): Change split_by_reloc to unsigned.
733 Change split_by_file to bfd_size_type.
735 2000-09-02 Nick Clifton <nickc@redhat.com>
737 * configure.in: Increase version number to 2.10.91.
738 * NEWS: Mention new ability to support removal of duplicate DWARF2
740 * configure: Regenerate.
741 * aclocal.m4: Regenerate.
742 * config.in: Regenerate.
744 2000-09-02 Daniel Berlin <dberlin@redhat.com>
746 * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info
748 * scripttempl/elf32avr.sc: Ditto.
749 * scripttempl/elfd10v.sc: Ditto.
750 * scripttempl/elfd30v.sc: Ditto.
751 * scripttempl/elfi370.sc: Ditto.
752 * scripttempl/elfm68hc11.sc: Ditto.
753 * scripttempl/elfm68hc12.sc: Ditto.
754 * scripttempl/elfi386beos.sc: Ditto.
755 * scripttempl/v850.sc: Ditto.
757 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
759 * acinclude.m4: Include libtool and gettext macros from the
761 * aclocal.m4, configure: Rebuilt.
763 2000-08-25 Nick Clifton <nickc@redhat.com>
765 * ldlang.c (open_output): When choosing the target for a
766 particular endianness, do nothing if the target is not
769 2000-08-25 H.J. Lu <hjl@gnu.org>
771 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
772 check -rpath nor LD_RUN_PATH for cross link.
773 * ld.texinfo: Document the change.
775 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
777 * NEWS: Mention support for CRIS.
779 2000-08-23 H.J. Lu <hjl@gnu.org>
781 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get
782 the current runpath list from bfd_elf_get_runpath_list ()
785 2000-08-22 H.J. Lu <hjl@gnu.org>
787 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search
788 the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after
789 LD_LIBRARY_PATH for native linker. Display the needed DSO if
790 trace_file_tries is non-zero.
791 (gld${EMULATION_NAME}_try_needed): Report the needed DSO found
792 if trace_file_tries is non-zero.
794 * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH.
797 2000-08-14 Jason Eckhardt <jle@cygnus.com>
799 * NEWS: Mention i860 support.
801 2000-08-14 Andreas Schwab <schwab@suse.de>
803 * scripttempl/elf.sc: Fix last change to use correct comment
806 2000-08-10 Geoff Keating <geoffk@cygnus.com>
808 * scripttempl/elf.sc: Add a comment giving the correspondence
809 between sections, per-datum sections, and linkonce sections. Make
810 the comment true even for .bss, .sdata, .sdata2, .sbss, and
813 2000-08-10 Jason Eckhardt <jle@cygnus.com>
815 * emulparams/elf32_i860.sh: New file.
816 * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}.
817 * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o.
818 (eelf32_i860.c): New rule.
819 * Makefile.in: Regenerate.
821 2000-08-10 Nick Clifton <nickc@cygnus.com>
823 * emulparams/mipspe.sh (ENTRY): Add definition.
825 2000-08-08 Peter Jeremy <peter.jeremy@alcatel.com.au>
827 * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath
830 2000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
832 * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate
833 the final size of .bss section.
834 * scripttempl/elfm68hc12.sc: Likewise.
836 2000-08-04 Alan Modra <alan@linuxcare.com.au>
838 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to
839 gld${EMULATION_NAME}_parse_args for consistency. Combine
840 lastoptind and prevoptind vars, and keep track of last optind.
841 (gld_${EMULATION_NAME}_list_options): Rename to
842 gld${EMULATION_NAME}_list_options.
844 2000-08-03 Rodney Brown <RodneyBrown@pmsc.com>
846 * configure.tgt: Select targ_emul=elf_i386 for Unixware 7
847 (i586-sco-sysv5uw7.1.0).
849 2000-07-27 H.J. Lu <hjl@gnu.org>
851 * emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed.
852 (PARSE_AND_LIST_PROLOGUE): New.
853 (PARSE_AND_LIST_LONGOPTS): Likewise.
854 (PARSE_AND_LIST_OPTIONS): Likewise.
855 (PARSE_AND_LIST_ARGS_CASES): Likewise.
856 (PARSE_AND_LIST_EPILOGUE): Likewise.
858 2000-07-28 Alan Modra <alan@linuxcare.com.au>
860 * emultempl/armelf.em: Elide functions common to elf32.em,
861 ie. most of the file.
862 (arm_elf_after_open): New. Do arm specific things then call
863 gld${EMULATION_NAME}_after_open.
864 (arm_elf_before_allocation): New. Call
865 gld${EMULATION_NAME}_before_allocation then do arm specifics.
866 (PARSE_AND_LIST_PROLOGUE): Define.
867 (PARSE_AND_LIST_SHORTOPTS): Define.
868 (PARSE_AND_LIST_LONGOPTS): Define.
869 (PARSE_AND_LIST_OPTIONS): Define.
870 (PARSE_AND_LIST_ARGS_CASES): Define.
871 (LDEMUL_AFTER_OPEN): Define.
872 (LDEMUL_BEFORE_ALLOCATION): Define.
873 (LDEMUL_BEFORE_PARSE): Define.
874 (LDEMUL_FINISH): Define.
876 * emultempl/hppaelf.em: Similarly zap most of this file.
877 (hppaelf_add_stub_section): Prototype.
878 (hppaelf_layaout_sections_again): Prototype.
879 (hook_in_stub): Prototype.
880 (LDEMUL_SET_OUTPUT_ARCH): Define.
881 (LDEMUL_FINISH): Define.
882 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
884 * emulparams/armelf.sh (TEMPLATE_NAME): Use elf32.
885 (EXTRA_EM_FILE): New.
886 * emulparams/armelf_linux.sh: Likewise.
887 * emulparams/armelf_linux26.sh: Likewise.
888 * emulparams/hppalinux.sh: Likewise.
889 * emulparams/hppaelf.sh: Likewise.
892 * emultempl/elf32.em: Fix formatting.
893 (EXTRA_EM_FILE): Source it.
894 (LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
895 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
896 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
897 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
898 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
899 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
900 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
901 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
902 LDEMUL_FIND_POTENTIAL_LIBRARIES): New shell vars. Add code to
903 allow functions in this file to be overridden.
904 (PARSE_AND_LIST_SHORTOPTS): Handle it.
906 * emultempl/m68kcoff.em: Include ldfile.h before ldemul.h.
908 * emultempl/elf32.em: Reorganize file.
910 2000-07-27 Ivan Kokshaysky <ink@jurassic.park.msu.ru>
912 * emulparams/elf64alpha.sh: Implement "-taso" emulation
913 specific option to fit 64-bit executable in the lower
914 31-bit address range. This is done by changing start
915 address of .interp (the very first section of executable)
916 and then setting EF_ALPHA_32BIT elf header flag.
918 2000-07-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
920 * emultempl/m68kcoff.em: New file.
921 * emulparams/m68kcoff.sh (TEMPLATE_NAME): Use m68kcoff template.
922 * Makefile.am (em68kcoff.c): Depend on m68kcoff.em rather than
924 * Makefile.in: Regenerate.
926 2000-07-20 H.J. Lu <hjl@gnu.org>
928 * emultempl/elf32.em (longopts): Duplicate "disable-new-dtags"
929 and "disable-new-dtags" to stop getopt from treating -d/-e as
930 abbreviations for these options.
932 2000-07-20 H.J. Lu <hjl@gnu.org>
934 * ld.texinfo: Add documentation for --disable-new-dtags and
937 * ldmain.c (main): Initialize link_info.new_dtags to false.
939 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add
940 --disable-new-dtags and --enable-new-dtags.
941 (gld_${EMULATION_NAME}_list_options): Likewise.
943 2000-07-05 Kenneth Block <krblock@computer.org>
945 * lexsup.c: Add optional style to demangle switch
946 * ld.texinfo: Document optional style to demangle switch.
948 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
950 * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o,
952 (ecrisaout.c, ecriself.c, ecrislinux.c): New rules.
953 Regenerate dependencies.
954 * Makefile.in: Rebuild.
955 * configure.tgt (cris-*-*): New target.
956 * emulparams/crisaout.sh, emulparams/criself.sh,
957 emulparams/crislinux.sh, scripttempl/crisaout.sc: New files.
958 * po/POTFILES.in, po/ld.pot: Regenerate.
960 2000-07-20 H.J. Lu <hjl@gnu.org>
962 * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options):
963 Print out ignored -z options.
965 2000-07-19 H.J. Lu <hjl@gnu.org>
967 * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed.
968 (PARSE_AND_LIST_PROLOGUE): New.
969 (PARSE_AND_LIST_LONGOPTS): Likewise.
970 (PARSE_AND_LIST_OPTIONS): Likewise.
971 (PARSE_AND_LIST_ARGS_CASES): Likewise.
973 * ldmain.c (main): Clear link_info.flags and link_info.flags_1.
975 * lexsup.c (ld_options): Comment out 'z'.
976 (parse_args): Likewise.
978 * emultempl/elf32.em: Include "elf/common.h".
979 (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z
981 (gld_${EMULATION_NAME}_list_options): Likewise.
983 * ld.texinfo: Add documentation for the recognized -z options.
985 2000-07-19 H.J. Lu <hjl@gnu.org>
987 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call
988 bfd_elf_set_dt_needed_soname ().
990 2000-07-18 DJ Delorie <dj@cygnus.com>
992 * pe-dll.c (pe_dll_id_target): check object target name also
994 2000-07-18 Hans-Peter Nilsson <hp@axis.com>
996 * scripttempl/elf.sc (.init): Only do ${INIT_START} and
997 ${INIT_END} if relocating.
998 (.fini): Likewise ${FINI_START} and ${FINI_END}.
1000 2000-07-16 Charles Wilson <cwilson@ece.gatech.edu>
1002 * emultempl/pe.em (gld_*_open_dynamic_archive): New search
1003 order for dynamic library '-lfoo' on pei386: libfoo.dll.a,
1004 foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility
1005 errors introduced by the old dynamic lib search order.
1007 2000-07-17 DJ Delorie <dj@cygnus.com>
1009 * pe-dll.c (process_def_file): auto-export data items also
1010 (pe_process_import_defs): also see if _imp_ form needed
1012 2000-07-12 Charles Wilson <cwilson@ece.gatech.edu>
1014 * pe-dll.c (make_one): fix a typo in the __imp_ name decoration
1015 for dll import libraries
1017 2000-07-12 Mark Elbrecht <snowball3@bigfoot.com>
1019 * scripttempl/i386go32.sc: Support the g++ attribute init_priority in
1020 gcc 2.95.2 and later.
1022 2000-07-11 Kazu Hirata <kazu@hxi.com>
1024 * ldfile.c (ldfile_try_open_bfd): Output '\n' after an error
1027 2000-07-10 Alan Modra <alan@linuxcare.com.au>
1029 * ldemul.h (struct lang_input_statement_struct): Remove forward
1031 (struct search_dirs): Likewise.
1032 * ldfile.h (struct lang_input_statement_struct): Likewise.
1033 Protect file from multiple inclusion.
1034 * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Move file_chain
1035 declaration from macro to file scope.
1037 * ldemul.c: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this order.
1038 * ldgram.y: Likewise here.
1039 * ldlang.c: And here.
1040 * ldmain.c: And here.
1041 * mpw-elfmips.c: And here.
1042 * mpw-eppcmac.c: And here.
1043 * emultempl/aix.em: And here.
1044 * emultempl/armcoff.em: And here.
1045 * emultempl/armelf.em: And here.
1046 * emultempl/armelf_oabi.em: And here.
1047 * emultempl/beos.em: And here.
1048 * emultempl/elf32.em: And here.
1049 * emultempl/hppaelf.em: And here.
1050 * emultempl/linux.em: And here.
1051 * emultempl/lnk960.em: And here.
1052 * emultempl/pe.em: And here.
1053 * emultempl/sunos.em: And here.
1054 * mpw-esh.c: And here. Include ldexp.h and ldlang.h too.
1055 * mpw-idtmips.c: Ditto.
1056 * emultempl/generic.em: Ditto.
1057 * emultempl/gld960.em: Ditto.
1058 * emultempl/gld960c.em: Ditto.
1059 * emultempl/mipsecoff.em: Ditto.
1060 * emultempl/ticoff.em: Ditto.
1061 * emultempl/vanilla.em: Ditto.
1063 * pe-dll.c: Include ldfile.h
1064 * ldver.c: Include ldexp.h, ldlang.h, ldfile.h
1066 * mpw-elfmips.c: (gldelf32ebmip_before_allocation): Add missing
1067 arguments to bfd_elf32_size_dynamic_sections call.
1068 (gldelf32ebmip_place_orphan): Add missing arguments to
1069 lang_leave_output_section_statement call.
1071 2000-07-10 H.J. Lu <hjl@gnu.org>
1073 * emultempl/pe.em (pe_enable_stdcall_fixup): Protect with
1075 (strhash): Likewise.
1076 (compute_dll_image_base): Likewise.
1077 (pe_undef_found_sym): Likewise.
1078 (pe_undef_cdecl_match): Likewise.
1079 (gld_${EMULATION_NAME}_open_dynamic_archive): Mark the
1080 argument "arch" with ATTRIBUTE_UNUSED.
1082 2000-07-10 Alan Modra <alan@linuxcare.com.au>
1084 * configure.tgt: Remove extraneous hppa*-*-linux-gnu*.
1086 From Ryan Bradetich <rbradetich@uswest.net>
1087 * ldwrite.c (SSIZE): Remove to cure macro redefinition warning.
1089 2000-07-09 Alan Modra <alan@linuxcare.com.au>
1091 Changes to create multiple linker stubs, positioned immediately
1092 before the section where they are required.
1093 * emultempl/hppaelf.em: Include elf32-hppa.h.
1094 (stub_sec, file_chain): Delete.
1095 (hppaelf_create_output_section_statements): Don't make a stub
1097 (hook_stub_info): New struct.
1098 (hook_in_stub): New function.
1099 (hppaelf_add_stub_section): New function.
1100 (hppaelf_finish): Do nothing for relocateable links. Modify the
1101 call to elf32_hppa_size_stubs. Move code for updating section
1103 (hppaelf_layaout_sections_again): ..to here, a new function.
1105 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Fix
1106 broken list handling. Pass in a pointer to the list.
1107 (hppaelf_finish): Update call to hppaelf_delete_padding_statements
1109 (hppaelf_before_parse): Prototype.
1110 (hppaelf_set_output_arch): Prototype.
1111 (hppaelf_create_output_section_statements): Prototype.
1112 (hppaelf_delete_padding_statements): Prototype.
1113 (hppaelf_finish): Prototype.
1116 * emultempl/hppaelf.em: Include ctype.h.
1117 (struct orphan_save): New.
1118 (gld${EMULATION_NAME}_place_orphan): New.
1119 (output_rel_find): New.
1120 (hppaelf_get_script): Update from elf32.em.
1121 (ld_hppaelf_emulation): Rename to ld_${EMULATION_NAME}_emulation.
1122 Change emulation_name field to "${EMULATION_NAME}". Add
1123 gld${EMULATION_NAME}_place_orphan.
1125 * Makefile.am (ALL_EMULATIONS): Reinstate ehppaelf.o, add
1126 ehppalinux.o, sort it. Regenerate dependencies.
1127 (ehppalinux.c): Depend on hppaelf.em
1128 * Makefile.in: Regenerate.
1130 * configure.tgt: targ_emul=hppalinux for hppa*linux
1132 * emulparams/hppalinux.sh: New.
1133 * emulparams/hppaelf.sh (TARGET_PAGE_SIZE): Write in hex.
1135 2000-07-08 Alan Modra <alan@linuxcare.com.au>
1137 * lexsup.c (parse_args): Copy section name.
1139 2000-07-07 Charles Wilson <cwilson@ece.gatech.edu>
1141 * emultempl/pe.em: institute the following search order for
1142 dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import
1143 libs), libfoo.dll, foo.dll (link direct to dll). Fall back to
1144 static lib (libfoo.a) if none of the above are found.
1146 2000-07-07 Mumit Khan <khan@xraylith.wisc.edu>
1148 * emultempl/pe.em (pe_enable_auto_image_base): New variable.
1149 (longopts): New --{enable,disable}-auto-image-base options.
1150 (gld_${EMULATION_NAME}_list_options): Document.
1151 (gld_${EMULATION_NAME}_parse): Handle.
1152 (strhash): New static function.
1153 (compute_dll_image_base): New static function.
1154 (gld_${EMULATION_NAME}_set_symbols): Use.
1156 2000-07-05 DJ Delorie <dj@redhat.com>
1160 2000-07-01 Koundinya K <kk@ddeorg.soft.net>
1162 * configure.tgt: Add traditional mips (mips*-*-sysv4*) target.
1163 * emulparams/elf32btsmip.sh: New file.
1164 * Makefile.am: Add traditional mips target.
1165 * Makefile.in: Rebuild.
1167 2000-07-01 H.J. Lu <hjl@gnu.org>
1169 * Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for
1170 automake to use YLWRAP.
1171 * Makefile.in: Rebuild.
1173 2000-07-01 Alan Modra <alan@linuxcare.com.au>
1175 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
1176 (CLEANFILES): Add DEPA.
1177 * Makefile.in: Regenerate.
1179 2000-06-30 Timothy Wall <twall@ppc>
1181 * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode
1182 the page in the upper octet of the address.
1184 2000-06-26 Marek Michalkiewicz <marekm@linux.org.pl>
1186 * emulparams/avrmega161.sh (ARCH): Change to avr:5.
1188 2000-06-24 Alan Modra <alan@linuxcare.com.au>
1190 * NEWS: arm-elf does --gc-sections too.
1192 2000-06-22 Alan Modra <alan@linuxcare.com.au>
1194 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
1196 * Makefile.in: Regenerate.
1198 2000-06-21 H.J. Lu <hjl@gnu.org>
1200 * Makefile.am: Rebuild dependency.
1201 * Makefile.in: Rebuild.
1203 2000-06-20 H.J. Lu <hjl@gnu.org>
1205 * Makefile.am: Rebuild dependency.
1206 * Makefile.in: Rebuild.
1208 2000-06-20 Timothy Wall <twall@cygnus.com>
1210 * scripttempl/tic54xcoff.sc: New.
1211 * ldlang.c (wild_doit): Propagate SEC_BLOCK flag.
1212 * gen-doc.texi: Add flag for TI COFF.
1213 * ld.texinfo: Add documentation for TI COFF handling switches.
1214 * emultempl/ticoff.em: New. TI COFF handling.
1215 * configure.tgt: Add tic54x target.
1216 * Makefile.am: Add tic54x target.
1217 * Makefile.in: Ditto.
1219 2000-06-20 Alan Modra <alan@linuxcare.com.au>
1221 * ldmain.c (set_scripts_dir): Correct pointer comparison when
1222 checking for backslashes.
1224 2000-06-19 Alan Modra <alan@linuxcare.com.au>
1226 * NEWS: Move entries not in 2.10 above "Changes in version 2.10".
1228 2000-06-18 Alan Modra <alan@linuxcare.com.au>
1230 * NEWS: Update list of targets supporting --gc-sections.
1232 * scripttempl/elf.sc: KEEP .eh_frame contents.
1233 * scripttempl/elfd30v.sc: Same here.
1235 2000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
1237 * Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12
1239 * Makefile.in: Rebuild.
1240 * configure.tgt: Recognize m68hc12 and m68hc11.
1241 * scripttempl/elfm68hc12.sc: New file.
1242 * emulparams/m68hc12elfb: New emulation.
1243 * emulparams/m68hc12elf: New emulation.
1244 * emulparams/m68hc11elfb.sh: New file. User configurable emulation
1245 (includes a memory.x script to define the ROM and RAM banks).
1246 * scripttempl/elfm68hc11.sc, emulparams/m68hc11elf.sh:
1247 New configuration files for support of Motorola 68hc11
1249 2000-06-15 Alan Modra <alan@linuxcare.com.au>
1251 * ldmain.c (main): Only change SEC_READONLY for final link.
1253 2000-06-13 H.J. Lu <hjl@gnu.org>
1255 * configure: Regenerate.
1257 2000-06-08 David O'Brien <obrien@FreeBSD.org>
1259 * configure.in (VERSION): Update to show this is the CVS mainline.
1261 2000-06-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1263 * emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all
1264 input objects to be ECOFF.
1265 (check_sections): einfo takes %B, not %P, to print a BFD name.
1267 2000-06-05 Michael Matz <matz@ifh.de>
1269 * ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in
1272 * ldlex.l (V_IDENTIFIER): Accept `::' in symbols.
1274 2000-05-23 Marek Michalkiewicz <marekm@linux.org.pl>
1276 * emulparams/avr1200.sh (STACK): Define as 0.
1277 * emulparams/avr23xx.sh (STACK): Define as last internal SRAM address.
1278 * emulparams/avr4433.sh (STACK): Likewise.
1279 * emulparams/avr44x4.sh (STACK): Likewise.
1280 * emulparams/avr85xx.sh (STACK): Likewise.
1281 * emulparams/avrmega103.sh (STACK): Likewise.
1282 * emulparams/avrmega161.sh (STACK): Likewise.
1283 * emulparams/avrmega603.sh (STACK): Likewise.
1284 * scripttempl/elf32avr.sc (__data_start): Define for gcrt1.
1285 (__stack): Define from ${STACK} for main().
1287 2000-05-26 Alan Modra <alan@linuxcare.com.au>
1289 * Makefile.am: Update dependencies with "make dep-am"
1290 * Makefile.in: Regenerate.
1292 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
1294 * ldmain.c: Include filenames.h.
1295 (set_scripts_dir): Support backslashes in program name.
1297 2000-05-22 Igor Shevlyakov <igor@windriver.com>
1299 * ldmain.c (main): When deciding if ".text" section should be
1300 read-only, don't forget to reset SEC_READONLY because it
1301 could be already set.
1303 2000-05-22 Thomas de Lellis <tdel@windriver.com>
1305 * ld.1: Add documentation for new command line option:
1306 --section-start <sectionname>=<sectionorg>
1307 This is a generic version of -Ttext etc. which accepts
1308 any section name as a parameter instead of just text/data/
1310 * ld.texinfo: More docs.
1312 * lexsup.c: (parse_args): Recognize new command line option.
1313 (ld_options): Add new option.
1315 2000-05-18 H.J. Lu <hjl@gnu.org>
1317 * lexsup.c (parse_args): `i' == `r', not `q'.
1319 Thu May 18 10:47:57 2000 Jeffrey A Law (law@cygnus.com)
1321 * configure.tgt (hppa*64*-*-*): Enable PA64 target.
1323 2000-05-17 S. Bharadwaj Yadavalli <sby@scrugs.lkg.dec.com>
1324 Rick Gorton <gorton@scrugs.lkg.dec.com>
1326 Add support for '-q' == '--emit-relocs' switch.
1327 * ldmain.c (main): Default to false.
1328 * lexsup.c (parse_args): Turn on emitrelocations flag if set.
1329 * NEWS: Describe the emitrelocations switch.
1330 * ld.texinfo: Describe the emitrelocations switch.
1332 2000-05-16 Charles Wilson <cwilson@ece.gatech.edu>
1334 * emultempl/pe.em (_open_dynamic_archive): New function: Search
1335 the library path for "foo.dll" and "libfoo.dll" dynamic libraries
1336 before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo'
1339 2000-05-15 David O'Brien <obrien@FreeBSD.org>
1341 * lexsup.c (parse_args): Update the year in the copyright notice.
1343 2000-05-13 Alan Modra <alan@linuxcare.com.au>
1345 * ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain):
1346 Replace defines with those from intl/libgettext.h to quieten gcc
1349 2000-05-10 H.J. Lu <hjl@gnu.org>
1351 * ldlang.c (open_input_bfds): Don't load the same file within
1352 a group again if the whole archive has been loaded already.
1354 2000-05-03 Alan Modra <alan@linuxcare.com.au>
1356 From Ulf Carlsson <ulfc@engr.sgi.com> and Andreas Jaeger <aj@suse.de>
1357 * lexsup.c (set_section_start): Use bfd_scan_vma rather than
1360 Mon May 1 17:34:34 2000 Jim Wilson <wilson@cygnus.com>
1362 * configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}.
1364 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
1365 host "ia64-*-linux-gnu*".
1367 2000-04-29 Andreas Jaeger <aj@suse.de>
1369 * ld.h: Correctly check GCC version.
1371 Tue Apr 25 11:20:43 2000 Jeffrey A Law (law@cygnus.com)
1373 * Makefile.am: Add PA64 support. Add missing dependencies for
1375 * Makefile.in: Rebuilt.
1376 * configure.tgt: Add PA64 support (currently disabled).
1378 2000-04-25 Alan Modra <alan@linuxcare.com.au>
1380 * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete.
1381 (output_rel_find): New function.
1382 (hold_section, hold_use): Delete.
1383 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
1384 hold_interp): Make local to place_orphan.
1385 (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find
1386 rather than place_section to find possible previous use of orphan.
1387 Similarly find the place-holder output sections. Use returned
1388 value from lang_enter_output_section_statement rather than calling
1389 lang_output_section_statement_lookup.
1390 * emultempl/armelf.em: Same here.
1391 * emultempl/pe.em: Similar to above, but no need for output_rel_find.
1393 * ldlang.c (lang_enter_output_section_statement): Return output
1395 * ldlang.h (lang_enter_output_section_statement): Change
1398 * ldlang.h (lang_output_section_statement): Export it.
1399 * ldlang.c (lang_output_section_statement): Ditto.
1401 2000-04-24 Nick Clifton <nickc@cygnus.com>
1403 * ld.texinfo (Output Section Data): Add note that section data
1404 commands cannot appear outside of section directives.
1406 2000-04-2 Matthew Green <mrg@cygnus.com>
1408 * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support.
1410 Fri Apr 21 13:20:53 2000 Richard Henderson <rth@cygnus.com>
1411 David Mosberger <davidm@hpl.hp.com>
1413 * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o.
1414 (eelf64_ia64.c): New rule.
1415 * Makefile.in: Rebuild.
1416 * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets.
1417 * emulparams/elf64_ia64.sh: New file.
1419 2000-04-21 Richard Henderson <rth@cygnus.com>
1421 * scripttempl/elfd30v.sc: Place .gcc_except_table.
1423 2000-04-19 Alan Modra <alan@linuxcare.com.au>
1425 * dep-in.sed: Match space at start of file name, not at end.
1427 2000-04-18 H.J. Lu <hjl@gnu.org>
1429 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
1430 lang_leave_output_section_statement () after calling
1431 lang_enter_output_section_statement ().
1432 * emultempl/armelf.em: Likewise.
1434 2000-04-18 Alan Modra <alan@linuxcare.com.au>
1436 * emultempl/elf32.em (struct orphan_save): Add section field.
1437 (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in
1438 better order, and place first orphan section as we did before the
1439 2000-04-12 patch. Ignore ~SEC_ALLOC sections when choosing place.
1440 Don't call make_bfd_section here, let wild_doit do the job for us.
1441 Don't build a statement list when we'll only throw it away.
1442 * emultempl/armelf.em: Ditto.
1443 * emultempl/pe.em: Similarly.
1445 2000-04-14 Geoff Keating <geoffk@cygnus.com>
1447 * scripttempl/elfppc.sc: Remove.
1448 * emulparams/elf32ppc.sh: Use elf.sc.
1449 * emulparams/elf32lppc.sh: Use elf.sc.
1450 * emulparams/elf32ppclinux.sh: Use elf.sc.
1451 * emulparams/elf32ppcsim.sh: New file.
1452 * emulparams/elf32lppcsim.sh: New file.
1453 * Makefile.am: Update dependencies. Add elf32ppcsim ad elf32lppcsim.
1454 (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim.
1455 * Makefile.in: Regenerate.
1456 * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim.
1458 2000-04-14 Alan Modra <alan@linuxcare.com.au>
1460 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process
1461 ~SEC_ALLOC sections too. Init start address of debug sections.
1462 * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto.
1463 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto.
1464 Also set all relocateable section start addresses.
1466 2000-04-13 Geoff Keating <geoffk@cygnus.com>
1468 * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections.
1469 Add new BSS_PLT variable for when .plt need not be contained in
1470 the file. Move _etext so that it is also after .fini, and provide
1471 both etext and _etext with a leading underscore. Mark the start
1474 2000-04-12 Alan Modra <alan@linuxcare.com.au>
1476 * emultempl/elf32.em (struct orphan_save): New.
1477 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
1478 hold_interp): Make them struct orphan_save.
1479 (gld${EMULATION_NAME}_place_section): Modify for new hold_*.
1480 (gld${EMULATION_NAME}_place_orphan): Add new orphan sections to
1481 the end of the relevant section list. Also add associated section
1482 statements to the end of any previous orphan statements.
1483 * emultempl/armelf.em: Similarly.
1484 * emultempl/pe.em: Similarly.
1486 2000-04-11 Alan Modra <alan@linuxcare.com.au>
1488 * ld.texinfo (Simple Example): Remove extraneous paragraph.
1490 Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
1492 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
1493 --enable-build-warnings option.
1494 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
1495 * Makefile.in, configure: Re-generate.
1497 2000-04-04 Alan Modra <alan@linuxcare.com.au>
1499 * po/ld.pot: Regenerate.
1501 * lexsup.c (help): Restore translated part of bug string.
1503 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
1504 (DEP): Quote when passing vars to sub-make. Add warning message
1506 (DEP1): Rewrite for "gcc -MM".
1507 (CLEANFILES): Add DEP2.
1508 Update dependencies.
1509 * Makefile.in: Regenerate.
1511 2000-04-03 Alan Modra <alan@linuxcare.com.au>
1513 * ld.h: #include "bin-bugs.h"
1514 * lexsup.c (help): Use REPORT_BUGS_TO.
1516 2000-03-27 Denis Chertykov <denisc@overta.ru>
1518 * configure.tgt (avr-*-*): New target support.
1519 * Makefile.am: Likewise.
1520 * scripttempl/elf32avr.sc: New script file.
1521 * emulparams/avr1200.sh: New file.
1522 * emulparams/avr23xx.sh: New file.
1523 * emulparams/avr4433.sh New file.
1524 * emulparams/avr44x4.sh New file.
1525 * emulparams/avr85xx.sh New file.
1526 * emulparams/avrmega103.sh New file.
1527 * emulparams/avrmega161.sh New file.
1528 * emulparams/avrmega603.sh New file.
1529 * Makefile.in: Regenerate.
1531 2000-03-09 Andreas Jaeger <aj@suse.de>
1533 * Makefile.am (check-DEJAGNU): Also unset LANG.
1534 * Makefile.in: Rebuild.
1536 2000-03-06 Ian Lance Taylor <ian@zembu.com>
1538 * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty
1541 2000-03-02 H.J. Lu <hjl@gnu.org>
1543 * emulparams/elf32mcore.sh: Include "getopt.h".
1545 2000-03-01 Ian Lance Taylor <ian@zembu.com>
1547 * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware.
1549 2000-03-01 H.J. Lu <hjl@gnu.org>
1551 * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR.
1552 * emulparams/shpe.sh: Likewise.
1554 2000-03-01 Nick Clifton <nickc@cygnus.com>
1556 * pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED
1557 to unused parameters.
1559 * emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static
1560 functions only used by DLL code.
1561 (_place_orphan): Initialise 'dollar'.
1563 2000-03-01 H.J. Lu <hjl@gnu.org>
1565 * ldmain.c (undefined_symbol): Take one more arg, fatal, to
1566 indicate if the undefined symbol is a fatal error or not.
1567 Don't delete the output file if "fatal" is false.
1569 2000-02-29 H.J. Lu <hjl@gnu.org>
1571 * Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)".
1572 Set LC_COLLATE and LC_ALL to null and export them. It is for
1573 sort which expects the C locale.
1574 Add $(LIBS) to all $(HOSTING_LIBS).
1575 * Makefile.in: Rebuild.
1577 2000-02-29 Alan Modra <alan@spri.levels.unisa.edu.au>
1579 * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em,
1580 beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em,
1581 linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em}
1582 (ld_emulation_xfer_struct): Add missing NULL initialiser for
1583 find_potential_libraries.
1585 2000-02-28 Jim Blandy <jimb@redhat.com>
1587 * ldgram.y (exclude_name_list): Don't require a comma to separate
1588 list entries; the lexer considers commas to be valid part of a
1589 filename, so in something like `foo, bar' the comma is considered
1590 part of the first filename, `foo,'.
1591 * ld.texinfo: Update section on EXCLUDE_FILE lists.
1593 2000-02-27 Loren J. Rittle <ljrittle@acm.org>
1595 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
1596 host "i[3456]86-*-freebsdelf*".
1598 2000-02-27 Mark Elbrecht <snowball3@bigfoot.com>
1600 * scripttempl/i386go32.sc: Move misplaced semicolons.
1602 2000-02-25 Ian Lance Taylor <ian@zembu.com>
1604 * Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o.
1605 (ALL_64_EMULATIONS): Remove eelf64hppa.o.
1606 (eelf64hppa.c, ehppaelf.c): Remove targets.
1607 * Makefile.in: Rebuild.
1609 2000-02-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1611 * configure.tgt (targ_extra_ofiles): Enable elf64_sparc on
1612 GNU/Linux/sparc, but keep the default as 32.
1614 * configure.tgt: Enable elf64_sparc on Solaris7+/sparc. And make
1615 it default if sparcv9 or sparc64.
1617 2000-02-24 Nick Clifton <nickc@cygnus.com>
1619 * Makefile.am: Add rules to build emipspe.o and earmpe.o.
1620 * Makefile.in: Regenerate.
1621 * configure.tgt: Add targets for arm-wince, sh-pe and mips-pe.
1623 * ldemul.h (ld_emulation_xfer_struct): Add new field:
1624 find_potential_libraries.
1625 * ldemul.c (ldemul_find_potential_libraries): New function.
1627 * ldfile.c (ldfile_open_file_search): Allow function to be
1629 (ldfile_open_file): Call ldemul_find_potential_libraries.
1630 * ldfile.h: Add prototype for ldfile_open_file_search.
1632 * pe-dll.c: Add support for ARM, MIPS and SH targets.
1634 * emulparams/mipspe.sh: New file. Parameters for mips-pe target.
1635 * emulparams/shpe.sh: New file. Parameters for sh-pe target.
1637 * emultempl/pe.em: Add support for ARM, MIPS and SH DLLs.
1638 (gld_X_find_potential_libraries): New function. Search for
1639 libraries called "*.lib".
1641 * scripttempl/pe.sc: Add .pdata section.
1643 2000-02-23 Richard Henderson <rth@cygnus.com>
1645 * scripttempl/elfd10v.sc: Remove dynamic linking hooks.
1646 Add and use memory regions.
1648 2000-02-23 Linas Vepstas (linas@linas.org)
1650 * emulparams/elf32i370.sh, scripttempl/elfi370.sc: New.
1652 * Makefile.am: Add support for Linux/IBM 370.
1653 * configure.tgt: Likewise.
1655 * Makefile.in: Regenerate.
1657 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
1659 * ldlang.c (print_input_section, print_data_statement,
1660 print_reloc_statement, print_padding_statement, insert_pad,
1661 size_input_section, lang_check_section_addresses,
1662 lang_size_sections, lang_do_assignments, lang_set_startof,
1663 lang_one_common): Change `opb' to unsigned.
1664 (lang_do_assignments): Also change `size' to unsigned.
1666 2000-02-16 Richard Henderson <rth@cygnus.com>
1668 * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION.
1670 2000-02-16 Timothy Wall <twall@cygnus.com>
1672 * mri.c (mri_draw_tree): Add default LMA region argument to call
1673 to lang_leave_output_section_statement.
1674 * ldlang.h: Update prototypes with LMA region arguments.
1675 * ldlang.c (lang_size_sections): Encapsulate region bounds
1676 checking in os_check_region call.
1677 (os_check_region): New function.
1678 (lang_output_section_statement_lookup): Initialize lma_region.
1679 (lang_leave_output_section_statement): Add LMA region argument.
1680 (lang_leave_overlay): Ditto.
1681 * ldgram.y: Handle LMA region syntax.
1682 * ld.texinfo (Output Section Description): Describe LMA region usage.
1683 * emultempl/armelf.em (gld$place_orphan): Add default value for
1684 lma region in call to lang_leave_output_section_statement.
1685 * emultempl/elf32.em (gld$place_orphan): Add default value for
1686 lma region in call to lang_leave_output_section_statement.
1687 * emultempl/pe.em (gld$place_orphan): Add default value for
1688 lma region in call to lang_leave_output_section_statement.
1691 2000-02-04 Timothy Wall <twall@redhat.com>
1693 * ldlang.c (lang_check_section_addresses): Use bytes instead of
1694 octets when calculating section end addresses.
1696 2000-02-04 Timothy Wall <twall@redhat.com>
1698 * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation.
1700 2000-02-03 Timothy Wall <twall@redhat.com>
1702 * ldexp.c (fold_name): Make SIZEOF operator return byte count, not
1704 * ldlang.c (print_input_section, print_data_statement,
1705 print_reloc_statement, print_padding_statement): Print target
1706 address values and section sizes as bytes, not octets.
1707 (insert_pad) Calculate padding size in octets, and adjust "dot"
1709 (size_input_section) Always adjust "dot" by bytes, not octets.
1710 (lang_check_section_addresses, lang_do_assignments) Adjust
1711 "dot" by bytes, not octets. Use the larger of the directive size
1712 or octets_per_byte for the number of octets actually allocated in
1714 (lang_set_startof) Make sure STARTOF returns a target address.
1715 (lang_one_common) Record size changes in octets.
1716 (lang_abs_symbol_at_end_of) Section end symbol's value is
1717 recorded in target bytes.
1718 * ld.texinfo: Updated description of BYTE, SHORT, LONG, etc.
1719 to be clear about behavior when an octet is smaller than one byte.
1721 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
1723 * ldcref.c (output_cref): Don't pass message strings to printf
1727 * ldmisc.c (vfinfo): Same here.
1730 2000-01-23 Alan Modra <alan@spri.levels.unisa.edu.au>
1732 * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em,
1733 generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em,
1734 mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct):
1735 Add missing NULL initialisers, and comments.
1737 * testsuite/ld-srec/sr3.cc (__rethrow): New.
1739 2000-01-21 Nick Clifton <nickc@cygnus.com>
1741 * ldlang.c (lang_size_sections): Fix typo in comment.
1743 2000-01-18 H.J. Lu <hjl@gnu.org>
1745 * ldlang.c (lang_size_sections): Also update the current
1746 address of a region if the SEC_NEVER_LOAD bit is not set.
1748 2000-01-10 Philip Blundell <pb@futuretv.com>
1750 * configure.tgt (arm*-*-conix*): New target.
1752 2000-01-07 Nick Clifton <nickc@cygnus.com>
1754 * ld.texinfo (Options): Remind users to preceed linker command
1755 line switches with -Wl, (or whatever is appropriate) if it is
1756 being invoked by a comnpiler driver program.
1757 Fix description of the behaviour of the -n command line switch.
1759 Wed Jan 5 08:02:12 2000 Catherine Moore <clm@cygnus.com>
1761 * ld.h (wildcard_spec): Change exclude_name to exclude_name_list.
1763 * ld.texinfo (EXCLUDE_FILE): Update documentation.
1764 * ldgram.y (wildcard_spec): Support a list of excluded_files.
1765 (exclude_name_list): New.
1766 ldlang.c (walk_wild_section): Support list of excluded files.
1767 (print_wild_statement): Likewise.
1768 (lang_add_wild): Likewise.
1769 * ldlang.h (lang_wild_statement_type): Likewise.
1770 * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support.
1772 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
1774 * pe-dll.c (pe_dll_warn_dup_exports): New variable.
1775 (process_def_file): Use.
1776 (pe_dll_compat_implib): New variable.
1779 * pe-dll.h: Add exports of pe_dll_warn_dup_exports and
1780 pe_dll_compat_implib.
1782 * emultempl/pe.em (longopts): Add warn-duplicate-exports and
1783 compat-implib options.
1784 (gld_${EMULATION_NAME}_list_options): List new options.
1785 (gld_${EMULATION_NAME}_parse_args): Handle.
1787 * pe-dll.c (pe_dll_generate_implib): Use the correct name for output
1790 * deffilep.y (opt_name): Allow "." in name.
1792 For older changes see ChangeLog-9899
1798 version-control: never