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