1 2001-03-17 Ulrich Drepper <drepper@redhat.com>
3 * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME
4 is an absolute path look only for this file and not along the path.
6 2001-03-17 Ulrich Drepper <drepper@redhat.com>
8 * emultempl/elf32.em (OPTION_GROUP): New macro.
9 Add new option Bgroup to longopts.
10 (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs.
11 (gld*_list_options): Add -Bgroup and -z defs.
12 * ld.1: Document -Bgroup and -z defs.
13 * ld.texinfo: Likewise.
15 2001-03-07 Michael Meissner <meissner@redhat.com>
17 * scripttempl/elfd10v.sc (.rodata,.rodata1,.data1,.sdata): Deal
18 with sections created by -fdata-sections.
19 (.dynbss,.bss): Ditto.
21 2001-03-05 Alan Modra <alan@linuxcare.com.au>
23 * emultempl/m68kelf.em (m68k_elf_after_allocation): Call
24 after_allocation_default, not gld..._before_allocation.
26 2001-02-28 Matt Hiller <hiller@redhat.com>
28 * testsuite/ld-scripts/crossref.exp: Initialize flags to
29 [big_or_little_endian].
30 * testsuite/ld-undefined/undefined.exp: Ditto, and include $flags
32 * testsuite/lib/ld-lib.exp (big_or_little_endian): Recognize -EB,
34 (is_endian_output_format): New function.
35 (default_ld_link): Set flags to [big_or_little_endian] only if ld
36 is being invoked such that the output format being used is of
38 (default_ld_simple_link): Ditto.
40 2001-02-27 Alan Modra <alan@linuxcare.com.au>
42 * configure.in (BFD_VERSION): New.
43 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
44 * configure: Regenerate.
45 * Makefile.am: Run "make dep-am"
46 * Makefile.in: Regenerate.
48 2001-02-26 Timothy Wall <twall@cygnus.com>
50 * emulparams/elf64_aix.sh: Add additional read-only sections;
51 uncomment lines which are now required.
53 2001-02-26 H.J. Lu <hjl@gnu.org>
55 * ldlang.c (open_input_bfds): Set the bfd error handler so
56 that problems can be caught whilst loading symbols.
57 (record_bfd_errors): New function: Report BFD errors and mark
58 the executable output as being invalid.
60 2001-02-22 Timothy Wall <twall@cygnus.com>
62 * configure.host: Add configuration for ia64-*-aix*.
63 * Makefile.am (ALL_64_EMULATIONS): Add emulation for ia64-*-aix*.
64 Add dependencies for eelf64_aix.c.
65 * Makefile.in: Regenerate.
66 * configure.tgt: Add ia64-*-aix* mapping.
67 * emulparams/elf64_aix.sh: Add settings for elf64 on aix5.
68 * testsuite/ld-bootstrap/bootstrap.exp: Exclude ia64 flavor from
71 2001-02-20 H.J. Lu <hjl@gnu.org>
73 * ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to
74 false if we found the file.
76 2001-02-18 David O'Brien <obrien@FreeBSD.org>
78 * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64,
79 FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries.
81 2001-02-18 lars brinkhoff <lars@nocrew.org>
83 * Makefile.am: Add PDP-11 target.
84 * configure.tgt: Likewise.
85 * emulparams/pdp11.sh: New file.
87 2001-02-17 David O'Brien <obrien@FreeBSD.org>
89 * configure.host: Add a generic FreeBSD configuration entry such that
90 all [modern] FreeBSD systems on all platforms will look the same.
92 2001-02-14 H.J. Lu <hjl@gnu.org>
94 * configure.tgt: Remove mention of earmelf_linux26.
96 2001-02-13 Richard Henderson <rth@redhat.com>
98 * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove.
100 2001-02-13 H.J. Lu <hjl@gnu.org>
102 * ldexp.h (node_type): Add etree_provided.
103 * ldexp.c (exp_fold_tree): Handle etree_provided. Set the node
104 type to etree_provided if defined by PROVIDE. Allow updating
106 (exp_print_tree): Handle etree_provided.
107 * mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle
110 2001-02-09 David Mosberger <davidm@hpl.hp.com>
112 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add
113 .IA_64.unwind.* pattern to unwind table section and
114 .IA_64.unwind_info* pattern to unwind info section.
116 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
118 * Makefile.am: Add linux target for S/390.
119 * Makefile.in: Likewise.
120 * configure.host: Likewise.
121 * configure.tgt: Likewise.
122 * emulparams/elf64_s390.sh: New file.
123 * emulparams/elf_s390.sh: New file.
125 2001-02-09 Jakub Jelinek <jakub@redhat.com>
127 * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into
129 (sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath.
131 2001-02-06 Philip Blundell <philb@gnu.org>
133 * Makefile.am: Remove mention of earmelf_linux26.
134 * Makefile.in: Regenerate.
136 2001-02-04 Philip Blundell <philb@gnu.org>
138 * emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000.
139 * emulparams/armelf_linux26.sh: Delete.
140 * configure.tgt: Remove mention of armelf_linux26 emulation.
142 2001-02-01 Nick Clifton <nickc@redhat.com>
144 * ld.1: Replace occurances of -oformat with --oformat.
146 2001-01-25 Jim Driftmyer <jdrift@stny.rr.com>
148 * ldlang.c (lang_leave_overlay): Don't set lma_region when
149 load_base is specified.
151 2001-01-24 Hans-Peter Nilsson <hp@axis.com>
153 * emultempl/elf32.em: Correct spelling in comments and listed
156 2001-01-23 Alan Modra <alan@linuxcare.com.au>
158 * ldlang.c (lang_leave_overlay): Only set lma_region from the
159 default for the first section of a group of overlay sections.
161 2001-01-22 Alan Modra <alan@linuxcare.com.au>
163 * Makefile.am (GENSCRIPTS): Pass exec_prefix.
164 * Makefile.in: Regenerate.
165 * genscripts.sh: Use exec_prefix parameter to specify tool lib.
166 Check for null tool_dir.
168 2001-01-16 Jim Wilson <wilson@redhat.com>
170 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind
171 and IA_64.unwind.info.
173 2001-01-16 H.J. Lu <hjl@gnu.org>
175 * ldlang.c (lang_check): Merge the private data only if the
176 input file has contents.
178 2001-01-14 Alan Modra <alan@linuxcare.com.au>
180 * emulparams/hppalinux.sh (OUTPUT_FORMAT): Set to elf32-hppa-linux.
182 * emultempl/hppaelf.em (hppaelf_after_parse): New function,
183 enabling search for libmilli. On a relocatable link, make .text
185 (LDEMUL_AFTER_PARSE): Define.
186 (hppaelf_finish): Correct spelling of relocatable in comments.
188 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
189 rummage through the script for sections on the unique list.
190 Correct length of strncmp for ".note".
191 (gld${EMULATION_NAME}_check_needed): Rearrange function.
193 * ldlang.c (unique_section_list): New var.
194 (unique_section_p): New function.
195 (walk_wild_section): Don't match sections on unique_section_list.
196 (lang_add_unique): New function.
197 Correct spelling of relocatable in comments.
199 * ldlang.h (struct unique_sections): Declare.
200 (unique_section_list): Declare.
201 (unique_section_p): Declare.
202 (lang_add_unique): Declare.
204 * lexsup.c (ld_options): Allow --unique to take an optional arg.
205 (parse_args [OPTION_UNIQUE]): Call lang_add_unique.
207 * ld.texinfo (--unique): Update.
209 2001-01-13 Nick Clifton <nickc@redhat.com>
211 * lexsup.c (parse_args): Remove spurious white space.
213 2001-01-12 Nick Clifton <nickc@redhat.com>
215 * lexsup.c (parse_args): Update copyright date.
217 2001-01-12 Philip Blundell <pb@futuretv.com>
219 * configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin.
221 2001-01-10 Kazu Hirata <kazu@hxi.com>
223 * scripttempl/h8300.sc: Fix formatting. Fix a comment typo.
224 * scripttempl/h8300h.sc: Fix formatting.
225 * scripttempl/h8300s.sc: Likewise.
226 * scripttempl/h8500.sc: Likewise.
227 * scripttempl/h8500b.sc: Likewise.
228 * scripttempl/h8500c.sc: Likewise.
229 * scripttempl/h8500m.sc: Likewise.
230 * scripttempl/h8500s.sc: Likewise.
232 2000-01-07 David O'Brien <obrien@BSDi.com>
234 * emultempl/elf32.em: Only perform Linux ld hints processing when
237 2001-01-07 Philip Blundell <philb@gnu.org>
239 * ld.texinfo (Bug Reporting): Update email address for reports.
241 2000-12-31 Nick Clifton <nickc@redhat.com>
243 * lexsup.c (parse_args): Set opterr to 0 and detect unparsed long
244 options by checking for a return value of '?' not -1.
246 2000-12-28 Nick Clifton <nickc@redhat.com>
248 * lexsup.c (struct ld_option): Add new enum value:
250 (ld_options[]): Change -omagic, -output and -oformat options
251 to be EXACTLY_TWO_DASHES.
252 (OUTPUT_COUNT): Use ARRAY_SIZE.
253 (parse_args): Change parameter 'argc' to unsigned.
254 Place EXACTLY_TWO_DASHES options into new really_longopts
256 If getopt_long_only fails, try calling getopt_long using the
257 really_longopts array.
258 (help): Print a double dash for both EXACTLY_TWO_DASHES and
261 * ldlex.h: Fix prototype of parse_args.
263 * ld.texinfo: Document that long options starting with 'o'
264 must be preceeded by two dashes. Change example of a single
265 dashed long option from -oformat to -trace-symbol.
267 2000-12-26 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
269 * emultempl/pe.em (OPTION_NO_DEFAULT_EXCLUDES): Define.
270 (longopts[]): New --no-default-excludes option.
271 (gld_${EMULATION_NAME}_list_options): Document.
272 (gld_${EMULATION_NAME}_parse_args): Handle.
274 2000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
276 * ldlang.c (new_stat): Revert the last beautification with "innocent"
277 whitespace, it breaks the K&R C preprocessor.
279 2000-12-11 DJ Delorie <dj@redhat.com>
281 * ld.texinfo: Add notes about --whole-archive and gcc.
283 2000-11-18 Fred Fish <fnf@be.com>
285 * lexsup.c (OPTION_ALLOW_SHLIB_UNDEFINED): Define.
286 (ld_options): Entry for --allow-shlib-undefined.
287 (parse_args): Handle OPTION_ALLOW_SHLIB_UNDEFINED.
288 * ldmain.c (main): Initialize link_info.allow_shlib_undefined
290 * ld.texinfo: Document new command line switch.
292 2000-12-12 Geoffrey Keating <geoffk@redhat.com>
294 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS):
295 .fixup is actually read/write.
296 * emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
297 * emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
298 * emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
300 Mon Dec 11 14:50:33 MET 2000 Jan Hubicka <jh@suse.cz>
302 * NEWS: Add note about x86_64 architecture.
304 2000-12-06 Mark Elbrecht <snowball3@bigfoot.com>
306 * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end.
307 Set DWARF2 sections to a VMA of zero.
309 2000-12-01 Joel Sherrill <joel@OARcorp.com>
311 * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
313 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
314 (sparc*-*-rtems*): Switched from a.out to ELF.
316 2000-11-30 Jan Hubicka <jh@suse.cz>
318 * Makefile.am (ALL_EMULATIONS): Add eelf_x86_64.o
319 (eelf_x86_64.c): New.
320 * Makefile.in: Regenerate.
321 * configure.tgt: Add support for x86_64-*-linux-gnu*.
322 * emulparams/elf_x86_64.sh: New.
324 2000-11-30 Hans-Peter Nilsson <hp@axis.com>
326 * emulparams/crislinux.sh (ENTRY): Change back to _start.
327 (TEXT_START_SYMBOLS): Remove conditional setting of __start.
329 * scripttempl/crisaout.sc: Change all RELOCATING not related to
330 merging non-a.out sections into CONSTRUCTING.
332 2000-11-28 Nick Clifton <nickc@redhat.com>
334 * ld.1 (COPYING): Mention that the GNU Free Documentation
335 License is present in the sources, but not the output, and
336 also available from the GNU website.
337 (GNU Free Documentation License): Comment out this section.
339 2000-11-28 David O'Brien <obrien@dragon.nuxi.com>
341 * emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF
344 2000-11-25 David O'Brien <obrien@FreeBSD.org>
346 * ld.1: Remove old date so it does not give the impression the manpage
349 2000-11-24 Nick Clifton <nickc@redhat.com>
351 * configure.tgt (xscale-coff): Add target.
352 (xscale-elf): Add target.
354 2000-11-24 Fred Fish <fnf@be.com>
356 * ldmain.c (main): Remove redundant init of config.make_executable
359 2000-11-15 Richard Henderson <rth@redhat.com>
361 * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M.
363 2000-11-14 Kazu Hirata <kazu@hxi.com>
365 * scripttempl/h8300.sc: Fix formatting.
366 * scripttempl/h8300h.sc: Likewise.
367 * scripttempl/h8300s.sc: Likewise.
369 Tue Nov 14 00:59:19 2000 Denis Chertykov <denisc@overta.ru>
371 * scripttempl/elf32avr.sc: Fix bug in .eeprom segment.
373 2000-11-09 Philip Blundell <pb@futuretv.com>
375 * emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME
376 around orphan sections whose names can be represented in C.
378 2000-11-07 Jim Wilson <wilson@redhat.com>
380 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local
381 hold_sdata. If SEC_SMALL_DATA set, set place to hold_sdata.
383 2000-11-06 Nick Clifton <nickc@redhat.com>
385 * ld.texinfo: Add GNU Free Documentation License.
386 * ldint.texinfo: Add GNU Free Documentation License.
387 * ld.1: Add GNU Free Documentation License.
389 2000-11-05 Alan Modra <alan@linuxcare.com.au>
391 * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer,
392 yy_is_interactive, yy_at_bol, and yy_fill_buffer.
394 * Makefile.am (DISTCLEANFILES): Add stringify.sed.
395 Move 2000-11-02 Makefile.in changes to this file.
396 * Makefile.in: Regenerate.
398 2000-11-03 Nick Clifton <nickc@redhat.com>
400 * scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose
401 constructors and destructors.
402 * scripttempl/h8300h.sc: Ditto.
403 * scripttempl/h8300s.sc: Ditto.
404 * scripttempl/h8500.sc: Ditto.
405 * scripttempl/h8500b.sc: Ditto.
406 * scripttempl/h8500c.sc: Ditto.
407 * scripttempl/h8500m.sc: Ditto.
408 * scripttempl/h8500s.sc: Ditto.
409 * scripttempl/v850.sc: Ditto.
410 * scripttempl/w65.sc: Ditto.
411 * scripttempl/z8000.sc: Ditto.
413 2000-11-02 Per Lundberg <plundis@chaosdev.org>
415 * Makefile.in (e_i386_chaos.c): New rule.
416 (ALL_EMULATIONS): Added e_i386_chaos.o.
417 * emulparams/elf_i386_chaos.sh: New file.
418 * configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos.
420 2000-10-20 Jakub Jelinek <jakub@redhat.com>
422 * emulparams/elf64_sparc.sh (TEXT_START_ADDR,
423 NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets.
424 Fix sed invocation, so that it coped with '/' in Solaris 64bit
426 Based on patch by Andrew Macleod <amacleod@cygnus.com>.
428 2000-10-18 Hans-Peter Nilsson <hp@axis.com>
430 * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),
431 for consecutive sections.
433 2000-10-17 Chandrakala Chavva <cchavva@redhat.com>
435 * lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific
437 * ld.texinfo: Added notes about this new option.
439 2000-10-16 Nick Clifton <nickc@redhat.com>
441 * emultempl/pe.em (_after_open): Add tests of return values from
442 bfd functions. Emit appropriate error messages if necessary.
444 2000-10-13 Nick Clifton <nickc@redhat.com>
446 * emultempl/pe.em (_after_open): Delete 'is2' and 'nsyms'
447 local variables - they are not used, but leave in the call to
448 bfd_canonicalize_symtab.
449 (_open_dynamic_archive): Add #ifdef DLL_SUPPORT around use of
450 pe_dll_search_prefix.
452 2000-10-12 Charles Wilson <cwilson@ece.gatech.edu>
454 * emultempl/pe.em (pe_dll_search_prefix): New variable,
455 (longopts): New --dll-search-prefix option.
456 (gld_${EMULATION_NAME}_list_options): Document.
457 (gld_${EMULATION_NAME}_parse_args): Handle.
458 (gld_${EMULATION_NAME}_open_dynamic_archive): When linking
459 dynamically, search for a dll named '<prefix><basename>.dll'
460 in preference to 'lib<basename>.dll' if --dll-search-prefix
463 2000-10-12 Alan Modra <alan@linuxcare.com.au>
465 * ldlang.c (section_already_linked): Set kept_section instead of
468 2000-10-10 Kazu Hirata <kazu@hxi.com>
470 * deffile.h: Fix formatting.
471 * lexsup.c: Likewise.
474 2000-10-09 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
476 * pe-dll.c (make_one): Do not generate code thunk for DATA
478 (process_def_file): deduce DATA flag for auto-export sumbols.
480 2000-10-09 Kazu Hirata <kazu@hxi.com>
482 * ld.h: Fix formatting.
483 * ldcref.c: Likewise.
484 * ldctor.h: Likewise.
485 * ldemul.c: Likewise.
486 * ldemul.h: Likewise.
489 * ldfile.c: Likewise.
490 * ldfile.h: Likewise.
491 * ldlang.c: Likewise.
492 * ldlang.h: Likewise.
493 * ldmain.c: Likewise.
494 * pe-dll.c: Likewise.
496 * pe-dll.c: Revert some formatting fixes.
498 2000-10-08 Kazu Hirata <kazu@hxi.com>
500 * pe-dll.c: Fix formatting.
502 2000-10-05 Kazu Hirata <kazu@hxi.com>
504 * ldlang.c: Fix formatting.
506 2000-10-03 DJ Delorie <dj@redhat.com>
508 * pe-dll.c (fill_edata): initialize entire block
509 (make_one): fill in correct section.
511 2000-10-03 Kazu Hirata <kazu@hxi.com>
513 * ldexp.c: Fix formatting.
515 2000-10-02 DJ Delorie <dj@redhat.com>
517 * emultempl/pe.em (gld_*_after_open): detect case where there two
518 import libraries for same dll; rename one to ensure proper link
521 * pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix
523 (generate_edata): fix typo
525 2000-09-29 Hans-Peter Nilsson <hp@axis.com>
527 * scripttempl/crisaout.sc (ENTRY): Now __start.
528 (.text): Add default setting for __start.
529 Remove CONSTRUCTORS handling.
530 (/DISCARD/): Add .gnu.warning.*.
531 * emulparams/crislinux.sh (ENTRY): Now __start.
532 (TEXT_START_SYMBOLS): New; provide __Stext and __start default.
533 * emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris.
534 (ENTRY): Now __start.
535 (INITIAL_READONLY_SECTIONS): Add KEEP for .startup.
536 (EXECUTABLE_SYMBOLS): Add default setting for __start.
538 2000-09-29 Kazu Hirata <kazu@hxi.com>
540 * deffile.h: Fix formatting.
542 * ldcref.c: Likewise.
543 * ldctor.c: Likewise.
544 * ldctor.h: Likewise.
545 * ldemul.c: Likewise.
546 * ldemul.h: Likewise.
549 * ldfile.c: Likewise.
550 * ldfile.h: Likewise.
551 * ldlang.c: Likewise.
552 * ldlang.h: Likewise.
553 * lexsup.c: Likewise.
555 * pe-dll.c: Likewise.
557 2000-09-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
559 * pe-dll.c (process_def_file): Uninitialized data wasn't
560 exported with --export-all-symbols switch.
562 2000-09-28 DJ Delorie <dj@redhat.com>
564 * pe-dll.c (fill_edata): rearrange the data so that ordinals and
565 noname work properly.
567 2000-09-28 Alan Modra <alan@linuxcare.com.au>
569 * ld.texinfo (HPPA ELF32): New section.
571 * emultempl/hppaelf.em (group_size): New.
572 (hppaelf_finish): Pass group_size to elf32_hppa_size_stubs.
573 (PARSE_AND_LIST_PROLOGUE): Add OPTION_STUBGROUP_SIZE.
574 (PARSE_AND_LIST_LONGOPTS): Add --stub-group-size. Duplicate
575 options to prevent abbreviations matching.
576 (PARSE_AND_LIST_OPTIONS): Describe the above. Reformat.
577 (PARSE_AND_LIST_ARGS_CASES): Handle it.
579 2000-09-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
581 * emultempl/m68kelf.em: Conditionalise the embedded relocs feature
582 on the m68*-*-elf target. Make it support COFF input objects.
584 2000-09-21 Kazu Hirata <kazu@hxi.com>
586 * ldmain.c: Fix formatting.
587 * ldmisc.c: Likewise.
589 * ldwrite.c: Likewise.
591 2000-09-21 Alan Modra <alan@linuxcare.com.au>
593 * ldwrite.c (clone_section): Silence gcc warnings.
595 2000-09-20 Alan Modra <alan@linuxcare.com.au>
597 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Handle
598 out of memory failure.
600 * ldwrite.c (ldwrite): Remove unnecessary einfo arg.
601 (clone_section): Handle out of memory failures. Rename var to
602 avoid c++ reserved word.
604 2000-09-18 Alan Modra <alan@linuxcare.com.au>
606 * emultempl/hppaelf.em (hppaelf_add_stub_section): Rename
607 stub_name param to stub_sec_name.
608 (hppaelf_finish): Modify call to elf32_hppa_size_stubs.
610 2000-09-10 Michael Sokolov <msokolov@ivan.Harhan.ORG>
612 * emultempl/m68kelf.em: New file.
613 * emulparams/m68kelf.sh (EXTRA_EM_FILE): Use it.
614 * Makefile.am (em68kelf.c): Add dependency on m68kelf.em.
615 * Makefile.in: Regenerate.
617 2000-09-15 Alan Modra <alan@linuxcare.com.au>
619 * emulparams/hppalinux.sh (DATA_START_SYMBOLS): Provide $global$
622 2000-09-13 Nick Clifton <nickc@redhat.com>
624 * ldmain.c (multiple_definition): Disable relaxation if
625 multiple symbol definitions are encountered - otherwise the
626 linker could abort with an assertion failure.
628 2000-09-10 Nick Clifton <nickc@redhat.com>
630 * mri.c: Fix formatting.
632 2000-09-07 H.J. Lu <hjl@gnu.org>
634 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
635 * configure: Rebuild.
637 2000-09-07 H.J. Lu <hjl@gnu.org>
639 * Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h.
640 * Makefile.in: Rebuild.
642 2000-09-07 Alan Modra <alan@linuxcare.com.au>
644 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Fix
645 broken list handling. Create __start_SECNAME and __stop_SECNAME
646 when no place-holder. Add some comments. Test both SEC_CODE and
647 SEC_READONLY for hold_text to prevent .rodata orphan poisoning.
648 Handle case where no output section statement created.
650 2000-09-07 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
652 * configure.tgt (sh-*-linux*): Added.
653 * Makefile.am: Added eshelf_linux and eshlelf_linux.
654 * Makefile.in: Rebuilt.
655 * emulparams/shelf_linux.sh: New file.
656 * emulparams/shlelf_linux.sh: New file.
658 2000-09-06 Alan Modra <alan@linuxcare.com.au>
660 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
661 try shuffling sections when the orphan happens to be the place
662 holder. Keep count of unique section names generated so we speed
663 the search for a new name.
665 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
667 * configure: Rebuilt with new libtool.m4.
669 2000-09-05 Nick Clifton <nickc@redhat.com>
671 * Makefile.in: Regenerate.
672 * aclocal.m4: Regenerate.
673 * configure: Regenerate.
674 * config.in: Regenerate.
675 * po/ld.pot: Regenerate.
677 * ldint.texinfo: Remove CVS revision marker - it foils local
680 * emultempl/ticoff.em: Remove extraneous comma.
682 2000-09-05 Alan Modra <alan@linuxcare.com.au>
684 * emultempl/hppaelf.em (hppaelf_add_stub_section): Add SEC_RELOC
685 to stub section flags.
686 (hppa_for_each_input_file_wrapper): New.
687 (hppa_lang_for_each_input_file): New.
688 (lang_for_each_input_file): Define to call above.
689 (multi_subspace): New.
690 (hppaelf_finish): Pass multi_subspace to elf32_hppa_size_stubs.
691 (PARSE_AND_LIST_PROLOGUE): Define.
692 (PARSE_AND_LIST_LONGOPTS): Define.
693 (PARSE_AND_LIST_OPTIONS): Define.
694 (PARSE_AND_LIST_ARGS_CASES): Define.
695 (hppaelf_finish): Call elf32_hppa_set_gp.
696 (hppaelf_set_output_arch): Remove.
697 (LDEMUL_SET_OUTPUT_ARCH): Remove.
699 * emulparams/hppalinux.sh (ELFSIZE): Define.
701 (OTHER_READONLY_SECTIONS): Define.
703 (GENERATE_SHLIB_SCRIPT): Define.
705 * ldlang.c: Add missing prototypes, and tidy others. Change CONST
706 to const throughout. Change `void *' to `PTR' throughout.
707 (lang_memory_default): Function is local to file, add `static'.
709 * Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em.
710 (ehppalinux.c): Likewise.
711 (earmelf.c): Likewise.
712 (earmelf_linux.c): Likewise.
713 (earmelf_linux26.c): Likewise.
714 * Makefile.in: Regenerate.
716 * ld.h (ld_config_type): Add unique_orphan_sections.
717 * lexsup.c (OPTION_UNIQUE): Define.
718 (ld_options): Add "--unique".
719 (parse_args): Handle it.
720 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
721 search for an existing output section if unique_orphan_sections is
722 set. Make use of bfd_get_unique_section_name rather than
723 duplicating code here.
724 * ld.texinfo: Describe --unique.
726 * lexsup.c (ld_options): Make split-by-reloc arg optional. Add
727 optional arg to split-by-file.
728 (parse_args): Handle them.
729 * ld.texinfo: Update description of these options.
730 * ldwrite.c (clone_section): Pass in the section name. Replace
731 local code with bfd_get_unique_section_name.
732 (split_sections): Tidy code and comments. Use a list traversal
733 more appropriate to the list construction. Handle cooked section
734 sizes. Split when split_by_reloc reached rather than exceeded.
735 Track section size and split when split_by_file reached. Fix
736 link_order_tail (even though it's not used).
737 (ldwrite): Modify condition for calling split_sections to suit
738 changed split_by_reloc and split_by_file.
739 * ldmain.c (main): Init config.split_by_reloc and
740 config.split_by_file to -1.
741 * ld.h (ld_config_type): Change split_by_reloc to unsigned.
742 Change split_by_file to bfd_size_type.
744 2000-09-02 Nick Clifton <nickc@redhat.com>
746 * configure.in: Increase version number to 2.10.91.
747 * NEWS: Mention new ability to support removal of duplicate DWARF2
749 * configure: Regenerate.
750 * aclocal.m4: Regenerate.
751 * config.in: Regenerate.
753 2000-09-02 Daniel Berlin <dberlin@redhat.com>
755 * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info
757 * scripttempl/elf32avr.sc: Ditto.
758 * scripttempl/elfd10v.sc: Ditto.
759 * scripttempl/elfd30v.sc: Ditto.
760 * scripttempl/elfi370.sc: Ditto.
761 * scripttempl/elfm68hc11.sc: Ditto.
762 * scripttempl/elfm68hc12.sc: Ditto.
763 * scripttempl/elfi386beos.sc: Ditto.
764 * scripttempl/v850.sc: Ditto.
766 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
768 * acinclude.m4: Include libtool and gettext macros from the
770 * aclocal.m4, configure: Rebuilt.
772 2000-08-25 Nick Clifton <nickc@redhat.com>
774 * ldlang.c (open_output): When choosing the target for a
775 particular endianness, do nothing if the target is not
778 2000-08-25 H.J. Lu <hjl@gnu.org>
780 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
781 check -rpath nor LD_RUN_PATH for cross link.
782 * ld.texinfo: Document the change.
784 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
786 * NEWS: Mention support for CRIS.
788 2000-08-23 H.J. Lu <hjl@gnu.org>
790 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get
791 the current runpath list from bfd_elf_get_runpath_list ()
794 2000-08-22 H.J. Lu <hjl@gnu.org>
796 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search
797 the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after
798 LD_LIBRARY_PATH for native linker. Display the needed DSO if
799 trace_file_tries is non-zero.
800 (gld${EMULATION_NAME}_try_needed): Report the needed DSO found
801 if trace_file_tries is non-zero.
803 * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH.
806 2000-08-14 Jason Eckhardt <jle@cygnus.com>
808 * NEWS: Mention i860 support.
810 2000-08-14 Andreas Schwab <schwab@suse.de>
812 * scripttempl/elf.sc: Fix last change to use correct comment
815 2000-08-10 Geoff Keating <geoffk@cygnus.com>
817 * scripttempl/elf.sc: Add a comment giving the correspondence
818 between sections, per-datum sections, and linkonce sections. Make
819 the comment true even for .bss, .sdata, .sdata2, .sbss, and
822 2000-08-10 Jason Eckhardt <jle@cygnus.com>
824 * emulparams/elf32_i860.sh: New file.
825 * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}.
826 * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o.
827 (eelf32_i860.c): New rule.
828 * Makefile.in: Regenerate.
830 2000-08-10 Nick Clifton <nickc@cygnus.com>
832 * emulparams/mipspe.sh (ENTRY): Add definition.
834 2000-08-08 Peter Jeremy <peter.jeremy@alcatel.com.au>
836 * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath
839 2000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
841 * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate
842 the final size of .bss section.
843 * scripttempl/elfm68hc12.sc: Likewise.
845 2000-08-04 Alan Modra <alan@linuxcare.com.au>
847 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to
848 gld${EMULATION_NAME}_parse_args for consistency. Combine
849 lastoptind and prevoptind vars, and keep track of last optind.
850 (gld_${EMULATION_NAME}_list_options): Rename to
851 gld${EMULATION_NAME}_list_options.
853 2000-08-03 Rodney Brown <RodneyBrown@pmsc.com>
855 * configure.tgt: Select targ_emul=elf_i386 for Unixware 7
856 (i586-sco-sysv5uw7.1.0).
858 2000-07-27 H.J. Lu <hjl@gnu.org>
860 * emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed.
861 (PARSE_AND_LIST_PROLOGUE): New.
862 (PARSE_AND_LIST_LONGOPTS): Likewise.
863 (PARSE_AND_LIST_OPTIONS): Likewise.
864 (PARSE_AND_LIST_ARGS_CASES): Likewise.
865 (PARSE_AND_LIST_EPILOGUE): Likewise.
867 2000-07-28 Alan Modra <alan@linuxcare.com.au>
869 * emultempl/armelf.em: Elide functions common to elf32.em,
870 ie. most of the file.
871 (arm_elf_after_open): New. Do arm specific things then call
872 gld${EMULATION_NAME}_after_open.
873 (arm_elf_before_allocation): New. Call
874 gld${EMULATION_NAME}_before_allocation then do arm specifics.
875 (PARSE_AND_LIST_PROLOGUE): Define.
876 (PARSE_AND_LIST_SHORTOPTS): Define.
877 (PARSE_AND_LIST_LONGOPTS): Define.
878 (PARSE_AND_LIST_OPTIONS): Define.
879 (PARSE_AND_LIST_ARGS_CASES): Define.
880 (LDEMUL_AFTER_OPEN): Define.
881 (LDEMUL_BEFORE_ALLOCATION): Define.
882 (LDEMUL_BEFORE_PARSE): Define.
883 (LDEMUL_FINISH): Define.
885 * emultempl/hppaelf.em: Similarly zap most of this file.
886 (hppaelf_add_stub_section): Prototype.
887 (hppaelf_layaout_sections_again): Prototype.
888 (hook_in_stub): Prototype.
889 (LDEMUL_SET_OUTPUT_ARCH): Define.
890 (LDEMUL_FINISH): Define.
891 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
893 * emulparams/armelf.sh (TEMPLATE_NAME): Use elf32.
894 (EXTRA_EM_FILE): New.
895 * emulparams/armelf_linux.sh: Likewise.
896 * emulparams/armelf_linux26.sh: Likewise.
897 * emulparams/hppalinux.sh: Likewise.
898 * emulparams/hppaelf.sh: Likewise.
901 * emultempl/elf32.em: Fix formatting.
902 (EXTRA_EM_FILE): Source it.
903 (LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
904 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
905 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
906 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
907 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
908 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
909 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
910 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
911 LDEMUL_FIND_POTENTIAL_LIBRARIES): New shell vars. Add code to
912 allow functions in this file to be overridden.
913 (PARSE_AND_LIST_SHORTOPTS): Handle it.
915 * emultempl/m68kcoff.em: Include ldfile.h before ldemul.h.
917 * emultempl/elf32.em: Reorganize file.
919 2000-07-27 Ivan Kokshaysky <ink@jurassic.park.msu.ru>
921 * emulparams/elf64alpha.sh: Implement "-taso" emulation
922 specific option to fit 64-bit executable in the lower
923 31-bit address range. This is done by changing start
924 address of .interp (the very first section of executable)
925 and then setting EF_ALPHA_32BIT elf header flag.
927 2000-07-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
929 * emultempl/m68kcoff.em: New file.
930 * emulparams/m68kcoff.sh (TEMPLATE_NAME): Use m68kcoff template.
931 * Makefile.am (em68kcoff.c): Depend on m68kcoff.em rather than
933 * Makefile.in: Regenerate.
935 2000-07-20 H.J. Lu <hjl@gnu.org>
937 * emultempl/elf32.em (longopts): Duplicate "disable-new-dtags"
938 and "disable-new-dtags" to stop getopt from treating -d/-e as
939 abbreviations for these options.
941 2000-07-20 H.J. Lu <hjl@gnu.org>
943 * ld.texinfo: Add documentation for --disable-new-dtags and
946 * ldmain.c (main): Initialize link_info.new_dtags to false.
948 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add
949 --disable-new-dtags and --enable-new-dtags.
950 (gld_${EMULATION_NAME}_list_options): Likewise.
952 2000-07-05 Kenneth Block <krblock@computer.org>
954 * lexsup.c: Add optional style to demangle switch
955 * ld.texinfo: Document optional style to demangle switch.
957 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
959 * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o,
961 (ecrisaout.c, ecriself.c, ecrislinux.c): New rules.
962 Regenerate dependencies.
963 * Makefile.in: Rebuild.
964 * configure.tgt (cris-*-*): New target.
965 * emulparams/crisaout.sh, emulparams/criself.sh,
966 emulparams/crislinux.sh, scripttempl/crisaout.sc: New files.
967 * po/POTFILES.in, po/ld.pot: Regenerate.
969 2000-07-20 H.J. Lu <hjl@gnu.org>
971 * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options):
972 Print out ignored -z options.
974 2000-07-19 H.J. Lu <hjl@gnu.org>
976 * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed.
977 (PARSE_AND_LIST_PROLOGUE): New.
978 (PARSE_AND_LIST_LONGOPTS): Likewise.
979 (PARSE_AND_LIST_OPTIONS): Likewise.
980 (PARSE_AND_LIST_ARGS_CASES): Likewise.
982 * ldmain.c (main): Clear link_info.flags and link_info.flags_1.
984 * lexsup.c (ld_options): Comment out 'z'.
985 (parse_args): Likewise.
987 * emultempl/elf32.em: Include "elf/common.h".
988 (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z
990 (gld_${EMULATION_NAME}_list_options): Likewise.
992 * ld.texinfo: Add documentation for the recognized -z options.
994 2000-07-19 H.J. Lu <hjl@gnu.org>
996 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call
997 bfd_elf_set_dt_needed_soname ().
999 2000-07-18 DJ Delorie <dj@cygnus.com>
1001 * pe-dll.c (pe_dll_id_target): check object target name also
1003 2000-07-18 Hans-Peter Nilsson <hp@axis.com>
1005 * scripttempl/elf.sc (.init): Only do ${INIT_START} and
1006 ${INIT_END} if relocating.
1007 (.fini): Likewise ${FINI_START} and ${FINI_END}.
1009 2000-07-16 Charles Wilson <cwilson@ece.gatech.edu>
1011 * emultempl/pe.em (gld_*_open_dynamic_archive): New search
1012 order for dynamic library '-lfoo' on pei386: libfoo.dll.a,
1013 foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility
1014 errors introduced by the old dynamic lib search order.
1016 2000-07-17 DJ Delorie <dj@cygnus.com>
1018 * pe-dll.c (process_def_file): auto-export data items also
1019 (pe_process_import_defs): also see if _imp_ form needed
1021 2000-07-12 Charles Wilson <cwilson@ece.gatech.edu>
1023 * pe-dll.c (make_one): fix a typo in the __imp_ name decoration
1024 for dll import libraries
1026 2000-07-12 Mark Elbrecht <snowball3@bigfoot.com>
1028 * scripttempl/i386go32.sc: Support the g++ attribute init_priority in
1029 gcc 2.95.2 and later.
1031 2000-07-11 Kazu Hirata <kazu@hxi.com>
1033 * ldfile.c (ldfile_try_open_bfd): Output '\n' after an error
1036 2000-07-10 Alan Modra <alan@linuxcare.com.au>
1038 * ldemul.h (struct lang_input_statement_struct): Remove forward
1040 (struct search_dirs): Likewise.
1041 * ldfile.h (struct lang_input_statement_struct): Likewise.
1042 Protect file from multiple inclusion.
1043 * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Move file_chain
1044 declaration from macro to file scope.
1046 * ldemul.c: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this order.
1047 * ldgram.y: Likewise here.
1048 * ldlang.c: And here.
1049 * ldmain.c: And here.
1050 * mpw-elfmips.c: And here.
1051 * mpw-eppcmac.c: And here.
1052 * emultempl/aix.em: And here.
1053 * emultempl/armcoff.em: And here.
1054 * emultempl/armelf.em: And here.
1055 * emultempl/armelf_oabi.em: And here.
1056 * emultempl/beos.em: And here.
1057 * emultempl/elf32.em: And here.
1058 * emultempl/hppaelf.em: And here.
1059 * emultempl/linux.em: And here.
1060 * emultempl/lnk960.em: And here.
1061 * emultempl/pe.em: And here.
1062 * emultempl/sunos.em: And here.
1063 * mpw-esh.c: And here. Include ldexp.h and ldlang.h too.
1064 * mpw-idtmips.c: Ditto.
1065 * emultempl/generic.em: Ditto.
1066 * emultempl/gld960.em: Ditto.
1067 * emultempl/gld960c.em: Ditto.
1068 * emultempl/mipsecoff.em: Ditto.
1069 * emultempl/ticoff.em: Ditto.
1070 * emultempl/vanilla.em: Ditto.
1072 * pe-dll.c: Include ldfile.h
1073 * ldver.c: Include ldexp.h, ldlang.h, ldfile.h
1075 * mpw-elfmips.c: (gldelf32ebmip_before_allocation): Add missing
1076 arguments to bfd_elf32_size_dynamic_sections call.
1077 (gldelf32ebmip_place_orphan): Add missing arguments to
1078 lang_leave_output_section_statement call.
1080 2000-07-10 H.J. Lu <hjl@gnu.org>
1082 * emultempl/pe.em (pe_enable_stdcall_fixup): Protect with
1084 (strhash): Likewise.
1085 (compute_dll_image_base): Likewise.
1086 (pe_undef_found_sym): Likewise.
1087 (pe_undef_cdecl_match): Likewise.
1088 (gld_${EMULATION_NAME}_open_dynamic_archive): Mark the
1089 argument "arch" with ATTRIBUTE_UNUSED.
1091 2000-07-10 Alan Modra <alan@linuxcare.com.au>
1093 * configure.tgt: Remove extraneous hppa*-*-linux-gnu*.
1095 From Ryan Bradetich <rbradetich@uswest.net>
1096 * ldwrite.c (SSIZE): Remove to cure macro redefinition warning.
1098 2000-07-09 Alan Modra <alan@linuxcare.com.au>
1100 Changes to create multiple linker stubs, positioned immediately
1101 before the section where they are required.
1102 * emultempl/hppaelf.em: Include elf32-hppa.h.
1103 (stub_sec, file_chain): Delete.
1104 (hppaelf_create_output_section_statements): Don't make a stub
1106 (hook_stub_info): New struct.
1107 (hook_in_stub): New function.
1108 (hppaelf_add_stub_section): New function.
1109 (hppaelf_finish): Do nothing for relocateable links. Modify the
1110 call to elf32_hppa_size_stubs. Move code for updating section
1112 (hppaelf_layaout_sections_again): ..to here, a new function.
1114 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Fix
1115 broken list handling. Pass in a pointer to the list.
1116 (hppaelf_finish): Update call to hppaelf_delete_padding_statements
1118 (hppaelf_before_parse): Prototype.
1119 (hppaelf_set_output_arch): Prototype.
1120 (hppaelf_create_output_section_statements): Prototype.
1121 (hppaelf_delete_padding_statements): Prototype.
1122 (hppaelf_finish): Prototype.
1125 * emultempl/hppaelf.em: Include ctype.h.
1126 (struct orphan_save): New.
1127 (gld${EMULATION_NAME}_place_orphan): New.
1128 (output_rel_find): New.
1129 (hppaelf_get_script): Update from elf32.em.
1130 (ld_hppaelf_emulation): Rename to ld_${EMULATION_NAME}_emulation.
1131 Change emulation_name field to "${EMULATION_NAME}". Add
1132 gld${EMULATION_NAME}_place_orphan.
1134 * Makefile.am (ALL_EMULATIONS): Reinstate ehppaelf.o, add
1135 ehppalinux.o, sort it. Regenerate dependencies.
1136 (ehppalinux.c): Depend on hppaelf.em
1137 * Makefile.in: Regenerate.
1139 * configure.tgt: targ_emul=hppalinux for hppa*linux
1141 * emulparams/hppalinux.sh: New.
1142 * emulparams/hppaelf.sh (TARGET_PAGE_SIZE): Write in hex.
1144 2000-07-08 Alan Modra <alan@linuxcare.com.au>
1146 * lexsup.c (parse_args): Copy section name.
1148 2000-07-07 Charles Wilson <cwilson@ece.gatech.edu>
1150 * emultempl/pe.em: institute the following search order for
1151 dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import
1152 libs), libfoo.dll, foo.dll (link direct to dll). Fall back to
1153 static lib (libfoo.a) if none of the above are found.
1155 2000-07-07 Mumit Khan <khan@xraylith.wisc.edu>
1157 * emultempl/pe.em (pe_enable_auto_image_base): New variable.
1158 (longopts): New --{enable,disable}-auto-image-base options.
1159 (gld_${EMULATION_NAME}_list_options): Document.
1160 (gld_${EMULATION_NAME}_parse): Handle.
1161 (strhash): New static function.
1162 (compute_dll_image_base): New static function.
1163 (gld_${EMULATION_NAME}_set_symbols): Use.
1165 2000-07-05 DJ Delorie <dj@redhat.com>
1169 2000-07-01 Koundinya K <kk@ddeorg.soft.net>
1171 * configure.tgt: Add traditional mips (mips*-*-sysv4*) target.
1172 * emulparams/elf32btsmip.sh: New file.
1173 * Makefile.am: Add traditional mips target.
1174 * Makefile.in: Rebuild.
1176 2000-07-01 H.J. Lu <hjl@gnu.org>
1178 * Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for
1179 automake to use YLWRAP.
1180 * Makefile.in: Rebuild.
1182 2000-07-01 Alan Modra <alan@linuxcare.com.au>
1184 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
1185 (CLEANFILES): Add DEPA.
1186 * Makefile.in: Regenerate.
1188 2000-06-30 Timothy Wall <twall@ppc>
1190 * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode
1191 the page in the upper octet of the address.
1193 2000-06-26 Marek Michalkiewicz <marekm@linux.org.pl>
1195 * emulparams/avrmega161.sh (ARCH): Change to avr:5.
1197 2000-06-24 Alan Modra <alan@linuxcare.com.au>
1199 * NEWS: arm-elf does --gc-sections too.
1201 2000-06-22 Alan Modra <alan@linuxcare.com.au>
1203 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
1205 * Makefile.in: Regenerate.
1207 2000-06-21 H.J. Lu <hjl@gnu.org>
1209 * Makefile.am: Rebuild dependency.
1210 * Makefile.in: Rebuild.
1212 2000-06-20 H.J. Lu <hjl@gnu.org>
1214 * Makefile.am: Rebuild dependency.
1215 * Makefile.in: Rebuild.
1217 2000-06-20 Timothy Wall <twall@cygnus.com>
1219 * scripttempl/tic54xcoff.sc: New.
1220 * ldlang.c (wild_doit): Propagate SEC_BLOCK flag.
1221 * gen-doc.texi: Add flag for TI COFF.
1222 * ld.texinfo: Add documentation for TI COFF handling switches.
1223 * emultempl/ticoff.em: New. TI COFF handling.
1224 * configure.tgt: Add tic54x target.
1225 * Makefile.am: Add tic54x target.
1226 * Makefile.in: Ditto.
1228 2000-06-20 Alan Modra <alan@linuxcare.com.au>
1230 * ldmain.c (set_scripts_dir): Correct pointer comparison when
1231 checking for backslashes.
1233 2000-06-19 Alan Modra <alan@linuxcare.com.au>
1235 * NEWS: Move entries not in 2.10 above "Changes in version 2.10".
1237 2000-06-18 Alan Modra <alan@linuxcare.com.au>
1239 * NEWS: Update list of targets supporting --gc-sections.
1241 * scripttempl/elf.sc: KEEP .eh_frame contents.
1242 * scripttempl/elfd30v.sc: Same here.
1244 2000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
1246 * Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12
1248 * Makefile.in: Rebuild.
1249 * configure.tgt: Recognize m68hc12 and m68hc11.
1250 * scripttempl/elfm68hc12.sc: New file.
1251 * emulparams/m68hc12elfb: New emulation.
1252 * emulparams/m68hc12elf: New emulation.
1253 * emulparams/m68hc11elfb.sh: New file. User configurable emulation
1254 (includes a memory.x script to define the ROM and RAM banks).
1255 * scripttempl/elfm68hc11.sc, emulparams/m68hc11elf.sh:
1256 New configuration files for support of Motorola 68hc11
1258 2000-06-15 Alan Modra <alan@linuxcare.com.au>
1260 * ldmain.c (main): Only change SEC_READONLY for final link.
1262 2000-06-13 H.J. Lu <hjl@gnu.org>
1264 * configure: Regenerate.
1266 2000-06-08 David O'Brien <obrien@FreeBSD.org>
1268 * configure.in (VERSION): Update to show this is the CVS mainline.
1270 2000-06-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1272 * emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all
1273 input objects to be ECOFF.
1274 (check_sections): einfo takes %B, not %P, to print a BFD name.
1276 2000-06-05 Michael Matz <matz@ifh.de>
1278 * ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in
1281 * ldlex.l (V_IDENTIFIER): Accept `::' in symbols.
1283 2000-05-23 Marek Michalkiewicz <marekm@linux.org.pl>
1285 * emulparams/avr1200.sh (STACK): Define as 0.
1286 * emulparams/avr23xx.sh (STACK): Define as last internal SRAM address.
1287 * emulparams/avr4433.sh (STACK): Likewise.
1288 * emulparams/avr44x4.sh (STACK): Likewise.
1289 * emulparams/avr85xx.sh (STACK): Likewise.
1290 * emulparams/avrmega103.sh (STACK): Likewise.
1291 * emulparams/avrmega161.sh (STACK): Likewise.
1292 * emulparams/avrmega603.sh (STACK): Likewise.
1293 * scripttempl/elf32avr.sc (__data_start): Define for gcrt1.
1294 (__stack): Define from ${STACK} for main().
1296 2000-05-26 Alan Modra <alan@linuxcare.com.au>
1298 * Makefile.am: Update dependencies with "make dep-am"
1299 * Makefile.in: Regenerate.
1301 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
1303 * ldmain.c: Include filenames.h.
1304 (set_scripts_dir): Support backslashes in program name.
1306 2000-05-22 Igor Shevlyakov <igor@windriver.com>
1308 * ldmain.c (main): When deciding if ".text" section should be
1309 read-only, don't forget to reset SEC_READONLY because it
1310 could be already set.
1312 2000-05-22 Thomas de Lellis <tdel@windriver.com>
1314 * ld.1: Add documentation for new command line option:
1315 --section-start <sectionname>=<sectionorg>
1316 This is a generic version of -Ttext etc. which accepts
1317 any section name as a parameter instead of just text/data/
1319 * ld.texinfo: More docs.
1321 * lexsup.c: (parse_args): Recognize new command line option.
1322 (ld_options): Add new option.
1324 2000-05-18 H.J. Lu <hjl@gnu.org>
1326 * lexsup.c (parse_args): `i' == `r', not `q'.
1328 Thu May 18 10:47:57 2000 Jeffrey A Law (law@cygnus.com)
1330 * configure.tgt (hppa*64*-*-*): Enable PA64 target.
1332 2000-05-17 S. Bharadwaj Yadavalli <sby@scrugs.lkg.dec.com>
1333 Rick Gorton <gorton@scrugs.lkg.dec.com>
1335 Add support for '-q' == '--emit-relocs' switch.
1336 * ldmain.c (main): Default to false.
1337 * lexsup.c (parse_args): Turn on emitrelocations flag if set.
1338 * NEWS: Describe the emitrelocations switch.
1339 * ld.texinfo: Describe the emitrelocations switch.
1341 2000-05-16 Charles Wilson <cwilson@ece.gatech.edu>
1343 * emultempl/pe.em (_open_dynamic_archive): New function: Search
1344 the library path for "foo.dll" and "libfoo.dll" dynamic libraries
1345 before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo'
1348 2000-05-15 David O'Brien <obrien@FreeBSD.org>
1350 * lexsup.c (parse_args): Update the year in the copyright notice.
1352 2000-05-13 Alan Modra <alan@linuxcare.com.au>
1354 * ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain):
1355 Replace defines with those from intl/libgettext.h to quieten gcc
1358 2000-05-10 H.J. Lu <hjl@gnu.org>
1360 * ldlang.c (open_input_bfds): Don't load the same file within
1361 a group again if the whole archive has been loaded already.
1363 2000-05-03 Alan Modra <alan@linuxcare.com.au>
1365 From Ulf Carlsson <ulfc@engr.sgi.com> and Andreas Jaeger <aj@suse.de>
1366 * lexsup.c (set_section_start): Use bfd_scan_vma rather than
1369 Mon May 1 17:34:34 2000 Jim Wilson <wilson@cygnus.com>
1371 * configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}.
1373 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
1374 host "ia64-*-linux-gnu*".
1376 2000-04-29 Andreas Jaeger <aj@suse.de>
1378 * ld.h: Correctly check GCC version.
1380 Tue Apr 25 11:20:43 2000 Jeffrey A Law (law@cygnus.com)
1382 * Makefile.am: Add PA64 support. Add missing dependencies for
1384 * Makefile.in: Rebuilt.
1385 * configure.tgt: Add PA64 support (currently disabled).
1387 2000-04-25 Alan Modra <alan@linuxcare.com.au>
1389 * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete.
1390 (output_rel_find): New function.
1391 (hold_section, hold_use): Delete.
1392 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
1393 hold_interp): Make local to place_orphan.
1394 (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find
1395 rather than place_section to find possible previous use of orphan.
1396 Similarly find the place-holder output sections. Use returned
1397 value from lang_enter_output_section_statement rather than calling
1398 lang_output_section_statement_lookup.
1399 * emultempl/armelf.em: Same here.
1400 * emultempl/pe.em: Similar to above, but no need for output_rel_find.
1402 * ldlang.c (lang_enter_output_section_statement): Return output
1404 * ldlang.h (lang_enter_output_section_statement): Change
1407 * ldlang.h (lang_output_section_statement): Export it.
1408 * ldlang.c (lang_output_section_statement): Ditto.
1410 2000-04-24 Nick Clifton <nickc@cygnus.com>
1412 * ld.texinfo (Output Section Data): Add note that section data
1413 commands cannot appear outside of section directives.
1415 2000-04-2 Matthew Green <mrg@cygnus.com>
1417 * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support.
1419 Fri Apr 21 13:20:53 2000 Richard Henderson <rth@cygnus.com>
1420 David Mosberger <davidm@hpl.hp.com>
1422 * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o.
1423 (eelf64_ia64.c): New rule.
1424 * Makefile.in: Rebuild.
1425 * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets.
1426 * emulparams/elf64_ia64.sh: New file.
1428 2000-04-21 Richard Henderson <rth@cygnus.com>
1430 * scripttempl/elfd30v.sc: Place .gcc_except_table.
1432 2000-04-19 Alan Modra <alan@linuxcare.com.au>
1434 * dep-in.sed: Match space at start of file name, not at end.
1436 2000-04-18 H.J. Lu <hjl@gnu.org>
1438 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
1439 lang_leave_output_section_statement () after calling
1440 lang_enter_output_section_statement ().
1441 * emultempl/armelf.em: Likewise.
1443 2000-04-18 Alan Modra <alan@linuxcare.com.au>
1445 * emultempl/elf32.em (struct orphan_save): Add section field.
1446 (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in
1447 better order, and place first orphan section as we did before the
1448 2000-04-12 patch. Ignore ~SEC_ALLOC sections when choosing place.
1449 Don't call make_bfd_section here, let wild_doit do the job for us.
1450 Don't build a statement list when we'll only throw it away.
1451 * emultempl/armelf.em: Ditto.
1452 * emultempl/pe.em: Similarly.
1454 2000-04-14 Geoff Keating <geoffk@cygnus.com>
1456 * scripttempl/elfppc.sc: Remove.
1457 * emulparams/elf32ppc.sh: Use elf.sc.
1458 * emulparams/elf32lppc.sh: Use elf.sc.
1459 * emulparams/elf32ppclinux.sh: Use elf.sc.
1460 * emulparams/elf32ppcsim.sh: New file.
1461 * emulparams/elf32lppcsim.sh: New file.
1462 * Makefile.am: Update dependencies. Add elf32ppcsim ad elf32lppcsim.
1463 (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim.
1464 * Makefile.in: Regenerate.
1465 * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim.
1467 2000-04-14 Alan Modra <alan@linuxcare.com.au>
1469 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process
1470 ~SEC_ALLOC sections too. Init start address of debug sections.
1471 * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto.
1472 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto.
1473 Also set all relocateable section start addresses.
1475 2000-04-13 Geoff Keating <geoffk@cygnus.com>
1477 * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections.
1478 Add new BSS_PLT variable for when .plt need not be contained in
1479 the file. Move _etext so that it is also after .fini, and provide
1480 both etext and _etext with a leading underscore. Mark the start
1483 2000-04-12 Alan Modra <alan@linuxcare.com.au>
1485 * emultempl/elf32.em (struct orphan_save): New.
1486 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
1487 hold_interp): Make them struct orphan_save.
1488 (gld${EMULATION_NAME}_place_section): Modify for new hold_*.
1489 (gld${EMULATION_NAME}_place_orphan): Add new orphan sections to
1490 the end of the relevant section list. Also add associated section
1491 statements to the end of any previous orphan statements.
1492 * emultempl/armelf.em: Similarly.
1493 * emultempl/pe.em: Similarly.
1495 2000-04-11 Alan Modra <alan@linuxcare.com.au>
1497 * ld.texinfo (Simple Example): Remove extraneous paragraph.
1499 Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
1501 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
1502 --enable-build-warnings option.
1503 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
1504 * Makefile.in, configure: Re-generate.
1506 2000-04-04 Alan Modra <alan@linuxcare.com.au>
1508 * po/ld.pot: Regenerate.
1510 * lexsup.c (help): Restore translated part of bug string.
1512 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
1513 (DEP): Quote when passing vars to sub-make. Add warning message
1515 (DEP1): Rewrite for "gcc -MM".
1516 (CLEANFILES): Add DEP2.
1517 Update dependencies.
1518 * Makefile.in: Regenerate.
1520 2000-04-03 Alan Modra <alan@linuxcare.com.au>
1522 * ld.h: #include "bin-bugs.h"
1523 * lexsup.c (help): Use REPORT_BUGS_TO.
1525 2000-03-27 Denis Chertykov <denisc@overta.ru>
1527 * configure.tgt (avr-*-*): New target support.
1528 * Makefile.am: Likewise.
1529 * scripttempl/elf32avr.sc: New script file.
1530 * emulparams/avr1200.sh: New file.
1531 * emulparams/avr23xx.sh: New file.
1532 * emulparams/avr4433.sh New file.
1533 * emulparams/avr44x4.sh New file.
1534 * emulparams/avr85xx.sh New file.
1535 * emulparams/avrmega103.sh New file.
1536 * emulparams/avrmega161.sh New file.
1537 * emulparams/avrmega603.sh New file.
1538 * Makefile.in: Regenerate.
1540 2000-03-09 Andreas Jaeger <aj@suse.de>
1542 * Makefile.am (check-DEJAGNU): Also unset LANG.
1543 * Makefile.in: Rebuild.
1545 2000-03-06 Ian Lance Taylor <ian@zembu.com>
1547 * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty
1550 2000-03-02 H.J. Lu <hjl@gnu.org>
1552 * emulparams/elf32mcore.sh: Include "getopt.h".
1554 2000-03-01 Ian Lance Taylor <ian@zembu.com>
1556 * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware.
1558 2000-03-01 H.J. Lu <hjl@gnu.org>
1560 * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR.
1561 * emulparams/shpe.sh: Likewise.
1563 2000-03-01 Nick Clifton <nickc@cygnus.com>
1565 * pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED
1566 to unused parameters.
1568 * emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static
1569 functions only used by DLL code.
1570 (_place_orphan): Initialise 'dollar'.
1572 2000-03-01 H.J. Lu <hjl@gnu.org>
1574 * ldmain.c (undefined_symbol): Take one more arg, fatal, to
1575 indicate if the undefined symbol is a fatal error or not.
1576 Don't delete the output file if "fatal" is false.
1578 2000-02-29 H.J. Lu <hjl@gnu.org>
1580 * Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)".
1581 Set LC_COLLATE and LC_ALL to null and export them. It is for
1582 sort which expects the C locale.
1583 Add $(LIBS) to all $(HOSTING_LIBS).
1584 * Makefile.in: Rebuild.
1586 2000-02-29 Alan Modra <alan@spri.levels.unisa.edu.au>
1588 * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em,
1589 beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em,
1590 linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em}
1591 (ld_emulation_xfer_struct): Add missing NULL initialiser for
1592 find_potential_libraries.
1594 2000-02-28 Jim Blandy <jimb@redhat.com>
1596 * ldgram.y (exclude_name_list): Don't require a comma to separate
1597 list entries; the lexer considers commas to be valid part of a
1598 filename, so in something like `foo, bar' the comma is considered
1599 part of the first filename, `foo,'.
1600 * ld.texinfo: Update section on EXCLUDE_FILE lists.
1602 2000-02-27 Loren J. Rittle <ljrittle@acm.org>
1604 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
1605 host "i[3456]86-*-freebsdelf*".
1607 2000-02-27 Mark Elbrecht <snowball3@bigfoot.com>
1609 * scripttempl/i386go32.sc: Move misplaced semicolons.
1611 2000-02-25 Ian Lance Taylor <ian@zembu.com>
1613 * Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o.
1614 (ALL_64_EMULATIONS): Remove eelf64hppa.o.
1615 (eelf64hppa.c, ehppaelf.c): Remove targets.
1616 * Makefile.in: Rebuild.
1618 2000-02-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1620 * configure.tgt (targ_extra_ofiles): Enable elf64_sparc on
1621 GNU/Linux/sparc, but keep the default as 32.
1623 * configure.tgt: Enable elf64_sparc on Solaris7+/sparc. And make
1624 it default if sparcv9 or sparc64.
1626 2000-02-24 Nick Clifton <nickc@cygnus.com>
1628 * Makefile.am: Add rules to build emipspe.o and earmpe.o.
1629 * Makefile.in: Regenerate.
1630 * configure.tgt: Add targets for arm-wince, sh-pe and mips-pe.
1632 * ldemul.h (ld_emulation_xfer_struct): Add new field:
1633 find_potential_libraries.
1634 * ldemul.c (ldemul_find_potential_libraries): New function.
1636 * ldfile.c (ldfile_open_file_search): Allow function to be
1638 (ldfile_open_file): Call ldemul_find_potential_libraries.
1639 * ldfile.h: Add prototype for ldfile_open_file_search.
1641 * pe-dll.c: Add support for ARM, MIPS and SH targets.
1643 * emulparams/mipspe.sh: New file. Parameters for mips-pe target.
1644 * emulparams/shpe.sh: New file. Parameters for sh-pe target.
1646 * emultempl/pe.em: Add support for ARM, MIPS and SH DLLs.
1647 (gld_X_find_potential_libraries): New function. Search for
1648 libraries called "*.lib".
1650 * scripttempl/pe.sc: Add .pdata section.
1652 2000-02-23 Richard Henderson <rth@cygnus.com>
1654 * scripttempl/elfd10v.sc: Remove dynamic linking hooks.
1655 Add and use memory regions.
1657 2000-02-23 Linas Vepstas (linas@linas.org)
1659 * emulparams/elf32i370.sh, scripttempl/elfi370.sc: New.
1661 * Makefile.am: Add support for Linux/IBM 370.
1662 * configure.tgt: Likewise.
1664 * Makefile.in: Regenerate.
1666 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
1668 * ldlang.c (print_input_section, print_data_statement,
1669 print_reloc_statement, print_padding_statement, insert_pad,
1670 size_input_section, lang_check_section_addresses,
1671 lang_size_sections, lang_do_assignments, lang_set_startof,
1672 lang_one_common): Change `opb' to unsigned.
1673 (lang_do_assignments): Also change `size' to unsigned.
1675 2000-02-16 Richard Henderson <rth@cygnus.com>
1677 * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION.
1679 2000-02-16 Timothy Wall <twall@cygnus.com>
1681 * mri.c (mri_draw_tree): Add default LMA region argument to call
1682 to lang_leave_output_section_statement.
1683 * ldlang.h: Update prototypes with LMA region arguments.
1684 * ldlang.c (lang_size_sections): Encapsulate region bounds
1685 checking in os_check_region call.
1686 (os_check_region): New function.
1687 (lang_output_section_statement_lookup): Initialize lma_region.
1688 (lang_leave_output_section_statement): Add LMA region argument.
1689 (lang_leave_overlay): Ditto.
1690 * ldgram.y: Handle LMA region syntax.
1691 * ld.texinfo (Output Section Description): Describe LMA region usage.
1692 * emultempl/armelf.em (gld$place_orphan): Add default value for
1693 lma region in call to lang_leave_output_section_statement.
1694 * emultempl/elf32.em (gld$place_orphan): Add default value for
1695 lma region in call to lang_leave_output_section_statement.
1696 * emultempl/pe.em (gld$place_orphan): Add default value for
1697 lma region in call to lang_leave_output_section_statement.
1700 2000-02-04 Timothy Wall <twall@redhat.com>
1702 * ldlang.c (lang_check_section_addresses): Use bytes instead of
1703 octets when calculating section end addresses.
1705 2000-02-04 Timothy Wall <twall@redhat.com>
1707 * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation.
1709 2000-02-03 Timothy Wall <twall@redhat.com>
1711 * ldexp.c (fold_name): Make SIZEOF operator return byte count, not
1713 * ldlang.c (print_input_section, print_data_statement,
1714 print_reloc_statement, print_padding_statement): Print target
1715 address values and section sizes as bytes, not octets.
1716 (insert_pad) Calculate padding size in octets, and adjust "dot"
1718 (size_input_section) Always adjust "dot" by bytes, not octets.
1719 (lang_check_section_addresses, lang_do_assignments) Adjust
1720 "dot" by bytes, not octets. Use the larger of the directive size
1721 or octets_per_byte for the number of octets actually allocated in
1723 (lang_set_startof) Make sure STARTOF returns a target address.
1724 (lang_one_common) Record size changes in octets.
1725 (lang_abs_symbol_at_end_of) Section end symbol's value is
1726 recorded in target bytes.
1727 * ld.texinfo: Updated description of BYTE, SHORT, LONG, etc.
1728 to be clear about behavior when an octet is smaller than one byte.
1730 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
1732 * ldcref.c (output_cref): Don't pass message strings to printf
1736 * ldmisc.c (vfinfo): Same here.
1739 2000-01-23 Alan Modra <alan@spri.levels.unisa.edu.au>
1741 * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em,
1742 generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em,
1743 mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct):
1744 Add missing NULL initialisers, and comments.
1746 * testsuite/ld-srec/sr3.cc (__rethrow): New.
1748 2000-01-21 Nick Clifton <nickc@cygnus.com>
1750 * ldlang.c (lang_size_sections): Fix typo in comment.
1752 2000-01-18 H.J. Lu <hjl@gnu.org>
1754 * ldlang.c (lang_size_sections): Also update the current
1755 address of a region if the SEC_NEVER_LOAD bit is not set.
1757 2000-01-10 Philip Blundell <pb@futuretv.com>
1759 * configure.tgt (arm*-*-conix*): New target.
1761 2000-01-07 Nick Clifton <nickc@cygnus.com>
1763 * ld.texinfo (Options): Remind users to preceed linker command
1764 line switches with -Wl, (or whatever is appropriate) if it is
1765 being invoked by a comnpiler driver program.
1766 Fix description of the behaviour of the -n command line switch.
1768 Wed Jan 5 08:02:12 2000 Catherine Moore <clm@cygnus.com>
1770 * ld.h (wildcard_spec): Change exclude_name to exclude_name_list.
1772 * ld.texinfo (EXCLUDE_FILE): Update documentation.
1773 * ldgram.y (wildcard_spec): Support a list of excluded_files.
1774 (exclude_name_list): New.
1775 ldlang.c (walk_wild_section): Support list of excluded files.
1776 (print_wild_statement): Likewise.
1777 (lang_add_wild): Likewise.
1778 * ldlang.h (lang_wild_statement_type): Likewise.
1779 * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support.
1781 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
1783 * pe-dll.c (pe_dll_warn_dup_exports): New variable.
1784 (process_def_file): Use.
1785 (pe_dll_compat_implib): New variable.
1788 * pe-dll.h: Add exports of pe_dll_warn_dup_exports and
1789 pe_dll_compat_implib.
1791 * emultempl/pe.em (longopts): Add warn-duplicate-exports and
1792 compat-implib options.
1793 (gld_${EMULATION_NAME}_list_options): List new options.
1794 (gld_${EMULATION_NAME}_parse_args): Handle.
1796 * pe-dll.c (pe_dll_generate_implib): Use the correct name for output
1799 * deffilep.y (opt_name): Allow "." in name.
1801 For older changes see ChangeLog-9899
1807 version-control: never