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