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