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