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