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