file ld.info-6 was initially added on branch binutils-2_11-branch.
[binutils.git] / ld / ChangeLog
blobf3640241a9c5ea7b5a340d269e30bdc9e19e59bf
1 2001-03-07  Michael Meissner  <meissner@redhat.com>
3         * scripttempl/elfd10v.sc (.rodata,.rodata1,.data1,.sdata): Deal
4         with sections created by -fdata-sections.
5         (.dynbss,.bss): Ditto.
7 2001-03-05  Alan Modra  <alan@linuxcare.com.au>
9         * emultempl/m68kelf.em (m68k_elf_after_allocation): Call
10         after_allocation_default, not gld..._before_allocation.
12 2001-02-28  Matt Hiller  <hiller@redhat.com>
14         * testsuite/ld-scripts/crossref.exp: Initialize flags to
15         [big_or_little_endian].
16         * testsuite/ld-undefined/undefined.exp: Ditto, and include $flags
17         in ld invocations.
18         * testsuite/lib/ld-lib.exp (big_or_little_endian): Recognize -EB,
19         -eb, -EL and -el.
20         (is_endian_output_format): New function.
21         (default_ld_link): Set flags to [big_or_little_endian] only if ld
22         is being invoked such that the output format being used is of
23         known endianness.
24         (default_ld_simple_link): Ditto.
26 2001-02-27  Alan Modra  <alan@linuxcare.com.au>
28         * configure.in (BFD_VERSION): New.
29         (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
30         * configure: Regenerate.
31         * Makefile.am: Run "make dep-am"
32         * Makefile.in: Regenerate.
34 2001-02-26  Timothy Wall  <twall@cygnus.com>
36         * emulparams/elf64_aix.sh: Add additional read-only sections;
37         uncomment lines which are now required.
39 2001-02-26  H.J. Lu  <hjl@gnu.org>
41         * ldlang.c (open_input_bfds): Set the bfd error handler so
42         that problems can be caught whilst loading symbols.
43         (record_bfd_errors): New function: Report BFD errors and mark
44         the executable output as being invalid.
46 2001-02-22  Timothy Wall  <twall@cygnus.com>
48         * configure.host: Add configuration for ia64-*-aix*.
49         * Makefile.am (ALL_64_EMULATIONS): Add emulation for ia64-*-aix*.
50         Add dependencies for eelf64_aix.c.
51         * Makefile.in: Regenerate.
52         * configure.tgt: Add ia64-*-aix* mapping.
53         * emulparams/elf64_aix.sh: Add settings for elf64 on aix5.
54         * testsuite/ld-bootstrap/boostrap.exp: Exclude ia64 flavor from
55         AIX-specific test. 
56         
57 2001-02-20  H.J. Lu  <hjl@gnu.org>
59         * ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to
60         false if we found the file.
62 2001-02-18  David O'Brien  <obrien@FreeBSD.org>
64         * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64,
65         FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries.
67 2001-02-18  lars brinkhoff  <lars@nocrew.org>
69         * Makefile.am: Add PDP-11 target.
70         * configure.tgt: Likewise.
71         * emulparams/pdp11.sh: New file.
73 2001-02-17  David O'Brien  <obrien@FreeBSD.org>
75         * configure.host: Add a generic FreeBSD configuration entry such that
76         all [modern] FreeBSD systems on all platforms will look the same.
78 2001-02-14  H.J. Lu  <hjl@gnu.org>
80         * configure.tgt: Remove mention of earmelf_linux26.
82 2001-02-13  Richard Henderson  <rth@redhat.com>
84         * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove.
86 2001-02-13  H.J. Lu  <hjl@gnu.org>
88         * ldexp.h (node_type): Add etree_provided.
89         * ldexp.c (exp_fold_tree): Handle etree_provided. Set the node
90         type to etree_provided if defined by PROVIDE. Allow updating
91         for etree_provided. 
92         (exp_print_tree): Handle etree_provided.
93         * mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle
94         etree_provided.
96 2001-02-09  David Mosberger  <davidm@hpl.hp.com>
98         * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add
99         .IA_64.unwind.* pattern to unwind table section and
100         .IA_64.unwind_info* pattern to unwind info section.
102 2001-02-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>
104         * Makefile.am: Add linux target for S/390.
105         * Makefile.in: Likewise.
106         * configure.host: Likewise.
107         * configure.tgt: Likewise.
108         * emulparams/elf64_s390.sh: New file.
109         * emulparams/elf_s390.sh: New file.
111 2001-02-09  Jakub Jelinek  <jakub@redhat.com>
113         * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into
114         targ_extra_libpath.
115         (sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath.
117 2001-02-06  Philip Blundell  <philb@gnu.org>
119         * Makefile.am: Remove mention of earmelf_linux26.
120         * Makefile.in: Regenerate.
122 2001-02-04  Philip Blundell  <philb@gnu.org>
124         * emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000.
125         * emulparams/armelf_linux26.sh: Delete.
126         * configure.tgt: Remove mention of armelf_linux26 emulation.
128 2001-02-01  Nick Clifton  <nickc@redhat.com>
130         * ld.1: Replace occurances of -oformat with --oformat.
132 2001-01-25  Jim Driftmyer <jdrift@stny.rr.com>
134         * ldlang.c (lang_leave_overlay): Don't set lma_region when
135         load_base is specified.
137 2001-01-24  Hans-Peter Nilsson  <hp@axis.com>
139         * emultempl/elf32.em: Correct spelling in comments and listed
140         options.
142 2001-01-23  Alan Modra  <alan@linuxcare.com.au>
144         * ldlang.c (lang_leave_overlay): Only set lma_region from the
145         default for the first section of a group of overlay sections.
147 2001-01-22  Alan Modra  <alan@linuxcare.com.au>
149         * Makefile.am (GENSCRIPTS): Pass exec_prefix.
150         * Makefile.in: Regenerate.
151         * genscripts.sh: Use exec_prefix parameter to specify tool lib.
152         Check for null tool_dir.
154 2001-01-16  Jim Wilson  <wilson@redhat.com>
156         * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind
157         and IA_64.unwind.info.
159 2001-01-16  H.J. Lu  <hjl@gnu.org>
161         * ldlang.c (lang_check): Merge the private data only if the
162         input file has contents.
164 2001-01-14  Alan Modra  <alan@linuxcare.com.au>
166         * emulparams/hppalinux.sh (OUTPUT_FORMAT): Set to elf32-hppa-linux.
168         * emultempl/hppaelf.em (hppaelf_after_parse): New function,
169         enabling search for libmilli.  On a relocatable link, make .text
170         sections unique.
171         (LDEMUL_AFTER_PARSE): Define.
172         (hppaelf_finish): Correct spelling of relocatable in comments.
174         * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
175         rummage through the script for sections on the unique list.
176         Correct length of strncmp for ".note".
177         (gld${EMULATION_NAME}_check_needed): Rearrange function.
179         * ldlang.c (unique_section_list): New var.
180         (unique_section_p): New function.
181         (walk_wild_section): Don't match sections on unique_section_list.
182         (lang_add_unique): New function.
183         Correct spelling of relocatable in comments.
185         * ldlang.h (struct unique_sections): Declare.
186         (unique_section_list): Declare.
187         (unique_section_p): Declare.
188         (lang_add_unique): Declare.
190         * lexsup.c (ld_options): Allow --unique to take an optional arg.
191         (parse_args [OPTION_UNIQUE]): Call lang_add_unique.
193         * ld.texinfo (--unique): Update.
195 2001-01-13  Nick Clifton  <nickc@redhat.com>
197         * lexsup.c (parse_args): Remove spurious white space.
199 2001-01-12  Nick Clifton  <nickc@redhat.com>
201         * lexsup.c (parse_args): Update copyright date.
203 2001-01-12  Philip Blundell  <pb@futuretv.com>
205         * configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin.
207 2001-01-10  Kazu Hirata  <kazu@hxi.com>
209         * scripttempl/h8300.sc: Fix formatting.  Fix a comment typo.
210         * scripttempl/h8300h.sc: Fix formatting.
211         * scripttempl/h8300s.sc: Likewise.
212         * scripttempl/h8500.sc: Likewise.
213         * scripttempl/h8500b.sc: Likewise.
214         * scripttempl/h8500c.sc: Likewise.
215         * scripttempl/h8500m.sc: Likewise.
216         * scripttempl/h8500s.sc: Likewise.
218 2000-01-07  David O'Brien  <obrien@BSDi.com>
220         * emultempl/elf32.em: Only perform Linux ld hints processing when
221         targeting Linux.
223 2001-01-07  Philip Blundell  <philb@gnu.org>
225         * ld.texinfo (Bug Reporting): Update email address for reports.
227 2000-12-31  Nick Clifton  <nickc@redhat.com>
229         * lexsup.c (parse_args): Set opterr to 0 and detect unparsed long
230         options by checking for a return value of '?' not -1.
232 2000-12-28  Nick Clifton  <nickc@redhat.com>
234         * lexsup.c (struct ld_option): Add new enum value:
235         EXACTLY_TWO_DASHES.
236         (ld_options[]): Change -omagic, -output and -oformat options
237         to be EXACTLY_TWO_DASHES.
238         (OUTPUT_COUNT): Use ARRAY_SIZE.
239         (parse_args): Change parameter 'argc' to unsigned.
240         Place EXACTLY_TWO_DASHES options into new really_longopts
241         array.
242         If getopt_long_only fails, try calling getopt_long using the
243         really_longopts array.
244         (help): Print a double dash for both EXACTLY_TWO_DASHES and
245         TWO_DASHES options.
247         * ldlex.h: Fix prototype of parse_args.
249         * ld.texinfo: Document that long options starting with 'o'
250         must be preceeded by two dashes.  Change example of a single
251         dashed long option from -oformat to -trace-symbol.
253 2000-12-26  Danny Smith  <danny_r_smith_2001@yahoo.co.nz>
255         * emultempl/pe.em (OPTION_NO_DEFAULT_EXCLUDES): Define.
256         (longopts[]): New --no-default-excludes option.
257         (gld_${EMULATION_NAME}_list_options): Document.
258         (gld_${EMULATION_NAME}_parse_args): Handle.
260 2000-12-13  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
262         * ldlang.c (new_stat): Revert the last beautification with "innocent"
263         whitespace, it breaks the K&R C preprocessor.
265 2000-12-11  DJ Delorie  <dj@redhat.com>
267         * ld.texinfo: Add notes about --whole-archive and gcc.
269 2000-11-18  Fred Fish  <fnf@be.com>
271         * lexsup.c (OPTION_ALLOW_SHLIB_UNDEFINED): Define.
272         (ld_options): Entry for --allow-shlib-undefined.
273         (parse_args): Handle OPTION_ALLOW_SHLIB_UNDEFINED.
274         * ldmain.c (main): Initialize link_info.allow_shlib_undefined
275         to false.
276         * ld.texinfo: Document new command line switch.
278 2000-12-12  Geoffrey Keating  <geoffk@redhat.com>
280         * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS):
281         .fixup is actually read/write.
282         * emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
283         * emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
284         * emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
286 Mon Dec 11 14:50:33 MET 2000  Jan Hubicka  <jh@suse.cz>
288         * NEWS: Add note about x86_64 architecture.
290 2000-12-06  Mark Elbrecht  <snowball3@bigfoot.com>
292         * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end.
293         Set DWARF2 sections to a VMA of zero.
295 2000-12-01      Joel Sherrill <joel@OARcorp.com>
297         * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
298         New targets.
299         (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
300         (sparc*-*-rtems*): Switched from a.out to ELF.
302 2000-11-30  Jan Hubicka  <jh@suse.cz>
304         * Makefile.am (ALL_EMULATIONS): Add eelf_x86_64.o
305         (eelf_x86_64.c): New.
306         * Makefile.in: Regenerate.
307         * configure.tgt: Add support for x86_64-*-linux-gnu*.
308         * emulparams/elf_x86_64.sh: New.
310 2000-11-30  Hans-Peter Nilsson  <hp@axis.com>
312         * emulparams/crislinux.sh (ENTRY): Change back to _start.
313         (TEXT_START_SYMBOLS): Remove conditional setting of __start.
315         * scripttempl/crisaout.sc: Change all RELOCATING not related to
316         merging non-a.out sections into CONSTRUCTING.
318 2000-11-28  Nick Clifton  <nickc@redhat.com>
320         * ld.1 (COPYING): Mention that the GNU Free Documentation
321         License is present in the sources, but not the output, and
322         also available from the GNU website.
323         (GNU Free Documentation License): Comment out this section.
325 2000-11-28  David O'Brien  <obrien@dragon.nuxi.com>
327         * emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF
328         does not use them.
330 2000-11-25  David O'Brien  <obrien@FreeBSD.org>
332         * ld.1: Remove old date so it does not give the impression the manpage
333         is way out of date.
335 2000-11-24  Nick Clifton  <nickc@redhat.com>
337         * configure.tgt (xscale-coff): Add target.
338         (xscale-elf): Add target.
340 2000-11-24  Fred Fish  <fnf@be.com>
342         * ldmain.c (main): Remove redundant init of config.make_executable
343         to true.
345 2000-11-15  Richard Henderson  <rth@redhat.com>
347         * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M.
349 2000-11-14  Kazu Hirata  <kazu@hxi.com>
351         * scripttempl/h8300.sc: Fix formatting.
352         * scripttempl/h8300h.sc: Likewise.
353         * scripttempl/h8300s.sc: Likewise.
355 Tue Nov 14 00:59:19 2000  Denis Chertykov  <denisc@overta.ru>
357         * scripttempl/elf32avr.sc: Fix bug in .eeprom segment.
359 2000-11-09  Philip Blundell  <pb@futuretv.com>
361         * emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME
362         around orphan sections whose names can be represented in C.
364 2000-11-07  Jim Wilson  <wilson@redhat.com>
366         * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local
367         hold_sdata.  If SEC_SMALL_DATA set, set place to hold_sdata.
369 2000-11-06  Nick Clifton  <nickc@redhat.com>
371         * ld.texinfo: Add GNU Free Documentation License.
372         * ldint.texinfo: Add GNU Free Documentation License.
373         * ld.1: Add GNU Free Documentation License.
375 2000-11-05  Alan Modra  <alan@linuxcare.com.au>
377         * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer,
378         yy_is_interactive, yy_at_bol, and yy_fill_buffer.
380         * Makefile.am (DISTCLEANFILES): Add stringify.sed.
381         Move 2000-11-02 Makefile.in changes to this file.
382         * Makefile.in: Regenerate.
384 2000-11-03  Nick Clifton  <nickc@redhat.com>
386         * scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose
387         constructors and destructors.
388         * scripttempl/h8300h.sc: Ditto.
389         * scripttempl/h8300s.sc: Ditto.
390         * scripttempl/h8500.sc: Ditto.
391         * scripttempl/h8500b.sc: Ditto.
392         * scripttempl/h8500c.sc: Ditto.
393         * scripttempl/h8500m.sc: Ditto.
394         * scripttempl/h8500s.sc: Ditto.
395         * scripttempl/v850.sc: Ditto.
396         * scripttempl/w65.sc: Ditto.
397         * scripttempl/z8000.sc: Ditto.
399 2000-11-02  Per Lundberg  <plundis@chaosdev.org>
401         * Makefile.in (e_i386_chaos.c): New rule.
402         (ALL_EMULATIONS): Added e_i386_chaos.o.
403         * emulparams/elf_i386_chaos.sh: New file.
404         * configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos.
406 2000-10-20  Jakub Jelinek  <jakub@redhat.com>
408         * emulparams/elf64_sparc.sh (TEXT_START_ADDR,
409         NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets.
410         Fix sed invocation, so that it coped with '/' in Solaris 64bit
411         library path suffix.
412         Based on patch by Andrew Macleod <amacleod@cygnus.com>.
414 2000-10-18  Hans-Peter Nilsson  <hp@axis.com>
416         * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),
417         for consecutive sections.
419 2000-10-17  Chandrakala Chavva  <cchavva@redhat.com>
421         * lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific
422         options.
423         * ld.texinfo: Added notes about this new option.
425 2000-10-16  Nick Clifton  <nickc@redhat.com>
427         * emultempl/pe.em (_after_open): Add tests of return values from
428         bfd functions.  Emit appropriate error messages if necessary.
430 2000-10-13  Nick Clifton  <nickc@redhat.com>
432         * emultempl/pe.em (_after_open): Delete 'is2' and 'nsyms'
433         local variables - they are not used, but leave in the call to
434         bfd_canonicalize_symtab.
435         (_open_dynamic_archive): Add #ifdef DLL_SUPPORT around use of
436         pe_dll_search_prefix.
438 2000-10-12  Charles Wilson  <cwilson@ece.gatech.edu>
440         * emultempl/pe.em (pe_dll_search_prefix): New variable,
441         (longopts): New --dll-search-prefix option.
442         (gld_${EMULATION_NAME}_list_options): Document.
443         (gld_${EMULATION_NAME}_parse_args): Handle.
444         (gld_${EMULATION_NAME}_open_dynamic_archive): When linking
445         dynamically, search for a dll named '<prefix><basename>.dll'
446         in preference to 'lib<basename>.dll' if --dll-search-prefix
447         is specified.
449 2000-10-12  Alan Modra  <alan@linuxcare.com.au>
451         * ldlang.c (section_already_linked): Set kept_section instead of
452         sec->comdat->sec.
454 2000-10-10  Kazu Hirata  <kazu@hxi.com>
456         * deffile.h: Fix formatting.
457         * lexsup.c: Likewise.
458         * mri.c: Likewise.
460 2000-10-09  Paul Sokolovsky  <Paul.Sokolovsky@technologist.com>
462         * pe-dll.c (make_one): Do not generate code thunk for DATA
463         exports.
464         (process_def_file): deduce DATA flag for auto-export sumbols.
466 2000-10-09  Kazu Hirata  <kazu@hxi.com>
468         * ld.h: Fix formatting.
469         * ldcref.c: Likewise.
470         * ldctor.h: Likewise.
471         * ldemul.c: Likewise.
472         * ldemul.h: Likewise.
473         * ldexp.c: Likewise.
474         * ldexp.h: Likewise.
475         * ldfile.c: Likewise.
476         * ldfile.h: Likewise.
477         * ldlang.c: Likewise.
478         * ldlang.h: Likewise.
479         * ldmain.c: Likewise.
480         * pe-dll.c: Likewise.
482         * pe-dll.c: Revert some formatting fixes.
484 2000-10-08  Kazu Hirata  <kazu@hxi.com>
486         * pe-dll.c: Fix formatting.
488 2000-10-05  Kazu Hirata  <kazu@hxi.com>
490         * ldlang.c: Fix formatting.
492 2000-10-03  DJ Delorie  <dj@redhat.com>
494         * pe-dll.c (fill_edata): initialize entire block
495         (make_one): fill in correct section.
497 2000-10-03  Kazu Hirata  <kazu@hxi.com>
499         * ldexp.c: Fix formatting.
501 2000-10-02  DJ Delorie  <dj@redhat.com>
503         * emultempl/pe.em (gld_*_after_open): detect case where there two
504         import libraries for same dll; rename one to ensure proper link
505         order.
507         * pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix
508         typo
509         (generate_edata): fix typo
511 2000-09-29  Hans-Peter Nilsson  <hp@axis.com>
513         * scripttempl/crisaout.sc (ENTRY): Now __start.
514         (.text): Add default setting for __start.
515         Remove CONSTRUCTORS handling.
516         (/DISCARD/): Add .gnu.warning.*.
517         * emulparams/crislinux.sh (ENTRY): Now __start.
518         (TEXT_START_SYMBOLS): New; provide __Stext and __start default.
519         * emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris.
520         (ENTRY): Now __start.
521         (INITIAL_READONLY_SECTIONS): Add KEEP for .startup.
522         (EXECUTABLE_SYMBOLS): Add default setting for __start.
524 2000-09-29  Kazu Hirata  <kazu@hxi.com>
526         * deffile.h: Fix formatting.
527         * ld.h: Likewise.
528         * ldcref.c: Likewise.
529         * ldctor.c: Likewise.
530         * ldctor.h: Likewise.
531         * ldemul.c: Likewise.
532         * ldemul.h: Likewise.
533         * ldexp.c: Likewise.
534         * ldexp.h: Likewise.
535         * ldfile.c: Likewise.
536         * ldfile.h: Likewise.
537         * ldlang.c: Likewise.
538         * ldlang.h: Likewise.
539         * lexsup.c: Likewise.
540         * mri.c: Likewise.
541         * pe-dll.c: Likewise.
543 2000-09-28  Paul Sokolovsky  <Paul.Sokolovsky@technologist.com>
545         * pe-dll.c (process_def_file): Uninitialized data wasn't
546         exported with --export-all-symbols switch.
548 2000-09-28  DJ Delorie  <dj@redhat.com>
550         * pe-dll.c (fill_edata): rearrange the data so that ordinals and
551         noname work properly.
553 2000-09-28  Alan Modra  <alan@linuxcare.com.au>
555         * ld.texinfo (HPPA ELF32): New section.
557         * emultempl/hppaelf.em (group_size): New.
558         (hppaelf_finish): Pass group_size to elf32_hppa_size_stubs.
559         (PARSE_AND_LIST_PROLOGUE): Add OPTION_STUBGROUP_SIZE.
560         (PARSE_AND_LIST_LONGOPTS): Add --stub-group-size.  Duplicate
561         options to prevent abbreviations matching.
562         (PARSE_AND_LIST_OPTIONS): Describe the above.  Reformat.
563         (PARSE_AND_LIST_ARGS_CASES): Handle it.
565 2000-09-21  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
567         * emultempl/m68kelf.em: Conditionalise the embedded relocs feature
568         on the m68*-*-elf target.  Make it support COFF input objects.
570 2000-09-21  Kazu Hirata  <kazu@hxi.com>
572         * ldmain.c: Fix formatting.
573         * ldmisc.c: Likewise.
574         * ldver.c: Likewise.
575         * ldwrite.c: Likewise.
577 2000-09-21  Alan Modra  <alan@linuxcare.com.au>
579         * ldwrite.c (clone_section): Silence gcc warnings.
581 2000-09-20  Alan Modra  <alan@linuxcare.com.au>
583         * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Handle
584         out of memory failure.
586         * ldwrite.c (ldwrite): Remove unnecessary einfo arg.
587         (clone_section): Handle out of memory failures.  Rename var to
588         avoid c++ reserved word.
590 2000-09-18  Alan Modra  <alan@linuxcare.com.au>
592         * emultempl/hppaelf.em (hppaelf_add_stub_section): Rename
593         stub_name param to stub_sec_name.
594         (hppaelf_finish): Modify call to elf32_hppa_size_stubs.
596 2000-09-10  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
598         * emultempl/m68kelf.em: New file.
599         * emulparams/m68kelf.sh (EXTRA_EM_FILE): Use it.
600         * Makefile.am (em68kelf.c): Add dependency on m68kelf.em.
601         * Makefile.in: Regenerate.
603 2000-09-15  Alan Modra  <alan@linuxcare.com.au>
605         * emulparams/hppalinux.sh (DATA_START_SYMBOLS): Provide $global$
606         only as needed.
608 2000-09-13  Nick Clifton  <nickc@redhat.com>
610         * ldmain.c (multiple_definition): Disable relaxation if
611         multiple symbol definitions are encountered - otherwise the
612         linker could abort with an assertion failure.
614 2000-09-10  Nick Clifton  <nickc@redhat.com>
616         * mri.c: Fix formatting.
618 2000-09-07  H.J. Lu  <hjl@gnu.org>
620         * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
621         * configure: Rebuild.
623 2000-09-07  H.J. Lu  <hjl@gnu.org>
625         * Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h.
626         * Makefile.in: Rebuild.
628 2000-09-07  Alan Modra  <alan@linuxcare.com.au>
630         * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Fix
631         broken list handling.  Create __start_SECNAME and __stop_SECNAME
632         when no place-holder.  Add some comments.  Test both SEC_CODE and
633         SEC_READONLY for hold_text to prevent .rodata orphan poisoning.
634         Handle case where no output section statement created.
636 2000-09-07  Niibe Yutaka  <gniibe@m17n.org>, Kaz Kojima  <kkojima@rr.iij4u.or.jp>, Alexandre Oliva  <aoliva@redhat.com>
638         * configure.tgt (sh-*-linux*): Added.
639         * Makefile.am: Added eshelf_linux and eshlelf_linux.
640         * Makefile.in: Rebuilt.
641         * emulparams/shelf_linux.sh: New file.
642         * emulparams/shlelf_linux.sh: New file.
644 2000-09-06  Alan Modra  <alan@linuxcare.com.au>
646         * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
647         try shuffling sections when the orphan happens to be the place
648         holder.  Keep count of unique section names generated so we speed
649         the search for a new name.
651 2000-09-06  Alexandre Oliva  <aoliva@redhat.com>
653         * configure: Rebuilt with new libtool.m4.
655 2000-09-05  Nick Clifton  <nickc@redhat.com>
657         * Makefile.in: Regenerate.
658         * aclocal.m4: Regenerate.
659         * configure: Regenerate.
660         * config.in: Regenerate.
661         * po/ld.pot: Regenerate.
663         * ldint.texinfo: Remove CVS revision marker - it foils local
664         comparisons.
666         * emultempl/ticoff.em: Remove extraneous comma.
668 2000-09-05  Alan Modra  <alan@linuxcare.com.au>
670         * emultempl/hppaelf.em (hppaelf_add_stub_section): Add SEC_RELOC
671         to stub section flags.
672         (hppa_for_each_input_file_wrapper): New.
673         (hppa_lang_for_each_input_file): New.
674         (lang_for_each_input_file): Define to call above.
675         (multi_subspace): New.
676         (hppaelf_finish): Pass multi_subspace to elf32_hppa_size_stubs.
677         (PARSE_AND_LIST_PROLOGUE): Define.
678         (PARSE_AND_LIST_LONGOPTS): Define.
679         (PARSE_AND_LIST_OPTIONS): Define.
680         (PARSE_AND_LIST_ARGS_CASES): Define.
681         (hppaelf_finish): Call elf32_hppa_set_gp.
682         (hppaelf_set_output_arch): Remove.
683         (LDEMUL_SET_OUTPUT_ARCH): Remove.
685         * emulparams/hppalinux.sh (ELFSIZE): Define.
686         (MACHINE): Define.
687         (OTHER_READONLY_SECTIONS): Define.
688         (DATA_PLT): Define.
689         (GENERATE_SHLIB_SCRIPT): Define.
691         * ldlang.c: Add missing prototypes, and tidy others.  Change CONST
692         to const throughout.  Change `void *' to `PTR' throughout.
693         (lang_memory_default): Function is local to file, add `static'.
695         * Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em.
696         (ehppalinux.c): Likewise.
697         (earmelf.c): Likewise.
698         (earmelf_linux.c): Likewise.
699         (earmelf_linux26.c): Likewise.
700         * Makefile.in: Regenerate.
702         * ld.h (ld_config_type): Add unique_orphan_sections.
703         * lexsup.c (OPTION_UNIQUE): Define.
704         (ld_options): Add "--unique".
705         (parse_args): Handle it.
706         * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
707         search for an existing output section if unique_orphan_sections is
708         set.  Make use of bfd_get_unique_section_name rather than
709         duplicating code here.
710         * ld.texinfo: Describe --unique.
712         * lexsup.c (ld_options): Make split-by-reloc arg optional. Add
713         optional arg to split-by-file.
714         (parse_args): Handle them.
715         * ld.texinfo: Update description of these options.
716         * ldwrite.c (clone_section): Pass in the section name.  Replace
717         local code with bfd_get_unique_section_name.
718         (split_sections): Tidy code and comments.  Use a list traversal
719         more appropriate to the list construction.  Handle cooked section
720         sizes.  Split when split_by_reloc reached rather than exceeded.
721         Track section size and split when split_by_file reached.  Fix
722         link_order_tail (even though it's not used).
723         (ldwrite): Modify condition for calling split_sections to suit
724         changed split_by_reloc and split_by_file.
725         * ldmain.c (main): Init config.split_by_reloc and
726         config.split_by_file to -1.
727         * ld.h (ld_config_type): Change split_by_reloc to unsigned.
728         Change split_by_file to bfd_size_type.
730 2000-09-02  Nick Clifton  <nickc@redhat.com>
732         * configure.in: Increase version number to 2.10.91.
733         * NEWS: Mention new ability to support removal of duplicate DWARF2
734         debug information.
735         * configure: Regenerate.
736         * aclocal.m4: Regenerate.
737         * config.in: Regenerate.
739 2000-09-02  Daniel Berlin <dberlin@redhat.com>
741         * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info
742         sections.
743         * scripttempl/elf32var.sc: Ditto.
744         * scripttempl/elfd10v.sc: Ditto.
745         * scripttempl/elfd30v.sc: Ditto.
746         * scripttempl/elfi370.sc: Ditto.
747         * scripttempl/elfm68hc11.sc: Ditto.
748         * scripttempl/elfm68hc12.sc: Ditto.
749         * scripttempl/elfi386beos.sc: Ditto.
750         * scripttempl/v850.sc: Ditto.
752 2000-08-31  Alexandre Oliva  <aoliva@redhat.com>
754         * acinclude.m4: Include libtool and gettext macros from the
755         top level.
756         * aclocal.m4, configure: Rebuilt.
758 2000-08-25  Nick Clifton  <nickc@redhat.com>
760         * ldlang.c (open_output): When choosing the target for a
761         particular endianness, do nothing if the target is not
762         supported.
764 2000-08-25  H.J. Lu  <hjl@gnu.org>
766         * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
767         check -rpath nor LD_RUN_PATH for cross link.
768         * ld.texinfo: Document the change.
770 2000-08-24  Hans-Peter Nilsson  <hp@axis.com>
772         * NEWS: Mention support for CRIS.
774 2000-08-23  H.J. Lu  <hjl@gnu.org>
776         * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get
777         the current runpath list from bfd_elf_get_runpath_list ()
778         before search.
780 2000-08-22  H.J. Lu  <hjl@gnu.org>
782         * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search
783         the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after
784         LD_LIBRARY_PATH for native linker. Display the needed DSO if
785         trace_file_tries is non-zero.
786         (gld${EMULATION_NAME}_try_needed): Report the needed DSO found
787         if trace_file_tries is non-zero.
789         * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH.
790         * NEWS: Mention it.
792 2000-08-14  Jason Eckhardt  <jle@cygnus.com>
794         * NEWS: Mention i860 support.
796 2000-08-14  Andreas Schwab  <schwab@suse.de>
798         * scripttempl/elf.sc: Fix last change to use correct comment
799         syntax.
801 2000-08-10  Geoff Keating  <geoffk@cygnus.com>
803         * scripttempl/elf.sc: Add a comment giving the correspondence
804         between sections, per-datum sections, and linkonce sections.  Make
805         the comment true even for .bss, .sdata, .sdata2, .sbss, and
806         .sbss2.
808 2000-08-10  Jason Eckhardt  <jle@cygnus.com>
810         * emulparams/elf32_i860.sh: New file.
811         * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}.
812         * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o.
813         (eelf32_i860.c): New rule.
814         * Makefile.in: Regenerate.
816 2000-08-10  Nick Clifton  <nickc@cygnus.com>
818         * emulparams/mipspe.sh (ENTRY): Add definition.
820 2000-08-08  Peter Jeremy  <peter.jeremy@alcatel.com.au>
822         * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath
823         in error message.
825 2000-08-08  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
827         * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate
828         the final size of .bss section.
829         * scripttempl/elfm68hc12.sc: Likewise.
831 2000-08-04  Alan Modra  <alan@linuxcare.com.au>
833         * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to
834         gld${EMULATION_NAME}_parse_args for consistency.  Combine
835         lastoptind and prevoptind vars, and keep track of last optind.
836         (gld_${EMULATION_NAME}_list_options): Rename to
837         gld${EMULATION_NAME}_list_options.
839 2000-08-03  Rodney Brown  <RodneyBrown@pmsc.com>
841         * configure.tgt: Select targ_emul=elf_i386 for Unixware 7
842         (i586-sco-sysv5uw7.1.0).
844 2000-07-27  H.J. Lu  <hjl@gnu.org>
846         * emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed.
847         (PARSE_AND_LIST_PROLOGUE): New.
848         (PARSE_AND_LIST_LONGOPTS): Likewise.
849         (PARSE_AND_LIST_OPTIONS): Likewise.
850         (PARSE_AND_LIST_ARGS_CASES): Likewise.
851         (PARSE_AND_LIST_EPILOGUE): Likewise.
853 2000-07-28  Alan Modra  <alan@linuxcare.com.au>
855         * emultempl/armelf.em: Elide functions common to elf32.em,
856         ie. most of the file.
857         (arm_elf_after_open): New.  Do arm specific things then call
858         gld${EMULATION_NAME}_after_open.
859         (arm_elf_before_allocation): New.  Call
860         gld${EMULATION_NAME}_before_allocation then do arm specifics.
861         (PARSE_AND_LIST_PROLOGUE): Define.
862         (PARSE_AND_LIST_SHORTOPTS): Define.
863         (PARSE_AND_LIST_LONGOPTS): Define.
864         (PARSE_AND_LIST_OPTIONS): Define.
865         (PARSE_AND_LIST_ARGS_CASES): Define.
866         (LDEMUL_AFTER_OPEN): Define.
867         (LDEMUL_BEFORE_ALLOCATION): Define.
868         (LDEMUL_BEFORE_PARSE): Define.
869         (LDEMUL_FINISH): Define.
871         * emultempl/hppaelf.em: Similarly zap most of this file.
872         (hppaelf_add_stub_section): Prototype.
873         (hppaelf_layaout_sections_again): Prototype.
874         (hook_in_stub): Prototype.
875         (LDEMUL_SET_OUTPUT_ARCH): Define.
876         (LDEMUL_FINISH): Define.
877         (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
879         * emulparams/armelf.sh (TEMPLATE_NAME): Use elf32.
880         (EXTRA_EM_FILE): New.
881         * emulparams/armelf_linux.sh: Likewise.
882         * emulparams/armelf_linux26.sh: Likewise.
883         * emulparams/hppalinux.sh: Likewise.
884         * emulparams/hppaelf.sh: Likewise.
885         (NOP): Define.
887         * emultempl/elf32.em: Fix formatting.
888         (EXTRA_EM_FILE): Source it.
889         (LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
890         LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
891         LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
892         LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
893         LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
894         LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
895         LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
896         LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
897         LDEMUL_FIND_POTENTIAL_LIBRARIES): New shell vars.  Add code to
898         allow functions in this file to be overridden.
899         (PARSE_AND_LIST_SHORTOPTS): Handle it.
901         * emultempl/m68kcoff.em: Include ldfile.h before ldemul.h.
903         * emultempl/elf32.em: Reorganize file.
905 2000-07-27  Ivan Kokshaysky  <ink@jurassic.park.msu.ru>
907         * emulparams/elf64alpha.sh: Implement "-taso" emulation
908         specific option to fit 64-bit executable in the lower
909         31-bit address range.  This is done by changing start
910         address of .interp (the very first section of executable)
911         and then setting EF_ALPHA_32BIT elf header flag.
913 2000-07-21  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
915         * emultempl/m68kcoff.em: New file.
916         * emulparams/m68kcoff.sh (TEMPLATE_NAME): Use m68kcoff template.
917         * Makefile.am (em68kcoff.c): Depend on m68kcoff.em rather than
918         generic.em.
919         * Makefile.in: Regenerate.
921 2000-07-20  H.J. Lu  <hjl@gnu.org>
923         * emultempl/elf32.em (longopts): Duplicate "disable-new-dtags"
924         and "disable-new-dtags" to stop getopt from treating -d/-e as
925         abbreviations for these options.
927 2000-07-20  H.J. Lu  <hjl@gnu.org>
929         * ld.texinfo: Add documentation for --disable-new-dtags and
930         --enable-new-dtags.
932         * ldmain.c (main): Initialize link_info.new_dtags to false.
934         * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add
935         --disable-new-dtags and --enable-new-dtags.
936         (gld_${EMULATION_NAME}_list_options): Likewise.
938 2000-07-05  Kenneth Block  <krblock@computer.org>
940         * ld/lexsup.c: Add optional style to demangle switch
941         * ld/ld.texinfo: Document optional style to demangle switch.
943 2000-07-20  Hans-Peter Nilsson  <hp@axis.com>
945         * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o,
946         ecrislinux.o.
947         (ecrisaout.c, ecriself.c, ecrislinux.c): New rules.
948         Regenerate dependencies.
949         * Makefile.in: Rebuild.
950         * configure.tgt (cris-*-*): New target.
951         * emulparams/crisaout.sh, emulparams/criself.sh,
952         emulparams/crislinux.sh, scripttempl/crisaout.sc: New files.
953         * po/POTFILES.in, po/ld.pot: Regenerate.
955 2000-07-20  H.J. Lu  <hjl@gnu.org>
957         * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options):
958         Print out ignored -z options.
960 2000-07-19  H.J. Lu  <hjl@gnu.org>
962         * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed.
963         (PARSE_AND_LIST_PROLOGUE): New.
964         (PARSE_AND_LIST_LONGOPTS): Likewise.
965         (PARSE_AND_LIST_OPTIONS): Likewise.
966         (PARSE_AND_LIST_ARGS_CASES): Likewise.
968         * ldmain.c (main): Clear link_info.flags and link_info.flags_1.
970         * lexsup.c (ld_options): Comment out 'z'.
971         (parse_args): Likewise.
973         * emultempl/elf32.em: Include "elf/common.h".
974         (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z
975         options.
976         (gld_${EMULATION_NAME}_list_options): Likewise.
978         * ld.texinfo: Add documentation for the recognized -z options.
980 2000-07-19  H.J. Lu  <hjl@gnu.org>
982         * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call
983         bfd_elf_set_dt_needed_soname ().
985 2000-07-18  DJ Delorie  <dj@cygnus.com>
987         * pe-dll.c (pe_dll_id_target): check object target name also
989 2000-07-18  Hans-Peter Nilsson  <hp@axis.com>
991         * scripttempl/elf.sc (.init): Only do ${INIT_START} and
992         ${INIT_END} if relocating.
993         (.fini): Likewise ${FINI_START} and ${FINI_END}.
995 2000-07-16  Charles Wilson  <cwilson@ece.gatech.edu>
997         * src/ld/emultempl/pe.em (gld_*_open_dynamic_archive): New search
998         order for dynamic library '-lfoo' on pei386: libfoo.dll.a,
999         foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility
1000         errors introduced by the old dynamic lib search order.
1002 2000-07-17  DJ Delorie  <dj@cygnus.com>
1004         * pe-dll.c (process_def_file): auto-export data items also
1005         (pe_process_import_defs): also see if _imp_ form needed
1007 2000-07-12  Charles Wilson  <cwilson@ece.gatech.edu>
1009         * pe-dll.c (make_one): fix a typo in the __imp_ name decoration
1010         for dll import libraries
1012 2000-07-12  Mark Elbrecht  <snowball3@bigfoot.com>
1014         * scripttempl/i386go32.sc: Support the g++ attribute init_priority in
1015         gcc 2.95.2 and later.
1017 2000-07-11  Kazu Hirata  <kazu@hxi.com>
1019         * ldfile.c (ldfile_try_open_bfd): Output '\n' after an error
1020         message.
1022 2000-07-10  Alan Modra  <alan@linuxcare.com.au>
1024         * ldemul.h (struct lang_input_statement_struct): Remove forward
1025         declaration.
1026         (struct search_dirs): Likewise.
1027         * ldfile.h (struct lang_input_statement_struct): Likewise.
1028         Protect file from multiple inclusion.
1029         * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Move file_chain
1030         declaration from macro to file scope.
1032         * ldemul.c: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this order.
1033         * ldgram.y: Likewise here.
1034         * ldlang.c: And here.
1035         * ldmain.c: And here.
1036         * mpw-elfmips.c: And here.
1037         * mpw-eppcmac.c: And here.
1038         * emultempl/aix.em: And here.
1039         * emultempl/armcoff.em: And here.
1040         * emultempl/armelf.em: And here.
1041         * emultempl/armelf_oabi.em: And here.
1042         * emultempl/beos.em: And here.
1043         * emultempl/elf32.em: And here.
1044         * emultempl/hppaelf.em: And here.
1045         * emultempl/linux.em: And here.
1046         * emultempl/lnk960.em: And here.
1047         * emultempl/pe.em: And here.
1048         * emultempl/sunos.em: And here.
1049         * mpw-esh.c: And here. Include ldexp.h and ldlang.h too.
1050         * mpw-idtmips.c: Ditto.
1051         * emultempl/generic.em: Ditto.
1052         * emultempl/gld960.em: Ditto.
1053         * emultempl/gld960c.em: Ditto.
1054         * emultempl/mipsecoff.em: Ditto.
1055         * emultempl/ticoff.em: Ditto.
1056         * emultempl/vanilla.em: Ditto.
1058         * pe-dll.c: Include ldfile.h
1059         * ldver.c: Include ldexp.h, ldlang.h, ldfile.h
1061         * mpw-elfmips.c: (gldelf32ebmip_before_allocation): Add missing
1062         arguments to bfd_elf32_size_dynamic_sections call.
1063         (gldelf32ebmip_place_orphan): Add missing arguments to
1064         lang_leave_output_section_statement call.
1066 2000-07-10  H.J. Lu  <hjl@gnu.org>
1068         * emultempl/pe.em (pe_enable_stdcall_fixup): Protect with
1069         DLL_SUPPORT.
1070         (strhash): Likewise.
1071         (compute_dll_image_base): Likewise.
1072         (pe_undef_found_sym): Likewise.
1073         (pe_undef_cdecl_match): Likewise.
1074         (gld_${EMULATION_NAME}_open_dynamic_archive): Mark the
1075         argument "arch" with ATTRIBUTE_UNUSED.
1077 2000-07-10  Alan Modra  <alan@linuxcare.com.au>
1079         * configure.tgt: Remove extraneous hppa*-*-linux-gnu*.
1081         From  Ryan Bradetich  <rbradetich@uswest.net>
1082         * ldwrite.c (SSIZE): Remove to cure macro redefinition warning.
1084 2000-07-09  Alan Modra  <alan@linuxcare.com.au>
1086         Changes to create multiple linker stubs, positioned immediately
1087         before the section where they are required.
1088         * emultempl/hppaelf.em: Include elf32-hppa.h.
1089         (stub_sec, file_chain): Delete.
1090         (hppaelf_create_output_section_statements): Don't make a stub
1091         section here.
1092         (hook_stub_info): New struct.
1093         (hook_in_stub): New function.
1094         (hppaelf_add_stub_section): New function.
1095         (hppaelf_finish): Do nothing for relocateable links.  Modify the
1096         call to elf32_hppa_size_stubs.  Move code for updating section
1097         layout from here...
1098         (hppaelf_layaout_sections_again): ..to here, a new function.
1100         * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Fix
1101         broken list handling.  Pass in a pointer to the list.
1102         (hppaelf_finish): Update call to hppaelf_delete_padding_statements
1103         for above changes.
1104         (hppaelf_before_parse): Prototype.
1105         (hppaelf_set_output_arch): Prototype.
1106         (hppaelf_create_output_section_statements): Prototype.
1107         (hppaelf_delete_padding_statements): Prototype.
1108         (hppaelf_finish): Prototype.
1110         Merge from elf32.em
1111         * emultempl/hppaelf.em: Include ctype.h.
1112         (struct orphan_save): New.
1113         (gld${EMULATION_NAME}_place_orphan): New.
1114         (output_rel_find): New.
1115         (hppaelf_get_script): Update from elf32.em.
1116         (ld_hppaelf_emulation): Rename to ld_${EMULATION_NAME}_emulation.
1117         Change emulation_name field to "${EMULATION_NAME}".  Add
1118         gld${EMULATION_NAME}_place_orphan.
1120         * Makefile.am (ALL_EMULATIONS): Reinstate ehppaelf.o,  add
1121         ehppalinux.o, sort it.  Regenerate dependencies.
1122         (ehppalinux.c): Depend on hppaelf.em
1123         * Makefile.in: Regenerate.
1125         * configure.tgt: targ_emul=hppalinux for hppa*linux
1127         * emulparams/hppalinux.sh: New.
1128         * emulparams/hppaelf.sh (TARGET_PAGE_SIZE): Write in hex.
1130 2000-07-08  Alan Modra  <alan@linuxcare.com.au>
1132         * lexsup.c (parse_args): Copy section name.
1134 2000-07-07  Charles Wilson  <cwilson@ece.gatech.edu>
1136         * emultempl/pe.em: institute the following search order for
1137         dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import
1138         libs), libfoo.dll, foo.dll (link direct to dll).  Fall back to
1139         static lib (libfoo.a) if none of the above are found.
1141 2000-07-07  Mumit Khan  <khan@xraylith.wisc.edu>
1143         * emultempl/pe.em (pe_enable_auto_image_base): New variable.
1144         (longopts): New --{enable,disable}-auto-image-base options.
1145         (gld_${EMULATION_NAME}_list_options): Document.
1146         (gld_${EMULATION_NAME}_parse): Handle.
1147         (strhash): New static function.
1148         (compute_dll_image_base): New static function.
1149         (gld_${EMULATION_NAME}_set_symbols): Use.
1151 2000-07-05  DJ Delorie  <dj@redhat.com>
1153         * MAINTAINERS: new
1155 2000-07-01  Koundinya K  <kk@ddeorg.soft.net>
1157         * configure.tgt: Add traditional mips (mips*-*-sysv4*) target.
1158         * emulparams/elf32btsmip.sh: New file.
1159         * Makefile.am: Add traditional mips target.
1160         * Makefile.in: Rebuild.
1162 2000-07-01  H.J. Lu  <hjl@gnu.org>
1164         * Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for
1165         automake to use YLWRAP.
1166         * Makefile.in: Rebuild.
1168 2000-07-01  Alan Modra  <alan@linuxcare.com.au>
1170         * Makefile.am (DEP): Fix 2000-06-22.  grep after running dep.sed
1171         (CLEANFILES): Add DEPA.
1172         * Makefile.in: Regenerate.
1174 2000-06-30  Timothy Wall  <twall@ppc>
1176         * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode
1177         the page in the upper octet of the address.
1179 2000-06-26  Marek Michalkiewicz  <marekm@linux.org.pl>
1181         * emulparams/avrmega161.sh (ARCH): Change to avr:5.
1183 2000-06-24  Alan Modra  <alan@linuxcare.com.au>
1185         * NEWS: arm-elf does --gc-sections too.
1187 2000-06-22  Alan Modra  <alan@linuxcare.com.au>
1189         * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
1190         find one.
1191         * Makefile.in: Regenerate.
1193 2000-06-21  H.J. Lu  <hjl@gnu.org>
1195         * Makefile.am: Rebuild dependency.
1196         * Makefile.in: Rebuild.
1198 2000-06-20  H.J. Lu  <hjl@gnu.org>
1200         * Makefile.am: Rebuild dependency.
1201         * Makefile.in: Rebuild.
1203 2000-06-20  Timothy Wall  <twall@cygnus.com>
1205         * scripttempl/tic54xcoff.sc: New.
1206         * ldlang.c (wild_doit): Propagate SEC_BLOCK flag.
1207         * gen-doc.texi: Add flag for TI COFF.
1208         * ld.texinfo: Add documentation for TI COFF handling switches.
1209         * emultempl/ticoff.em: New. TI COFF handling.
1210         * configure.tgt: Add tic54x target.
1211         * Makefile.am: Add tic54x target.
1212         * Makefile.in: Ditto.
1214 2000-06-20  Alan Modra  <alan@linuxcare.com.au>
1216         * ldmain.c (set_scripts_dir): Correct pointer comparison when
1217         checking for backslashes.
1219 2000-06-19  Alan Modra  <alan@linuxcare.com.au>
1221         * NEWS: Move entries not in 2.10 above "Changes in version 2.10".
1223 2000-06-18  Alan Modra  <alan@linuxcare.com.au>
1225         * NEWS: Update list of targets supporting --gc-sections.
1227         * scripttempl/elf.sc: KEEP .eh_frame contents.
1228         * scripttempl/elfd30v.sc: Same here.
1230 2000-06-18  Stephane Carrez  <stcarrez@worldnet.fr>
1232         * Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12
1233         and m68hc11 (elf).
1234         * Makefile.in: Rebuild.
1235         * configure.tgt: Recognize m68hc12 and m68hc11.
1236         * scripttempl/elfm68hc12.sc: New file.
1237         * emulparams/m68hc12elfb: New emulation.
1238         * emulparams/m68hc12elf: New emulation.
1239         * emulparams/m68hc11elfb.sh: New file.  User configurable emulation
1240         (includes a memory.x script to define the ROM and RAM banks).
1241         * scripttempl/elfm68hc11.sc, emulparams/m68hc11elf.sh:
1242         New configuration files for support of Motorola 68hc11
1244 2000-06-15  Alan Modra  <alan@linuxcare.com.au>
1246         * ldmain.c (main): Only change SEC_READONLY for final link.
1248 2000-06-13  H.J. Lu  <hjl@gnu.org>
1250         * configure: Regenerate.
1252 2000-06-08  David O'Brien  <obrien@FreeBSD.org>
1254         * configure.in (VERSION): Update to show this is the CVS mainline.
1256 2000-06-07  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
1258         * emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all
1259         input objects to be ECOFF.
1260         (check_sections): einfo takes %B, not %P, to print a BFD name.
1262 2000-06-05  Michael Matz <matz@ifh.de>
1264         * ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in
1265         version scripts.
1267         * ldlex.l (V_IDENTIFIER): Accept `::' in symbols.
1269 2000-05-23  Marek Michalkiewicz  <marekm@linux.org.pl>
1271         * emulparams/avr1200.sh (STACK): Define as 0.
1272         * emulparams/avr23xx.sh (STACK): Define as last internal SRAM address.
1273         * emulparams/avr4433.sh (STACK): Likewise.
1274         * emulparams/avr44x4.sh (STACK): Likewise.
1275         * emulparams/avr85xx.sh (STACK): Likewise.
1276         * emulparams/avrmega103.sh (STACK): Likewise.
1277         * emulparams/avrmega161.sh (STACK): Likewise.
1278         * emulparams/avrmega603.sh (STACK): Likewise.
1279         * scripttempl/elf32avr.sc (__data_start): Define for gcrt1.
1280         (__stack): Define from ${STACK} for main().
1282 2000-05-26  Alan Modra  <alan@linuxcare.com.au>
1284         * Makefile.am: Update dependencies with "make dep-am"
1285         * Makefile.in: Regenerate.
1287 2000-05-26  Eli Zaretskii  <eliz@is.elta.co.il>
1289         * ldmain.c: Include filenames.h.
1290         (set_scripts_dir): Support backslashes in program name.
1292 2000-05-22  Igor Shevlyakov  <igor@windriver.com>
1294         * ldmain.c (main): When deciding if ".text" section should be
1295         read-only, don't forget to reset SEC_READONLY because it
1296         could be already set.
1298 2000-05-22  Thomas de Lellis  <tdel@windriver.com>
1300         * ld.1: Add documentation for new command line option:
1301                 --section-start <sectionname>=<sectionorg>
1302         This is a generic version of -Ttext etc. which accepts
1303         any section name as a parameter instead of just text/data/
1304         bss.
1305         * ld.texinfo: More docs.
1306         * NEWS: More docs.
1307         * lexsup.c: (parse_args): Recognize new command line option.
1308         (ld_options): Add new option.
1310 2000-05-18  H.J. Lu  <hjl@gnu.org>
1312         * lexsup.c (parse_args): `i' == `r', not `q'.
1314 Thu May 18 10:47:57 2000  Jeffrey A Law  (law@cygnus.com)
1316         * configure.tgt (hppa*64*-*-*): Enable PA64 target.
1318 2000-05-17 S. Bharadwaj Yadavalli  <sby@scrugs.lkg.dec.com>
1319               Rick Gorton          <gorton@scrugs.lkg.dec.com>
1321         Add support for '-q' == '--emit-relocs' switch.
1322         * ldmain.c (main): Default to false.
1323         * lexsup.c (parse_args): Turn on emitrelocations flag if set.
1324         * NEWS: Describe the emitrelocations switch.
1325         * ld.texinfo: Describe the emitrelocations switch.
1327 2000-05-16  Charles Wilson <cwilson@ece.gatech.edu>
1329         * ld/emultempl/pe.em (_open_dynamic_archive): New function: Search
1330         the library path for "foo.dll" and "libfoo.dll" dynamic libraries
1331         before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo'
1332         link options.
1334 2000-05-15  David O'Brien  <obrien@FreeBSD.org>
1336         * lexsup.c (parse_args): Update the year in the copyright notice.
1338 2000-05-13  Alan Modra  <alan@linuxcare.com.au>
1340         * ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain):
1341         Replace defines with those from intl/libgettext.h to quieten gcc
1342         warnings.
1344 2000-05-10  H.J. Lu  <hjl@gnu.org>
1346         * ldlang.c (open_input_bfds): Don't load the same file within
1347         a group again if the whole archive has been loaded already.
1349 2000-05-03  Alan Modra  <alan@linuxcare.com.au>
1351         From Ulf Carlsson <ulfc@engr.sgi.com> and Andreas Jaeger <aj@suse.de>
1352         * lexsup.c (set_section_start): Use bfd_scan_vma rather than
1353         strtoul.
1355 Mon May  1 17:34:34 2000  Jim Wilson  <wilson@cygnus.com>
1357         * configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}.
1359         * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
1360         host "ia64-*-linux-gnu*".
1362 2000-04-29  Andreas Jaeger  <aj@suse.de>
1364         * ld.h: Correctly check GCC version.
1366 Tue Apr 25 11:20:43 2000  Jeffrey A Law  (law@cygnus.com)
1368         * Makefile.am: Add PA64 support.  Add missing dependencies for
1369         PA32 elf support.
1370         * Makefile.in: Rebuilt.
1371         * configure.tgt: Add PA64 support (currently disabled).
1373 2000-04-25  Alan Modra  <alan@linuxcare.com.au>
1375         * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete.
1376         (output_rel_find): New function.
1377         (hold_section, hold_use): Delete.
1378         (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
1379         hold_interp): Make local to place_orphan.
1380         (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find
1381         rather than place_section to find possible previous use of orphan.
1382         Similarly find the place-holder output sections.  Use returned
1383         value from lang_enter_output_section_statement rather than calling
1384         lang_output_section_statement_lookup.
1385         * emultempl/armelf.em: Same here.
1386         * emultempl/pe.em: Similar to above, but no need for output_rel_find.
1388         * ldlang.c (lang_enter_output_section_statement): Return output
1389         section statement.
1390         * ldlang.h (lang_enter_output_section_statement): Change
1391         declaration too.
1393         * ldlang.h (lang_output_section_statement): Export it.
1394         * ldlang.c (lang_output_section_statement): Ditto.
1396 2000-04-24  Nick Clifton  <nickc@cygnus.com>
1398         * ld.texinfo (Output Section Data): Add note that section data
1399         commands cannot appear outside of section directives.
1401 2000-04-2  Matthew Green  <mrg@cygnus.com>
1403         * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support.
1405 Fri Apr 21 13:20:53 2000  Richard Henderson  <rth@cygnus.com>
1406                           David Mosberger  <davidm@hpl.hp.com>
1408         * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o.
1409         (eelf64_ia64.c): New rule.
1410         * Makefile.in: Rebuild.
1411         * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets.
1412         * emulparams/elf64_ia64.sh: New file.
1414 2000-04-21  Richard Henderson  <rth@cygnus.com>
1416         * scripttempl/elfd30v.sc: Place .gcc_except_table.
1418 2000-04-19  Alan Modra  <alan@linuxcare.com.au>
1420         * dep-in.sed: Match space at start of file name, not at end.
1422 2000-04-18  H.J. Lu  <hjl@gnu.org>
1424         * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
1425         lang_leave_output_section_statement () after calling
1426         lang_enter_output_section_statement ().
1427         * emultempl/armelf.em: Likewise.
1429 2000-04-18  Alan Modra  <alan@linuxcare.com.au>
1431         * emultempl/elf32.em (struct orphan_save): Add section field.
1432         (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in
1433         better order, and place first orphan section as we did before the
1434         2000-04-12 patch.  Ignore ~SEC_ALLOC sections when choosing place.
1435         Don't call make_bfd_section here, let wild_doit do the job for us.
1436         Don't build a statement list when we'll only throw it away.
1437         * emultempl/armelf.em: Ditto.
1438         * emultempl/pe.em: Similarly.
1440 2000-04-14  Geoff Keating  <geoffk@cygnus.com>
1442         * scripttempl/elfppc.sc: Remove.
1443         * emulparams/elf32ppc.sh: Use elf.sc.
1444         * emulparams/elf32lppc.sh: Use elf.sc.
1445         * emulparams/elf32ppclinux.sh: Use elf.sc.
1446         * emulparams/elf32ppcsim.sh: New file.
1447         * emulparams/elf32lppcsim.sh: New file.
1448         * Makefile.am: Update dependencies.  Add elf32ppcsim ad elf32lppcsim.
1449         (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim.
1450         * Makefile.in: Regenerate.
1451         * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim.
1453 2000-04-14  Alan Modra  <alan@linuxcare.com.au>
1455         * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process
1456         ~SEC_ALLOC sections too.  Init start address of debug sections.
1457         * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto.
1458         * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto.
1459         Also set all relocateable section start addresses.
1461 2000-04-13  Geoff Keating  <geoffk@cygnus.com>
1463         * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections.
1464         Add new BSS_PLT variable for when .plt need not be contained in
1465         the file.  Move _etext so that it is also after .fini, and provide
1466         both etext and _etext with a leading underscore.  Mark the start
1467         and end of .sbss.
1469 2000-04-12  Alan Modra  <alan@linuxcare.com.au>
1471         * emultempl/elf32.em (struct orphan_save): New.
1472         (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
1473         hold_interp): Make them struct orphan_save.
1474         (gld${EMULATION_NAME}_place_section): Modify for new hold_*.
1475         (gld${EMULATION_NAME}_place_orphan): Add new orphan sections to
1476         the end of the relevant section list.  Also add associated section
1477         statements to the end of any previous orphan statements.
1478         * emultempl/armelf.em: Similarly.
1479         * emultempl/pe.em: Similarly.
1481 2000-04-11  Alan Modra  <alan@linuxcare.com.au>
1483         * ld.texinfo (Simple Example): Remove extraneous paragraph.
1485 Fri Apr  7 15:56:57 2000  Andrew Cagney  <cagney@b1.cygnus.com>
1487         * configure.in (WARN_CFLAGS): Set to -W -Wall by default.  Add
1488         --enable-build-warnings option.
1489         * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
1490         * Makefile.in, configure: Re-generate.
1492 2000-04-04  Alan Modra  <alan@linuxcare.com.au>
1494         * po/ld.pot: Regenerate.
1496         * lexsup.c (help): Restore translated part of bug string.
1498         * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
1499         (DEP): Quote when passing vars to sub-make.  Add warning message
1500         to end.
1501         (DEP1): Rewrite for "gcc -MM".
1502         (CLEANFILES): Add DEP2.
1503         Update dependencies.
1504         * Makefile.in: Regenerate.
1506 2000-04-03  Alan Modra  <alan@linuxcare.com.au>
1508         * ld.h: #include "bin-bugs.h"
1509         * lexsup.c (help): Use REPORT_BUGS_TO.
1511 2000-03-27  Denis Chertykov  <denisc@overta.ru>
1513         * configure.tgt (avr-*-*): New target support.
1514         * Makefile.am: Likewise.
1515         * scripttempl/elf32avr.sc: New script file.
1516         * emulparams/avr1200.sh: New file.
1517         * emulparams/avr23xx.sh: New file.
1518         * emulparams/avr4433.sh New file.
1519         * emulparams/avr44x4.sh New file.
1520         * emulparams/avr85xx.sh New file.
1521         * emulparams/avrmega103.sh New file.
1522         * emulparams/avrmega161.sh New file.
1523         * emulparams/avrmega603.sh New file.
1524         * Makefile.in: Regenerate.
1526 2000-03-09  Andreas Jaeger  <aj@suse.de>
1528         * Makefile.am (check-DEJAGNU): Also unset LANG.
1529         * Makefile.in: Rebuild.
1531 2000-03-06  Ian Lance Taylor  <ian@zembu.com>
1533         * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty
1534         archive.
1536 2000-03-02  H.J. Lu  <hjl@gnu.org>
1538         * emulparams/elf32mcore.sh: Include "getopt.h".
1540 2000-03-01  Ian Lance Taylor  <ian@zembu.com>
1542         * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware.
1544 2000-03-01  H.J. Lu  <hjl@gnu.org>
1546         * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR.
1547         * emulparams/shpe.sh: Likewise.
1549 2000-03-01  Nick Clifton  <nickc@cygnus.com>
1551         * pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED
1552         to unused parameters.
1554         * emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static
1555         functions only used by DLL code.
1556         (_place_orphan): Initialise 'dollar'.
1558 2000-03-01  H.J. Lu  <hjl@gnu.org>
1560         * ldmain.c (undefined_symbol): Take one more arg, fatal, to
1561         indicate if the undefined symbol is a fatal error or not.
1562         Don't delete the output file if "fatal" is false.
1564 2000-02-29  H.J. Lu  <hjl@gnu.org>
1566         * Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)".
1567         Set LC_COLLATE and LC_ALL to null and export them. It is for
1568         sort which expects the C locale.
1569         Add $(LIBS) to all $(HOSTING_LIBS).
1570         * Makefile.in: Rebuild.
1572 2000-02-29  Alan Modra  <alan@spri.levels.unisa.edu.au>
1574         * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em,
1575         beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em,
1576         linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em}
1577         (ld_emulation_xfer_struct): Add missing NULL initialiser for
1578         find_potential_libraries.
1580 2000-02-28  Jim Blandy  <jimb@redhat.com>
1582         * ldgram.y (exclude_name_list): Don't require a comma to separate
1583         list entries; the lexer considers commas to be valid part of a
1584         filename, so in something like `foo, bar' the comma is considered
1585         part of the first filename, `foo,'.
1586         * ld.texinfo: Update section on EXCLUDE_FILE lists.
1588 2000-02-27  Loren J. Rittle  <ljrittle@acm.org>
1590         * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
1591         host "i[3456]86-*-freebsdelf*".
1593 2000-02-27  Mark Elbrecht  <snowball3@bigfoot.com>
1595         * scripttempl/i386go32.sc: Move misplaced semicolons.
1597 2000-02-25  Ian Lance Taylor  <ian@zembu.com>
1599         * Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o.
1600         (ALL_64_EMULATIONS): Remove eelf64hppa.o.
1601         (eelf64hppa.c, ehppaelf.c): Remove targets.
1602         * Makefile.in: Rebuild.
1604 2000-02-25  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
1606         * configure.tgt (targ_extra_ofiles): Enable elf64_sparc on
1607         GNU/Linux/sparc, but keep the default as 32.
1609         * configure.tgt: Enable elf64_sparc on Solaris7+/sparc.  And make
1610         it default if sparcv9 or sparc64.
1612 2000-02-24  Nick Clifton  <nickc@cygnus.com>
1614         * Makefile.am: Add rules to build emipspe.o and earmpe.o.
1615         * Makefile.in: Regenerate.
1616         * configure.tgt: Add targets for arm-wince, sh-pe and mips-pe.
1618         * ldemul.h (ld_emulation_xfer_struct): Add new field:
1619         find_potential_libraries.
1620         * ldemul.c (ldemul_find_potential_libraries): New function.
1622         * ldfile.c (ldfile_open_file_search): Allow function to be
1623         exported.
1624         (ldfile_open_file): Call ldemul_find_potential_libraries.
1625         * ldfile.h: Add prototype for ldfile_open_file_search.
1627         * pe-dll.c: Add support for ARM, MIPS and SH targets.
1629         * emulparams/mipspe.sh: New file.  Parameters for mips-pe target.
1630         * emulparams/shpe.sh: New file.  Parameters for sh-pe target.
1632         * emultempl/pe.em: Add support for ARM, MIPS and SH DLLs.
1633         (gld_X_find_potential_libraries): New function.  Search for
1634         libraries called "*.lib".
1636         * scriptempl/pe.sc: Add .pdata section.
1638 2000-02-23  Richard Henderson  <rth@cygnus.com>
1640         * scripttempl/elfd10v.sc: Remove dynamic linking hooks.
1641         Add and use memory regions.
1643 2000-02-23  Linas Vepstas (linas@linas.org)
1645         * emulparams/elf32i370.sh, scripttempl/elfi370.sc: New.
1647         * Makefile.am: Add support for Linux/IBM 370.
1648         * configure.tgt: Likewise.
1650         * Makefile.in: Regenerate.
1652 2000-02-21  Alan Modra  <alan@spri.levels.unisa.edu.au>
1654         * ldlang.c (print_input_section, print_data_statement,
1655         print_reloc_statement, print_padding_statement, insert_pad,
1656         size_input_section, lang_check_section_addresses,
1657         lang_size_sections, lang_do_assignments, lang_set_startof,
1658         lang_one_common): Change `opb' to unsigned.
1659         (lang_do_assignments): Also change `size' to unsigned.
1661 2000-02-16  Richard Henderson  <rth@cygnus.com>
1663         * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION.
1665 2000-02-16  Timothy Wall  <twall@cygnus.com>
1667         * mri.c (mri_draw_tree): Add default LMA region argument to call
1668         to lang_leave_output_section_statement.
1669         * ldlang.h: Update prototypes with LMA region arguments.
1670         * ldlang.c (lang_size_sections): Encapsulate region bounds
1671         checking in os_check_region call.
1672         (os_check_region): New function.
1673         (lang_output_section_statement_lookup): Initialize lma_region.
1674         (lang_leave_output_section_statement): Add LMA region argument.
1675         (lang_leave_overlay): Ditto.
1676         * ldgram.y: Handle LMA region syntax.
1677         * ld.texinfo (Output Section Description): Describe LMA region usage.
1678         * emultempl/armelf.em (gld$place_orphan): Add default value for
1679         lma region in call to lang_leave_output_section_statement.
1680         * emultempl/elf32.em (gld$place_orphan): Add default value for
1681         lma region in call to lang_leave_output_section_statement.
1682         * emultempl/pe.em (gld$place_orphan): Add default value for
1683         lma region in call to lang_leave_output_section_statement.
1686 2000-02-04  Timothy Wall  <twall@redhat.com>
1688         * ldlang.c (lang_check_section_addresses): Use bytes instead of
1689         octets when calculating section end addresses.
1691 2000-02-04  Timothy Wall  <twall@redhat.com>
1693         * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation.
1695 2000-02-03  Timothy Wall <twall@redhat.com>
1697         * ld/ldexp.c (fold_name): Make SIZEOF operator return byte count, not
1698         octet count.
1699         * ld/ldlang.c (print_input_section, print_data_statement,
1700         print_reloc_statement, print_padding_statement): Print target
1701         address values and section sizes as bytes, not octets.
1702         (insert_pad) Calculate padding size in octets, and adjust "dot"
1703         by bytes.
1704         (size_input_section) Always adjust "dot" by bytes, not octets.
1705         (lang_check_section_addresses, lang_do_assignments) Adjust
1706         "dot" by bytes, not octets.  Use the larger of the directive size
1707         or octets_per_byte for the number of octets actually allocated in
1708         the output section.
1709         (lang_set_startof) Make sure STARTOF returns a target address.
1710         (lang_one_common) Record size changes in octets.
1711         (lang_abs_symbol_at_end_of) Section end symbol's value is
1712         recorded in target bytes.
1713         * ld.texinfo:   Updated description of BYTE, SHORT, LONG, etc.
1714         to be clear about behavior when an octet is smaller than one byte.
1716 2000-01-27  Alan Modra  <alan@spri.levels.unisa.edu.au>
1718         * ldcref.c (output_cref): Don't pass message strings to printf
1719         as format arg.
1720         Update copyright.
1722         * ldmisc.c (vfinfo): Same here.
1723         Update copyright.
1725 2000-01-23  Alan Modra  <alan@spri.levels.unisa.edu.au>
1727         * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em,
1728         generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em,
1729         mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct):
1730         Add missing NULL initialisers, and comments.
1732         * testsuite/ld-srec/sr3.cc (__rethrow): New.
1734 2000-01-21  Nick Clifton  <nickc@cygnus.com>
1736         * ldlang.c (lang_size_sections): Fix typo in comment.
1738 2000-01-18  H.J. Lu  <hjl@gnu.org>
1740         * ldlang.c (lang_size_sections): Also update the current
1741         address of a region if the SEC_NEVER_LOAD bit is not set.
1743 2000-01-10  Philip Blundell  <pb@futuretv.com>
1745         * configure.tgt (arm*-*-conix*): New target.
1747 2000-01-07  Nick Clifton  <nickc@cygnus.com>
1749         * ld.texinfo (Options): Remind users to preceed linker command
1750         line switches with -Wl, (or whatever is appropriate) if it is
1751         being invoked by a comnpiler driver program.
1752         Fix description of the behaviour of the -n command line switch.
1754 Wed Jan  5 08:02:12 2000  Catherine Moore  <clm@cygnus.com>
1756         * ld.h (wildcard_spec):  Change exclude_name to exclude_name_list.
1757         (name_list): New.
1758         * ld.texinfo (EXCLUDE_FILE): Update documentation.
1759         * ldgram.y (wildcard_spec): Support a list of excluded_files.
1760         (exclude_name_list): New.
1761         ldlang.c (walk_wild_section): Support list of excluded files.
1762         (print_wild_statement): Likewise.
1763         (lang_add_wild): Likewise.
1764         * ldlang.h (lang_wild_statement_type): Likewise.
1765         * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support.
1767 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
1769         * pe-dll.c (pe_dll_warn_dup_exports): New variable.
1770         (process_def_file): Use.
1771         (pe_dll_compat_implib): New variable.
1772         (make_one): Use.
1774         * pe-dll.h: Add exports of pe_dll_warn_dup_exports and
1775         pe_dll_compat_implib.
1777         * emultempl/pe.em (longopts): Add warn-duplicate-exports and
1778         compat-implib options.
1779         (gld_${EMULATION_NAME}_list_options): List new options.
1780         (gld_${EMULATION_NAME}_parse_args): Handle.
1782         * pe-dll.c (pe_dll_generate_implib): Use the correct name for output
1783         dll.
1785         * deffilep.y (opt_name): Allow "." in name.
1787 For older changes see ChangeLog-9899
1789 Local Variables:
1790 mode: change-log
1791 left-margin: 8
1792 fill-column: 74
1793 version-control: never
1794 End: