* coff-i386.c (coff_i386_reloc): Don't dump core if output_bfd is
[binutils.git] / ld / ChangeLog
blobfbb3dec32819a3f042c8b966a81a443dee2e9760
1 2001-05-07  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
3         * ldgram.y: Fix typo.
5 2001-05-03  H.J. Lu  <hjl@gnu.org>
7         * emultempl/elf32.em: Include "libiberty.h".
8         (gld${EMULATION_NAME}_vercheck): Call basename () to get the
9         basename of the bfd filename.
10         (gld${EMULATION_NAME}_stat_needed): Likewise.
11         (gld${EMULATION_NAME}_try_needed): Likewise.
12         (gld${EMULATION_NAME}_open_dynamic_archive): Likewise.
14 2001-05-02  H.J. Lu  <hjl@gnu.org>
16         * emultempl/pe.em: Include <ctype.h>.
18 2001-05-02  Johan Rydberg  <jrydberg@opencores.org>
20         * emulparams/elf32openrisc.sh: New file.
22         * Makefile.am: Add OpenRISC target.
23         * Makefile.in: Regenerated.
25         * configure.tgt: Add openrisc-*-* mapping.
27 2001-05-02  Nick Clifton  <nickc@redhat.com>
29         * emultempl/aix.em: Replace buystring with xstrdup.
30         * emultempl/beos.em: Replace buystring with xstrdup.
31         
32 2001-05-02  H.J. Lu  <hjl@gnu.org>
34         * ldfile.c: Include "libiberty.h".
35         * ldlex.l: Likewise.
37         * ldmisc.c (buystring): Removed.
38         * ldmisc.h: Likewise.
40         * ldfile.c: Replace buystring with xstrdup.
41         * ldlang.c: Likewise.
42         * ldlex.l: Likewise.
43         * ldmain.c: Likewise.
44         * ldmisc.c: Likewise.
45         * lexsup.c: Likewise.
46         * mpw-eppcmac.c: Likewise.
48 2001-04-30  Andreas Jaeger  <aj@suse.de>
50         * emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value.
52 2001-04-28  Paul Sokolovsky  <Paul.Sokolovsky@technologist.com>
54         * ldlang.c (load_symbols): Give emulation a chance
55         to process unrecognized file before fatal error is
56         reported, not after.
58 2001-04-27  Sean McNeil <sean@mcneil.com>
60         * configure.tgt: Add arm-vxworks target.
61         * scripttempl/armcoff.sc: Support .text or .data as a section name
62         prefix.
63         Define _etext.
65 2001-04-13  J.T. Conklin  <jtc@redback.com>
67         * ld.texinfo: Document --fatal-warnings.
68         * ld.1: Regenerate.
70         * ldmisc.c (vfinfo): Set flag to inhibit making executable if
71         warnings have been turned into errors.
72         * lexsup.c (OPTION_WARN_FATAL): Define.
73         (ld_options): Entry for --fatal-warnings.
74         (parse_args): Handle OPTION_WARN_FATAL.
75         * ld.h (ld_config_type): Add fatal_warnings field.
77 2001-04-13  Jakub Jelinek  <jakub@redhat.com>
79         * ldmain.c (main): Default to discard_sec_merge.
80         * lexsup.c (OPTION_DISCARD_NONE): Define.
81         (ld_options): Add --discard-none.
82         (parse_args): Handle OPTION_DISCARD_NONE.
83         * ldlang.c (wild_doit): SEC_MERGE should be set in the output
84         section only if SEC_MERGE and SEC_STRINGS flags and entsize of
85         all its input sections match.
87 2001-04-05  Steven J. Hill  <sjhill@cotw.com>
89         * Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o.
90         (ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o.
91         (eelf32ltsmip.c): New target.
92         (eelf64btsmip.c): Likewise.
93         (eelf64ltsmip.c): Likewise.
94         * Makefile.in: Regenerated.
96         * configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS
97         target.
98         (mips*-*-linux-gnu*): Likewise.
100         * emulparams/elf32ltsmip.sh: New. Traditional little endian
101         MIPS taget.
102         * emulparams/elf64btsmip.sh: New. Traditional 64bit big endian
103         target.
104         * emulparams/elf64ltsmip.sh: New. Traditional 64bit little
105         endian target.
107 2001-04-05  Hans-Peter Nilsson  <hp@axis.com>
109         * emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide
110         correct value of __Stext here.
111         (TEXT_START_SYMBOLS): Define; always define __Stext, to start of
112         .startup section.
114         * emulparams/crislinux.sh: Remove FIXME.
116 2001-04-02  Alan Modra  <alan@linuxcare.com.au>
118         * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k.
119         (TEXT_START_ADDR, TARGET_PAGE_SIZE): Likewise.
121 2001-03-27  Hans-Peter Nilsson  <hp@axis.com>
123         * configure.tgt (cris-*-*): Change default emulation to criself.
124         (cris-*-*aout*): New rule.
126 2001-03-27  Matthew Wilcox  <willy@ldl.fc.hp.com>
128         * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 0x4000.
129         (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
131 2001-03-26  Andreas Jaeger  <aj@suse.de>
133         * ld.texinfo (Overview): Fix syntax in texi code.
135 2001-03-25  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
137         * ld.texinfo: Put @c man indications to generate the ld man page.
138         When generating man, define all the variables.  Define SEEALSO
139         and SYNOPSIS.  Re-organize some lines to avoid the cross references.
140         * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variables.
141         (ld.1): Generate from ld.texinfo.
142         * Makefile.in: Regenerate.
144 2001-03-23  Mark Elbrecht <snowball3@bigfoot.com>
146         * scripttempl/i386go32.sc: Support the GCC flags '-ffunction-sections'
147           and '-fdata-sections'. Set the VMA of STABS sections to zero.
149 2001-03-17  Ulrich Drepper  <drepper@redhat.com>
151         * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME
152         is an absolute path look only for this file and not along the path.
154 2001-03-17  Ulrich Drepper  <drepper@redhat.com>
156         * emultempl/elf32.em (OPTION_GROUP): New macro.
157         Add new option Bgroup to longopts.
158         (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs.
159         (gld*_list_options): Add -Bgroup and -z defs.
160         * ld.1: Document -Bgroup and -z defs.
161         * ld.texinfo: Likewise.
163 2001-03-07  Michael Meissner  <meissner@redhat.com>
165         * scripttempl/elfd10v.sc (.rodata,.rodata1,.data1,.sdata): Deal
166         with sections created by -fdata-sections.
167         (.dynbss,.bss): Ditto.
169 2001-03-05  Alan Modra  <alan@linuxcare.com.au>
171         * emultempl/m68kelf.em (m68k_elf_after_allocation): Call
172         after_allocation_default, not gld..._before_allocation.
174 2001-02-28  Matt Hiller  <hiller@redhat.com>
176         * testsuite/ld-scripts/crossref.exp: Initialize flags to
177         [big_or_little_endian].
178         * testsuite/ld-undefined/undefined.exp: Ditto, and include $flags
179         in ld invocations.
180         * testsuite/lib/ld-lib.exp (big_or_little_endian): Recognize -EB,
181         -eb, -EL and -el.
182         (is_endian_output_format): New function.
183         (default_ld_link): Set flags to [big_or_little_endian] only if ld
184         is being invoked such that the output format being used is of
185         known endianness.
186         (default_ld_simple_link): Ditto.
188 2001-02-27  Alan Modra  <alan@linuxcare.com.au>
190         * configure.in (BFD_VERSION): New.
191         (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
192         * configure: Regenerate.
193         * Makefile.am: Run "make dep-am"
194         * Makefile.in: Regenerate.
196 2001-02-26  Timothy Wall  <twall@cygnus.com>
198         * emulparams/elf64_aix.sh: Add additional read-only sections;
199         uncomment lines which are now required.
201 2001-02-26  H.J. Lu  <hjl@gnu.org>
203         * ldlang.c (open_input_bfds): Set the bfd error handler so
204         that problems can be caught whilst loading symbols.
205         (record_bfd_errors): New function: Report BFD errors and mark
206         the executable output as being invalid.
208 2001-02-22  Timothy Wall  <twall@cygnus.com>
210         * configure.host: Add configuration for ia64-*-aix*.
211         * Makefile.am (ALL_64_EMULATIONS): Add emulation for ia64-*-aix*.
212         Add dependencies for eelf64_aix.c.
213         * Makefile.in: Regenerate.
214         * configure.tgt: Add ia64-*-aix* mapping.
215         * emulparams/elf64_aix.sh: Add settings for elf64 on aix5.
216         * testsuite/ld-bootstrap/bootstrap.exp: Exclude ia64 flavor from
217         AIX-specific test.
219 2001-02-20  H.J. Lu  <hjl@gnu.org>
221         * ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to
222         false if we found the file.
224 2001-02-18  David O'Brien  <obrien@FreeBSD.org>
226         * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64,
227         FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries.
229 2001-02-18  lars brinkhoff  <lars@nocrew.org>
231         * Makefile.am: Add PDP-11 target.
232         * configure.tgt: Likewise.
233         * emulparams/pdp11.sh: New file.
235 2001-02-17  David O'Brien  <obrien@FreeBSD.org>
237         * configure.host: Add a generic FreeBSD configuration entry such that
238         all [modern] FreeBSD systems on all platforms will look the same.
240 2001-02-14  H.J. Lu  <hjl@gnu.org>
242         * configure.tgt: Remove mention of earmelf_linux26.
244 2001-02-13  Richard Henderson  <rth@redhat.com>
246         * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove.
248 2001-02-13  H.J. Lu  <hjl@gnu.org>
250         * ldexp.h (node_type): Add etree_provided.
251         * ldexp.c (exp_fold_tree): Handle etree_provided. Set the node
252         type to etree_provided if defined by PROVIDE. Allow updating
253         for etree_provided.
254         (exp_print_tree): Handle etree_provided.
255         * mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle
256         etree_provided.
258 2001-02-09  David Mosberger  <davidm@hpl.hp.com>
260         * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add
261         .IA_64.unwind.* pattern to unwind table section and
262         .IA_64.unwind_info* pattern to unwind info section.
264 2001-02-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>
266         * Makefile.am: Add linux target for S/390.
267         * Makefile.in: Likewise.
268         * configure.host: Likewise.
269         * configure.tgt: Likewise.
270         * emulparams/elf64_s390.sh: New file.
271         * emulparams/elf_s390.sh: New file.
273 2001-02-09  Jakub Jelinek  <jakub@redhat.com>
275         * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into
276         targ_extra_libpath.
277         (sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath.
279 2001-02-06  Philip Blundell  <philb@gnu.org>
281         * Makefile.am: Remove mention of earmelf_linux26.
282         * Makefile.in: Regenerate.
284 2001-02-04  Philip Blundell  <philb@gnu.org>
286         * emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000.
287         * emulparams/armelf_linux26.sh: Delete.
288         * configure.tgt: Remove mention of armelf_linux26 emulation.
290 2001-02-01  Nick Clifton  <nickc@redhat.com>
292         * ld.1: Replace occurances of -oformat with --oformat.
294 2001-01-25  Jim Driftmyer <jdrift@stny.rr.com>
296         * ldlang.c (lang_leave_overlay): Don't set lma_region when
297         load_base is specified.
299 2001-01-24  Hans-Peter Nilsson  <hp@axis.com>
301         * emultempl/elf32.em: Correct spelling in comments and listed
302         options.
304 2001-01-23  Alan Modra  <alan@linuxcare.com.au>
306         * ldlang.c (lang_leave_overlay): Only set lma_region from the
307         default for the first section of a group of overlay sections.
309 2001-01-22  Alan Modra  <alan@linuxcare.com.au>
311         * Makefile.am (GENSCRIPTS): Pass exec_prefix.
312         * Makefile.in: Regenerate.
313         * genscripts.sh: Use exec_prefix parameter to specify tool lib.
314         Check for null tool_dir.
316 2001-01-16  Jim Wilson  <wilson@redhat.com>
318         * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind
319         and IA_64.unwind.info.
321 2001-01-16  H.J. Lu  <hjl@gnu.org>
323         * ldlang.c (lang_check): Merge the private data only if the
324         input file has contents.
326 2001-01-14  Alan Modra  <alan@linuxcare.com.au>
328         * emulparams/hppalinux.sh (OUTPUT_FORMAT): Set to elf32-hppa-linux.
330         * emultempl/hppaelf.em (hppaelf_after_parse): New function,
331         enabling search for libmilli.  On a relocatable link, make .text
332         sections unique.
333         (LDEMUL_AFTER_PARSE): Define.
334         (hppaelf_finish): Correct spelling of relocatable in comments.
336         * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
337         rummage through the script for sections on the unique list.
338         Correct length of strncmp for ".note".
339         (gld${EMULATION_NAME}_check_needed): Rearrange function.
341         * ldlang.c (unique_section_list): New var.
342         (unique_section_p): New function.
343         (walk_wild_section): Don't match sections on unique_section_list.
344         (lang_add_unique): New function.
345         Correct spelling of relocatable in comments.
347         * ldlang.h (struct unique_sections): Declare.
348         (unique_section_list): Declare.
349         (unique_section_p): Declare.
350         (lang_add_unique): Declare.
352         * lexsup.c (ld_options): Allow --unique to take an optional arg.
353         (parse_args [OPTION_UNIQUE]): Call lang_add_unique.
355         * ld.texinfo (--unique): Update.
357 2001-01-13  Nick Clifton  <nickc@redhat.com>
359         * lexsup.c (parse_args): Remove spurious white space.
361 2001-01-12  Nick Clifton  <nickc@redhat.com>
363         * lexsup.c (parse_args): Update copyright date.
365 2001-01-12  Philip Blundell  <pb@futuretv.com>
367         * configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin.
369 2001-01-10  Kazu Hirata  <kazu@hxi.com>
371         * scripttempl/h8300.sc: Fix formatting.  Fix a comment typo.
372         * scripttempl/h8300h.sc: Fix formatting.
373         * scripttempl/h8300s.sc: Likewise.
374         * scripttempl/h8500.sc: Likewise.
375         * scripttempl/h8500b.sc: Likewise.
376         * scripttempl/h8500c.sc: Likewise.
377         * scripttempl/h8500m.sc: Likewise.
378         * scripttempl/h8500s.sc: Likewise.
380 2000-01-07  David O'Brien  <obrien@BSDi.com>
382         * emultempl/elf32.em: Only perform Linux ld hints processing when
383         targeting Linux.
385 2001-01-07  Philip Blundell  <philb@gnu.org>
387         * ld.texinfo (Bug Reporting): Update email address for reports.
389 2000-12-31  Nick Clifton  <nickc@redhat.com>
391         * lexsup.c (parse_args): Set opterr to 0 and detect unparsed long
392         options by checking for a return value of '?' not -1.
394 2000-12-28  Nick Clifton  <nickc@redhat.com>
396         * lexsup.c (struct ld_option): Add new enum value:
397         EXACTLY_TWO_DASHES.
398         (ld_options[]): Change -omagic, -output and -oformat options
399         to be EXACTLY_TWO_DASHES.
400         (OUTPUT_COUNT): Use ARRAY_SIZE.
401         (parse_args): Change parameter 'argc' to unsigned.
402         Place EXACTLY_TWO_DASHES options into new really_longopts
403         array.
404         If getopt_long_only fails, try calling getopt_long using the
405         really_longopts array.
406         (help): Print a double dash for both EXACTLY_TWO_DASHES and
407         TWO_DASHES options.
409         * ldlex.h: Fix prototype of parse_args.
411         * ld.texinfo: Document that long options starting with 'o'
412         must be preceeded by two dashes.  Change example of a single
413         dashed long option from -oformat to -trace-symbol.
415 2000-12-26  Danny Smith  <danny_r_smith_2001@yahoo.co.nz>
417         * emultempl/pe.em (OPTION_NO_DEFAULT_EXCLUDES): Define.
418         (longopts[]): New --no-default-excludes option.
419         (gld_${EMULATION_NAME}_list_options): Document.
420         (gld_${EMULATION_NAME}_parse_args): Handle.
422 2000-12-13  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
424         * ldlang.c (new_stat): Revert the last beautification with "innocent"
425         whitespace, it breaks the K&R C preprocessor.
427 2000-12-11  DJ Delorie  <dj@redhat.com>
429         * ld.texinfo: Add notes about --whole-archive and gcc.
431 2000-11-18  Fred Fish  <fnf@be.com>
433         * lexsup.c (OPTION_ALLOW_SHLIB_UNDEFINED): Define.
434         (ld_options): Entry for --allow-shlib-undefined.
435         (parse_args): Handle OPTION_ALLOW_SHLIB_UNDEFINED.
436         * ldmain.c (main): Initialize link_info.allow_shlib_undefined
437         to false.
438         * ld.texinfo: Document new command line switch.
440 2000-12-12  Geoffrey Keating  <geoffk@redhat.com>
442         * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS):
443         .fixup is actually read/write.
444         * emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
445         * emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
446         * emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
448 Mon Dec 11 14:50:33 MET 2000  Jan Hubicka  <jh@suse.cz>
450         * NEWS: Add note about x86_64 architecture.
452 2000-12-06  Mark Elbrecht  <snowball3@bigfoot.com>
454         * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end.
455         Set DWARF2 sections to a VMA of zero.
457 2000-12-01      Joel Sherrill <joel@OARcorp.com>
459         * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
460         New targets.
461         (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
462         (sparc*-*-rtems*): Switched from a.out to ELF.
464 2000-11-30  Jan Hubicka  <jh@suse.cz>
466         * Makefile.am (ALL_EMULATIONS): Add eelf_x86_64.o
467         (eelf_x86_64.c): New.
468         * Makefile.in: Regenerate.
469         * configure.tgt: Add support for x86_64-*-linux-gnu*.
470         * emulparams/elf_x86_64.sh: New.
472 2000-11-30  Hans-Peter Nilsson  <hp@axis.com>
474         * emulparams/crislinux.sh (ENTRY): Change back to _start.
475         (TEXT_START_SYMBOLS): Remove conditional setting of __start.
477         * scripttempl/crisaout.sc: Change all RELOCATING not related to
478         merging non-a.out sections into CONSTRUCTING.
480 2000-11-28  Nick Clifton  <nickc@redhat.com>
482         * ld.1 (COPYING): Mention that the GNU Free Documentation
483         License is present in the sources, but not the output, and
484         also available from the GNU website.
485         (GNU Free Documentation License): Comment out this section.
487 2000-11-28  David O'Brien  <obrien@dragon.nuxi.com>
489         * emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF
490         does not use them.
492 2000-11-25  David O'Brien  <obrien@FreeBSD.org>
494         * ld.1: Remove old date so it does not give the impression the manpage
495         is way out of date.
497 2000-11-24  Nick Clifton  <nickc@redhat.com>
499         * configure.tgt (xscale-coff): Add target.
500         (xscale-elf): Add target.
502 2000-11-24  Fred Fish  <fnf@be.com>
504         * ldmain.c (main): Remove redundant init of config.make_executable
505         to true.
507 2000-11-15  Richard Henderson  <rth@redhat.com>
509         * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M.
511 2000-11-14  Kazu Hirata  <kazu@hxi.com>
513         * scripttempl/h8300.sc: Fix formatting.
514         * scripttempl/h8300h.sc: Likewise.
515         * scripttempl/h8300s.sc: Likewise.
517 Tue Nov 14 00:59:19 2000  Denis Chertykov  <denisc@overta.ru>
519         * scripttempl/elf32avr.sc: Fix bug in .eeprom segment.
521 2000-11-09  Philip Blundell  <pb@futuretv.com>
523         * emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME
524         around orphan sections whose names can be represented in C.
526 2000-11-07  Jim Wilson  <wilson@redhat.com>
528         * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local
529         hold_sdata.  If SEC_SMALL_DATA set, set place to hold_sdata.
531 2000-11-06  Nick Clifton  <nickc@redhat.com>
533         * ld.texinfo: Add GNU Free Documentation License.
534         * ldint.texinfo: Add GNU Free Documentation License.
535         * ld.1: Add GNU Free Documentation License.
537 2000-11-05  Alan Modra  <alan@linuxcare.com.au>
539         * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer,
540         yy_is_interactive, yy_at_bol, and yy_fill_buffer.
542         * Makefile.am (DISTCLEANFILES): Add stringify.sed.
543         Move 2000-11-02 Makefile.in changes to this file.
544         * Makefile.in: Regenerate.
546 2000-11-03  Nick Clifton  <nickc@redhat.com>
548         * scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose
549         constructors and destructors.
550         * scripttempl/h8300h.sc: Ditto.
551         * scripttempl/h8300s.sc: Ditto.
552         * scripttempl/h8500.sc: Ditto.
553         * scripttempl/h8500b.sc: Ditto.
554         * scripttempl/h8500c.sc: Ditto.
555         * scripttempl/h8500m.sc: Ditto.
556         * scripttempl/h8500s.sc: Ditto.
557         * scripttempl/v850.sc: Ditto.
558         * scripttempl/w65.sc: Ditto.
559         * scripttempl/z8000.sc: Ditto.
561 2000-11-02  Per Lundberg  <plundis@chaosdev.org>
563         * Makefile.in (e_i386_chaos.c): New rule.
564         (ALL_EMULATIONS): Added e_i386_chaos.o.
565         * emulparams/elf_i386_chaos.sh: New file.
566         * configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos.
568 2000-10-20  Jakub Jelinek  <jakub@redhat.com>
570         * emulparams/elf64_sparc.sh (TEXT_START_ADDR,
571         NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets.
572         Fix sed invocation, so that it coped with '/' in Solaris 64bit
573         library path suffix.
574         Based on patch by Andrew Macleod <amacleod@cygnus.com>.
576 2000-10-18  Hans-Peter Nilsson  <hp@axis.com>
578         * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),
579         for consecutive sections.
581 2000-10-17  Chandrakala Chavva  <cchavva@redhat.com>
583         * lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific
584         options.
585         * ld.texinfo: Added notes about this new option.
587 2000-10-16  Nick Clifton  <nickc@redhat.com>
589         * emultempl/pe.em (_after_open): Add tests of return values from
590         bfd functions.  Emit appropriate error messages if necessary.
592 2000-10-13  Nick Clifton  <nickc@redhat.com>
594         * emultempl/pe.em (_after_open): Delete 'is2' and 'nsyms'
595         local variables - they are not used, but leave in the call to
596         bfd_canonicalize_symtab.
597         (_open_dynamic_archive): Add #ifdef DLL_SUPPORT around use of
598         pe_dll_search_prefix.
600 2000-10-12  Charles Wilson  <cwilson@ece.gatech.edu>
602         * emultempl/pe.em (pe_dll_search_prefix): New variable,
603         (longopts): New --dll-search-prefix option.
604         (gld_${EMULATION_NAME}_list_options): Document.
605         (gld_${EMULATION_NAME}_parse_args): Handle.
606         (gld_${EMULATION_NAME}_open_dynamic_archive): When linking
607         dynamically, search for a dll named '<prefix><basename>.dll'
608         in preference to 'lib<basename>.dll' if --dll-search-prefix
609         is specified.
611 2000-10-12  Alan Modra  <alan@linuxcare.com.au>
613         * ldlang.c (section_already_linked): Set kept_section instead of
614         sec->comdat->sec.
616 2000-10-10  Kazu Hirata  <kazu@hxi.com>
618         * deffile.h: Fix formatting.
619         * lexsup.c: Likewise.
620         * mri.c: Likewise.
622 2000-10-09  Paul Sokolovsky  <Paul.Sokolovsky@technologist.com>
624         * pe-dll.c (make_one): Do not generate code thunk for DATA
625         exports.
626         (process_def_file): deduce DATA flag for auto-export sumbols.
628 2000-10-09  Kazu Hirata  <kazu@hxi.com>
630         * ld.h: Fix formatting.
631         * ldcref.c: Likewise.
632         * ldctor.h: Likewise.
633         * ldemul.c: Likewise.
634         * ldemul.h: Likewise.
635         * ldexp.c: Likewise.
636         * ldexp.h: Likewise.
637         * ldfile.c: Likewise.
638         * ldfile.h: Likewise.
639         * ldlang.c: Likewise.
640         * ldlang.h: Likewise.
641         * ldmain.c: Likewise.
642         * pe-dll.c: Likewise.
644         * pe-dll.c: Revert some formatting fixes.
646 2000-10-08  Kazu Hirata  <kazu@hxi.com>
648         * pe-dll.c: Fix formatting.
650 2000-10-05  Kazu Hirata  <kazu@hxi.com>
652         * ldlang.c: Fix formatting.
654 2000-10-03  DJ Delorie  <dj@redhat.com>
656         * pe-dll.c (fill_edata): initialize entire block
657         (make_one): fill in correct section.
659 2000-10-03  Kazu Hirata  <kazu@hxi.com>
661         * ldexp.c: Fix formatting.
663 2000-10-02  DJ Delorie  <dj@redhat.com>
665         * emultempl/pe.em (gld_*_after_open): detect case where there two
666         import libraries for same dll; rename one to ensure proper link
667         order.
669         * pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix
670         typo
671         (generate_edata): fix typo
673 2000-09-29  Hans-Peter Nilsson  <hp@axis.com>
675         * scripttempl/crisaout.sc (ENTRY): Now __start.
676         (.text): Add default setting for __start.
677         Remove CONSTRUCTORS handling.
678         (/DISCARD/): Add .gnu.warning.*.
679         * emulparams/crislinux.sh (ENTRY): Now __start.
680         (TEXT_START_SYMBOLS): New; provide __Stext and __start default.
681         * emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris.
682         (ENTRY): Now __start.
683         (INITIAL_READONLY_SECTIONS): Add KEEP for .startup.
684         (EXECUTABLE_SYMBOLS): Add default setting for __start.
686 2000-09-29  Kazu Hirata  <kazu@hxi.com>
688         * deffile.h: Fix formatting.
689         * ld.h: Likewise.
690         * ldcref.c: Likewise.
691         * ldctor.c: Likewise.
692         * ldctor.h: Likewise.
693         * ldemul.c: Likewise.
694         * ldemul.h: Likewise.
695         * ldexp.c: Likewise.
696         * ldexp.h: Likewise.
697         * ldfile.c: Likewise.
698         * ldfile.h: Likewise.
699         * ldlang.c: Likewise.
700         * ldlang.h: Likewise.
701         * lexsup.c: Likewise.
702         * mri.c: Likewise.
703         * pe-dll.c: Likewise.
705 2000-09-28  Paul Sokolovsky  <Paul.Sokolovsky@technologist.com>
707         * pe-dll.c (process_def_file): Uninitialized data wasn't
708         exported with --export-all-symbols switch.
710 2000-09-28  DJ Delorie  <dj@redhat.com>
712         * pe-dll.c (fill_edata): rearrange the data so that ordinals and
713         noname work properly.
715 2000-09-28  Alan Modra  <alan@linuxcare.com.au>
717         * ld.texinfo (HPPA ELF32): New section.
719         * emultempl/hppaelf.em (group_size): New.
720         (hppaelf_finish): Pass group_size to elf32_hppa_size_stubs.
721         (PARSE_AND_LIST_PROLOGUE): Add OPTION_STUBGROUP_SIZE.
722         (PARSE_AND_LIST_LONGOPTS): Add --stub-group-size.  Duplicate
723         options to prevent abbreviations matching.
724         (PARSE_AND_LIST_OPTIONS): Describe the above.  Reformat.
725         (PARSE_AND_LIST_ARGS_CASES): Handle it.
727 2000-09-21  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
729         * emultempl/m68kelf.em: Conditionalise the embedded relocs feature
730         on the m68*-*-elf target.  Make it support COFF input objects.
732 2000-09-21  Kazu Hirata  <kazu@hxi.com>
734         * ldmain.c: Fix formatting.
735         * ldmisc.c: Likewise.
736         * ldver.c: Likewise.
737         * ldwrite.c: Likewise.
739 2000-09-21  Alan Modra  <alan@linuxcare.com.au>
741         * ldwrite.c (clone_section): Silence gcc warnings.
743 2000-09-20  Alan Modra  <alan@linuxcare.com.au>
745         * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Handle
746         out of memory failure.
748         * ldwrite.c (ldwrite): Remove unnecessary einfo arg.
749         (clone_section): Handle out of memory failures.  Rename var to
750         avoid c++ reserved word.
752 2000-09-18  Alan Modra  <alan@linuxcare.com.au>
754         * emultempl/hppaelf.em (hppaelf_add_stub_section): Rename
755         stub_name param to stub_sec_name.
756         (hppaelf_finish): Modify call to elf32_hppa_size_stubs.
758 2000-09-10  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
760         * emultempl/m68kelf.em: New file.
761         * emulparams/m68kelf.sh (EXTRA_EM_FILE): Use it.
762         * Makefile.am (em68kelf.c): Add dependency on m68kelf.em.
763         * Makefile.in: Regenerate.
765 2000-09-15  Alan Modra  <alan@linuxcare.com.au>
767         * emulparams/hppalinux.sh (DATA_START_SYMBOLS): Provide $global$
768         only as needed.
770 2000-09-13  Nick Clifton  <nickc@redhat.com>
772         * ldmain.c (multiple_definition): Disable relaxation if
773         multiple symbol definitions are encountered - otherwise the
774         linker could abort with an assertion failure.
776 2000-09-10  Nick Clifton  <nickc@redhat.com>
778         * mri.c: Fix formatting.
780 2000-09-07  H.J. Lu  <hjl@gnu.org>
782         * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
783         * configure: Rebuild.
785 2000-09-07  H.J. Lu  <hjl@gnu.org>
787         * Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h.
788         * Makefile.in: Rebuild.
790 2000-09-07  Alan Modra  <alan@linuxcare.com.au>
792         * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Fix
793         broken list handling.  Create __start_SECNAME and __stop_SECNAME
794         when no place-holder.  Add some comments.  Test both SEC_CODE and
795         SEC_READONLY for hold_text to prevent .rodata orphan poisoning.
796         Handle case where no output section statement created.
798 2000-09-07  Niibe Yutaka  <gniibe@m17n.org>, Kaz Kojima  <kkojima@rr.iij4u.or.jp>, Alexandre Oliva  <aoliva@redhat.com>
800         * configure.tgt (sh-*-linux*): Added.
801         * Makefile.am: Added eshelf_linux and eshlelf_linux.
802         * Makefile.in: Rebuilt.
803         * emulparams/shelf_linux.sh: New file.
804         * emulparams/shlelf_linux.sh: New file.
806 2000-09-06  Alan Modra  <alan@linuxcare.com.au>
808         * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
809         try shuffling sections when the orphan happens to be the place
810         holder.  Keep count of unique section names generated so we speed
811         the search for a new name.
813 2000-09-06  Alexandre Oliva  <aoliva@redhat.com>
815         * configure: Rebuilt with new libtool.m4.
817 2000-09-05  Nick Clifton  <nickc@redhat.com>
819         * Makefile.in: Regenerate.
820         * aclocal.m4: Regenerate.
821         * configure: Regenerate.
822         * config.in: Regenerate.
823         * po/ld.pot: Regenerate.
825         * ldint.texinfo: Remove CVS revision marker - it foils local
826         comparisons.
828         * emultempl/ticoff.em: Remove extraneous comma.
830 2000-09-05  Alan Modra  <alan@linuxcare.com.au>
832         * emultempl/hppaelf.em (hppaelf_add_stub_section): Add SEC_RELOC
833         to stub section flags.
834         (hppa_for_each_input_file_wrapper): New.
835         (hppa_lang_for_each_input_file): New.
836         (lang_for_each_input_file): Define to call above.
837         (multi_subspace): New.
838         (hppaelf_finish): Pass multi_subspace to elf32_hppa_size_stubs.
839         (PARSE_AND_LIST_PROLOGUE): Define.
840         (PARSE_AND_LIST_LONGOPTS): Define.
841         (PARSE_AND_LIST_OPTIONS): Define.
842         (PARSE_AND_LIST_ARGS_CASES): Define.
843         (hppaelf_finish): Call elf32_hppa_set_gp.
844         (hppaelf_set_output_arch): Remove.
845         (LDEMUL_SET_OUTPUT_ARCH): Remove.
847         * emulparams/hppalinux.sh (ELFSIZE): Define.
848         (MACHINE): Define.
849         (OTHER_READONLY_SECTIONS): Define.
850         (DATA_PLT): Define.
851         (GENERATE_SHLIB_SCRIPT): Define.
853         * ldlang.c: Add missing prototypes, and tidy others.  Change CONST
854         to const throughout.  Change `void *' to `PTR' throughout.
855         (lang_memory_default): Function is local to file, add `static'.
857         * Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em.
858         (ehppalinux.c): Likewise.
859         (earmelf.c): Likewise.
860         (earmelf_linux.c): Likewise.
861         (earmelf_linux26.c): Likewise.
862         * Makefile.in: Regenerate.
864         * ld.h (ld_config_type): Add unique_orphan_sections.
865         * lexsup.c (OPTION_UNIQUE): Define.
866         (ld_options): Add "--unique".
867         (parse_args): Handle it.
868         * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
869         search for an existing output section if unique_orphan_sections is
870         set.  Make use of bfd_get_unique_section_name rather than
871         duplicating code here.
872         * ld.texinfo: Describe --unique.
874         * lexsup.c (ld_options): Make split-by-reloc arg optional. Add
875         optional arg to split-by-file.
876         (parse_args): Handle them.
877         * ld.texinfo: Update description of these options.
878         * ldwrite.c (clone_section): Pass in the section name.  Replace
879         local code with bfd_get_unique_section_name.
880         (split_sections): Tidy code and comments.  Use a list traversal
881         more appropriate to the list construction.  Handle cooked section
882         sizes.  Split when split_by_reloc reached rather than exceeded.
883         Track section size and split when split_by_file reached.  Fix
884         link_order_tail (even though it's not used).
885         (ldwrite): Modify condition for calling split_sections to suit
886         changed split_by_reloc and split_by_file.
887         * ldmain.c (main): Init config.split_by_reloc and
888         config.split_by_file to -1.
889         * ld.h (ld_config_type): Change split_by_reloc to unsigned.
890         Change split_by_file to bfd_size_type.
892 2000-09-02  Nick Clifton  <nickc@redhat.com>
894         * configure.in: Increase version number to 2.10.91.
895         * NEWS: Mention new ability to support removal of duplicate DWARF2
896         debug information.
897         * configure: Regenerate.
898         * aclocal.m4: Regenerate.
899         * config.in: Regenerate.
901 2000-09-02  Daniel Berlin <dberlin@redhat.com>
903         * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info
904         sections.
905         * scripttempl/elf32avr.sc: Ditto.
906         * scripttempl/elfd10v.sc: Ditto.
907         * scripttempl/elfd30v.sc: Ditto.
908         * scripttempl/elfi370.sc: Ditto.
909         * scripttempl/elfm68hc11.sc: Ditto.
910         * scripttempl/elfm68hc12.sc: Ditto.
911         * scripttempl/elfi386beos.sc: Ditto.
912         * scripttempl/v850.sc: Ditto.
914 2000-08-31  Alexandre Oliva  <aoliva@redhat.com>
916         * acinclude.m4: Include libtool and gettext macros from the
917         top level.
918         * aclocal.m4, configure: Rebuilt.
920 2000-08-25  Nick Clifton  <nickc@redhat.com>
922         * ldlang.c (open_output): When choosing the target for a
923         particular endianness, do nothing if the target is not
924         supported.
926 2000-08-25  H.J. Lu  <hjl@gnu.org>
928         * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
929         check -rpath nor LD_RUN_PATH for cross link.
930         * ld.texinfo: Document the change.
932 2000-08-24  Hans-Peter Nilsson  <hp@axis.com>
934         * NEWS: Mention support for CRIS.
936 2000-08-23  H.J. Lu  <hjl@gnu.org>
938         * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get
939         the current runpath list from bfd_elf_get_runpath_list ()
940         before search.
942 2000-08-22  H.J. Lu  <hjl@gnu.org>
944         * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search
945         the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after
946         LD_LIBRARY_PATH for native linker. Display the needed DSO if
947         trace_file_tries is non-zero.
948         (gld${EMULATION_NAME}_try_needed): Report the needed DSO found
949         if trace_file_tries is non-zero.
951         * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH.
952         * NEWS: Mention it.
954 2000-08-14  Jason Eckhardt  <jle@cygnus.com>
956         * NEWS: Mention i860 support.
958 2000-08-14  Andreas Schwab  <schwab@suse.de>
960         * scripttempl/elf.sc: Fix last change to use correct comment
961         syntax.
963 2000-08-10  Geoff Keating  <geoffk@cygnus.com>
965         * scripttempl/elf.sc: Add a comment giving the correspondence
966         between sections, per-datum sections, and linkonce sections.  Make
967         the comment true even for .bss, .sdata, .sdata2, .sbss, and
968         .sbss2.
970 2000-08-10  Jason Eckhardt  <jle@cygnus.com>
972         * emulparams/elf32_i860.sh: New file.
973         * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}.
974         * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o.
975         (eelf32_i860.c): New rule.
976         * Makefile.in: Regenerate.
978 2000-08-10  Nick Clifton  <nickc@cygnus.com>
980         * emulparams/mipspe.sh (ENTRY): Add definition.
982 2000-08-08  Peter Jeremy  <peter.jeremy@alcatel.com.au>
984         * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath
985         in error message.
987 2000-08-08  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
989         * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate
990         the final size of .bss section.
991         * scripttempl/elfm68hc12.sc: Likewise.
993 2000-08-04  Alan Modra  <alan@linuxcare.com.au>
995         * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to
996         gld${EMULATION_NAME}_parse_args for consistency.  Combine
997         lastoptind and prevoptind vars, and keep track of last optind.
998         (gld_${EMULATION_NAME}_list_options): Rename to
999         gld${EMULATION_NAME}_list_options.
1001 2000-08-03  Rodney Brown  <RodneyBrown@pmsc.com>
1003         * configure.tgt: Select targ_emul=elf_i386 for Unixware 7
1004         (i586-sco-sysv5uw7.1.0).
1006 2000-07-27  H.J. Lu  <hjl@gnu.org>
1008         * emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed.
1009         (PARSE_AND_LIST_PROLOGUE): New.
1010         (PARSE_AND_LIST_LONGOPTS): Likewise.
1011         (PARSE_AND_LIST_OPTIONS): Likewise.
1012         (PARSE_AND_LIST_ARGS_CASES): Likewise.
1013         (PARSE_AND_LIST_EPILOGUE): Likewise.
1015 2000-07-28  Alan Modra  <alan@linuxcare.com.au>
1017         * emultempl/armelf.em: Elide functions common to elf32.em,
1018         ie. most of the file.
1019         (arm_elf_after_open): New.  Do arm specific things then call
1020         gld${EMULATION_NAME}_after_open.
1021         (arm_elf_before_allocation): New.  Call
1022         gld${EMULATION_NAME}_before_allocation then do arm specifics.
1023         (PARSE_AND_LIST_PROLOGUE): Define.
1024         (PARSE_AND_LIST_SHORTOPTS): Define.
1025         (PARSE_AND_LIST_LONGOPTS): Define.
1026         (PARSE_AND_LIST_OPTIONS): Define.
1027         (PARSE_AND_LIST_ARGS_CASES): Define.
1028         (LDEMUL_AFTER_OPEN): Define.
1029         (LDEMUL_BEFORE_ALLOCATION): Define.
1030         (LDEMUL_BEFORE_PARSE): Define.
1031         (LDEMUL_FINISH): Define.
1033         * emultempl/hppaelf.em: Similarly zap most of this file.
1034         (hppaelf_add_stub_section): Prototype.
1035         (hppaelf_layaout_sections_again): Prototype.
1036         (hook_in_stub): Prototype.
1037         (LDEMUL_SET_OUTPUT_ARCH): Define.
1038         (LDEMUL_FINISH): Define.
1039         (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
1041         * emulparams/armelf.sh (TEMPLATE_NAME): Use elf32.
1042         (EXTRA_EM_FILE): New.
1043         * emulparams/armelf_linux.sh: Likewise.
1044         * emulparams/armelf_linux26.sh: Likewise.
1045         * emulparams/hppalinux.sh: Likewise.
1046         * emulparams/hppaelf.sh: Likewise.
1047         (NOP): Define.
1049         * emultempl/elf32.em: Fix formatting.
1050         (EXTRA_EM_FILE): Source it.
1051         (LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
1052         LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
1053         LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
1054         LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
1055         LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
1056         LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
1057         LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
1058         LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
1059         LDEMUL_FIND_POTENTIAL_LIBRARIES): New shell vars.  Add code to
1060         allow functions in this file to be overridden.
1061         (PARSE_AND_LIST_SHORTOPTS): Handle it.
1063         * emultempl/m68kcoff.em: Include ldfile.h before ldemul.h.
1065         * emultempl/elf32.em: Reorganize file.
1067 2000-07-27  Ivan Kokshaysky  <ink@jurassic.park.msu.ru>
1069         * emulparams/elf64alpha.sh: Implement "-taso" emulation
1070         specific option to fit 64-bit executable in the lower
1071         31-bit address range.  This is done by changing start
1072         address of .interp (the very first section of executable)
1073         and then setting EF_ALPHA_32BIT elf header flag.
1075 2000-07-21  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
1077         * emultempl/m68kcoff.em: New file.
1078         * emulparams/m68kcoff.sh (TEMPLATE_NAME): Use m68kcoff template.
1079         * Makefile.am (em68kcoff.c): Depend on m68kcoff.em rather than
1080         generic.em.
1081         * Makefile.in: Regenerate.
1083 2000-07-20  H.J. Lu  <hjl@gnu.org>
1085         * emultempl/elf32.em (longopts): Duplicate "disable-new-dtags"
1086         and "disable-new-dtags" to stop getopt from treating -d/-e as
1087         abbreviations for these options.
1089 2000-07-20  H.J. Lu  <hjl@gnu.org>
1091         * ld.texinfo: Add documentation for --disable-new-dtags and
1092         --enable-new-dtags.
1094         * ldmain.c (main): Initialize link_info.new_dtags to false.
1096         * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add
1097         --disable-new-dtags and --enable-new-dtags.
1098         (gld_${EMULATION_NAME}_list_options): Likewise.
1100 2000-07-05  Kenneth Block  <krblock@computer.org>
1102         * lexsup.c: Add optional style to demangle switch
1103         * ld.texinfo: Document optional style to demangle switch.
1105 2000-07-20  Hans-Peter Nilsson  <hp@axis.com>
1107         * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o,
1108         ecrislinux.o.
1109         (ecrisaout.c, ecriself.c, ecrislinux.c): New rules.
1110         Regenerate dependencies.
1111         * Makefile.in: Rebuild.
1112         * configure.tgt (cris-*-*): New target.
1113         * emulparams/crisaout.sh, emulparams/criself.sh,
1114         emulparams/crislinux.sh, scripttempl/crisaout.sc: New files.
1115         * po/POTFILES.in, po/ld.pot: Regenerate.
1117 2000-07-20  H.J. Lu  <hjl@gnu.org>
1119         * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options):
1120         Print out ignored -z options.
1122 2000-07-19  H.J. Lu  <hjl@gnu.org>
1124         * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed.
1125         (PARSE_AND_LIST_PROLOGUE): New.
1126         (PARSE_AND_LIST_LONGOPTS): Likewise.
1127         (PARSE_AND_LIST_OPTIONS): Likewise.
1128         (PARSE_AND_LIST_ARGS_CASES): Likewise.
1130         * ldmain.c (main): Clear link_info.flags and link_info.flags_1.
1132         * lexsup.c (ld_options): Comment out 'z'.
1133         (parse_args): Likewise.
1135         * emultempl/elf32.em: Include "elf/common.h".
1136         (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z
1137         options.
1138         (gld_${EMULATION_NAME}_list_options): Likewise.
1140         * ld.texinfo: Add documentation for the recognized -z options.
1142 2000-07-19  H.J. Lu  <hjl@gnu.org>
1144         * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call
1145         bfd_elf_set_dt_needed_soname ().
1147 2000-07-18  DJ Delorie  <dj@cygnus.com>
1149         * pe-dll.c (pe_dll_id_target): check object target name also
1151 2000-07-18  Hans-Peter Nilsson  <hp@axis.com>
1153         * scripttempl/elf.sc (.init): Only do ${INIT_START} and
1154         ${INIT_END} if relocating.
1155         (.fini): Likewise ${FINI_START} and ${FINI_END}.
1157 2000-07-16  Charles Wilson  <cwilson@ece.gatech.edu>
1159         * emultempl/pe.em (gld_*_open_dynamic_archive): New search
1160         order for dynamic library '-lfoo' on pei386: libfoo.dll.a,
1161         foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility
1162         errors introduced by the old dynamic lib search order.
1164 2000-07-17  DJ Delorie  <dj@cygnus.com>
1166         * pe-dll.c (process_def_file): auto-export data items also
1167         (pe_process_import_defs): also see if _imp_ form needed
1169 2000-07-12  Charles Wilson  <cwilson@ece.gatech.edu>
1171         * pe-dll.c (make_one): fix a typo in the __imp_ name decoration
1172         for dll import libraries
1174 2000-07-12  Mark Elbrecht  <snowball3@bigfoot.com>
1176         * scripttempl/i386go32.sc: Support the g++ attribute init_priority in
1177         gcc 2.95.2 and later.
1179 2000-07-11  Kazu Hirata  <kazu@hxi.com>
1181         * ldfile.c (ldfile_try_open_bfd): Output '\n' after an error
1182         message.
1184 2000-07-10  Alan Modra  <alan@linuxcare.com.au>
1186         * ldemul.h (struct lang_input_statement_struct): Remove forward
1187         declaration.
1188         (struct search_dirs): Likewise.
1189         * ldfile.h (struct lang_input_statement_struct): Likewise.
1190         Protect file from multiple inclusion.
1191         * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Move file_chain
1192         declaration from macro to file scope.
1194         * ldemul.c: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this order.
1195         * ldgram.y: Likewise here.
1196         * ldlang.c: And here.
1197         * ldmain.c: And here.
1198         * mpw-elfmips.c: And here.
1199         * mpw-eppcmac.c: And here.
1200         * emultempl/aix.em: And here.
1201         * emultempl/armcoff.em: And here.
1202         * emultempl/armelf.em: And here.
1203         * emultempl/armelf_oabi.em: And here.
1204         * emultempl/beos.em: And here.
1205         * emultempl/elf32.em: And here.
1206         * emultempl/hppaelf.em: And here.
1207         * emultempl/linux.em: And here.
1208         * emultempl/lnk960.em: And here.
1209         * emultempl/pe.em: And here.
1210         * emultempl/sunos.em: And here.
1211         * mpw-esh.c: And here. Include ldexp.h and ldlang.h too.
1212         * mpw-idtmips.c: Ditto.
1213         * emultempl/generic.em: Ditto.
1214         * emultempl/gld960.em: Ditto.
1215         * emultempl/gld960c.em: Ditto.
1216         * emultempl/mipsecoff.em: Ditto.
1217         * emultempl/ticoff.em: Ditto.
1218         * emultempl/vanilla.em: Ditto.
1220         * pe-dll.c: Include ldfile.h
1221         * ldver.c: Include ldexp.h, ldlang.h, ldfile.h
1223         * mpw-elfmips.c: (gldelf32ebmip_before_allocation): Add missing
1224         arguments to bfd_elf32_size_dynamic_sections call.
1225         (gldelf32ebmip_place_orphan): Add missing arguments to
1226         lang_leave_output_section_statement call.
1228 2000-07-10  H.J. Lu  <hjl@gnu.org>
1230         * emultempl/pe.em (pe_enable_stdcall_fixup): Protect with
1231         DLL_SUPPORT.
1232         (strhash): Likewise.
1233         (compute_dll_image_base): Likewise.
1234         (pe_undef_found_sym): Likewise.
1235         (pe_undef_cdecl_match): Likewise.
1236         (gld_${EMULATION_NAME}_open_dynamic_archive): Mark the
1237         argument "arch" with ATTRIBUTE_UNUSED.
1239 2000-07-10  Alan Modra  <alan@linuxcare.com.au>
1241         * configure.tgt: Remove extraneous hppa*-*-linux-gnu*.
1243         From  Ryan Bradetich  <rbradetich@uswest.net>
1244         * ldwrite.c (SSIZE): Remove to cure macro redefinition warning.
1246 2000-07-09  Alan Modra  <alan@linuxcare.com.au>
1248         Changes to create multiple linker stubs, positioned immediately
1249         before the section where they are required.
1250         * emultempl/hppaelf.em: Include elf32-hppa.h.
1251         (stub_sec, file_chain): Delete.
1252         (hppaelf_create_output_section_statements): Don't make a stub
1253         section here.
1254         (hook_stub_info): New struct.
1255         (hook_in_stub): New function.
1256         (hppaelf_add_stub_section): New function.
1257         (hppaelf_finish): Do nothing for relocateable links.  Modify the
1258         call to elf32_hppa_size_stubs.  Move code for updating section
1259         layout from here...
1260         (hppaelf_layaout_sections_again): ..to here, a new function.
1262         * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Fix
1263         broken list handling.  Pass in a pointer to the list.
1264         (hppaelf_finish): Update call to hppaelf_delete_padding_statements
1265         for above changes.
1266         (hppaelf_before_parse): Prototype.
1267         (hppaelf_set_output_arch): Prototype.
1268         (hppaelf_create_output_section_statements): Prototype.
1269         (hppaelf_delete_padding_statements): Prototype.
1270         (hppaelf_finish): Prototype.
1272         Merge from elf32.em
1273         * emultempl/hppaelf.em: Include ctype.h.
1274         (struct orphan_save): New.
1275         (gld${EMULATION_NAME}_place_orphan): New.
1276         (output_rel_find): New.
1277         (hppaelf_get_script): Update from elf32.em.
1278         (ld_hppaelf_emulation): Rename to ld_${EMULATION_NAME}_emulation.
1279         Change emulation_name field to "${EMULATION_NAME}".  Add
1280         gld${EMULATION_NAME}_place_orphan.
1282         * Makefile.am (ALL_EMULATIONS): Reinstate ehppaelf.o,  add
1283         ehppalinux.o, sort it.  Regenerate dependencies.
1284         (ehppalinux.c): Depend on hppaelf.em
1285         * Makefile.in: Regenerate.
1287         * configure.tgt: targ_emul=hppalinux for hppa*linux
1289         * emulparams/hppalinux.sh: New.
1290         * emulparams/hppaelf.sh (TARGET_PAGE_SIZE): Write in hex.
1292 2000-07-08  Alan Modra  <alan@linuxcare.com.au>
1294         * lexsup.c (parse_args): Copy section name.
1296 2000-07-07  Charles Wilson  <cwilson@ece.gatech.edu>
1298         * emultempl/pe.em: institute the following search order for
1299         dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import
1300         libs), libfoo.dll, foo.dll (link direct to dll).  Fall back to
1301         static lib (libfoo.a) if none of the above are found.
1303 2000-07-07  Mumit Khan  <khan@xraylith.wisc.edu>
1305         * emultempl/pe.em (pe_enable_auto_image_base): New variable.
1306         (longopts): New --{enable,disable}-auto-image-base options.
1307         (gld_${EMULATION_NAME}_list_options): Document.
1308         (gld_${EMULATION_NAME}_parse): Handle.
1309         (strhash): New static function.
1310         (compute_dll_image_base): New static function.
1311         (gld_${EMULATION_NAME}_set_symbols): Use.
1313 2000-07-05  DJ Delorie  <dj@redhat.com>
1315         * MAINTAINERS: new
1317 2000-07-01  Koundinya K  <kk@ddeorg.soft.net>
1319         * configure.tgt: Add traditional mips (mips*-*-sysv4*) target.
1320         * emulparams/elf32btsmip.sh: New file.
1321         * Makefile.am: Add traditional mips target.
1322         * Makefile.in: Rebuild.
1324 2000-07-01  H.J. Lu  <hjl@gnu.org>
1326         * Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for
1327         automake to use YLWRAP.
1328         * Makefile.in: Rebuild.
1330 2000-07-01  Alan Modra  <alan@linuxcare.com.au>
1332         * Makefile.am (DEP): Fix 2000-06-22.  grep after running dep.sed
1333         (CLEANFILES): Add DEPA.
1334         * Makefile.in: Regenerate.
1336 2000-06-30  Timothy Wall  <twall@ppc>
1338         * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode
1339         the page in the upper octet of the address.
1341 2000-06-26  Marek Michalkiewicz  <marekm@linux.org.pl>
1343         * emulparams/avrmega161.sh (ARCH): Change to avr:5.
1345 2000-06-24  Alan Modra  <alan@linuxcare.com.au>
1347         * NEWS: arm-elf does --gc-sections too.
1349 2000-06-22  Alan Modra  <alan@linuxcare.com.au>
1351         * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
1352         find one.
1353         * Makefile.in: Regenerate.
1355 2000-06-21  H.J. Lu  <hjl@gnu.org>
1357         * Makefile.am: Rebuild dependency.
1358         * Makefile.in: Rebuild.
1360 2000-06-20  H.J. Lu  <hjl@gnu.org>
1362         * Makefile.am: Rebuild dependency.
1363         * Makefile.in: Rebuild.
1365 2000-06-20  Timothy Wall  <twall@cygnus.com>
1367         * scripttempl/tic54xcoff.sc: New.
1368         * ldlang.c (wild_doit): Propagate SEC_BLOCK flag.
1369         * gen-doc.texi: Add flag for TI COFF.
1370         * ld.texinfo: Add documentation for TI COFF handling switches.
1371         * emultempl/ticoff.em: New. TI COFF handling.
1372         * configure.tgt: Add tic54x target.
1373         * Makefile.am: Add tic54x target.
1374         * Makefile.in: Ditto.
1376 2000-06-20  Alan Modra  <alan@linuxcare.com.au>
1378         * ldmain.c (set_scripts_dir): Correct pointer comparison when
1379         checking for backslashes.
1381 2000-06-19  Alan Modra  <alan@linuxcare.com.au>
1383         * NEWS: Move entries not in 2.10 above "Changes in version 2.10".
1385 2000-06-18  Alan Modra  <alan@linuxcare.com.au>
1387         * NEWS: Update list of targets supporting --gc-sections.
1389         * scripttempl/elf.sc: KEEP .eh_frame contents.
1390         * scripttempl/elfd30v.sc: Same here.
1392 2000-06-18  Stephane Carrez  <stcarrez@worldnet.fr>
1394         * Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12
1395         and m68hc11 (elf).
1396         * Makefile.in: Rebuild.
1397         * configure.tgt: Recognize m68hc12 and m68hc11.
1398         * scripttempl/elfm68hc12.sc: New file.
1399         * emulparams/m68hc12elfb: New emulation.
1400         * emulparams/m68hc12elf: New emulation.
1401         * emulparams/m68hc11elfb.sh: New file.  User configurable emulation
1402         (includes a memory.x script to define the ROM and RAM banks).
1403         * scripttempl/elfm68hc11.sc, emulparams/m68hc11elf.sh:
1404         New configuration files for support of Motorola 68hc11
1406 2000-06-15  Alan Modra  <alan@linuxcare.com.au>
1408         * ldmain.c (main): Only change SEC_READONLY for final link.
1410 2000-06-13  H.J. Lu  <hjl@gnu.org>
1412         * configure: Regenerate.
1414 2000-06-08  David O'Brien  <obrien@FreeBSD.org>
1416         * configure.in (VERSION): Update to show this is the CVS mainline.
1418 2000-06-07  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
1420         * emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all
1421         input objects to be ECOFF.
1422         (check_sections): einfo takes %B, not %P, to print a BFD name.
1424 2000-06-05  Michael Matz <matz@ifh.de>
1426         * ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in
1427         version scripts.
1429         * ldlex.l (V_IDENTIFIER): Accept `::' in symbols.
1431 2000-05-23  Marek Michalkiewicz  <marekm@linux.org.pl>
1433         * emulparams/avr1200.sh (STACK): Define as 0.
1434         * emulparams/avr23xx.sh (STACK): Define as last internal SRAM address.
1435         * emulparams/avr4433.sh (STACK): Likewise.
1436         * emulparams/avr44x4.sh (STACK): Likewise.
1437         * emulparams/avr85xx.sh (STACK): Likewise.
1438         * emulparams/avrmega103.sh (STACK): Likewise.
1439         * emulparams/avrmega161.sh (STACK): Likewise.
1440         * emulparams/avrmega603.sh (STACK): Likewise.
1441         * scripttempl/elf32avr.sc (__data_start): Define for gcrt1.
1442         (__stack): Define from ${STACK} for main().
1444 2000-05-26  Alan Modra  <alan@linuxcare.com.au>
1446         * Makefile.am: Update dependencies with "make dep-am"
1447         * Makefile.in: Regenerate.
1449 2000-05-26  Eli Zaretskii  <eliz@is.elta.co.il>
1451         * ldmain.c: Include filenames.h.
1452         (set_scripts_dir): Support backslashes in program name.
1454 2000-05-22  Igor Shevlyakov  <igor@windriver.com>
1456         * ldmain.c (main): When deciding if ".text" section should be
1457         read-only, don't forget to reset SEC_READONLY because it
1458         could be already set.
1460 2000-05-22  Thomas de Lellis  <tdel@windriver.com>
1462         * ld.1: Add documentation for new command line option:
1463                 --section-start <sectionname>=<sectionorg>
1464         This is a generic version of -Ttext etc. which accepts
1465         any section name as a parameter instead of just text/data/
1466         bss.
1467         * ld.texinfo: More docs.
1468         * NEWS: More docs.
1469         * lexsup.c: (parse_args): Recognize new command line option.
1470         (ld_options): Add new option.
1472 2000-05-18  H.J. Lu  <hjl@gnu.org>
1474         * lexsup.c (parse_args): `i' == `r', not `q'.
1476 Thu May 18 10:47:57 2000  Jeffrey A Law  (law@cygnus.com)
1478         * configure.tgt (hppa*64*-*-*): Enable PA64 target.
1480 2000-05-17 S. Bharadwaj Yadavalli  <sby@scrugs.lkg.dec.com>
1481               Rick Gorton          <gorton@scrugs.lkg.dec.com>
1483         Add support for '-q' == '--emit-relocs' switch.
1484         * ldmain.c (main): Default to false.
1485         * lexsup.c (parse_args): Turn on emitrelocations flag if set.
1486         * NEWS: Describe the emitrelocations switch.
1487         * ld.texinfo: Describe the emitrelocations switch.
1489 2000-05-16  Charles Wilson <cwilson@ece.gatech.edu>
1491         * emultempl/pe.em (_open_dynamic_archive): New function: Search
1492         the library path for "foo.dll" and "libfoo.dll" dynamic libraries
1493         before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo'
1494         link options.
1496 2000-05-15  David O'Brien  <obrien@FreeBSD.org>
1498         * lexsup.c (parse_args): Update the year in the copyright notice.
1500 2000-05-13  Alan Modra  <alan@linuxcare.com.au>
1502         * ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain):
1503         Replace defines with those from intl/libgettext.h to quieten gcc
1504         warnings.
1506 2000-05-10  H.J. Lu  <hjl@gnu.org>
1508         * ldlang.c (open_input_bfds): Don't load the same file within
1509         a group again if the whole archive has been loaded already.
1511 2000-05-03  Alan Modra  <alan@linuxcare.com.au>
1513         From Ulf Carlsson <ulfc@engr.sgi.com> and Andreas Jaeger <aj@suse.de>
1514         * lexsup.c (set_section_start): Use bfd_scan_vma rather than
1515         strtoul.
1517 Mon May  1 17:34:34 2000  Jim Wilson  <wilson@cygnus.com>
1519         * configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}.
1521         * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
1522         host "ia64-*-linux-gnu*".
1524 2000-04-29  Andreas Jaeger  <aj@suse.de>
1526         * ld.h: Correctly check GCC version.
1528 Tue Apr 25 11:20:43 2000  Jeffrey A Law  (law@cygnus.com)
1530         * Makefile.am: Add PA64 support.  Add missing dependencies for
1531         PA32 elf support.
1532         * Makefile.in: Rebuilt.
1533         * configure.tgt: Add PA64 support (currently disabled).
1535 2000-04-25  Alan Modra  <alan@linuxcare.com.au>
1537         * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete.
1538         (output_rel_find): New function.
1539         (hold_section, hold_use): Delete.
1540         (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
1541         hold_interp): Make local to place_orphan.
1542         (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find
1543         rather than place_section to find possible previous use of orphan.
1544         Similarly find the place-holder output sections.  Use returned
1545         value from lang_enter_output_section_statement rather than calling
1546         lang_output_section_statement_lookup.
1547         * emultempl/armelf.em: Same here.
1548         * emultempl/pe.em: Similar to above, but no need for output_rel_find.
1550         * ldlang.c (lang_enter_output_section_statement): Return output
1551         section statement.
1552         * ldlang.h (lang_enter_output_section_statement): Change
1553         declaration too.
1555         * ldlang.h (lang_output_section_statement): Export it.
1556         * ldlang.c (lang_output_section_statement): Ditto.
1558 2000-04-24  Nick Clifton  <nickc@cygnus.com>
1560         * ld.texinfo (Output Section Data): Add note that section data
1561         commands cannot appear outside of section directives.
1563 2000-04-2  Matthew Green  <mrg@cygnus.com>
1565         * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support.
1567 Fri Apr 21 13:20:53 2000  Richard Henderson  <rth@cygnus.com>
1568                           David Mosberger  <davidm@hpl.hp.com>
1570         * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o.
1571         (eelf64_ia64.c): New rule.
1572         * Makefile.in: Rebuild.
1573         * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets.
1574         * emulparams/elf64_ia64.sh: New file.
1576 2000-04-21  Richard Henderson  <rth@cygnus.com>
1578         * scripttempl/elfd30v.sc: Place .gcc_except_table.
1580 2000-04-19  Alan Modra  <alan@linuxcare.com.au>
1582         * dep-in.sed: Match space at start of file name, not at end.
1584 2000-04-18  H.J. Lu  <hjl@gnu.org>
1586         * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
1587         lang_leave_output_section_statement () after calling
1588         lang_enter_output_section_statement ().
1589         * emultempl/armelf.em: Likewise.
1591 2000-04-18  Alan Modra  <alan@linuxcare.com.au>
1593         * emultempl/elf32.em (struct orphan_save): Add section field.
1594         (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in
1595         better order, and place first orphan section as we did before the
1596         2000-04-12 patch.  Ignore ~SEC_ALLOC sections when choosing place.
1597         Don't call make_bfd_section here, let wild_doit do the job for us.
1598         Don't build a statement list when we'll only throw it away.
1599         * emultempl/armelf.em: Ditto.
1600         * emultempl/pe.em: Similarly.
1602 2000-04-14  Geoff Keating  <geoffk@cygnus.com>
1604         * scripttempl/elfppc.sc: Remove.
1605         * emulparams/elf32ppc.sh: Use elf.sc.
1606         * emulparams/elf32lppc.sh: Use elf.sc.
1607         * emulparams/elf32ppclinux.sh: Use elf.sc.
1608         * emulparams/elf32ppcsim.sh: New file.
1609         * emulparams/elf32lppcsim.sh: New file.
1610         * Makefile.am: Update dependencies.  Add elf32ppcsim ad elf32lppcsim.
1611         (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim.
1612         * Makefile.in: Regenerate.
1613         * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim.
1615 2000-04-14  Alan Modra  <alan@linuxcare.com.au>
1617         * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process
1618         ~SEC_ALLOC sections too.  Init start address of debug sections.
1619         * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto.
1620         * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto.
1621         Also set all relocateable section start addresses.
1623 2000-04-13  Geoff Keating  <geoffk@cygnus.com>
1625         * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections.
1626         Add new BSS_PLT variable for when .plt need not be contained in
1627         the file.  Move _etext so that it is also after .fini, and provide
1628         both etext and _etext with a leading underscore.  Mark the start
1629         and end of .sbss.
1631 2000-04-12  Alan Modra  <alan@linuxcare.com.au>
1633         * emultempl/elf32.em (struct orphan_save): New.
1634         (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
1635         hold_interp): Make them struct orphan_save.
1636         (gld${EMULATION_NAME}_place_section): Modify for new hold_*.
1637         (gld${EMULATION_NAME}_place_orphan): Add new orphan sections to
1638         the end of the relevant section list.  Also add associated section
1639         statements to the end of any previous orphan statements.
1640         * emultempl/armelf.em: Similarly.
1641         * emultempl/pe.em: Similarly.
1643 2000-04-11  Alan Modra  <alan@linuxcare.com.au>
1645         * ld.texinfo (Simple Example): Remove extraneous paragraph.
1647 Fri Apr  7 15:56:57 2000  Andrew Cagney  <cagney@b1.cygnus.com>
1649         * configure.in (WARN_CFLAGS): Set to -W -Wall by default.  Add
1650         --enable-build-warnings option.
1651         * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
1652         * Makefile.in, configure: Re-generate.
1654 2000-04-04  Alan Modra  <alan@linuxcare.com.au>
1656         * po/ld.pot: Regenerate.
1658         * lexsup.c (help): Restore translated part of bug string.
1660         * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
1661         (DEP): Quote when passing vars to sub-make.  Add warning message
1662         to end.
1663         (DEP1): Rewrite for "gcc -MM".
1664         (CLEANFILES): Add DEP2.
1665         Update dependencies.
1666         * Makefile.in: Regenerate.
1668 2000-04-03  Alan Modra  <alan@linuxcare.com.au>
1670         * ld.h: #include "bin-bugs.h"
1671         * lexsup.c (help): Use REPORT_BUGS_TO.
1673 2000-03-27  Denis Chertykov  <denisc@overta.ru>
1675         * configure.tgt (avr-*-*): New target support.
1676         * Makefile.am: Likewise.
1677         * scripttempl/elf32avr.sc: New script file.
1678         * emulparams/avr1200.sh: New file.
1679         * emulparams/avr23xx.sh: New file.
1680         * emulparams/avr4433.sh New file.
1681         * emulparams/avr44x4.sh New file.
1682         * emulparams/avr85xx.sh New file.
1683         * emulparams/avrmega103.sh New file.
1684         * emulparams/avrmega161.sh New file.
1685         * emulparams/avrmega603.sh New file.
1686         * Makefile.in: Regenerate.
1688 2000-03-09  Andreas Jaeger  <aj@suse.de>
1690         * Makefile.am (check-DEJAGNU): Also unset LANG.
1691         * Makefile.in: Rebuild.
1693 2000-03-06  Ian Lance Taylor  <ian@zembu.com>
1695         * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty
1696         archive.
1698 2000-03-02  H.J. Lu  <hjl@gnu.org>
1700         * emulparams/elf32mcore.sh: Include "getopt.h".
1702 2000-03-01  Ian Lance Taylor  <ian@zembu.com>
1704         * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware.
1706 2000-03-01  H.J. Lu  <hjl@gnu.org>
1708         * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR.
1709         * emulparams/shpe.sh: Likewise.
1711 2000-03-01  Nick Clifton  <nickc@cygnus.com>
1713         * pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED
1714         to unused parameters.
1716         * emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static
1717         functions only used by DLL code.
1718         (_place_orphan): Initialise 'dollar'.
1720 2000-03-01  H.J. Lu  <hjl@gnu.org>
1722         * ldmain.c (undefined_symbol): Take one more arg, fatal, to
1723         indicate if the undefined symbol is a fatal error or not.
1724         Don't delete the output file if "fatal" is false.
1726 2000-02-29  H.J. Lu  <hjl@gnu.org>
1728         * Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)".
1729         Set LC_COLLATE and LC_ALL to null and export them. It is for
1730         sort which expects the C locale.
1731         Add $(LIBS) to all $(HOSTING_LIBS).
1732         * Makefile.in: Rebuild.
1734 2000-02-29  Alan Modra  <alan@spri.levels.unisa.edu.au>
1736         * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em,
1737         beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em,
1738         linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em}
1739         (ld_emulation_xfer_struct): Add missing NULL initialiser for
1740         find_potential_libraries.
1742 2000-02-28  Jim Blandy  <jimb@redhat.com>
1744         * ldgram.y (exclude_name_list): Don't require a comma to separate
1745         list entries; the lexer considers commas to be valid part of a
1746         filename, so in something like `foo, bar' the comma is considered
1747         part of the first filename, `foo,'.
1748         * ld.texinfo: Update section on EXCLUDE_FILE lists.
1750 2000-02-27  Loren J. Rittle  <ljrittle@acm.org>
1752         * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
1753         host "i[3456]86-*-freebsdelf*".
1755 2000-02-27  Mark Elbrecht  <snowball3@bigfoot.com>
1757         * scripttempl/i386go32.sc: Move misplaced semicolons.
1759 2000-02-25  Ian Lance Taylor  <ian@zembu.com>
1761         * Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o.
1762         (ALL_64_EMULATIONS): Remove eelf64hppa.o.
1763         (eelf64hppa.c, ehppaelf.c): Remove targets.
1764         * Makefile.in: Rebuild.
1766 2000-02-25  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
1768         * configure.tgt (targ_extra_ofiles): Enable elf64_sparc on
1769         GNU/Linux/sparc, but keep the default as 32.
1771         * configure.tgt: Enable elf64_sparc on Solaris7+/sparc.  And make
1772         it default if sparcv9 or sparc64.
1774 2000-02-24  Nick Clifton  <nickc@cygnus.com>
1776         * Makefile.am: Add rules to build emipspe.o and earmpe.o.
1777         * Makefile.in: Regenerate.
1778         * configure.tgt: Add targets for arm-wince, sh-pe and mips-pe.
1780         * ldemul.h (ld_emulation_xfer_struct): Add new field:
1781         find_potential_libraries.
1782         * ldemul.c (ldemul_find_potential_libraries): New function.
1784         * ldfile.c (ldfile_open_file_search): Allow function to be
1785         exported.
1786         (ldfile_open_file): Call ldemul_find_potential_libraries.
1787         * ldfile.h: Add prototype for ldfile_open_file_search.
1789         * pe-dll.c: Add support for ARM, MIPS and SH targets.
1791         * emulparams/mipspe.sh: New file.  Parameters for mips-pe target.
1792         * emulparams/shpe.sh: New file.  Parameters for sh-pe target.
1794         * emultempl/pe.em: Add support for ARM, MIPS and SH DLLs.
1795         (gld_X_find_potential_libraries): New function.  Search for
1796         libraries called "*.lib".
1798         * scripttempl/pe.sc: Add .pdata section.
1800 2000-02-23  Richard Henderson  <rth@cygnus.com>
1802         * scripttempl/elfd10v.sc: Remove dynamic linking hooks.
1803         Add and use memory regions.
1805 2000-02-23  Linas Vepstas (linas@linas.org)
1807         * emulparams/elf32i370.sh, scripttempl/elfi370.sc: New.
1809         * Makefile.am: Add support for Linux/IBM 370.
1810         * configure.tgt: Likewise.
1812         * Makefile.in: Regenerate.
1814 2000-02-21  Alan Modra  <alan@spri.levels.unisa.edu.au>
1816         * ldlang.c (print_input_section, print_data_statement,
1817         print_reloc_statement, print_padding_statement, insert_pad,
1818         size_input_section, lang_check_section_addresses,
1819         lang_size_sections, lang_do_assignments, lang_set_startof,
1820         lang_one_common): Change `opb' to unsigned.
1821         (lang_do_assignments): Also change `size' to unsigned.
1823 2000-02-16  Richard Henderson  <rth@cygnus.com>
1825         * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION.
1827 2000-02-16  Timothy Wall  <twall@cygnus.com>
1829         * mri.c (mri_draw_tree): Add default LMA region argument to call
1830         to lang_leave_output_section_statement.
1831         * ldlang.h: Update prototypes with LMA region arguments.
1832         * ldlang.c (lang_size_sections): Encapsulate region bounds
1833         checking in os_check_region call.
1834         (os_check_region): New function.
1835         (lang_output_section_statement_lookup): Initialize lma_region.
1836         (lang_leave_output_section_statement): Add LMA region argument.
1837         (lang_leave_overlay): Ditto.
1838         * ldgram.y: Handle LMA region syntax.
1839         * ld.texinfo (Output Section Description): Describe LMA region usage.
1840         * emultempl/armelf.em (gld$place_orphan): Add default value for
1841         lma region in call to lang_leave_output_section_statement.
1842         * emultempl/elf32.em (gld$place_orphan): Add default value for
1843         lma region in call to lang_leave_output_section_statement.
1844         * emultempl/pe.em (gld$place_orphan): Add default value for
1845         lma region in call to lang_leave_output_section_statement.
1848 2000-02-04  Timothy Wall  <twall@redhat.com>
1850         * ldlang.c (lang_check_section_addresses): Use bytes instead of
1851         octets when calculating section end addresses.
1853 2000-02-04  Timothy Wall  <twall@redhat.com>
1855         * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation.
1857 2000-02-03  Timothy Wall <twall@redhat.com>
1859         * ldexp.c (fold_name): Make SIZEOF operator return byte count, not
1860         octet count.
1861         * ldlang.c (print_input_section, print_data_statement,
1862         print_reloc_statement, print_padding_statement): Print target
1863         address values and section sizes as bytes, not octets.
1864         (insert_pad) Calculate padding size in octets, and adjust "dot"
1865         by bytes.
1866         (size_input_section) Always adjust "dot" by bytes, not octets.
1867         (lang_check_section_addresses, lang_do_assignments) Adjust
1868         "dot" by bytes, not octets.  Use the larger of the directive size
1869         or octets_per_byte for the number of octets actually allocated in
1870         the output section.
1871         (lang_set_startof) Make sure STARTOF returns a target address.
1872         (lang_one_common) Record size changes in octets.
1873         (lang_abs_symbol_at_end_of) Section end symbol's value is
1874         recorded in target bytes.
1875         * ld.texinfo:   Updated description of BYTE, SHORT, LONG, etc.
1876         to be clear about behavior when an octet is smaller than one byte.
1878 2000-01-27  Alan Modra  <alan@spri.levels.unisa.edu.au>
1880         * ldcref.c (output_cref): Don't pass message strings to printf
1881         as format arg.
1882         Update copyright.
1884         * ldmisc.c (vfinfo): Same here.
1885         Update copyright.
1887 2000-01-23  Alan Modra  <alan@spri.levels.unisa.edu.au>
1889         * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em,
1890         generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em,
1891         mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct):
1892         Add missing NULL initialisers, and comments.
1894         * testsuite/ld-srec/sr3.cc (__rethrow): New.
1896 2000-01-21  Nick Clifton  <nickc@cygnus.com>
1898         * ldlang.c (lang_size_sections): Fix typo in comment.
1900 2000-01-18  H.J. Lu  <hjl@gnu.org>
1902         * ldlang.c (lang_size_sections): Also update the current
1903         address of a region if the SEC_NEVER_LOAD bit is not set.
1905 2000-01-10  Philip Blundell  <pb@futuretv.com>
1907         * configure.tgt (arm*-*-conix*): New target.
1909 2000-01-07  Nick Clifton  <nickc@cygnus.com>
1911         * ld.texinfo (Options): Remind users to preceed linker command
1912         line switches with -Wl, (or whatever is appropriate) if it is
1913         being invoked by a comnpiler driver program.
1914         Fix description of the behaviour of the -n command line switch.
1916 Wed Jan  5 08:02:12 2000  Catherine Moore  <clm@cygnus.com>
1918         * ld.h (wildcard_spec):  Change exclude_name to exclude_name_list.
1919         (name_list): New.
1920         * ld.texinfo (EXCLUDE_FILE): Update documentation.
1921         * ldgram.y (wildcard_spec): Support a list of excluded_files.
1922         (exclude_name_list): New.
1923         ldlang.c (walk_wild_section): Support list of excluded files.
1924         (print_wild_statement): Likewise.
1925         (lang_add_wild): Likewise.
1926         * ldlang.h (lang_wild_statement_type): Likewise.
1927         * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support.
1929 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
1931         * pe-dll.c (pe_dll_warn_dup_exports): New variable.
1932         (process_def_file): Use.
1933         (pe_dll_compat_implib): New variable.
1934         (make_one): Use.
1936         * pe-dll.h: Add exports of pe_dll_warn_dup_exports and
1937         pe_dll_compat_implib.
1939         * emultempl/pe.em (longopts): Add warn-duplicate-exports and
1940         compat-implib options.
1941         (gld_${EMULATION_NAME}_list_options): List new options.
1942         (gld_${EMULATION_NAME}_parse_args): Handle.
1944         * pe-dll.c (pe_dll_generate_implib): Use the correct name for output
1945         dll.
1947         * deffilep.y (opt_name): Allow "." in name.
1949 For older changes see ChangeLog-9899
1951 Local Variables:
1952 mode: change-log
1953 left-margin: 8
1954 fill-column: 74
1955 version-control: never
1956 End: