2001-04-01 David O'Brien <obrien@FreeBSD.org>
[binutils.git] / ld / ChangeLog
blob9e7368aa9beeb295c7da32e061f9a2ea900e0c5e
1 2001-04-02  Alan Modra  <alan@linuxcare.com.au>
3         * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k.
4         (TEXT_START_ADDR, TARGET_PAGE_SIZE): Likewise.
6 2001-03-27  Hans-Peter Nilsson  <hp@axis.com>
8         * configure.tgt (cris-*-*): Change default emulation to criself.
9         (cris-*-*aout*): New rule.
11 2001-03-27  Matthew Wilcox  <willy@ldl.fc.hp.com>
13         * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 0x4000.
14         (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
16 2001-03-26  Andreas Jaeger  <aj@suse.de>
18         * ld.texinfo (Overview): Fix syntax in texi code.
20 2001-03-25  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
22         * ld.texinfo: Put @c man indications to generate the ld man page.
23         When generating man, define all the variables.  Define SEEALSO
24         and SYNOPSIS.  Re-organize some lines to avoid the cross references.
25         * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variables.
26         (ld.1): Generate from ld.texinfo.
27         * Makefile.in: Regenerate.
29 2001-03-23  Mark Elbrecht <snowball3@bigfoot.com>
31         * scripttempl/i386go32.sc: Support the GCC flags '-ffunction-sections'
32           and '-fdata-sections'. Set the VMA of STABS sections to zero.
34 2001-03-17  Ulrich Drepper  <drepper@redhat.com>
36         * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME
37         is an absolute path look only for this file and not along the path.
39 2001-03-17  Ulrich Drepper  <drepper@redhat.com>
41         * emultempl/elf32.em (OPTION_GROUP): New macro.
42         Add new option Bgroup to longopts.
43         (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs.
44         (gld*_list_options): Add -Bgroup and -z defs.
45         * ld.1: Document -Bgroup and -z defs.
46         * ld.texinfo: Likewise.
48 2001-03-07  Michael Meissner  <meissner@redhat.com>
50         * scripttempl/elfd10v.sc (.rodata,.rodata1,.data1,.sdata): Deal
51         with sections created by -fdata-sections.
52         (.dynbss,.bss): Ditto.
54 2001-03-05  Alan Modra  <alan@linuxcare.com.au>
56         * emultempl/m68kelf.em (m68k_elf_after_allocation): Call
57         after_allocation_default, not gld..._before_allocation.
59 2001-02-28  Matt Hiller  <hiller@redhat.com>
61         * testsuite/ld-scripts/crossref.exp: Initialize flags to
62         [big_or_little_endian].
63         * testsuite/ld-undefined/undefined.exp: Ditto, and include $flags
64         in ld invocations.
65         * testsuite/lib/ld-lib.exp (big_or_little_endian): Recognize -EB,
66         -eb, -EL and -el.
67         (is_endian_output_format): New function.
68         (default_ld_link): Set flags to [big_or_little_endian] only if ld
69         is being invoked such that the output format being used is of
70         known endianness.
71         (default_ld_simple_link): Ditto.
73 2001-02-27  Alan Modra  <alan@linuxcare.com.au>
75         * configure.in (BFD_VERSION): New.
76         (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
77         * configure: Regenerate.
78         * Makefile.am: Run "make dep-am"
79         * Makefile.in: Regenerate.
81 2001-02-26  Timothy Wall  <twall@cygnus.com>
83         * emulparams/elf64_aix.sh: Add additional read-only sections;
84         uncomment lines which are now required.
86 2001-02-26  H.J. Lu  <hjl@gnu.org>
88         * ldlang.c (open_input_bfds): Set the bfd error handler so
89         that problems can be caught whilst loading symbols.
90         (record_bfd_errors): New function: Report BFD errors and mark
91         the executable output as being invalid.
93 2001-02-22  Timothy Wall  <twall@cygnus.com>
95         * configure.host: Add configuration for ia64-*-aix*.
96         * Makefile.am (ALL_64_EMULATIONS): Add emulation for ia64-*-aix*.
97         Add dependencies for eelf64_aix.c.
98         * Makefile.in: Regenerate.
99         * configure.tgt: Add ia64-*-aix* mapping.
100         * emulparams/elf64_aix.sh: Add settings for elf64 on aix5.
101         * testsuite/ld-bootstrap/bootstrap.exp: Exclude ia64 flavor from
102         AIX-specific test.
104 2001-02-20  H.J. Lu  <hjl@gnu.org>
106         * ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to
107         false if we found the file.
109 2001-02-18  David O'Brien  <obrien@FreeBSD.org>
111         * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64,
112         FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries.
114 2001-02-18  lars brinkhoff  <lars@nocrew.org>
116         * Makefile.am: Add PDP-11 target.
117         * configure.tgt: Likewise.
118         * emulparams/pdp11.sh: New file.
120 2001-02-17  David O'Brien  <obrien@FreeBSD.org>
122         * configure.host: Add a generic FreeBSD configuration entry such that
123         all [modern] FreeBSD systems on all platforms will look the same.
125 2001-02-14  H.J. Lu  <hjl@gnu.org>
127         * configure.tgt: Remove mention of earmelf_linux26.
129 2001-02-13  Richard Henderson  <rth@redhat.com>
131         * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove.
133 2001-02-13  H.J. Lu  <hjl@gnu.org>
135         * ldexp.h (node_type): Add etree_provided.
136         * ldexp.c (exp_fold_tree): Handle etree_provided. Set the node
137         type to etree_provided if defined by PROVIDE. Allow updating
138         for etree_provided.
139         (exp_print_tree): Handle etree_provided.
140         * mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle
141         etree_provided.
143 2001-02-09  David Mosberger  <davidm@hpl.hp.com>
145         * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add
146         .IA_64.unwind.* pattern to unwind table section and
147         .IA_64.unwind_info* pattern to unwind info section.
149 2001-02-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>
151         * Makefile.am: Add linux target for S/390.
152         * Makefile.in: Likewise.
153         * configure.host: Likewise.
154         * configure.tgt: Likewise.
155         * emulparams/elf64_s390.sh: New file.
156         * emulparams/elf_s390.sh: New file.
158 2001-02-09  Jakub Jelinek  <jakub@redhat.com>
160         * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into
161         targ_extra_libpath.
162         (sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath.
164 2001-02-06  Philip Blundell  <philb@gnu.org>
166         * Makefile.am: Remove mention of earmelf_linux26.
167         * Makefile.in: Regenerate.
169 2001-02-04  Philip Blundell  <philb@gnu.org>
171         * emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000.
172         * emulparams/armelf_linux26.sh: Delete.
173         * configure.tgt: Remove mention of armelf_linux26 emulation.
175 2001-02-01  Nick Clifton  <nickc@redhat.com>
177         * ld.1: Replace occurances of -oformat with --oformat.
179 2001-01-25  Jim Driftmyer <jdrift@stny.rr.com>
181         * ldlang.c (lang_leave_overlay): Don't set lma_region when
182         load_base is specified.
184 2001-01-24  Hans-Peter Nilsson  <hp@axis.com>
186         * emultempl/elf32.em: Correct spelling in comments and listed
187         options.
189 2001-01-23  Alan Modra  <alan@linuxcare.com.au>
191         * ldlang.c (lang_leave_overlay): Only set lma_region from the
192         default for the first section of a group of overlay sections.
194 2001-01-22  Alan Modra  <alan@linuxcare.com.au>
196         * Makefile.am (GENSCRIPTS): Pass exec_prefix.
197         * Makefile.in: Regenerate.
198         * genscripts.sh: Use exec_prefix parameter to specify tool lib.
199         Check for null tool_dir.
201 2001-01-16  Jim Wilson  <wilson@redhat.com>
203         * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind
204         and IA_64.unwind.info.
206 2001-01-16  H.J. Lu  <hjl@gnu.org>
208         * ldlang.c (lang_check): Merge the private data only if the
209         input file has contents.
211 2001-01-14  Alan Modra  <alan@linuxcare.com.au>
213         * emulparams/hppalinux.sh (OUTPUT_FORMAT): Set to elf32-hppa-linux.
215         * emultempl/hppaelf.em (hppaelf_after_parse): New function,
216         enabling search for libmilli.  On a relocatable link, make .text
217         sections unique.
218         (LDEMUL_AFTER_PARSE): Define.
219         (hppaelf_finish): Correct spelling of relocatable in comments.
221         * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
222         rummage through the script for sections on the unique list.
223         Correct length of strncmp for ".note".
224         (gld${EMULATION_NAME}_check_needed): Rearrange function.
226         * ldlang.c (unique_section_list): New var.
227         (unique_section_p): New function.
228         (walk_wild_section): Don't match sections on unique_section_list.
229         (lang_add_unique): New function.
230         Correct spelling of relocatable in comments.
232         * ldlang.h (struct unique_sections): Declare.
233         (unique_section_list): Declare.
234         (unique_section_p): Declare.
235         (lang_add_unique): Declare.
237         * lexsup.c (ld_options): Allow --unique to take an optional arg.
238         (parse_args [OPTION_UNIQUE]): Call lang_add_unique.
240         * ld.texinfo (--unique): Update.
242 2001-01-13  Nick Clifton  <nickc@redhat.com>
244         * lexsup.c (parse_args): Remove spurious white space.
246 2001-01-12  Nick Clifton  <nickc@redhat.com>
248         * lexsup.c (parse_args): Update copyright date.
250 2001-01-12  Philip Blundell  <pb@futuretv.com>
252         * configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin.
254 2001-01-10  Kazu Hirata  <kazu@hxi.com>
256         * scripttempl/h8300.sc: Fix formatting.  Fix a comment typo.
257         * scripttempl/h8300h.sc: Fix formatting.
258         * scripttempl/h8300s.sc: Likewise.
259         * scripttempl/h8500.sc: Likewise.
260         * scripttempl/h8500b.sc: Likewise.
261         * scripttempl/h8500c.sc: Likewise.
262         * scripttempl/h8500m.sc: Likewise.
263         * scripttempl/h8500s.sc: Likewise.
265 2000-01-07  David O'Brien  <obrien@BSDi.com>
267         * emultempl/elf32.em: Only perform Linux ld hints processing when
268         targeting Linux.
270 2001-01-07  Philip Blundell  <philb@gnu.org>
272         * ld.texinfo (Bug Reporting): Update email address for reports.
274 2000-12-31  Nick Clifton  <nickc@redhat.com>
276         * lexsup.c (parse_args): Set opterr to 0 and detect unparsed long
277         options by checking for a return value of '?' not -1.
279 2000-12-28  Nick Clifton  <nickc@redhat.com>
281         * lexsup.c (struct ld_option): Add new enum value:
282         EXACTLY_TWO_DASHES.
283         (ld_options[]): Change -omagic, -output and -oformat options
284         to be EXACTLY_TWO_DASHES.
285         (OUTPUT_COUNT): Use ARRAY_SIZE.
286         (parse_args): Change parameter 'argc' to unsigned.
287         Place EXACTLY_TWO_DASHES options into new really_longopts
288         array.
289         If getopt_long_only fails, try calling getopt_long using the
290         really_longopts array.
291         (help): Print a double dash for both EXACTLY_TWO_DASHES and
292         TWO_DASHES options.
294         * ldlex.h: Fix prototype of parse_args.
296         * ld.texinfo: Document that long options starting with 'o'
297         must be preceeded by two dashes.  Change example of a single
298         dashed long option from -oformat to -trace-symbol.
300 2000-12-26  Danny Smith  <danny_r_smith_2001@yahoo.co.nz>
302         * emultempl/pe.em (OPTION_NO_DEFAULT_EXCLUDES): Define.
303         (longopts[]): New --no-default-excludes option.
304         (gld_${EMULATION_NAME}_list_options): Document.
305         (gld_${EMULATION_NAME}_parse_args): Handle.
307 2000-12-13  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
309         * ldlang.c (new_stat): Revert the last beautification with "innocent"
310         whitespace, it breaks the K&R C preprocessor.
312 2000-12-11  DJ Delorie  <dj@redhat.com>
314         * ld.texinfo: Add notes about --whole-archive and gcc.
316 2000-11-18  Fred Fish  <fnf@be.com>
318         * lexsup.c (OPTION_ALLOW_SHLIB_UNDEFINED): Define.
319         (ld_options): Entry for --allow-shlib-undefined.
320         (parse_args): Handle OPTION_ALLOW_SHLIB_UNDEFINED.
321         * ldmain.c (main): Initialize link_info.allow_shlib_undefined
322         to false.
323         * ld.texinfo: Document new command line switch.
325 2000-12-12  Geoffrey Keating  <geoffk@redhat.com>
327         * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS):
328         .fixup is actually read/write.
329         * emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
330         * emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
331         * emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
333 Mon Dec 11 14:50:33 MET 2000  Jan Hubicka  <jh@suse.cz>
335         * NEWS: Add note about x86_64 architecture.
337 2000-12-06  Mark Elbrecht  <snowball3@bigfoot.com>
339         * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end.
340         Set DWARF2 sections to a VMA of zero.
342 2000-12-01      Joel Sherrill <joel@OARcorp.com>
344         * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
345         New targets.
346         (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
347         (sparc*-*-rtems*): Switched from a.out to ELF.
349 2000-11-30  Jan Hubicka  <jh@suse.cz>
351         * Makefile.am (ALL_EMULATIONS): Add eelf_x86_64.o
352         (eelf_x86_64.c): New.
353         * Makefile.in: Regenerate.
354         * configure.tgt: Add support for x86_64-*-linux-gnu*.
355         * emulparams/elf_x86_64.sh: New.
357 2000-11-30  Hans-Peter Nilsson  <hp@axis.com>
359         * emulparams/crislinux.sh (ENTRY): Change back to _start.
360         (TEXT_START_SYMBOLS): Remove conditional setting of __start.
362         * scripttempl/crisaout.sc: Change all RELOCATING not related to
363         merging non-a.out sections into CONSTRUCTING.
365 2000-11-28  Nick Clifton  <nickc@redhat.com>
367         * ld.1 (COPYING): Mention that the GNU Free Documentation
368         License is present in the sources, but not the output, and
369         also available from the GNU website.
370         (GNU Free Documentation License): Comment out this section.
372 2000-11-28  David O'Brien  <obrien@dragon.nuxi.com>
374         * emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF
375         does not use them.
377 2000-11-25  David O'Brien  <obrien@FreeBSD.org>
379         * ld.1: Remove old date so it does not give the impression the manpage
380         is way out of date.
382 2000-11-24  Nick Clifton  <nickc@redhat.com>
384         * configure.tgt (xscale-coff): Add target.
385         (xscale-elf): Add target.
387 2000-11-24  Fred Fish  <fnf@be.com>
389         * ldmain.c (main): Remove redundant init of config.make_executable
390         to true.
392 2000-11-15  Richard Henderson  <rth@redhat.com>
394         * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M.
396 2000-11-14  Kazu Hirata  <kazu@hxi.com>
398         * scripttempl/h8300.sc: Fix formatting.
399         * scripttempl/h8300h.sc: Likewise.
400         * scripttempl/h8300s.sc: Likewise.
402 Tue Nov 14 00:59:19 2000  Denis Chertykov  <denisc@overta.ru>
404         * scripttempl/elf32avr.sc: Fix bug in .eeprom segment.
406 2000-11-09  Philip Blundell  <pb@futuretv.com>
408         * emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME
409         around orphan sections whose names can be represented in C.
411 2000-11-07  Jim Wilson  <wilson@redhat.com>
413         * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local
414         hold_sdata.  If SEC_SMALL_DATA set, set place to hold_sdata.
416 2000-11-06  Nick Clifton  <nickc@redhat.com>
418         * ld.texinfo: Add GNU Free Documentation License.
419         * ldint.texinfo: Add GNU Free Documentation License.
420         * ld.1: Add GNU Free Documentation License.
422 2000-11-05  Alan Modra  <alan@linuxcare.com.au>
424         * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer,
425         yy_is_interactive, yy_at_bol, and yy_fill_buffer.
427         * Makefile.am (DISTCLEANFILES): Add stringify.sed.
428         Move 2000-11-02 Makefile.in changes to this file.
429         * Makefile.in: Regenerate.
431 2000-11-03  Nick Clifton  <nickc@redhat.com>
433         * scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose
434         constructors and destructors.
435         * scripttempl/h8300h.sc: Ditto.
436         * scripttempl/h8300s.sc: Ditto.
437         * scripttempl/h8500.sc: Ditto.
438         * scripttempl/h8500b.sc: Ditto.
439         * scripttempl/h8500c.sc: Ditto.
440         * scripttempl/h8500m.sc: Ditto.
441         * scripttempl/h8500s.sc: Ditto.
442         * scripttempl/v850.sc: Ditto.
443         * scripttempl/w65.sc: Ditto.
444         * scripttempl/z8000.sc: Ditto.
446 2000-11-02  Per Lundberg  <plundis@chaosdev.org>
448         * Makefile.in (e_i386_chaos.c): New rule.
449         (ALL_EMULATIONS): Added e_i386_chaos.o.
450         * emulparams/elf_i386_chaos.sh: New file.
451         * configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos.
453 2000-10-20  Jakub Jelinek  <jakub@redhat.com>
455         * emulparams/elf64_sparc.sh (TEXT_START_ADDR,
456         NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets.
457         Fix sed invocation, so that it coped with '/' in Solaris 64bit
458         library path suffix.
459         Based on patch by Andrew Macleod <amacleod@cygnus.com>.
461 2000-10-18  Hans-Peter Nilsson  <hp@axis.com>
463         * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),
464         for consecutive sections.
466 2000-10-17  Chandrakala Chavva  <cchavva@redhat.com>
468         * lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific
469         options.
470         * ld.texinfo: Added notes about this new option.
472 2000-10-16  Nick Clifton  <nickc@redhat.com>
474         * emultempl/pe.em (_after_open): Add tests of return values from
475         bfd functions.  Emit appropriate error messages if necessary.
477 2000-10-13  Nick Clifton  <nickc@redhat.com>
479         * emultempl/pe.em (_after_open): Delete 'is2' and 'nsyms'
480         local variables - they are not used, but leave in the call to
481         bfd_canonicalize_symtab.
482         (_open_dynamic_archive): Add #ifdef DLL_SUPPORT around use of
483         pe_dll_search_prefix.
485 2000-10-12  Charles Wilson  <cwilson@ece.gatech.edu>
487         * emultempl/pe.em (pe_dll_search_prefix): New variable,
488         (longopts): New --dll-search-prefix option.
489         (gld_${EMULATION_NAME}_list_options): Document.
490         (gld_${EMULATION_NAME}_parse_args): Handle.
491         (gld_${EMULATION_NAME}_open_dynamic_archive): When linking
492         dynamically, search for a dll named '<prefix><basename>.dll'
493         in preference to 'lib<basename>.dll' if --dll-search-prefix
494         is specified.
496 2000-10-12  Alan Modra  <alan@linuxcare.com.au>
498         * ldlang.c (section_already_linked): Set kept_section instead of
499         sec->comdat->sec.
501 2000-10-10  Kazu Hirata  <kazu@hxi.com>
503         * deffile.h: Fix formatting.
504         * lexsup.c: Likewise.
505         * mri.c: Likewise.
507 2000-10-09  Paul Sokolovsky  <Paul.Sokolovsky@technologist.com>
509         * pe-dll.c (make_one): Do not generate code thunk for DATA
510         exports.
511         (process_def_file): deduce DATA flag for auto-export sumbols.
513 2000-10-09  Kazu Hirata  <kazu@hxi.com>
515         * ld.h: Fix formatting.
516         * ldcref.c: Likewise.
517         * ldctor.h: Likewise.
518         * ldemul.c: Likewise.
519         * ldemul.h: Likewise.
520         * ldexp.c: Likewise.
521         * ldexp.h: Likewise.
522         * ldfile.c: Likewise.
523         * ldfile.h: Likewise.
524         * ldlang.c: Likewise.
525         * ldlang.h: Likewise.
526         * ldmain.c: Likewise.
527         * pe-dll.c: Likewise.
529         * pe-dll.c: Revert some formatting fixes.
531 2000-10-08  Kazu Hirata  <kazu@hxi.com>
533         * pe-dll.c: Fix formatting.
535 2000-10-05  Kazu Hirata  <kazu@hxi.com>
537         * ldlang.c: Fix formatting.
539 2000-10-03  DJ Delorie  <dj@redhat.com>
541         * pe-dll.c (fill_edata): initialize entire block
542         (make_one): fill in correct section.
544 2000-10-03  Kazu Hirata  <kazu@hxi.com>
546         * ldexp.c: Fix formatting.
548 2000-10-02  DJ Delorie  <dj@redhat.com>
550         * emultempl/pe.em (gld_*_after_open): detect case where there two
551         import libraries for same dll; rename one to ensure proper link
552         order.
554         * pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix
555         typo
556         (generate_edata): fix typo
558 2000-09-29  Hans-Peter Nilsson  <hp@axis.com>
560         * scripttempl/crisaout.sc (ENTRY): Now __start.
561         (.text): Add default setting for __start.
562         Remove CONSTRUCTORS handling.
563         (/DISCARD/): Add .gnu.warning.*.
564         * emulparams/crislinux.sh (ENTRY): Now __start.
565         (TEXT_START_SYMBOLS): New; provide __Stext and __start default.
566         * emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris.
567         (ENTRY): Now __start.
568         (INITIAL_READONLY_SECTIONS): Add KEEP for .startup.
569         (EXECUTABLE_SYMBOLS): Add default setting for __start.
571 2000-09-29  Kazu Hirata  <kazu@hxi.com>
573         * deffile.h: Fix formatting.
574         * ld.h: Likewise.
575         * ldcref.c: Likewise.
576         * ldctor.c: Likewise.
577         * ldctor.h: Likewise.
578         * ldemul.c: Likewise.
579         * ldemul.h: Likewise.
580         * ldexp.c: Likewise.
581         * ldexp.h: Likewise.
582         * ldfile.c: Likewise.
583         * ldfile.h: Likewise.
584         * ldlang.c: Likewise.
585         * ldlang.h: Likewise.
586         * lexsup.c: Likewise.
587         * mri.c: Likewise.
588         * pe-dll.c: Likewise.
590 2000-09-28  Paul Sokolovsky  <Paul.Sokolovsky@technologist.com>
592         * pe-dll.c (process_def_file): Uninitialized data wasn't
593         exported with --export-all-symbols switch.
595 2000-09-28  DJ Delorie  <dj@redhat.com>
597         * pe-dll.c (fill_edata): rearrange the data so that ordinals and
598         noname work properly.
600 2000-09-28  Alan Modra  <alan@linuxcare.com.au>
602         * ld.texinfo (HPPA ELF32): New section.
604         * emultempl/hppaelf.em (group_size): New.
605         (hppaelf_finish): Pass group_size to elf32_hppa_size_stubs.
606         (PARSE_AND_LIST_PROLOGUE): Add OPTION_STUBGROUP_SIZE.
607         (PARSE_AND_LIST_LONGOPTS): Add --stub-group-size.  Duplicate
608         options to prevent abbreviations matching.
609         (PARSE_AND_LIST_OPTIONS): Describe the above.  Reformat.
610         (PARSE_AND_LIST_ARGS_CASES): Handle it.
612 2000-09-21  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
614         * emultempl/m68kelf.em: Conditionalise the embedded relocs feature
615         on the m68*-*-elf target.  Make it support COFF input objects.
617 2000-09-21  Kazu Hirata  <kazu@hxi.com>
619         * ldmain.c: Fix formatting.
620         * ldmisc.c: Likewise.
621         * ldver.c: Likewise.
622         * ldwrite.c: Likewise.
624 2000-09-21  Alan Modra  <alan@linuxcare.com.au>
626         * ldwrite.c (clone_section): Silence gcc warnings.
628 2000-09-20  Alan Modra  <alan@linuxcare.com.au>
630         * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Handle
631         out of memory failure.
633         * ldwrite.c (ldwrite): Remove unnecessary einfo arg.
634         (clone_section): Handle out of memory failures.  Rename var to
635         avoid c++ reserved word.
637 2000-09-18  Alan Modra  <alan@linuxcare.com.au>
639         * emultempl/hppaelf.em (hppaelf_add_stub_section): Rename
640         stub_name param to stub_sec_name.
641         (hppaelf_finish): Modify call to elf32_hppa_size_stubs.
643 2000-09-10  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
645         * emultempl/m68kelf.em: New file.
646         * emulparams/m68kelf.sh (EXTRA_EM_FILE): Use it.
647         * Makefile.am (em68kelf.c): Add dependency on m68kelf.em.
648         * Makefile.in: Regenerate.
650 2000-09-15  Alan Modra  <alan@linuxcare.com.au>
652         * emulparams/hppalinux.sh (DATA_START_SYMBOLS): Provide $global$
653         only as needed.
655 2000-09-13  Nick Clifton  <nickc@redhat.com>
657         * ldmain.c (multiple_definition): Disable relaxation if
658         multiple symbol definitions are encountered - otherwise the
659         linker could abort with an assertion failure.
661 2000-09-10  Nick Clifton  <nickc@redhat.com>
663         * mri.c: Fix formatting.
665 2000-09-07  H.J. Lu  <hjl@gnu.org>
667         * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
668         * configure: Rebuild.
670 2000-09-07  H.J. Lu  <hjl@gnu.org>
672         * Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h.
673         * Makefile.in: Rebuild.
675 2000-09-07  Alan Modra  <alan@linuxcare.com.au>
677         * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Fix
678         broken list handling.  Create __start_SECNAME and __stop_SECNAME
679         when no place-holder.  Add some comments.  Test both SEC_CODE and
680         SEC_READONLY for hold_text to prevent .rodata orphan poisoning.
681         Handle case where no output section statement created.
683 2000-09-07  Niibe Yutaka  <gniibe@m17n.org>, Kaz Kojima  <kkojima@rr.iij4u.or.jp>, Alexandre Oliva  <aoliva@redhat.com>
685         * configure.tgt (sh-*-linux*): Added.
686         * Makefile.am: Added eshelf_linux and eshlelf_linux.
687         * Makefile.in: Rebuilt.
688         * emulparams/shelf_linux.sh: New file.
689         * emulparams/shlelf_linux.sh: New file.
691 2000-09-06  Alan Modra  <alan@linuxcare.com.au>
693         * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
694         try shuffling sections when the orphan happens to be the place
695         holder.  Keep count of unique section names generated so we speed
696         the search for a new name.
698 2000-09-06  Alexandre Oliva  <aoliva@redhat.com>
700         * configure: Rebuilt with new libtool.m4.
702 2000-09-05  Nick Clifton  <nickc@redhat.com>
704         * Makefile.in: Regenerate.
705         * aclocal.m4: Regenerate.
706         * configure: Regenerate.
707         * config.in: Regenerate.
708         * po/ld.pot: Regenerate.
710         * ldint.texinfo: Remove CVS revision marker - it foils local
711         comparisons.
713         * emultempl/ticoff.em: Remove extraneous comma.
715 2000-09-05  Alan Modra  <alan@linuxcare.com.au>
717         * emultempl/hppaelf.em (hppaelf_add_stub_section): Add SEC_RELOC
718         to stub section flags.
719         (hppa_for_each_input_file_wrapper): New.
720         (hppa_lang_for_each_input_file): New.
721         (lang_for_each_input_file): Define to call above.
722         (multi_subspace): New.
723         (hppaelf_finish): Pass multi_subspace to elf32_hppa_size_stubs.
724         (PARSE_AND_LIST_PROLOGUE): Define.
725         (PARSE_AND_LIST_LONGOPTS): Define.
726         (PARSE_AND_LIST_OPTIONS): Define.
727         (PARSE_AND_LIST_ARGS_CASES): Define.
728         (hppaelf_finish): Call elf32_hppa_set_gp.
729         (hppaelf_set_output_arch): Remove.
730         (LDEMUL_SET_OUTPUT_ARCH): Remove.
732         * emulparams/hppalinux.sh (ELFSIZE): Define.
733         (MACHINE): Define.
734         (OTHER_READONLY_SECTIONS): Define.
735         (DATA_PLT): Define.
736         (GENERATE_SHLIB_SCRIPT): Define.
738         * ldlang.c: Add missing prototypes, and tidy others.  Change CONST
739         to const throughout.  Change `void *' to `PTR' throughout.
740         (lang_memory_default): Function is local to file, add `static'.
742         * Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em.
743         (ehppalinux.c): Likewise.
744         (earmelf.c): Likewise.
745         (earmelf_linux.c): Likewise.
746         (earmelf_linux26.c): Likewise.
747         * Makefile.in: Regenerate.
749         * ld.h (ld_config_type): Add unique_orphan_sections.
750         * lexsup.c (OPTION_UNIQUE): Define.
751         (ld_options): Add "--unique".
752         (parse_args): Handle it.
753         * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
754         search for an existing output section if unique_orphan_sections is
755         set.  Make use of bfd_get_unique_section_name rather than
756         duplicating code here.
757         * ld.texinfo: Describe --unique.
759         * lexsup.c (ld_options): Make split-by-reloc arg optional. Add
760         optional arg to split-by-file.
761         (parse_args): Handle them.
762         * ld.texinfo: Update description of these options.
763         * ldwrite.c (clone_section): Pass in the section name.  Replace
764         local code with bfd_get_unique_section_name.
765         (split_sections): Tidy code and comments.  Use a list traversal
766         more appropriate to the list construction.  Handle cooked section
767         sizes.  Split when split_by_reloc reached rather than exceeded.
768         Track section size and split when split_by_file reached.  Fix
769         link_order_tail (even though it's not used).
770         (ldwrite): Modify condition for calling split_sections to suit
771         changed split_by_reloc and split_by_file.
772         * ldmain.c (main): Init config.split_by_reloc and
773         config.split_by_file to -1.
774         * ld.h (ld_config_type): Change split_by_reloc to unsigned.
775         Change split_by_file to bfd_size_type.
777 2000-09-02  Nick Clifton  <nickc@redhat.com>
779         * configure.in: Increase version number to 2.10.91.
780         * NEWS: Mention new ability to support removal of duplicate DWARF2
781         debug information.
782         * configure: Regenerate.
783         * aclocal.m4: Regenerate.
784         * config.in: Regenerate.
786 2000-09-02  Daniel Berlin <dberlin@redhat.com>
788         * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info
789         sections.
790         * scripttempl/elf32avr.sc: Ditto.
791         * scripttempl/elfd10v.sc: Ditto.
792         * scripttempl/elfd30v.sc: Ditto.
793         * scripttempl/elfi370.sc: Ditto.
794         * scripttempl/elfm68hc11.sc: Ditto.
795         * scripttempl/elfm68hc12.sc: Ditto.
796         * scripttempl/elfi386beos.sc: Ditto.
797         * scripttempl/v850.sc: Ditto.
799 2000-08-31  Alexandre Oliva  <aoliva@redhat.com>
801         * acinclude.m4: Include libtool and gettext macros from the
802         top level.
803         * aclocal.m4, configure: Rebuilt.
805 2000-08-25  Nick Clifton  <nickc@redhat.com>
807         * ldlang.c (open_output): When choosing the target for a
808         particular endianness, do nothing if the target is not
809         supported.
811 2000-08-25  H.J. Lu  <hjl@gnu.org>
813         * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
814         check -rpath nor LD_RUN_PATH for cross link.
815         * ld.texinfo: Document the change.
817 2000-08-24  Hans-Peter Nilsson  <hp@axis.com>
819         * NEWS: Mention support for CRIS.
821 2000-08-23  H.J. Lu  <hjl@gnu.org>
823         * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get
824         the current runpath list from bfd_elf_get_runpath_list ()
825         before search.
827 2000-08-22  H.J. Lu  <hjl@gnu.org>
829         * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search
830         the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after
831         LD_LIBRARY_PATH for native linker. Display the needed DSO if
832         trace_file_tries is non-zero.
833         (gld${EMULATION_NAME}_try_needed): Report the needed DSO found
834         if trace_file_tries is non-zero.
836         * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH.
837         * NEWS: Mention it.
839 2000-08-14  Jason Eckhardt  <jle@cygnus.com>
841         * NEWS: Mention i860 support.
843 2000-08-14  Andreas Schwab  <schwab@suse.de>
845         * scripttempl/elf.sc: Fix last change to use correct comment
846         syntax.
848 2000-08-10  Geoff Keating  <geoffk@cygnus.com>
850         * scripttempl/elf.sc: Add a comment giving the correspondence
851         between sections, per-datum sections, and linkonce sections.  Make
852         the comment true even for .bss, .sdata, .sdata2, .sbss, and
853         .sbss2.
855 2000-08-10  Jason Eckhardt  <jle@cygnus.com>
857         * emulparams/elf32_i860.sh: New file.
858         * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}.
859         * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o.
860         (eelf32_i860.c): New rule.
861         * Makefile.in: Regenerate.
863 2000-08-10  Nick Clifton  <nickc@cygnus.com>
865         * emulparams/mipspe.sh (ENTRY): Add definition.
867 2000-08-08  Peter Jeremy  <peter.jeremy@alcatel.com.au>
869         * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath
870         in error message.
872 2000-08-08  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
874         * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate
875         the final size of .bss section.
876         * scripttempl/elfm68hc12.sc: Likewise.
878 2000-08-04  Alan Modra  <alan@linuxcare.com.au>
880         * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to
881         gld${EMULATION_NAME}_parse_args for consistency.  Combine
882         lastoptind and prevoptind vars, and keep track of last optind.
883         (gld_${EMULATION_NAME}_list_options): Rename to
884         gld${EMULATION_NAME}_list_options.
886 2000-08-03  Rodney Brown  <RodneyBrown@pmsc.com>
888         * configure.tgt: Select targ_emul=elf_i386 for Unixware 7
889         (i586-sco-sysv5uw7.1.0).
891 2000-07-27  H.J. Lu  <hjl@gnu.org>
893         * emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed.
894         (PARSE_AND_LIST_PROLOGUE): New.
895         (PARSE_AND_LIST_LONGOPTS): Likewise.
896         (PARSE_AND_LIST_OPTIONS): Likewise.
897         (PARSE_AND_LIST_ARGS_CASES): Likewise.
898         (PARSE_AND_LIST_EPILOGUE): Likewise.
900 2000-07-28  Alan Modra  <alan@linuxcare.com.au>
902         * emultempl/armelf.em: Elide functions common to elf32.em,
903         ie. most of the file.
904         (arm_elf_after_open): New.  Do arm specific things then call
905         gld${EMULATION_NAME}_after_open.
906         (arm_elf_before_allocation): New.  Call
907         gld${EMULATION_NAME}_before_allocation then do arm specifics.
908         (PARSE_AND_LIST_PROLOGUE): Define.
909         (PARSE_AND_LIST_SHORTOPTS): Define.
910         (PARSE_AND_LIST_LONGOPTS): Define.
911         (PARSE_AND_LIST_OPTIONS): Define.
912         (PARSE_AND_LIST_ARGS_CASES): Define.
913         (LDEMUL_AFTER_OPEN): Define.
914         (LDEMUL_BEFORE_ALLOCATION): Define.
915         (LDEMUL_BEFORE_PARSE): Define.
916         (LDEMUL_FINISH): Define.
918         * emultempl/hppaelf.em: Similarly zap most of this file.
919         (hppaelf_add_stub_section): Prototype.
920         (hppaelf_layaout_sections_again): Prototype.
921         (hook_in_stub): Prototype.
922         (LDEMUL_SET_OUTPUT_ARCH): Define.
923         (LDEMUL_FINISH): Define.
924         (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
926         * emulparams/armelf.sh (TEMPLATE_NAME): Use elf32.
927         (EXTRA_EM_FILE): New.
928         * emulparams/armelf_linux.sh: Likewise.
929         * emulparams/armelf_linux26.sh: Likewise.
930         * emulparams/hppalinux.sh: Likewise.
931         * emulparams/hppaelf.sh: Likewise.
932         (NOP): Define.
934         * emultempl/elf32.em: Fix formatting.
935         (EXTRA_EM_FILE): Source it.
936         (LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
937         LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
938         LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
939         LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
940         LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
941         LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
942         LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
943         LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
944         LDEMUL_FIND_POTENTIAL_LIBRARIES): New shell vars.  Add code to
945         allow functions in this file to be overridden.
946         (PARSE_AND_LIST_SHORTOPTS): Handle it.
948         * emultempl/m68kcoff.em: Include ldfile.h before ldemul.h.
950         * emultempl/elf32.em: Reorganize file.
952 2000-07-27  Ivan Kokshaysky  <ink@jurassic.park.msu.ru>
954         * emulparams/elf64alpha.sh: Implement "-taso" emulation
955         specific option to fit 64-bit executable in the lower
956         31-bit address range.  This is done by changing start
957         address of .interp (the very first section of executable)
958         and then setting EF_ALPHA_32BIT elf header flag.
960 2000-07-21  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
962         * emultempl/m68kcoff.em: New file.
963         * emulparams/m68kcoff.sh (TEMPLATE_NAME): Use m68kcoff template.
964         * Makefile.am (em68kcoff.c): Depend on m68kcoff.em rather than
965         generic.em.
966         * Makefile.in: Regenerate.
968 2000-07-20  H.J. Lu  <hjl@gnu.org>
970         * emultempl/elf32.em (longopts): Duplicate "disable-new-dtags"
971         and "disable-new-dtags" to stop getopt from treating -d/-e as
972         abbreviations for these options.
974 2000-07-20  H.J. Lu  <hjl@gnu.org>
976         * ld.texinfo: Add documentation for --disable-new-dtags and
977         --enable-new-dtags.
979         * ldmain.c (main): Initialize link_info.new_dtags to false.
981         * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add
982         --disable-new-dtags and --enable-new-dtags.
983         (gld_${EMULATION_NAME}_list_options): Likewise.
985 2000-07-05  Kenneth Block  <krblock@computer.org>
987         * lexsup.c: Add optional style to demangle switch
988         * ld.texinfo: Document optional style to demangle switch.
990 2000-07-20  Hans-Peter Nilsson  <hp@axis.com>
992         * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o,
993         ecrislinux.o.
994         (ecrisaout.c, ecriself.c, ecrislinux.c): New rules.
995         Regenerate dependencies.
996         * Makefile.in: Rebuild.
997         * configure.tgt (cris-*-*): New target.
998         * emulparams/crisaout.sh, emulparams/criself.sh,
999         emulparams/crislinux.sh, scripttempl/crisaout.sc: New files.
1000         * po/POTFILES.in, po/ld.pot: Regenerate.
1002 2000-07-20  H.J. Lu  <hjl@gnu.org>
1004         * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options):
1005         Print out ignored -z options.
1007 2000-07-19  H.J. Lu  <hjl@gnu.org>
1009         * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed.
1010         (PARSE_AND_LIST_PROLOGUE): New.
1011         (PARSE_AND_LIST_LONGOPTS): Likewise.
1012         (PARSE_AND_LIST_OPTIONS): Likewise.
1013         (PARSE_AND_LIST_ARGS_CASES): Likewise.
1015         * ldmain.c (main): Clear link_info.flags and link_info.flags_1.
1017         * lexsup.c (ld_options): Comment out 'z'.
1018         (parse_args): Likewise.
1020         * emultempl/elf32.em: Include "elf/common.h".
1021         (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z
1022         options.
1023         (gld_${EMULATION_NAME}_list_options): Likewise.
1025         * ld.texinfo: Add documentation for the recognized -z options.
1027 2000-07-19  H.J. Lu  <hjl@gnu.org>
1029         * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call
1030         bfd_elf_set_dt_needed_soname ().
1032 2000-07-18  DJ Delorie  <dj@cygnus.com>
1034         * pe-dll.c (pe_dll_id_target): check object target name also
1036 2000-07-18  Hans-Peter Nilsson  <hp@axis.com>
1038         * scripttempl/elf.sc (.init): Only do ${INIT_START} and
1039         ${INIT_END} if relocating.
1040         (.fini): Likewise ${FINI_START} and ${FINI_END}.
1042 2000-07-16  Charles Wilson  <cwilson@ece.gatech.edu>
1044         * emultempl/pe.em (gld_*_open_dynamic_archive): New search
1045         order for dynamic library '-lfoo' on pei386: libfoo.dll.a,
1046         foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility
1047         errors introduced by the old dynamic lib search order.
1049 2000-07-17  DJ Delorie  <dj@cygnus.com>
1051         * pe-dll.c (process_def_file): auto-export data items also
1052         (pe_process_import_defs): also see if _imp_ form needed
1054 2000-07-12  Charles Wilson  <cwilson@ece.gatech.edu>
1056         * pe-dll.c (make_one): fix a typo in the __imp_ name decoration
1057         for dll import libraries
1059 2000-07-12  Mark Elbrecht  <snowball3@bigfoot.com>
1061         * scripttempl/i386go32.sc: Support the g++ attribute init_priority in
1062         gcc 2.95.2 and later.
1064 2000-07-11  Kazu Hirata  <kazu@hxi.com>
1066         * ldfile.c (ldfile_try_open_bfd): Output '\n' after an error
1067         message.
1069 2000-07-10  Alan Modra  <alan@linuxcare.com.au>
1071         * ldemul.h (struct lang_input_statement_struct): Remove forward
1072         declaration.
1073         (struct search_dirs): Likewise.
1074         * ldfile.h (struct lang_input_statement_struct): Likewise.
1075         Protect file from multiple inclusion.
1076         * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Move file_chain
1077         declaration from macro to file scope.
1079         * ldemul.c: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this order.
1080         * ldgram.y: Likewise here.
1081         * ldlang.c: And here.
1082         * ldmain.c: And here.
1083         * mpw-elfmips.c: And here.
1084         * mpw-eppcmac.c: And here.
1085         * emultempl/aix.em: And here.
1086         * emultempl/armcoff.em: And here.
1087         * emultempl/armelf.em: And here.
1088         * emultempl/armelf_oabi.em: And here.
1089         * emultempl/beos.em: And here.
1090         * emultempl/elf32.em: And here.
1091         * emultempl/hppaelf.em: And here.
1092         * emultempl/linux.em: And here.
1093         * emultempl/lnk960.em: And here.
1094         * emultempl/pe.em: And here.
1095         * emultempl/sunos.em: And here.
1096         * mpw-esh.c: And here. Include ldexp.h and ldlang.h too.
1097         * mpw-idtmips.c: Ditto.
1098         * emultempl/generic.em: Ditto.
1099         * emultempl/gld960.em: Ditto.
1100         * emultempl/gld960c.em: Ditto.
1101         * emultempl/mipsecoff.em: Ditto.
1102         * emultempl/ticoff.em: Ditto.
1103         * emultempl/vanilla.em: Ditto.
1105         * pe-dll.c: Include ldfile.h
1106         * ldver.c: Include ldexp.h, ldlang.h, ldfile.h
1108         * mpw-elfmips.c: (gldelf32ebmip_before_allocation): Add missing
1109         arguments to bfd_elf32_size_dynamic_sections call.
1110         (gldelf32ebmip_place_orphan): Add missing arguments to
1111         lang_leave_output_section_statement call.
1113 2000-07-10  H.J. Lu  <hjl@gnu.org>
1115         * emultempl/pe.em (pe_enable_stdcall_fixup): Protect with
1116         DLL_SUPPORT.
1117         (strhash): Likewise.
1118         (compute_dll_image_base): Likewise.
1119         (pe_undef_found_sym): Likewise.
1120         (pe_undef_cdecl_match): Likewise.
1121         (gld_${EMULATION_NAME}_open_dynamic_archive): Mark the
1122         argument "arch" with ATTRIBUTE_UNUSED.
1124 2000-07-10  Alan Modra  <alan@linuxcare.com.au>
1126         * configure.tgt: Remove extraneous hppa*-*-linux-gnu*.
1128         From  Ryan Bradetich  <rbradetich@uswest.net>
1129         * ldwrite.c (SSIZE): Remove to cure macro redefinition warning.
1131 2000-07-09  Alan Modra  <alan@linuxcare.com.au>
1133         Changes to create multiple linker stubs, positioned immediately
1134         before the section where they are required.
1135         * emultempl/hppaelf.em: Include elf32-hppa.h.
1136         (stub_sec, file_chain): Delete.
1137         (hppaelf_create_output_section_statements): Don't make a stub
1138         section here.
1139         (hook_stub_info): New struct.
1140         (hook_in_stub): New function.
1141         (hppaelf_add_stub_section): New function.
1142         (hppaelf_finish): Do nothing for relocateable links.  Modify the
1143         call to elf32_hppa_size_stubs.  Move code for updating section
1144         layout from here...
1145         (hppaelf_layaout_sections_again): ..to here, a new function.
1147         * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Fix
1148         broken list handling.  Pass in a pointer to the list.
1149         (hppaelf_finish): Update call to hppaelf_delete_padding_statements
1150         for above changes.
1151         (hppaelf_before_parse): Prototype.
1152         (hppaelf_set_output_arch): Prototype.
1153         (hppaelf_create_output_section_statements): Prototype.
1154         (hppaelf_delete_padding_statements): Prototype.
1155         (hppaelf_finish): Prototype.
1157         Merge from elf32.em
1158         * emultempl/hppaelf.em: Include ctype.h.
1159         (struct orphan_save): New.
1160         (gld${EMULATION_NAME}_place_orphan): New.
1161         (output_rel_find): New.
1162         (hppaelf_get_script): Update from elf32.em.
1163         (ld_hppaelf_emulation): Rename to ld_${EMULATION_NAME}_emulation.
1164         Change emulation_name field to "${EMULATION_NAME}".  Add
1165         gld${EMULATION_NAME}_place_orphan.
1167         * Makefile.am (ALL_EMULATIONS): Reinstate ehppaelf.o,  add
1168         ehppalinux.o, sort it.  Regenerate dependencies.
1169         (ehppalinux.c): Depend on hppaelf.em
1170         * Makefile.in: Regenerate.
1172         * configure.tgt: targ_emul=hppalinux for hppa*linux
1174         * emulparams/hppalinux.sh: New.
1175         * emulparams/hppaelf.sh (TARGET_PAGE_SIZE): Write in hex.
1177 2000-07-08  Alan Modra  <alan@linuxcare.com.au>
1179         * lexsup.c (parse_args): Copy section name.
1181 2000-07-07  Charles Wilson  <cwilson@ece.gatech.edu>
1183         * emultempl/pe.em: institute the following search order for
1184         dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import
1185         libs), libfoo.dll, foo.dll (link direct to dll).  Fall back to
1186         static lib (libfoo.a) if none of the above are found.
1188 2000-07-07  Mumit Khan  <khan@xraylith.wisc.edu>
1190         * emultempl/pe.em (pe_enable_auto_image_base): New variable.
1191         (longopts): New --{enable,disable}-auto-image-base options.
1192         (gld_${EMULATION_NAME}_list_options): Document.
1193         (gld_${EMULATION_NAME}_parse): Handle.
1194         (strhash): New static function.
1195         (compute_dll_image_base): New static function.
1196         (gld_${EMULATION_NAME}_set_symbols): Use.
1198 2000-07-05  DJ Delorie  <dj@redhat.com>
1200         * MAINTAINERS: new
1202 2000-07-01  Koundinya K  <kk@ddeorg.soft.net>
1204         * configure.tgt: Add traditional mips (mips*-*-sysv4*) target.
1205         * emulparams/elf32btsmip.sh: New file.
1206         * Makefile.am: Add traditional mips target.
1207         * Makefile.in: Rebuild.
1209 2000-07-01  H.J. Lu  <hjl@gnu.org>
1211         * Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for
1212         automake to use YLWRAP.
1213         * Makefile.in: Rebuild.
1215 2000-07-01  Alan Modra  <alan@linuxcare.com.au>
1217         * Makefile.am (DEP): Fix 2000-06-22.  grep after running dep.sed
1218         (CLEANFILES): Add DEPA.
1219         * Makefile.in: Regenerate.
1221 2000-06-30  Timothy Wall  <twall@ppc>
1223         * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode
1224         the page in the upper octet of the address.
1226 2000-06-26  Marek Michalkiewicz  <marekm@linux.org.pl>
1228         * emulparams/avrmega161.sh (ARCH): Change to avr:5.
1230 2000-06-24  Alan Modra  <alan@linuxcare.com.au>
1232         * NEWS: arm-elf does --gc-sections too.
1234 2000-06-22  Alan Modra  <alan@linuxcare.com.au>
1236         * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
1237         find one.
1238         * Makefile.in: Regenerate.
1240 2000-06-21  H.J. Lu  <hjl@gnu.org>
1242         * Makefile.am: Rebuild dependency.
1243         * Makefile.in: Rebuild.
1245 2000-06-20  H.J. Lu  <hjl@gnu.org>
1247         * Makefile.am: Rebuild dependency.
1248         * Makefile.in: Rebuild.
1250 2000-06-20  Timothy Wall  <twall@cygnus.com>
1252         * scripttempl/tic54xcoff.sc: New.
1253         * ldlang.c (wild_doit): Propagate SEC_BLOCK flag.
1254         * gen-doc.texi: Add flag for TI COFF.
1255         * ld.texinfo: Add documentation for TI COFF handling switches.
1256         * emultempl/ticoff.em: New. TI COFF handling.
1257         * configure.tgt: Add tic54x target.
1258         * Makefile.am: Add tic54x target.
1259         * Makefile.in: Ditto.
1261 2000-06-20  Alan Modra  <alan@linuxcare.com.au>
1263         * ldmain.c (set_scripts_dir): Correct pointer comparison when
1264         checking for backslashes.
1266 2000-06-19  Alan Modra  <alan@linuxcare.com.au>
1268         * NEWS: Move entries not in 2.10 above "Changes in version 2.10".
1270 2000-06-18  Alan Modra  <alan@linuxcare.com.au>
1272         * NEWS: Update list of targets supporting --gc-sections.
1274         * scripttempl/elf.sc: KEEP .eh_frame contents.
1275         * scripttempl/elfd30v.sc: Same here.
1277 2000-06-18  Stephane Carrez  <stcarrez@worldnet.fr>
1279         * Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12
1280         and m68hc11 (elf).
1281         * Makefile.in: Rebuild.
1282         * configure.tgt: Recognize m68hc12 and m68hc11.
1283         * scripttempl/elfm68hc12.sc: New file.
1284         * emulparams/m68hc12elfb: New emulation.
1285         * emulparams/m68hc12elf: New emulation.
1286         * emulparams/m68hc11elfb.sh: New file.  User configurable emulation
1287         (includes a memory.x script to define the ROM and RAM banks).
1288         * scripttempl/elfm68hc11.sc, emulparams/m68hc11elf.sh:
1289         New configuration files for support of Motorola 68hc11
1291 2000-06-15  Alan Modra  <alan@linuxcare.com.au>
1293         * ldmain.c (main): Only change SEC_READONLY for final link.
1295 2000-06-13  H.J. Lu  <hjl@gnu.org>
1297         * configure: Regenerate.
1299 2000-06-08  David O'Brien  <obrien@FreeBSD.org>
1301         * configure.in (VERSION): Update to show this is the CVS mainline.
1303 2000-06-07  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
1305         * emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all
1306         input objects to be ECOFF.
1307         (check_sections): einfo takes %B, not %P, to print a BFD name.
1309 2000-06-05  Michael Matz <matz@ifh.de>
1311         * ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in
1312         version scripts.
1314         * ldlex.l (V_IDENTIFIER): Accept `::' in symbols.
1316 2000-05-23  Marek Michalkiewicz  <marekm@linux.org.pl>
1318         * emulparams/avr1200.sh (STACK): Define as 0.
1319         * emulparams/avr23xx.sh (STACK): Define as last internal SRAM address.
1320         * emulparams/avr4433.sh (STACK): Likewise.
1321         * emulparams/avr44x4.sh (STACK): Likewise.
1322         * emulparams/avr85xx.sh (STACK): Likewise.
1323         * emulparams/avrmega103.sh (STACK): Likewise.
1324         * emulparams/avrmega161.sh (STACK): Likewise.
1325         * emulparams/avrmega603.sh (STACK): Likewise.
1326         * scripttempl/elf32avr.sc (__data_start): Define for gcrt1.
1327         (__stack): Define from ${STACK} for main().
1329 2000-05-26  Alan Modra  <alan@linuxcare.com.au>
1331         * Makefile.am: Update dependencies with "make dep-am"
1332         * Makefile.in: Regenerate.
1334 2000-05-26  Eli Zaretskii  <eliz@is.elta.co.il>
1336         * ldmain.c: Include filenames.h.
1337         (set_scripts_dir): Support backslashes in program name.
1339 2000-05-22  Igor Shevlyakov  <igor@windriver.com>
1341         * ldmain.c (main): When deciding if ".text" section should be
1342         read-only, don't forget to reset SEC_READONLY because it
1343         could be already set.
1345 2000-05-22  Thomas de Lellis  <tdel@windriver.com>
1347         * ld.1: Add documentation for new command line option:
1348                 --section-start <sectionname>=<sectionorg>
1349         This is a generic version of -Ttext etc. which accepts
1350         any section name as a parameter instead of just text/data/
1351         bss.
1352         * ld.texinfo: More docs.
1353         * NEWS: More docs.
1354         * lexsup.c: (parse_args): Recognize new command line option.
1355         (ld_options): Add new option.
1357 2000-05-18  H.J. Lu  <hjl@gnu.org>
1359         * lexsup.c (parse_args): `i' == `r', not `q'.
1361 Thu May 18 10:47:57 2000  Jeffrey A Law  (law@cygnus.com)
1363         * configure.tgt (hppa*64*-*-*): Enable PA64 target.
1365 2000-05-17 S. Bharadwaj Yadavalli  <sby@scrugs.lkg.dec.com>
1366               Rick Gorton          <gorton@scrugs.lkg.dec.com>
1368         Add support for '-q' == '--emit-relocs' switch.
1369         * ldmain.c (main): Default to false.
1370         * lexsup.c (parse_args): Turn on emitrelocations flag if set.
1371         * NEWS: Describe the emitrelocations switch.
1372         * ld.texinfo: Describe the emitrelocations switch.
1374 2000-05-16  Charles Wilson <cwilson@ece.gatech.edu>
1376         * emultempl/pe.em (_open_dynamic_archive): New function: Search
1377         the library path for "foo.dll" and "libfoo.dll" dynamic libraries
1378         before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo'
1379         link options.
1381 2000-05-15  David O'Brien  <obrien@FreeBSD.org>
1383         * lexsup.c (parse_args): Update the year in the copyright notice.
1385 2000-05-13  Alan Modra  <alan@linuxcare.com.au>
1387         * ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain):
1388         Replace defines with those from intl/libgettext.h to quieten gcc
1389         warnings.
1391 2000-05-10  H.J. Lu  <hjl@gnu.org>
1393         * ldlang.c (open_input_bfds): Don't load the same file within
1394         a group again if the whole archive has been loaded already.
1396 2000-05-03  Alan Modra  <alan@linuxcare.com.au>
1398         From Ulf Carlsson <ulfc@engr.sgi.com> and Andreas Jaeger <aj@suse.de>
1399         * lexsup.c (set_section_start): Use bfd_scan_vma rather than
1400         strtoul.
1402 Mon May  1 17:34:34 2000  Jim Wilson  <wilson@cygnus.com>
1404         * configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}.
1406         * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
1407         host "ia64-*-linux-gnu*".
1409 2000-04-29  Andreas Jaeger  <aj@suse.de>
1411         * ld.h: Correctly check GCC version.
1413 Tue Apr 25 11:20:43 2000  Jeffrey A Law  (law@cygnus.com)
1415         * Makefile.am: Add PA64 support.  Add missing dependencies for
1416         PA32 elf support.
1417         * Makefile.in: Rebuilt.
1418         * configure.tgt: Add PA64 support (currently disabled).
1420 2000-04-25  Alan Modra  <alan@linuxcare.com.au>
1422         * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete.
1423         (output_rel_find): New function.
1424         (hold_section, hold_use): Delete.
1425         (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
1426         hold_interp): Make local to place_orphan.
1427         (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find
1428         rather than place_section to find possible previous use of orphan.
1429         Similarly find the place-holder output sections.  Use returned
1430         value from lang_enter_output_section_statement rather than calling
1431         lang_output_section_statement_lookup.
1432         * emultempl/armelf.em: Same here.
1433         * emultempl/pe.em: Similar to above, but no need for output_rel_find.
1435         * ldlang.c (lang_enter_output_section_statement): Return output
1436         section statement.
1437         * ldlang.h (lang_enter_output_section_statement): Change
1438         declaration too.
1440         * ldlang.h (lang_output_section_statement): Export it.
1441         * ldlang.c (lang_output_section_statement): Ditto.
1443 2000-04-24  Nick Clifton  <nickc@cygnus.com>
1445         * ld.texinfo (Output Section Data): Add note that section data
1446         commands cannot appear outside of section directives.
1448 2000-04-2  Matthew Green  <mrg@cygnus.com>
1450         * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support.
1452 Fri Apr 21 13:20:53 2000  Richard Henderson  <rth@cygnus.com>
1453                           David Mosberger  <davidm@hpl.hp.com>
1455         * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o.
1456         (eelf64_ia64.c): New rule.
1457         * Makefile.in: Rebuild.
1458         * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets.
1459         * emulparams/elf64_ia64.sh: New file.
1461 2000-04-21  Richard Henderson  <rth@cygnus.com>
1463         * scripttempl/elfd30v.sc: Place .gcc_except_table.
1465 2000-04-19  Alan Modra  <alan@linuxcare.com.au>
1467         * dep-in.sed: Match space at start of file name, not at end.
1469 2000-04-18  H.J. Lu  <hjl@gnu.org>
1471         * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
1472         lang_leave_output_section_statement () after calling
1473         lang_enter_output_section_statement ().
1474         * emultempl/armelf.em: Likewise.
1476 2000-04-18  Alan Modra  <alan@linuxcare.com.au>
1478         * emultempl/elf32.em (struct orphan_save): Add section field.
1479         (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in
1480         better order, and place first orphan section as we did before the
1481         2000-04-12 patch.  Ignore ~SEC_ALLOC sections when choosing place.
1482         Don't call make_bfd_section here, let wild_doit do the job for us.
1483         Don't build a statement list when we'll only throw it away.
1484         * emultempl/armelf.em: Ditto.
1485         * emultempl/pe.em: Similarly.
1487 2000-04-14  Geoff Keating  <geoffk@cygnus.com>
1489         * scripttempl/elfppc.sc: Remove.
1490         * emulparams/elf32ppc.sh: Use elf.sc.
1491         * emulparams/elf32lppc.sh: Use elf.sc.
1492         * emulparams/elf32ppclinux.sh: Use elf.sc.
1493         * emulparams/elf32ppcsim.sh: New file.
1494         * emulparams/elf32lppcsim.sh: New file.
1495         * Makefile.am: Update dependencies.  Add elf32ppcsim ad elf32lppcsim.
1496         (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim.
1497         * Makefile.in: Regenerate.
1498         * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim.
1500 2000-04-14  Alan Modra  <alan@linuxcare.com.au>
1502         * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process
1503         ~SEC_ALLOC sections too.  Init start address of debug sections.
1504         * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto.
1505         * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto.
1506         Also set all relocateable section start addresses.
1508 2000-04-13  Geoff Keating  <geoffk@cygnus.com>
1510         * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections.
1511         Add new BSS_PLT variable for when .plt need not be contained in
1512         the file.  Move _etext so that it is also after .fini, and provide
1513         both etext and _etext with a leading underscore.  Mark the start
1514         and end of .sbss.
1516 2000-04-12  Alan Modra  <alan@linuxcare.com.au>
1518         * emultempl/elf32.em (struct orphan_save): New.
1519         (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
1520         hold_interp): Make them struct orphan_save.
1521         (gld${EMULATION_NAME}_place_section): Modify for new hold_*.
1522         (gld${EMULATION_NAME}_place_orphan): Add new orphan sections to
1523         the end of the relevant section list.  Also add associated section
1524         statements to the end of any previous orphan statements.
1525         * emultempl/armelf.em: Similarly.
1526         * emultempl/pe.em: Similarly.
1528 2000-04-11  Alan Modra  <alan@linuxcare.com.au>
1530         * ld.texinfo (Simple Example): Remove extraneous paragraph.
1532 Fri Apr  7 15:56:57 2000  Andrew Cagney  <cagney@b1.cygnus.com>
1534         * configure.in (WARN_CFLAGS): Set to -W -Wall by default.  Add
1535         --enable-build-warnings option.
1536         * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
1537         * Makefile.in, configure: Re-generate.
1539 2000-04-04  Alan Modra  <alan@linuxcare.com.au>
1541         * po/ld.pot: Regenerate.
1543         * lexsup.c (help): Restore translated part of bug string.
1545         * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
1546         (DEP): Quote when passing vars to sub-make.  Add warning message
1547         to end.
1548         (DEP1): Rewrite for "gcc -MM".
1549         (CLEANFILES): Add DEP2.
1550         Update dependencies.
1551         * Makefile.in: Regenerate.
1553 2000-04-03  Alan Modra  <alan@linuxcare.com.au>
1555         * ld.h: #include "bin-bugs.h"
1556         * lexsup.c (help): Use REPORT_BUGS_TO.
1558 2000-03-27  Denis Chertykov  <denisc@overta.ru>
1560         * configure.tgt (avr-*-*): New target support.
1561         * Makefile.am: Likewise.
1562         * scripttempl/elf32avr.sc: New script file.
1563         * emulparams/avr1200.sh: New file.
1564         * emulparams/avr23xx.sh: New file.
1565         * emulparams/avr4433.sh New file.
1566         * emulparams/avr44x4.sh New file.
1567         * emulparams/avr85xx.sh New file.
1568         * emulparams/avrmega103.sh New file.
1569         * emulparams/avrmega161.sh New file.
1570         * emulparams/avrmega603.sh New file.
1571         * Makefile.in: Regenerate.
1573 2000-03-09  Andreas Jaeger  <aj@suse.de>
1575         * Makefile.am (check-DEJAGNU): Also unset LANG.
1576         * Makefile.in: Rebuild.
1578 2000-03-06  Ian Lance Taylor  <ian@zembu.com>
1580         * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty
1581         archive.
1583 2000-03-02  H.J. Lu  <hjl@gnu.org>
1585         * emulparams/elf32mcore.sh: Include "getopt.h".
1587 2000-03-01  Ian Lance Taylor  <ian@zembu.com>
1589         * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware.
1591 2000-03-01  H.J. Lu  <hjl@gnu.org>
1593         * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR.
1594         * emulparams/shpe.sh: Likewise.
1596 2000-03-01  Nick Clifton  <nickc@cygnus.com>
1598         * pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED
1599         to unused parameters.
1601         * emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static
1602         functions only used by DLL code.
1603         (_place_orphan): Initialise 'dollar'.
1605 2000-03-01  H.J. Lu  <hjl@gnu.org>
1607         * ldmain.c (undefined_symbol): Take one more arg, fatal, to
1608         indicate if the undefined symbol is a fatal error or not.
1609         Don't delete the output file if "fatal" is false.
1611 2000-02-29  H.J. Lu  <hjl@gnu.org>
1613         * Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)".
1614         Set LC_COLLATE and LC_ALL to null and export them. It is for
1615         sort which expects the C locale.
1616         Add $(LIBS) to all $(HOSTING_LIBS).
1617         * Makefile.in: Rebuild.
1619 2000-02-29  Alan Modra  <alan@spri.levels.unisa.edu.au>
1621         * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em,
1622         beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em,
1623         linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em}
1624         (ld_emulation_xfer_struct): Add missing NULL initialiser for
1625         find_potential_libraries.
1627 2000-02-28  Jim Blandy  <jimb@redhat.com>
1629         * ldgram.y (exclude_name_list): Don't require a comma to separate
1630         list entries; the lexer considers commas to be valid part of a
1631         filename, so in something like `foo, bar' the comma is considered
1632         part of the first filename, `foo,'.
1633         * ld.texinfo: Update section on EXCLUDE_FILE lists.
1635 2000-02-27  Loren J. Rittle  <ljrittle@acm.org>
1637         * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
1638         host "i[3456]86-*-freebsdelf*".
1640 2000-02-27  Mark Elbrecht  <snowball3@bigfoot.com>
1642         * scripttempl/i386go32.sc: Move misplaced semicolons.
1644 2000-02-25  Ian Lance Taylor  <ian@zembu.com>
1646         * Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o.
1647         (ALL_64_EMULATIONS): Remove eelf64hppa.o.
1648         (eelf64hppa.c, ehppaelf.c): Remove targets.
1649         * Makefile.in: Rebuild.
1651 2000-02-25  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
1653         * configure.tgt (targ_extra_ofiles): Enable elf64_sparc on
1654         GNU/Linux/sparc, but keep the default as 32.
1656         * configure.tgt: Enable elf64_sparc on Solaris7+/sparc.  And make
1657         it default if sparcv9 or sparc64.
1659 2000-02-24  Nick Clifton  <nickc@cygnus.com>
1661         * Makefile.am: Add rules to build emipspe.o and earmpe.o.
1662         * Makefile.in: Regenerate.
1663         * configure.tgt: Add targets for arm-wince, sh-pe and mips-pe.
1665         * ldemul.h (ld_emulation_xfer_struct): Add new field:
1666         find_potential_libraries.
1667         * ldemul.c (ldemul_find_potential_libraries): New function.
1669         * ldfile.c (ldfile_open_file_search): Allow function to be
1670         exported.
1671         (ldfile_open_file): Call ldemul_find_potential_libraries.
1672         * ldfile.h: Add prototype for ldfile_open_file_search.
1674         * pe-dll.c: Add support for ARM, MIPS and SH targets.
1676         * emulparams/mipspe.sh: New file.  Parameters for mips-pe target.
1677         * emulparams/shpe.sh: New file.  Parameters for sh-pe target.
1679         * emultempl/pe.em: Add support for ARM, MIPS and SH DLLs.
1680         (gld_X_find_potential_libraries): New function.  Search for
1681         libraries called "*.lib".
1683         * scripttempl/pe.sc: Add .pdata section.
1685 2000-02-23  Richard Henderson  <rth@cygnus.com>
1687         * scripttempl/elfd10v.sc: Remove dynamic linking hooks.
1688         Add and use memory regions.
1690 2000-02-23  Linas Vepstas (linas@linas.org)
1692         * emulparams/elf32i370.sh, scripttempl/elfi370.sc: New.
1694         * Makefile.am: Add support for Linux/IBM 370.
1695         * configure.tgt: Likewise.
1697         * Makefile.in: Regenerate.
1699 2000-02-21  Alan Modra  <alan@spri.levels.unisa.edu.au>
1701         * ldlang.c (print_input_section, print_data_statement,
1702         print_reloc_statement, print_padding_statement, insert_pad,
1703         size_input_section, lang_check_section_addresses,
1704         lang_size_sections, lang_do_assignments, lang_set_startof,
1705         lang_one_common): Change `opb' to unsigned.
1706         (lang_do_assignments): Also change `size' to unsigned.
1708 2000-02-16  Richard Henderson  <rth@cygnus.com>
1710         * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION.
1712 2000-02-16  Timothy Wall  <twall@cygnus.com>
1714         * mri.c (mri_draw_tree): Add default LMA region argument to call
1715         to lang_leave_output_section_statement.
1716         * ldlang.h: Update prototypes with LMA region arguments.
1717         * ldlang.c (lang_size_sections): Encapsulate region bounds
1718         checking in os_check_region call.
1719         (os_check_region): New function.
1720         (lang_output_section_statement_lookup): Initialize lma_region.
1721         (lang_leave_output_section_statement): Add LMA region argument.
1722         (lang_leave_overlay): Ditto.
1723         * ldgram.y: Handle LMA region syntax.
1724         * ld.texinfo (Output Section Description): Describe LMA region usage.
1725         * emultempl/armelf.em (gld$place_orphan): Add default value for
1726         lma region in call to lang_leave_output_section_statement.
1727         * emultempl/elf32.em (gld$place_orphan): Add default value for
1728         lma region in call to lang_leave_output_section_statement.
1729         * emultempl/pe.em (gld$place_orphan): Add default value for
1730         lma region in call to lang_leave_output_section_statement.
1733 2000-02-04  Timothy Wall  <twall@redhat.com>
1735         * ldlang.c (lang_check_section_addresses): Use bytes instead of
1736         octets when calculating section end addresses.
1738 2000-02-04  Timothy Wall  <twall@redhat.com>
1740         * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation.
1742 2000-02-03  Timothy Wall <twall@redhat.com>
1744         * ldexp.c (fold_name): Make SIZEOF operator return byte count, not
1745         octet count.
1746         * ldlang.c (print_input_section, print_data_statement,
1747         print_reloc_statement, print_padding_statement): Print target
1748         address values and section sizes as bytes, not octets.
1749         (insert_pad) Calculate padding size in octets, and adjust "dot"
1750         by bytes.
1751         (size_input_section) Always adjust "dot" by bytes, not octets.
1752         (lang_check_section_addresses, lang_do_assignments) Adjust
1753         "dot" by bytes, not octets.  Use the larger of the directive size
1754         or octets_per_byte for the number of octets actually allocated in
1755         the output section.
1756         (lang_set_startof) Make sure STARTOF returns a target address.
1757         (lang_one_common) Record size changes in octets.
1758         (lang_abs_symbol_at_end_of) Section end symbol's value is
1759         recorded in target bytes.
1760         * ld.texinfo:   Updated description of BYTE, SHORT, LONG, etc.
1761         to be clear about behavior when an octet is smaller than one byte.
1763 2000-01-27  Alan Modra  <alan@spri.levels.unisa.edu.au>
1765         * ldcref.c (output_cref): Don't pass message strings to printf
1766         as format arg.
1767         Update copyright.
1769         * ldmisc.c (vfinfo): Same here.
1770         Update copyright.
1772 2000-01-23  Alan Modra  <alan@spri.levels.unisa.edu.au>
1774         * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em,
1775         generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em,
1776         mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct):
1777         Add missing NULL initialisers, and comments.
1779         * testsuite/ld-srec/sr3.cc (__rethrow): New.
1781 2000-01-21  Nick Clifton  <nickc@cygnus.com>
1783         * ldlang.c (lang_size_sections): Fix typo in comment.
1785 2000-01-18  H.J. Lu  <hjl@gnu.org>
1787         * ldlang.c (lang_size_sections): Also update the current
1788         address of a region if the SEC_NEVER_LOAD bit is not set.
1790 2000-01-10  Philip Blundell  <pb@futuretv.com>
1792         * configure.tgt (arm*-*-conix*): New target.
1794 2000-01-07  Nick Clifton  <nickc@cygnus.com>
1796         * ld.texinfo (Options): Remind users to preceed linker command
1797         line switches with -Wl, (or whatever is appropriate) if it is
1798         being invoked by a comnpiler driver program.
1799         Fix description of the behaviour of the -n command line switch.
1801 Wed Jan  5 08:02:12 2000  Catherine Moore  <clm@cygnus.com>
1803         * ld.h (wildcard_spec):  Change exclude_name to exclude_name_list.
1804         (name_list): New.
1805         * ld.texinfo (EXCLUDE_FILE): Update documentation.
1806         * ldgram.y (wildcard_spec): Support a list of excluded_files.
1807         (exclude_name_list): New.
1808         ldlang.c (walk_wild_section): Support list of excluded files.
1809         (print_wild_statement): Likewise.
1810         (lang_add_wild): Likewise.
1811         * ldlang.h (lang_wild_statement_type): Likewise.
1812         * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support.
1814 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
1816         * pe-dll.c (pe_dll_warn_dup_exports): New variable.
1817         (process_def_file): Use.
1818         (pe_dll_compat_implib): New variable.
1819         (make_one): Use.
1821         * pe-dll.h: Add exports of pe_dll_warn_dup_exports and
1822         pe_dll_compat_implib.
1824         * emultempl/pe.em (longopts): Add warn-duplicate-exports and
1825         compat-implib options.
1826         (gld_${EMULATION_NAME}_list_options): List new options.
1827         (gld_${EMULATION_NAME}_parse_args): Handle.
1829         * pe-dll.c (pe_dll_generate_implib): Use the correct name for output
1830         dll.
1832         * deffilep.y (opt_name): Allow "." in name.
1834 For older changes see ChangeLog-9899
1836 Local Variables:
1837 mode: change-log
1838 left-margin: 8
1839 fill-column: 74
1840 version-control: never
1841 End: