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