1 2003-10-08 Hans-Peter Nilsson <hp@bitrange.com>
3 * ldexp.c (fold_name) <case DEFINED>: Set section of result to
6 2003-10-07 Bob Wilson <bob.wilson@acm.org>
8 * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS,
9 OTHER_READWRITE_SECTIONS, OTHER_SECTIONS): Set section addresses to
10 zero for relocatable links.
12 2003-10-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
14 * configure.host (HOSTING_LIBS): Define for hppa*-*-linux*.
16 2003-10-07 Nathan Sidwell <nathan@codesourcery.com>
18 * ldwrite.c (unsplittable_name): New.
19 (clone_section): Strip existing numeric suffix. Only truncate names
21 (split_sections): Use unsplittable_name.
23 2003-10-06 Nick Clifton <nickc@redhat.com>
25 * lexsup.c (parse_args): Report unresolved symbols in shared
26 libraries when creating a dynamic executable. This is a
27 restoration of the default behaviour for previous versions of
30 2003-10-06 Matt Thomas <matt@3am-software.com>
32 * emulparams/hppanbsd.sh: Remove OUTPUT_FORMAT.
33 * emulparams/hppaobsd.sh: Add OUTPUT_FORMAT="elf32-hppa".
35 2003-10-06 Robert Millan <robertmh@gnu.org>
37 * configure.tgt: Match GNU/KNetBSD with new knetbsd*-gnu triplet.
39 2003-10-02 Ivan Warren <ivan@vmfacility.fr>
41 * pe-dll.c (make_one): Correct sym def order & pick right sym for
44 2003-09-30 Chris Demetriou <cgd@broadcom.com>
46 * NEWS: Add an indication of the cutoff for 2.14.
48 2003-09-30 Chris Demetriou <cgd@broadcom.com>
50 * ldmain.c (get_emulation): Ignore "-mips64r2".
52 2003-09-03 Robert Millan <robertmh@gnu.org>
54 * configure.host: Match GNU/KFreeBSD with new kfreebsd*-gnu
56 * configure.tgt: Likewise.
58 2003-08-29 Jafa <jafa@silicondust.com>
60 * emulparams/elf32ip2k.sh (TEMPLATE_NAME): Define.
62 2003-08-21 Nick Clifton <nickc@redhat.com>
64 * po/tr.po: Updated Turkish translation.
66 2003-08-20 Nick Clifton <nickc@redhat.com>
68 * ldmain.c: Initialise the new fields in bfd_link_info to
70 * lexsup.c (enum option_values): New enum. Use this to
71 replace the handed coded values for the long switch options.
72 (ld_options): Add 'unresolved-symbols',
73 'warn-unresolved-symbols' and 'error-unresolved-symbols'.
74 (parse_args): Handle the new switches. Set the values of
75 unresolved_symbols_in_objects and
76 unresolved_symbols_in_shared_libs appropriately. If they were
77 not initialised by the command line, install default values.
78 * emultempl/elf32.em (handle_option): Update OPTION_GROUP and
79 -z defs to use the new fields in bfd_link_info.
80 * ld.texinfo: Document the new switches.
81 * NEWS: Mention this feature.
83 2003-08-15 Dmitry Diky <diwil@mail.ru>
85 * Makefile.am (GENSCRIPTS_EXTRA): New script definition which
86 calls genscripts_extra.sh.
87 Rearrange all msp430 depends using this script.
88 * Makefile.in: Regenerate.
89 * genscripts_extra.sh: New file: Similar to genscripts.sh, except
90 that the script to be run to generate the emulations can be passed
91 as an optional parameter instead of being computed from the
93 * emulparams/msp430all.sh: New file: Combine all msp430 subdevice
94 definitions into one file.
95 * emulparams/msp430x*.sh: Removed.
97 2003-08-15 Nick Clifton <nickc@redhat.com>
99 * ld.texinfo (Options): Put keywords for the -z option into a
100 table. Add more text describing what the -z now option does.
102 2003-08-14 Alan Modra <amodra@bigpond.net.au>
104 * dep-in.sed: Remove libintl.h.
105 * Makefile.am (POTFILES.in): Unset LC_COLLATE.
106 * Makefile.in: Regenerate.
108 2003-08-13 Alan Modra <amodra@bigpond.net.au>
110 * genscripts.sh (libpath.exp): Only generate for first emulation.
111 (LIB_PATH): Correct order of paths. Don't add $tool_lib when
112 already present or when LIB_PATH is set to ":".
114 2003-08-12 Ian Lance Taylor <ian@airs.com>
116 * ldmain.c (undefined_symbol): Change parameter name from `fatal'
117 to `error'. If only a warning, put warning in the reported
118 string. Consistently set failure flag when not a warning.
120 2003-08-08 Dmitry Diky <diwil@mail.ru>
122 * Makefile.am: Add xW42 and xE42 parts. Sort MPU list according to
124 * Makefile.in: Regenerate.
125 * configure.tgt: Add extra emulations.
126 * emulparams/msp430xE423.sh: New file.
127 * emulparams/msp430xE427.sh: New file.
128 * emulparams/msp430xW425.sh: New file.
129 * emulparams/msp430xE425.sh: New file.
130 * emulparams/msp430xW423.sh: New file.
131 * emulparams/msp430xW427.sh: New file.
133 2003-08-07 Danny Smith <dannysmith@users.sourceforge.net>
135 * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):
136 Change second (cmdline) arg to lang_add_entry to FALSE.
137 (set_pe_subsystem): Change second arg to lang_add_entry to TRUE.
139 2003-08-05 Christian Groessler <chris@groessler.org>
140 Jason Eckhardt <jle@rice.edu>
142 * configure.tgt: Recognize new target i860-*-coff.
143 * Makefile.am (ALL_EMULATIONS): Add ecoff_i860.o.
144 (ecoff_i860.c): New rule.
145 * emulparams/coff_i860.sh: New file.
146 * scripttempl/i860coff.sc: New file.
147 * Makefile.in: Regenerate.
149 2003-08-04 Nick Clifton <nickc@redhat.com>
151 * emultempl/elf32.em (before_allocation): Prepend "warning: "
152 to messages produced for .gnu.warning.SYMBOL sections.
154 2003-08-04 Alan Modra <amodra@bigpond.net.au>
156 * emultempl/elf32.em (output_rel_find): Add "isdyn" param. Put
157 .rel.dyn before other reloc sections. Don't stop looking for reloc
158 sections on finding one that isn't allocated. Match .rel even when
159 placing .rela and vice versa, when setting last_rel and
160 last_rel_alloc for the first time. If no reloc sections in script,
161 prefer allocated section over non-alloc.
162 (gld${EMULATION_NAME}_place_orphan): Handle orphan .rel.dyn.
164 2003-07-29 Kaz Kojima <kkojima@rr.iij4u.or.jp>
166 * emulparams/shelf.sh (OTHER_SECTIONS): Don't include .stack
167 section for shared library.
168 * emulparams/shelf32.sh (OTHER_SECTIONS): Likewise.
169 * emulparams/shelf64.sh (OTHER_SECTIONS): Likewise.
171 2003-07-29 Stephane Carrez <stcarrez@nerim.fr>
173 * scripttempl/elfm68hc12.sc: Add gcc_except_table.
174 * scripttempl/elfm68hc11.sc: Likewise.
176 2003-07-28 Alan Modra <amodra@bigpond.net.au>
178 * emulparams/elf64ppc.sh (GOT): Fix for shell brace matching.
180 * emulparams/elf64ppc.sh (GOT): Don't merge .toc into .got for ld -r.
182 2003-07-27 Alan Modra <amodra@bigpond.net.au>
184 * ld.texinfo: Typo fixes. Document SUBALIGN.
185 * ldgram.y (opt_subalign): Add.
186 * ldlex.l (SUBALIGN): Recognize.
187 * ldlang.c (overlay_subalign): New var.
188 (lang_enter_overlay): Add subalign param.
189 (lang_enter_overlay_section): Pass overlay_subalign to
190 lang_enter_output_section_statement.
191 * ldlang.h (lang_enter_overlay): Update.
193 2003-07-24 Nick Clifton <nickc@redhat.com>
195 * po/fr.po: Updated French translation.
197 2003-07-23 Stephane Carrez <stcarrez@nerim.fr>
199 * scripttempl/elfm68hc11.sc: Keep ctor/dtor sections; Take into
200 account .tramp sections;
201 * scripttempl/elfm68hc12.sc: Likewise.
203 2003-07-17 Charles Wilson <cwilson@ece.gatech.edu>
205 * ld/pe-dll.c: Add libcygwin to autofilter_liblist[]
207 2003-07-17 Nick Clifton <nickc@redhat.com>
209 * po/es.po: New Spanish translation.
211 2003-07-11 Alan Modra <amodra@bigpond.net.au>
213 * po/ld.pot: Regenerate.
215 2003-07-10 Bob Wilson <bob.wilson@acm.org>
217 * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS): Replace .xt.lit
218 with new .got.loc section.
219 (OTHER_READWRITE_SECTIONS): Do not combine linkonce sections for
220 non-relocating links.
221 (OTHER_SECTIONS): Add .xt.lit here. Change it to keep linkonce
222 sections separate for non-relocating links; likewise for .xt.insn.
224 2003-07-10 Alexandre Oliva <aoliva@redhat.com>
226 2001-08-22 Alexandre Oliva <aoliva@redhat.com>
227 * emulparams/elf32am33lin.sh: Adjust to match kernel parameters.
228 2001-05-09 Alexandre Oliva <aoliva@redhat.com>
229 * configure.host (am33_2.0-*-linux*): Added.
230 * configure.tgt (am33_2.0-*-linux*): Likewise.
231 * emulparams/elf32am33lin.sh: New.
232 * Makefile.am (eelf32am33lin.c): New rule.
233 * Makefile.in: Rebuilt.
235 2003-07-09 Alexandre Oliva <aoliva@redhat.com>
237 2001-04-17 Alexandre Oliva <aoliva@redhat.com>
238 * emulparams/mn10300.sh (TEMPLATE_NAME): Define.
239 (GENERATE_SHLIB_SCRIPT): Likewise.
241 2003-07-10 Alan Modra <amodra@bigpond.net.au>
243 * emulparams/elf64ppc.sh (OTHER_GOT_SECTIONS): Don't define.
245 * emultempl/ppc64elf.em (stub_added): New static var.
246 (ppc_create_output_section_statements): Call ppc64_elf_init_stub_bfd.
247 (ppc_add_stub_section): Set stub_added.
248 (gld${EMULATION_NAME}_finish): Look for .got rather than .toc. Adjust
249 ppc64_elf_size_stubs call and test for stubs.
250 * scripttempl/elf.sc (GOT): Define and use.
252 2003-07-08 J"orn Rennecke <joern.rennecke@superh.com>
254 * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation):
255 Allow second call from ldemul_finish.
257 2003-07-04 J"orn Rennecke <joern.rennecke@superh.com>
259 * emulparams/shelf32.sh (STACK_ADDR): Don't define.
260 (OTHER_SECTIONS): Include .stack.
261 * emulparams/shelf64.sh (OTHER_SECTIONS): Likewise.
263 2003-07-02 Jakub Jelinek <jakub@redhat.com>
265 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't include
267 (OTHER_READWRITE_SECTIONS): Include .opd if -pie.
268 * scripttempl/elf.sc: Use SHLIB_DATA_ADDR instead of DATA_ADDR
271 2003-06-28 Alan Modra <amodra@bigpond.net.au>
273 * ld.h: Convert to C90, remove unnecessary prototypes and casts.
274 Replace PTR with void *. Formatting.
275 * ldcref.c: Likewise.
276 * ldctor.c: Likewise.
277 * ldctor.h: Likewise.
278 * ldemul.h: Likewise.
281 * ldfile.c: Likewise.
282 * ldfile.h: Likewise.
283 * ldlang.c: Likewise.
284 * ldlang.h: Likewise.
287 * ldmain.c: Likewise.
288 * ldmain.h: Likewise.
289 * ldmisc.c: Likewise.
290 * ldmisc.h: Likewise.
292 * ldwrite.c: Likewise.
293 * ldwrite.h: Likewise.
294 * lexsup.c: Likewise.
297 * pe-dll.c: Likewise.
298 * pe-dll.h: Likewise.
299 * deffilep.y: Likewise.
300 * deffile.h: Likewise. Don't include ansidecl.h.
301 * emulparams/elf32mcore.sh: Remove unnecessary cast.
302 * emultempl/m68kcoff.em: Likewise.
303 * emultempl/m68kelf.em: Likewise.
304 * emultempl/ticoff.em: Remove lang_add_output_format declaration.
305 * sysdep.h: Don't include ansidecl.h.
306 * Makefile.am: Run "make dep-am".
307 * Makefile.in: Regenerate.
309 2003-06-27 Nick Clifton <nickc@redhat.com>
311 * deffilep.y (def_file_add_directive): Cope with NUL seperated
312 directives. Fix reporting of unparseable directives.
313 (def_error): Check for a NULL def_filename.
315 2003-06-27 Alan Modra <amodra@bigpond.net.au>
317 * emultempl/aix.em: Convert to C90, remove unnecessary prototypes
318 and casts. Replace PTR with void *. Formatting.
319 * emultempl/alphaelf.em: Likewise.
320 * emultempl/armcoff.em: Likewise.
321 * emultempl/armelf.em: Likewise.
322 * emultempl/armelf_oabi.em: Likewise.
323 * emultempl/beos.em: Likewise.
324 * emultempl/elf32.em: Likewise.
325 * emultempl/generic.em: Likewise.
326 * emultempl/gld960.em: Likewise.
327 * emultempl/gld960c.em: Likewise.
328 * emultempl/hppaelf.em: Likewise.
329 * emultempl/linux.em: Likewise.
330 * emultempl/lnk960.em: Likewise.
331 * emultempl/m68hc1xelf.em: Likewise.
332 * emultempl/m68kcoff.em: Likewise.
333 * emultempl/m68kelf.em: Likewise.
334 * emultempl/mipsecoff.em: Likewise.
335 * emultempl/mipself.em: Likewise.
336 * emultempl/mmix-elfnmmo.em: Likewise.
337 * emultempl/mmixelf.em: Likewise.
338 * emultempl/mmo.em: Likewise.
339 * emultempl/needrelax.em: Likewise.
340 * emultempl/netbsd.em: Likewise.
341 * emultempl/pe.em: Likewise.
342 * emultempl/sh64elf.em: Likewise.
343 * emultempl/sunos.em: Likewise.
344 * emultempl/ticoff.em: Likewise.
345 * emultempl/vanilla.em: Likewise.
346 * emultempl/xtensaelf.em: Likewise.
347 * Makefile.am: Correct dependencies.
348 * Makefile.in: Regenerate.
350 2003-06-25 Alan Modra <amodra@bigpond.net.au>
352 * ld.texinfo: Correct spelling of "relocatable".
353 * ldctor.c: Likewise.
355 * ldfile.c: Likewise.
356 * ldint.texinfo: Likewise.
357 * ldlang.c: Likewise.
358 * ldmain.c: Likewise.
359 * ldwrite.c: Likewise.
360 * lexsup.c: Likewise.
361 * emultempl/aix.em: Likewise.
362 * emultempl/alphaelf.em: Likewise.
363 * emultempl/armcoff.em: Likewise.
364 * emultempl/armelf_oabi.em: Likewise.
365 * emultempl/beos.em: Likewise.
366 * emultempl/elf32.em: Likewise.
367 * emultempl/generic.em: Likewise.
368 * emultempl/gld960.em: Likewise.
369 * emultempl/gld960c.em: Likewise.
370 * emultempl/hppaelf.em: Likewise.
371 * emultempl/linux.em: Likewise.
372 * emultempl/lnk960.em: Likewise.
373 * emultempl/m68hc1xelf.em: Likewise.
374 * emultempl/m68kcoff.em: Likewise.
375 * emultempl/m68kelf.em: Likewise.
376 * emultempl/mipsecoff.em: Likewise.
377 * emultempl/mipself.em: Likewise.
378 * emultempl/mmix-elfnmmo.em: Likewise.
379 * emultempl/mmo.em: Likewise.
380 * emultempl/needrelax.em: Likewise.
381 * emultempl/pe.em: Likewise.
382 * emultempl/ppc64elf.em: Likewise.
383 * emultempl/sh64elf.em: Likewise.
384 * emultempl/sunos.em: Likewise.
385 * emultempl/ticoff.em: Likewise.
386 * emultempl/xtensaelf.em: Likewise.
388 2003-06-24 Alan Modra <amodra@bigpond.net.au>
390 * emultempl/ppc32elf.em: Convert to C90.
392 2003-06-20 Alan Modra <amodra@bigpond.net.au>
394 * emultempl/ppc64elf.em: Convert to C90 function definitions, remove
395 unnecessary prototypes and casts.
397 2003-06-19 Alan Modra <amodra@bigpond.net.au>
399 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Dump out
400 statistics from ppc64_elf_build_stubs.
402 2003-06-19 Alan Modra <amodra@bigpond.net.au>
404 * emultempl/ppc64elf.em (build_section_lists): Check return status
405 from ppc64_elf_next_input_section.
407 2003-06-17 H.J. Lu <hongjiu.lu@intel.com>
409 * ldlang.c (section_already_linked): Put back assignment of
412 2003-06-17 Rainer Keuchel <rkeuchel@allgeier.com>
414 * pe-dll.c (generate_reloc): Catch and ignore an ARM_26D
417 2003-06-17 Loren James Rittle <rittle@latour.rsch.comm.mot.com>
419 * configure.host (*-*-freebsd*): Add known path for ld-elf.so.1
420 if not produced by gcc.
422 2003-06-16 Hans-Peter Nilsson <hp@axis.com>
424 * configure.tgt: Add specific case for cris-*-linux-gnu*
425 with crislinux emulation only.
427 2003-06-13 Robert Millan <zeratul2@wanadoo.es>
429 * configure.tgt: Add i386-netbsd-gnu target.
431 2003-06-12 Richard Sandiford <rsandifo@redhat.com>
433 * configure.tgt (mips*-sgi-irix6*): Add the o32 and n64 emulations
434 to $targ_extra_libpath.
436 2003-06-11 H.J. Lu <hongjiu.lu@intel.com>
438 * po/Make-in (DESTDIR): New.
439 (install-data-yes): Support $(DESTDIR).
440 (uninstall): Likewise.
442 2003-06-10 Doug Evans <dje@sebabeach.org>
444 * Makefile.am (ALL_EMULATIONS): Add em32relf.o.
445 * Makefile.in: Regenerate.
447 2003-06-10 Richard Sandiford <rsandifo@redhat.com>
449 * configure.tgt (h8300*): Add h8300sxn emulations.
450 * Makefile.am (ALL_EMULATIONS): Add eh8300sxn.o and eh8300sxnelf.o.
451 (eh8300sxn.c, eh8300sxnelf.c): New rules.
452 * Makefile.in: Regenerate.
453 * emulparams/h8300sxnelf.sh, emulparams/h8300sxn.sh: New files.
454 * scripttempl/h8300sxn.sc: New file.
456 2003-06-10 Alan Modra <amodra@bigpond.net.au>
458 * emulparams/elf64ppc.sh (EXECUTABLE_SYMBOLS, OTHER_BSS_END_SYMBOLS,
459 CTOR_START, CTOR_END, DTOR_START, DTOR_END): Don't define.
461 2003-06-08 Alan Modra <amodra@bigpond.net.au>
463 * emultempl/ppc64elf.em (emit_stub_syms, toc_section): New vars.
464 (build_toc_list): New function.
465 (gld${EMULATION_NAME}_finish): Call build_toc_list and
466 ppc64_elf_reinit_toc. Adjust ppc64_elf_build_stubs call.
467 (OPTION_STUBSYMS): Define.
468 (PARSE_AND_LIST_LONGOPTS): Add emit-stub-syms.
469 (PARSE_AND_LIST_OPTIONS): Document.
470 (PARSE_AND_LIST_ARGS_CASES): Handle.
472 2003-06-05 Roland McGrath <roland@redhat.com>
474 * emultempl/elf32.em (gld${EMULATION_NAME}_list_options): Remove
475 extra \t in -z noexecstack line.
477 2003-05-23 Jakub Jelinek <jakub@redhat.com>
479 * ldgram.y (phdr_type): Grok PT_GNU_STACK.
480 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
481 -z execstack and -z noexecstack.
482 (gld${EMULATION_NAME}_list_options): Likewise.
483 * scripttempl/elf.sc: If not -r, discard .note.GNU-stack section.
485 2003-06-03 Michael Snyder <msnyder@redhat.com>
486 and Bernd Schmidt <bernds@redhat.com>
487 and Alexandre Oliva <aoliva@redhat.com>
489 * Makefile.am: Add new emulations for h8300sx.
490 * Makefile.in: Regenerate.
491 * configure.tgt: Add new emulations.
492 * emulparams/h8300sx.sh: New emulation.
493 * emulparams/h8300sxelf.sh: Ditto.
494 * scripttempl/h8300sx.sc: Ditto.
496 2003-06-03 H.J. Lu <hongjiu.lu@intel.com>
498 * ldmisc.c: Include "bfdlink.h".
499 (error_handler): Handle LD_DEFINITION_IN_DISCARDED_SECTION
500 and -LD_DEFINITION_IN_DISCARDED_SECTION.
502 * Makefile.am: Rebuild dependency.
503 * Makefile.in: Regenerated.
505 2003-06-03 Kaz Kojima <kkojima@rr.iij4u.or.jp>
507 * emulparams/shlelf_linux.sh (GENERATE_PIE_SCRIPT): Set to yes.
508 * emulparams/shlelf32_linux.sh (GENERATE_PIE_SCRIPT): Likewize.
510 2003-06-02 Fabrizio Gennari <fabrizio.ge@tiscalinet.it>
512 * pe-dll.c (fill_edata): Scan table pe_dll->exports, which is
513 sorted alphabetically, instead of exported_symbols, which is
516 2003-05-30 Ulrich Drepper <drepper@redhat.com>
517 Jakub Jelinek <jakub@redhat.com>
519 * lexsup.c (OPTION_PIE): Define.
520 (ld_options): Add -pie and --pic-executable options.
521 (parse_args): Handle OPTION_PIE.
522 * ldmain.c (main): Initialize link_info.pie and
523 link_info.executable.
524 * genscripts.sh: Generate PIE scripts.
525 * ld.texinfo: Document -pie and --pic-executable options.
526 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open):
527 (gld${EMULATION_NAME}_place_orphan): Likewise.
528 (gld${EMULATION_NAME}_get_script): Include PIE scripts.
529 * scripttempl/elf.sc: In PIE scripts set . the same way as in
531 * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Set to yes.
532 * emulparams/elf64_ia64.sh (GENERATE_PIE_SCRIPT): Likewise.
533 * emulparams/elf32ppc.sh (GENERATE_PIE_SCRIPT): Likewise.
534 * emulparams/elf64ppc.sh (GENERATE_PIE_SCRIPT): Likewise.
535 * emulparams/elf_x86_64.sh (GENERATE_PIE_SCRIPT): Likewise.
536 * emulparams/elf_s390.sh (GENERATE_PIE_SCRIPT): Likewise.
537 * emulparams/elf32_sparc.sh (GENERATE_PIE_SCRIPT): Likewise.
538 * emulparams/elf64_sparc.sh (GENERATE_PIE_SCRIPT): Likewise.
539 * emulparams/elf64alpha.sh (GENERATE_PIE_SCRIPT): Likewise.
540 * emulparams/elf64_s390.sh (GENERATE_PIE_SCRIPT): Likewise.
541 * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Likewise.
543 2003-05-30 H.J. Lu <hongjiu.lu@intel.com>
545 * genscripts.sh: Create tmpdir/libpath.exp.
547 2003-05-30 Nick Clifton <nickc@redhat.com>
549 * emultempl/armelf.em (arm_elf_before_allocation): Replace ASSERT
550 with a test for a NULL bfd_for_interworking.
552 2003-05-29 Jason Thorpe <thorpej@wasabisystems.com>
554 * configure.host (*-*-netbsd*): Set HOSTING_CRT0 and HOSTING_LIBS
555 correctly for more recent versions of NetBSD.
556 (alpha*-*-netbsd*): Remove.
557 (i[3-7]86-*-netbsd*): Remove.
559 2003-05-29 Nick Clifton <nickc@redhat.com>
561 * emultempl/pe.em: Include "safe-ctype.h" instead of <ctype.h>.
563 2003-05-26 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
565 * emulparams/elf64btsmip.sh: Set TEXT_START_ADDR to 0x120000000 to
566 trap on pointer crops.
568 2003-05-21 Marcus Comstedt <marcus@mc.pp.se>
570 * configure.tgt: Check for a target triplet of shl-...-netbsdelf
571 as well as shle-...-netbsdelf.
573 2003-05-16 Kelley Cook <kelleycook@wideopenwest.com>
575 * configure.host: Accept i[3-7]86 variants.
576 * configure.tgt: Likewise.
578 2003-05-15 H.J. Lu <hongjiu.lu@intel.com>
580 * emulparams/elf64_ia64.sh: Don't set COMMONPAGESIZE for now.
582 2003-05-09 Daniel Jacobowitz <drow@mvista.com>
584 * Makefile.am (ALL_EMULATIONS): Add earmelfb.o and earmelfb_linux.o.
585 (earmelfb.c, earmelfb_linux.c): New rules.
586 * Makefile.in: Regenerated.
587 * emulparams/armelfb.sh, emulparams/armelfb_linux.sh: New files.
588 * configure.tgt: Add armeb-elf and arm*b-*-linux-gnu.
590 2003-05-09 Nick Clifton <nickc@redhat.com>
592 * ldlang.c (lang_size_sections_1): Default to generating a
593 fatal error message if a loadable section is not allocated
594 to a memory region when regions are defined.
596 2003-05-09 Alan Modra <amodra@bigpond.net.au>
598 * Makefile.am (em68hc11elf.c): Correct dependencies.
599 (em68hc11elfb.c, em68hc12elf.c, em68hc12elfb.c): Likewise.
600 * Makefile.in: Regenerate.
601 * emultempl/elf32.em (find_exp_assignment): Adjust for changed
602 bfd_elf_record_link_assignment name.
604 2003-05-07 Alexandre Oliva <aoliva@redhat.com>
606 * ldmain.h (overflow_cutoff_limit): Declare.
607 * ldmain.c (overflow_cutoff_limit): Define, initialized to 10.
608 (reloc_overflow): Limit error messages based on it.
609 * lexsup.c (parse_args) <OPTION_VERBOSE>: Set cutoff to
612 2003-05-05 Alan Modra <amodra@bigpond.net.au>
614 * ldlex.l: Accept C style comments in version scripts.
616 2003-04-28 H.J. Lu <hjl@gnu.org>
618 * ldlang.c (lang_process): Add the relax finalize pass.
620 * ldmain.c (main): Initialize link_info.relax_finalizing to
623 2003-04-24 Roland McGrath <roland@redhat.com>
625 * ldgram.y (phdr_type): Grok PT_TLS and PT_GNU_EH_FRAME names.
626 If a name string is unknown, give an error rather than crashing later.
628 2003-04-23 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
630 * Makefile.am (ALL_EMULATIONS): Add eh8300hn.o, eh8300sn.o,
631 eh8300hnelf.o, eh8300snelf.o and respective rules.
632 * Makefile.in: Regenerate.
633 * configure.tgt: Add h8300hn, h8300sn, h8300hnelf, h8300snelf
634 * emulparams/h8300hn.sh: New
635 * emulparams/h8300sn.sh: New
636 * emulparams/h8300hnelf.sh: New
637 * emulparams/h8300snelf.sh: New
638 * scripttempl/h8300hn.sc: new
639 * scripttempl/h8300sn.sc: new
641 2003-04-23 H.J. Lu <hjl@gnu.org>
643 * ldmain.c (link_callbacks): Initialize error_handler.
645 * ldmisc.c (error_handler): New function.
647 * ldmisc.h (error_handler): New prototype.
649 2003-04-21 Stephane Carrez <stcarrez@nerim.fr>
651 * emulparams/m68hc11elf.sh: Use m68hc1xelf.em extra.
652 * emulparams/m68hc11elfb.sh: Likewise.
653 * emulparams/m68hc12elf.sh: Likewise.
654 * emulparams/m68hc12elfb.sh: Likewise.
656 2003-04-19 Stephane Carrez <stcarrez@nerim.fr>
658 * emultempl/m68hc1xelf.em: New file to generate far trampolines on
660 (LDEMUL_BEFORE_ALLOCATION): Override to gather the trampolines to
662 (LDEMUL_FINISH): Override to generate the trampolines after gc and
664 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Override to create the
665 stub file for trampolines.
666 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_LONGOPTS): New options
667 --no-trampoline and --bank-window to control the memory bank window.
669 2003-04-18 H.J. Lu <hjl@gnu.org>
671 * ldfile.c (ldfile_add_library_path): Remove the unused
674 2003-04-18 Andrew Haley <aph@cambridge.redhat.com>
676 * scripttempl/xstormy16.sc (__data, __rdata): New.
678 2003-04-16 Nick Clifton <nickc@redhat.com>
680 * scripttempl/xstormy16.sc: Add .jcr section mapping.
682 2003-04-15 H.J. Lu <hjl@gnu.org>
684 From Debian by Jack Howarth <howarth@nitro.med.uc.edu>:
686 * ldlex.l: Use YY_CURRENT_BUFFER instead of yy_current_buffer.
688 2003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com>
690 * h8-doc.texi: Replace occurrances of 'Hitachi' with 'Renesas'.
691 * ld.texinfo: Likewise.
693 2003-04-14 Alan Modra <amodra@bigpond.net.au>
695 From Prashanth Tamraparni <prashanth_t@in.ibm.com>
696 * scripttempl/elf.sc (CTOR): Handle crtbeginS.o, crtendS.o and
697 other variants of crtbegin.o, crtend.o.
699 * scripttempl/crisaout.sc (ctors, dtors): Likewise.
700 * scripttempl/elf_chaos.sc (CTOR, DTOR): Likewise.
701 * scripttempl/elfd10v.sc (CTOR, DTOR): Likewise.
702 * scripttempl/elfd30v.sc (CTOR, DTOR): Likewise.
703 * scripttempl/elfxtensa.sc (CTOR, DTOR): Likewise.
704 * scripttempl/iq2000.sc (CTOR, DTOR): Likewise.
705 * scripttempl/mmo.sc (ctors, dtors): Likewise.
706 * scripttempl/xstormy16.sc (CTOR, DTOR): Likewise.
708 2003-04-09 Dmitry Diky <diwil@mail.ru>
710 * scripttempl/elf32msp430.sc: Add initX, finiX, ctors, dtors
711 sections to respect C++ constructor/destructor. Add ctors/dtors
712 start/stop definitions.
713 * scripttempl/elf32msp430_3.sc: Likewise.
715 2003-04-06 Nick Clifton <nickc@redhat.com>
717 * ld.texinfo (Options): Add a reminder of the target specific
718 nature to the description of the i386 PE specific options, for
719 readers who have not read all the way through the manual.
721 2003-04-04 Svein E. Seldal <Svein.Seldal@solidas.com>
723 * configure.tgt: Fixed bug in list of targ_extra_emuls.
724 * emulparams/tic3xcoff.sh (SCRIPT_NAME): Namespace
725 cleanup. Replace s/c4x/tic4x and s/c3x/tic3x/
726 * emulparams/tic3xcoff_onchip.sh: Ditto
727 * emulparams/tic4xcoff.sh: Ditto
728 * scripttempl/tic4xcoff.sc: Ditto
730 2003-04-03 Nick Clifton <nickc@redhat.com>
732 * NEWS: Mention support for Xtensa architecture.
734 2003-04-02 Nick Clifton <nickc@redhat.com>
736 * pe-dll.c (pe_detail_list): arm-pe targets use underscores.
738 2003-04-01 Danny Smith <dannysmith@users.sourceforge.net>
740 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open):
741 Don't call pe_dll_build_section() if link_info.relocateable.
742 (gld_${EMULATION_NAME}_finish): Don't call pe_dll_fill_sections()
743 if link_info.relocateable.
745 2003-04-01 Fabrizio Gennari <fabrizio.ge@tiscalinet.it>
747 * pe-dll.c (process_def_file): Don't create an export
748 section if there are no exports and we're building an exe
749 (pe_dll_build_sections): Ditto
750 (pe_dll_fill_sections): Conditionalize setting
751 abfd->dll true on info->shared
752 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open):
753 If i386pe or armpe, call pe_dll_build_section()
754 for both exe's and dll's, not just dll's.
755 (gld_${EMULATION_NAME}_finish): For all targets except
756 shpe and mipspe, call pe_dll_fill_sections() for both
757 exe's and dll's, not just dll's.
759 2003-04-02 Bob Wilson <bob.wilson@acm.org>
761 * emulparams/xtensa-config.sh: Remove comment indicating that this is
764 2003-04-01 Bob Wilson <bob.wilson@acm.org>
766 * Makefile.am (ALL_EMULATIONS): Add eelf32xtensa.o.
767 (eelf32xtensa.c): New target.
768 * Makefile.in: Regenerate.
769 * configure.tgt: Handle xtensa-*-*.
770 * gen-doc.texi: Set XTENSA variable.
771 * ld.texinfo: Set XTENSA variable. Add new Xtensa node.
772 * emulparams/elf32xtensa.sh: New file.
773 * emulparams/xtensa-config.sh: Likewise.
774 * emultempl/xtensaelf.em: Likewise.
775 * scripttempl/elfxtensa.sc: Likewise.
777 2003-04-01 Jakub Jelinek <jakub@redhat.com>
779 * configure.tgt (powerpc*-*-linux*): Add elf32ppc to ppc64
780 targ_extra_libpath. Add elf64ppc to ppc targ_extra_libpath
781 if --enable-64-bit-bfd.
783 2003-04-01 Nick Clifton <nickc@redhat.com>
785 * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Change name of
787 * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Change
788 name of note section.
790 2003-03-31 Alexandre Oliva <aoliva@redhat.com>
792 * ld.texinfo (-Tbss, -Tdata, -Ttext): Document in terms of
795 2003-03-31 David Heine <dlheine@suif.stanford.edu>
797 * ldfile.c (ldfile_add_library_path): Always allocate space for
799 * ldlang.c (lang_register_vers_node): Free the node if it cannot
801 * ldmain.c (set_scripts_dir): Always free the constructed
803 (add_keepsyms_file): Fix memory leak.
804 * ldmisc.c (vfinfo): Likewise.
805 * lexsup.c (parse_args): Likewise.
807 2003-03-25 Stan Cox <scox@redhat.com>
808 Nick Clifton <nickc@redhat.com>
810 Contribute support for Intel's iWMMXt chip - an ARM variant:
812 * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Define.
813 * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Define.
814 * scripttempl/armcoff.sc (.data): Ensure 8 byte alignment.
817 2003-03-25 Alexandre Oliva <aoliva@redhat.com>
819 * ldmain.h (ld_canon_sysroot, ld_canon_sysroot_len): Declare.
820 * ldmain.c (ld_canon_sysroot, ld_canon_sysroot_len): Define.
821 (main): Initialize them.
822 * ldfile.c: Include pathnames.h.
823 (is_sysrooted_pathname): New.
824 (ldfile_add_library_path): Use it.
825 (ldfile_open_file_search): Likewise. Use IS_ABSOLUTE_PATH. Don't
826 search_dirs if given an absolute pathname.
827 (ldfile_open_file): Issue error message for sysrooted
829 * Makefile.am: Updated dependencies.
830 * Makefile.in: Rebuild.
832 2003-03-24 Daniel Néri <dne@mayonnaise.net>
834 * ld.texinfo: Rename all occurances of C54X to TIC54X.
836 2003-03-19 Andreas Schwab <schwab@suse.de>
838 * ldfile.c (ldfile_try_open_bfd): Pop lexer start condition after
841 2003-03-18 Danny Smith <dannysmith@users.sourceforge.net>
843 * deffilep.y (opt_base): If no number given, set to default
846 2003-03-13 Danny Smith <dannysmith@users.sourceforge.net>
848 * deffilep.y (def_import): Use default extension of "dll"
849 if no extension provided in parsed IMPORT definition.
851 * deffilep.y (def_lex): Revert 2003-03-12 change.
852 (dot_name): New id type and rule.
853 (expline): Use instead of ID.
854 (opt_equal_name): Likewise.
856 2003-03-12 Danny Smith <dannysmith@users.sourceforge.net>
858 * deffilep.y (def_lex): Accept '.' as valid non-lead char.
860 2003-03-07 Christopher Faylor <cgf@redhat.com>
862 * configure.tgt: Add NATIVE_LIB_DIRS for cygwin target back after
863 apparent accidental removal on 2003-01-06.
865 2003-03-04 Dmitry Diky <diwil@mail.ru>
867 * Makefile.am: Add new devices x1122 x1132 emulation
868 * configure.tgt: Likewise.
869 * Makefile.in: Regenerate.
870 * emulparams/msp430x1122.sh: New file.
871 * emulparams/msp430x1132.sh: New file.
873 2003-03-03 Alexandre Oliva <aoliva@redhat.com>
875 * ldmain.c (set_scripts_dir): Look for relative to TOOLBINDIR as
878 * ldfile.h (struct search_dirs): Added sysrooted field.
879 * ldlang.h (struct lang_input_statement_struct): Likewise.
880 * ldfile.c (ldfile_add_library_path): Mark sysrooted paths.
881 (ldfile_open_file_search): Look for sysrooted filename starting
882 with / in ld_sysroot instead of in the current directory. Clear
883 sysrooted flag if it's found in the current directory. Set it
884 from the search directory's sysrooted flag where it is found
886 * ldlang.c (ldlang_sysrooted_script): New static variable.
887 (new_afile): Mark search_file_enums as sysrooted if
888 ldlang_sysrooted_script.
889 (load_symbols): Set ldlang_sysrooted_script according to the
890 script's sysrooted field while processing it.
891 * ld.texinfo: Document INPUT behavior in sysroot.
893 2003-03-02 Danny Smith <dannysmith@users.sourceforge.net>
895 * scripttempl/pe.sc: Use PROVIDE with etext, end, _end,
897 2003-03-03 Alan Modra <amodra@bigpond.net.au>
899 * emulparams/elf64alpha.sh (EXTRA_EM_FILE): Define.
900 (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS,
901 PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES,
902 PARSE_AND_LIST_EPILOGUE): Don't define.
903 * emultempl/alphaelf.em: New file.
905 2003-03-01 Alan Modra <amodra@bigpond.net.au>
907 * ldemul.c: Include getopt.h.
908 * emultempl/elf32.em: Include getopt.h earlier.
909 * emultempl/ticoff.em: Likewise.
911 2003-02-28 Alan Modra <amodra@bigpond.net.au>
913 * emultempl/elf32.em (gld${EMULATION_NAME}_get_script): Add combreloc
914 support when scripts read from files.
916 2003-02-28 Alan Modra <amodra@bigpond.net.au>
918 * ldemul.c (ldemul_parse_args): Return FALSE by default.
919 * ldemul.h (struct ld_emulation_xfer_struct): Update parse_args
922 * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions.
923 (ldemul_parse_args): Return bfd_boolean. Formatting.
924 * ldemul.h (ldemul_add_options, ldemul_handle_option): Declare.
925 (ldemul_parse_args): Adjust.
926 (struct ld_emulation_xfer_struct): Add add_options and handle_option.
927 Return bfd_boolean from parse_args.
928 * lexsup.c (parse_args): Malloc shortopts, longopts and
929 really_longopts. Call ldemul_add_options and ldemul_handle_option.
930 * emultempl/aix.em (gld${EMULATION_NAME}_add_options): Split out from
931 gld${EMULATION_NAME}_parse_args.
932 (gld${EMULATION_NAME}_handle_option): Likewise.
933 (ld_${EMULATION_NAME}_emulation): Adjust initializer.
934 * emultempl/armcoff.em: As for aix.em, but remove parse_args.
935 * emultempl/beos.em: Likewise.
936 * emultempl/pe.em: Likewise.
937 * emultempl/ticoff.em: Likewise.
938 * emultempl/elf32.em: Likewise. Don't duplicate long options either.
939 (gld${EMULATION_NAME}_add_sysroot): Prototype.
940 * emultempl/armelf.em (PARSE_AND_LIST_LONGOPTS): Don't duplicate
942 * emultempl/hppaelf.em (PARSE_AND_LIST_LONGOPTS): Likewise.
943 * emultempl/ppc32elf.em (PARSE_AND_LIST_LONGOPTS): Likewise.
944 * emultempl/ppc64elf.em (PARSE_AND_LIST_LONGOPTS): Likewise.
945 * emultempl/armelf_oabi.em (ld_${EMULATION_NAME}_emulation): Adjust
947 * emultempl/generic.em: Likewise.
948 * emultempl/gld960.em: Likewise.
949 * emultempl/gld960c.em: Likewise.
950 * emultempl/linux.em: Likewise.
951 * emultempl/lnk960.em: Likewise.
952 * emultempl/m68kcoff.em: Likewise.
953 * emultempl/mipsecoff.em: Likewise.
954 * emultempl/sunos.em: Likewise.
955 * emultempl/vanilla.em: Likewise.
956 * emultempl/netbsd.em (gldnetbsd_before_parse): Prototype.
958 2003-02-25 Alexandre Oliva <aoliva@redhat.com>
960 * emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Fix
961 memory allocation error.
963 * Makefile.am (ldmain.o): Define TOOLBINDIR.
964 * Makefile.in: Rebuilt.
965 * ldmain.c (ld_sysroot): Try to set from TOOLBINDIR too.
967 2003-02-21 Bob Wilson <bob.wilson@acm.org>
969 * ldlang.c (lang_size_sections_1): Add CHECK_REGIONS argument and only
970 call os_region_check when it is set.
971 (lang_size_sections): Add CHECK_REGIONS argument and pass it through to
972 lang_size_sections_1.
973 (lang_process): Change lang_size_sections calls to set CHECK_REGIONS
974 only for the last call, not on every relaxation iteration.
975 * ldlang.h (lang_size_sections): Update prototype.
976 * pe-dll.c (pe_dll_fill_sections): Set CHECK_REGIONS argument in calls
977 to lang_size_sections.
978 (pe_exe_fill_sections): Likewise.
979 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Likewise.
980 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
981 * emultempl/ppc64elf.em (ppc_before_allocation): Likewise.
982 (ppc_layout_sections_again): Likewise.
984 2003-02-21 Bob Wilson <bob.wilson@acm.org>
986 * gen-doc.texi: Set ARM and HPPA variables.
987 * ld.texinfo: Fix typos and obvious texinfo mistakes. Make section
988 title capitalization more consistent. Add missing menu entries for
989 machine-specific sections and conditionalize them consistently.
990 Conditionalize text that is irrelevant when SingleFormat is set.
991 Add @group divisions to improve page breaks in long examples.
992 Use @iftex/@ifnottex instead of @iftex/@ifinfo so that HTML output
993 is correct. Remove "FIXME" comment about not using
994 @raisesections/@lowersections. Use @raisesections/@lowersections
995 consistently for machine-specific sections. Change to be more polite
996 about poor bug reports. Replace FDL appendix with include of fdl.texi.
997 Move WIN32 node to match its order in the menus.
998 * fdl.texi: New file.
1000 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
1002 * configure.in (TARGET_SYSTEM_ROOT): Set default to
1003 ${exec_prefix}/${target_alias}/sys-root. Match explicit
1004 '${exec_prefix}' (in addition to the expansion thereof) as
1006 * configure: Rebuilt.
1008 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
1010 * ldgram.y (vers_defns): Also recurse with 'EXTERN NAME' patterns.
1012 2003-02-20 Harri Porten <porten@kde.org>
1014 * ldgram.y (vers_defns): Allow optional trailing semicolon in
1017 2003-02-18 Alan Modra <amodra@bigpond.net.au>
1019 * emultempl/ppc32elf.em: New file.
1020 * emulparams/elf32ppc.sh (EXTRA_EM_FILE): Define.
1021 * Makefile.am (eelf32lppc.c): Depend on emultempl/ppc32elf.em.
1022 (eelf32lppcnto.c): Likewise.
1023 (eelf32lppcsim.c): Likewise.
1024 (eelf32ppcnto.c): Likewise.
1025 (eelf32ppc.c): Likewise.
1026 (eelf32ppc_fbsd.c): Likewise.
1027 (eelf32ppcsim.c): Likewise.
1028 (eelf32ppclinux.c): Likewise.
1029 * Makefile.in: Regenerate.
1031 2003-02-18 Alan Modra <amodra@bigpond.net.au>
1033 * ld.texinfo: Remove spaces between @samp and opening brace.
1035 2003-02-18 Alan Modra <amodra@bigpond.net.au>
1037 * emultempl/ppc64elf.em (ppc_create_output_section_statements): Check
1039 (ppc_before_allocation): Don't do optimizations if wrong hash table.
1040 (gld${EMULATION_NAME}_finish): Ditto.
1042 2003-02-17 Nick Clifton <nickc@redhat.com>
1044 * ldmain.c (main) Default allow_shlib_undefined to true.
1045 * lexsup.c (ld_options): Add --no-allow-shlib-undefined.
1046 (parse_args): Parse the new switch.
1047 * ld.texinfo: Document new switch and default behaviour of
1048 allowing undefined symbols in shared libraries.
1050 2003-02-11 Dmitry Diky <diwil@mail.ru>
1052 * scripttempl/elf32msp430.sc: Add new data anchors definitions.
1053 * scripttempl/elf32msp430_3.sc: Likewise.
1055 2003-02-11 Uwe Stieber <uwe@wwws.de>
1057 * configure.tgt: Add support for kaOS as cross build target
1060 2003-02-10 John Daivid Anglin <dave.anglin@nrc-cnrc.gc.ca>
1062 * hppaelf.em (group_size): Change default back to 1.
1064 2003-02-09 Alan Modra <amodra@bigpond.net.au>
1066 * emultempl/ppc64elf.em: Add "no-tls-optimize" option and support code.
1068 2003-02-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1070 * hppaelf.em (group_size): Change default to -1.
1072 2003-02-07 Nick Clifton <nickc@redhat.com>
1074 * emultempl/armelf.em (PARSE_AND_LIST_SHORTOPTS): Remove 'n' short
1076 (PARSE_AND_LIST_LONGOPTS): Add duplicate entry for
1077 no-pipeline-knowledge. This will prevent the getopt package from
1078 thinking that there are any shorter abbreviations for
1079 --no-pipeline-knowledge.
1081 2003-02-07 Jakub Jelinek <jakub@redhat.com>
1083 * genscripts.sh (LIB_PATH): Don't append LIBPATH_SUFFIX to paths
1084 which already have it. Avoid duplicates.
1086 2003-02-06 Jakub Jelinek <jakub@redhat.com>
1088 * emulparams/elf64_s390.sh (LIBPATH_SUFFIX): Set to 64.
1089 * emulparams/elf_x86_64.sh (LIBPATH_SUFFIX): Likewise.
1090 * emulparams/elf64_sparc.sh (LIBPATH_SUFFIX): Set instead of suffix.
1092 2003-02-05 Alan Modra <amodra@bigpond.net.au>
1094 * emultempl/ppc64elf.em (ppc_before_allocation): Size sections then
1095 call ppc64_elf_tls_optimize.
1097 2003-02-03 Daniel Jacobowitz <drow@mvista.com>
1099 * emultempl/elf32.em: Move gld${EMULATION_NAME}_add_sysroot
1100 outside of GNU/Linux conditional.
1102 2003-01-28 Ralf Habacker <ralf.habacker@freenet.de>
1104 * deffilep.y (def_get_module): New function: locate an already
1106 * deffile.h (def_get_module): New prototype.
1107 * pe-dll.c (pe_implied_import_dll): Add code to prevent importing
1108 a dll multiple times.
1110 2003-01-23 Alan Modra <amodra@bigpond.net.au>
1112 * emultempl/sh64elf.em: Include elf32-sh64.h.
1113 (sh64_elf_${EMULATION_NAME}_before_allocation): Adjust for changed
1114 sh64_elf_section_data.
1115 (sh64_elf_${EMULATION_NAME}_after_allocation): Likewise.
1117 2003-01-23 Wu Yongwei <adah@netstd.com>
1119 * ld.texinfo: Remove an extra "i" in --dll-search-prefix.
1120 * emultempl/pe.em (gld_${EMULATION_NAME}_list_options): Move a
1121 cross-80th-column-margin "an" to the next line.
1123 2003-01-21 Nick Clifton <nickc@redhat.com>
1125 * emulparams/tic3xcoff-onchip.sh: Rename to ...z
1126 * emulparams/tic3xcoff_onchip.sh: ...this.
1127 * Makefile.am (etic3xcoff_onchip.c): Fix name of generated C file.
1128 * Makefile.in: Regenerate.
1130 2003-01-21 Fabio Alemagna <falemagn@aros.org>
1132 * configure.tgt: Handle i[3456]86-*-aros*
1134 2003-01-19 Svein E. Seldal <Svein.Seldal@solidas.com>
1136 * Makefile.am: Added etic3xcoff.o and etic4xcoff_onchip.o
1137 * Makefile.in: Regenerate
1138 * configure.tgt: Added extra target emulations
1139 * emulparams/tic3xcoff.sh: Remove old settings
1140 * emulparams/tic4xcoff.sh: Ditto
1141 * emulparams/tic3xcoff-onchip.sh: Added new
1142 * scripttempl/tic4xcoff.sc: Revise and combine both c3x and c4x
1143 * scripttempl/tic3xcoff.sc: Remove
1145 2003-01-17 Andreas Jaeger <aj@suse.de>
1147 * emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Do not
1150 2003-01-16 Alan Modra <amodra@bigpond.net.au>
1152 * Makefile.in: Regenerate.
1154 2002-01-14 Charles Wilson <cwilson@ece.gatech.edu>
1156 * ld.texinfo (node WIN32): Some clarifications
1157 and formatting fixups.
1159 2003-01-09 Chris Demetriou <cgd@broadcom.com>
1161 * ldmain.c (get_emulation): Sort -mipsNN checks in the usual
1162 order, and handle (ignore) -mips32r2.
1164 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
1166 * ldmain.c (main): Make sure ld_sysroot is initialized.
1168 2003-01-06 Daniel Jacobowitz <drow@mvista.com>
1170 * Makefile.am (eelf32iq10.c): Fix tab/whitespace mixup.
1172 * Makefile.am (ldmain.o): Add @TARGET_SYSTEM_ROOT_DEFINE@.
1173 (GENSCRIPTS): Add @use_sysroot@.
1174 * Makefile.in: Regenerated.
1175 * configure.host: Move setting of NATIVE_LIB_DIRS to...
1176 * configure.tgt: ... here. Use ${target} instead of ${host}
1177 for NATIVE_LIB_DIRS.
1178 * configure.in: Add --with-sysroot.
1179 * configure: Regenerated.
1180 * genscripts.sh: Accept use_sysroot option. Set new variables
1181 NATIVE and USE_LIBPATH. Prepend "=" to directory names if
1182 $use_sysroot. Don't search $tool_lib if $use_sysroot.
1183 * ldfile.c (ldfile_add_library_path): Handle leading '='.
1184 * ldmain.c (TARGET_SYSTEM_ROOT): Define if not defined.
1185 (ld_sysroot): New variable.
1186 (main): Initialize ld_sysroot.
1187 * ldmain.h (ld_sysroot): New extern.
1188 * emultempl/elf32.em: Use NATIVE and USE_LIBPATH instead of
1189 searching $EMULATION_LIBPATH.
1190 (gld${EMULATION_NAME}_add_sysroot): New function.
1191 (gld${EMULATION_NAME}_check_ld_so_conf): Use it. Honor ld_sysroot.
1192 (gld${EMULATION_NAME}_after_open): Likewise. Only search
1193 environment variables if $NATIVE.
1194 * ld.texinfo (Options): Mention "=" prefix in the description of -L.
1195 * NEWS: Mention --with-sysroot.
1197 * emulparams/elf32bmipn32-defs.sh: Set NATIVE and LIBPATH_SUFFIX
1198 instead of setting LIB_PATH.
1199 * emulparams/elf32ppc.sh: Likewise.
1200 * emulparams/elf64_s390.sh: Likewise.
1201 * emulparams/elf64_sparc.sh: Likewise.
1202 * emulparams/elf64ppc.sh: Likewise.
1203 * emulparams/elf_x86_64.sh: Likewise.
1205 * emulparams/elf64_aix.sh: Add "=" prefixes to LIB_PATH.
1206 * emulparams/elf64hppa.sh: Add "=" prefixes to LIB_PATH.
1208 2003-01-03 Charles Wilson <cwilson@ece.gatech.edu>
1210 * pe-dll.c (autofilter_symbollist): Add cygwin_crt0.
1212 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
1214 * Makefile.am (ldmain.o): Pass BINDIR.
1215 * Makefile.in: Regenerated.
1216 * ldmain.c (set_scripts_dir): Use make_relative_prefix for the first
1219 2003-01-02 Ben Elliston <bje@redhat.com>
1221 * Makefile.am (ALL_EMULATIONS): Add eelf32iq2000.o.
1222 (eelf32iq2000.c): New target.
1223 * Makefile.in: Regenerate.
1224 * configure.tgt: Handle iq2000-*-elf.
1225 * emulparams/elf32iq10.sh: New file.
1226 * emulparams/elf32iq2000.sh: New file.
1227 * scripttempl/iq2000.sc: New file.
1229 2003-01-02 Charles Wilson <cwilson@ece.gatech.edu>
1231 * pe-dll.c (autofilter_symbollist): Add do_pseudo_reloc
1232 and _pei386_runtime_relocator to the exclude list.
1234 2003-01-01 Kazu Hirata <kazu@cs.umass.edu>
1236 * ldfile.c: Fix comment typos.
1237 * ldlang.c: Likewise.
1239 * pe-dll.c: Likewise.
1241 2003-01-01 Daniel Jacobowitz <drow@mvista.com>
1243 Suggested by Manfred Hollstein <manfred.h@gmx.net>:
1244 * Makefile.am (ld.1): Depend on configdoc.texi
1246 * Makefile.in: Regenerated.
1248 2002-12-24 Dmitry Diky <diwil@mail.ru>
1250 * Makefile.am: Add msp430 target.
1251 * configure.tgt: Likewise.
1252 * Makefile.in: Regenerate.
1253 * emulparams/msp430x???.sh: New files. Linker script parameters
1254 for various msp430 configurations.
1255 * gen-doc.texi: Enable msp430 documenation.
1256 * ld.texinfo: Document msp430 sections.
1257 * scripttempl/elf32msp430.sc: New file. Linker script for msp430.
1258 * scripttempl/elf32msp430_3.sc: New file. Linker script for msp430.
1260 2002-12-30 Ralf Habacker <Ralf.Habacker@freenet.de>
1261 Charles Wilson <cwilson@ece.gatech.edu>
1263 * config.in (HAVE_REALPATH): New entry.
1264 (HAVE_SYS_STAT_H, HAVE_SYS_TYPES_H): Removed: obsolete.
1266 2002-12-30 Ralf Habacker <ralf.habacker@freenet.de>
1268 * ld.texinfo: New win32 topics: 'symbol aliasing' and 'export dll
1271 2002-12-23 Alan Modra <amodra@bigpond.net.au>
1273 * ldmain.c (main): Init "strip_discarded".
1274 * lexsup.c (OPTION_STRIP_DISCARDED): Define.
1275 (OPTION_NO_STRIP_DISCARDED): Define.
1276 (ld_options): Add "strip-discarded" and "no-strip-discarded".
1277 (parse_args): Handle them.
1279 2002-12-23 Nick Clifton <nickc@redhat.com>
1281 * ld.h (struct args_type): Add new field
1282 'accept_unknown_input_architecture'.
1283 * ldmain.c (main): Initialise 'accept_unknown_input_architecture'
1285 * ldlang.c (lang_check): Pass accept_unknown_input_architecture to
1286 bfd_arch_get_compatible.
1287 * ldfile.c (ldfile_try_open_bfd): Likewise.
1288 * lexsup.c (ld_options): Add new command line switch
1289 --accept-unknown-input-architecture and its inverse.
1290 (parse_args): Handle --accept-unknown-input-architecture.
1291 * ld.texinfo: Document new linker option.
1292 * NEWS: Mention new linker option.
1294 2002-12-20 Alan Modra <amodra@bigpond.net.au>
1296 * ldmain.c (main): Re-order link_info initialization. Init all
1299 2002-12-19 Charles Wilson <cwilson@ece.gatech.edu>
1301 * ld.texinfo: Clarify and extend the documentation
1302 in the Machine Dependent, WIN32 section.
1304 2002-12-18 Ralf Habacker <ralf.habacker@freenet.de>
1306 * ld.texinfo: Add win32 machine depending section.
1307 * gen-doc.texi: Enable win32 machine depending section.
1309 * configure.host: Add win32 library search path.
1311 2002-12-17 Ralf Habacker <ralf.habacker@freenet.de>
1313 * emultempl/pe.em (pe_find_data_imports): Don't search for data
1314 import when auto-import is disabled.
1316 2002-12-17 Danny Smith <dannysmith@users.sourceforge.net>
1318 * emultempl/pe.em (..._recognized_file): Use LD_PATHMAX+1 to
1319 account for trailing '\0'.
1321 2002-12-17 Nick Clifton <nickc@redhat.com>
1323 * emultempl/pe.em (longopts): Duplicate entry for --compact-implib
1324 so that it is not confused with -c.
1326 2002-12-13 Ralf Habacker <Ralf.Habacker@freenet.de>
1327 Charles Wilson <cwilson@ece.gatech.edu>
1329 * configure.in: Add check for realpath function.
1330 * configure: Regenerate.
1331 * config.in: Regenerate.
1332 * aclocal.m4: Regenerate.
1333 * deffile.h: Add .data field to def_file_import
1335 * pe-dll.c (pe_proces_import_defs): Use .data field of
1336 def_file_import structure to initialize flag_data field of
1337 def_file_export structure.
1338 (pe_implied_import_dll): New variables exp_funcbase and
1339 [data|bss]_[start|end]. Use DLL's internal name to set dll_name,
1340 not filename (which may be a symlink). Scan the sections and
1341 initialize [data|bss]_[start|end]. When scanning the export
1342 table, skip _nm_ symbols, and mark any symbols whose rva indicates
1343 that it is in the .bss or .data sections as data.
1344 * sysdep.h: Include limits.h and sys/param.h, and define
1345 LD_PATHMAX as appropriate. Also define REALPATH as realpath if it
1346 exists, NULL otherwise.
1347 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Call
1348 pe_process_import_defs before pe_find_data_imports, so that
1349 auto-import will check the virtual implib as well as "real"
1351 (gld_${EMULATION_NAME}_recognized_file): Use REALPATH to follow
1352 symlinks to their target; check that the target's extension is
1353 .dll before calling pe_implied_import_dll(), not the filename
1354 itself (which may be a symlink).
1356 2002-12-10 Alan Modra <amodra@bigpond.net.au>
1358 * emultempl/elf32.em (struct orphan_save): Add os_tail field.
1359 (gld${EMULATION_NAME}_place_orphan): Re-order output_section_statement
1362 2002-12-08 Alan Modra <amodra@bigpond.net.au>
1364 * ldlang.h: Formatting.
1366 2002-12-07 Alan Modra <amodra@bigpond.net.au>
1368 * ldlang.c (init_os): Ensure sections mentioned in load_base
1371 2002-12-05 Alan Modra <amodra@bigpond.net.au>
1373 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Set
1374 load_base for orphans that follow a section with load_base set.
1376 2002-12-01 H.J. Lu <hjl@gnu.org>
1378 * ld.texinfo: Remove the extra `;' in sample version script.
1380 2002-11-30 Alan Modra <amodra@bigpond.net.au>
1382 * configure.host: Correct dynamic-linker for powerpc64 hosts.
1384 * Makefile.am (eelf32ppcwindiss.c): Correct dependencies.
1385 * Makefile.in: Regenerate.
1387 * ld.h, ldcref.c, ldctor.c, ldctor.h, ldemul.c, ldemul.h, ldexp.c,
1388 ldexp.h, ldfile.c, ldfile.h, ldgram.y, ldlang.c, ldlang.h, ldmain.c,
1389 ldmain.h, ldmisc.c, ldwrite.c, lexsup.c, mri.c, pe-dll.c, pe-dll.h,
1390 emulparams/elf32b4300.sh, emultempl/aix.em, emultempl/armcoff.em,
1391 emultempl/armelf.em, emultempl/armelf_oabi.em, emultempl/beos.em,
1392 emultempl/elf32.em, emultempl/generic.em, emultempl/gld960.em,
1393 emultempl/gld960c.em, emultempl/hppaelf.em, emultempl/linux.em,
1394 emultempl/lnk960.em, emultempl/m68kcoff.em, emultempl/mipsecoff.em,
1395 emultempl/mmix-elfnmmo.em, emultempl/mmixelf.em, emultempl/mmo.em,
1396 emultempl/needrelax.em, emultempl/pe.em, emultempl/ppc64elf.em,
1397 emultempl/sh64elf.em, emultempl/sunos.em, emultempl/ticoff.em: Replace
1398 boolean with bfd_boolean, true with TRUE, false with FALSE. Simplify
1399 comparisons of bfd_boolean vars with TRUE/FALSE. Formatting.
1401 2002-11-27 David O'Brien <obrien@FreeBSD.org>
1403 * configure.host: Fix generic FreeBSD configuration entry.
1405 2002-11-27 H.J. Lu <hjl@gnu.org>
1407 * ld.texinfo: Add the missing `;' to sample version scripts.
1409 2002-11-20 Alan Modra <amodra@bigpond.net.au>
1411 * emulparams/elf64ppc.sh (SEGMENT_SIZE): Don't define.
1413 2002-11-14 Egor Duda <deo@logos-m.ru>
1415 * ldmain.c (main): Make runtime relocs disabled by default. Remove
1416 assignment which has no effect.
1417 * pe-dll.h (pe_create_import_fixup): Change prototype.
1418 * pe-dll.c (make_runtime_pseudo_reloc): New function.
1419 (pe_create_runtime_relocator_reference): Ditto.
1420 (pe_create_import_fixup): Handle relocations with non-zero addends.
1421 * emultempl/pe.em: Add options --enable-runtime-pseudo-reloc and
1422 --disable-runtime-pseudo-reloc.
1423 (make_import_fixup): Handle relocations with non-zero addends. Create
1424 an external reference to _pei386_runtime_relocator symbol if at least
1425 one pseudo reloc was created.
1426 * ld.texinfo: Document --enable-runtime-pseudo-reloc and
1427 --disable-runtime-pseudo-reloc options.
1429 2002-11-12 Earl Chew <earl_chew@agilent.com>
1431 * ldlang.c (lang_add_section): Discard debugging sections that have
1432 been marked SEC_EXCLUDE.
1434 2002-11-12 Nick Clifton <nickc@redhat.com>
1436 * configure.in (ALL_LINGUAS): Add da.
1437 * configure: Regenerate.
1438 * po/da.po: New Danish translation.
1440 2002-11-12 Alan Modra <amodra@bigpond.net.au>
1442 * emultempl/ppc64elf.em (ppc_before_allocation): New function.
1443 (LDEMUL_BEFORE_ALLOCATION): Define.
1444 (gld${EMULATION_NAME}_finish): Run discard_info for relocatable
1446 * emultemp/hppaelf.em ((gld${EMULATION_NAME}_finish): Likewise.
1448 2002-11-11 Christopher Faylor <cgf@redhat.com>
1450 * configure.tgt (LIB_PATH): Default to searching w32api directory under
1453 2002-11-11 Charles Wilson <cwilson@ece.gatech.edu>
1455 * pe-dll.c (autofilter_liblist): add libmingwex and libgcj to the list
1456 of restricted auto-export libs.
1458 2002-11-11 Charles Wilson <cwilson@ece.gatech.edu>
1460 * pe-dll.c (autofilter_liblist): Generalize library names to catch more
1461 creative library naming instances like, e.g., libstdc++-2.a.
1463 2002-11-06 Alexandre Oliva <aoliva@redhat.com>
1465 * emulparams/elf32btsmipn32.sh (TEXT_DYNAMIC): Define.
1466 * emulparams/elf64btsmip.sh (TEXT_DYNAMIC): Likewise.
1468 2002-11-07 Danny Smith <dannysmith@users.sourceforge.net>
1470 * deffilep.y (def_lex): Handle '@' as first character of an ID.
1471 * pe-dll.c (auto-export): Filter on "_imp_" prefix, not "_imp__".
1472 (make_one): Don't prefix decorated fastcall symbols with '_'.
1473 (pe_process_import_defs): Likewise.
1474 * emultempl/pe.em (pe_fixup_stdcalls): Don't fixup fastcall
1475 symbols to cdecl names or vise-versa.
1477 2002-10-13 Eric Kohl <ekohl@rz-online.de>
1479 * pe-dll.c (process_def_file): Handle fastcall symbols when
1480 generating undecorated aliases. Don't prefix decorated fastcall
1482 (fill_exported_offsets): Don't prefix decorated fastcall symbols
1485 2002-10-29 Daniel Jacobowitz <drow@mvista.com>
1487 * emultempl/aix.em: Use include <> for generated headers.
1488 * emultempl/beos.em: Likewise.
1489 * emultempl/elf32.em: Likewise.
1490 * emultempl/pe.em: Likewise.
1491 * ldctor.c: Likewise.
1492 * ldexp.c: Likewise.
1493 * ldfile.c: Likewise.
1494 * ldlang.c: Likewise.
1495 * ldlex.c: Likewise.
1496 * ldlex.l: Likewise.
1497 * ldmain.c: Likewise.
1498 * ldmisc.c: Likewise.
1499 * ldwrite.c: Likewise.
1500 * lexsup.c: Likewise.
1502 * pe-dll.c: Likewise.
1504 2002-10-23 Jakub Jelinek <jakub@redhat.com>
1506 * emultempl/elf32.em (place_orphan): Don't put non-allocated .rel*
1507 sections into .rel{,a}.dyn.
1509 2002-10-23 Nick Clifton <nickc@redhat.com>
1511 * lexsup.c (OPTION_NO_OMAGIC): Define.
1512 (ld_options): Add "no-omagic" option.
1513 (parse_args): Parse --no-omagic.
1514 * ld.texinfo: Document --no-omagic.
1515 * NEWS: Mention new option.
1517 2002-10-21 Danny Smith <dannysmith@users.sourceforeg.net>
1519 * scripttempl/pe.sc (__RUNTIME_PSEUDO_RELOC_LIST__,
1520 __RUNTIME_PSEUDO_RELOC_LIST_END__): Add only when relocating.
1522 2002-10-22 Alexandre Oliva <aoliva@redhat.com>
1524 * emulparams/elf32bmipn32-defs.sh: Set ELFSIZE according to
1525 emulation name. Set LIB_PATH only for native tools, and
1526 search the ABI-specific versions of NATIVE_LIB_DIRS before the
1527 .../lib variants, not instead of them. Mostly copied from...
1528 * emulparams/elf32ppc.sh: ... here. Fixed typo.
1529 * emulparams/elf64bmip-defs.sh: Backed out.
1530 * emulparams/elf64bmip.sh: Import elf32bmipn32-defs.sh again.
1531 * emulparams/elf64btsmip.sh: Likewise.
1532 (DATA_ADDR, NONPAGED_TEXT_START_ADDR, SHLIB_TEXT_START_ADDR,
1533 TEXT_DYNAMIC): Removed.
1535 2002-10-17 Alexandre Oliva <aoliva@redhat.com>
1537 * emulparams/elf32bmipn32-defs.sh (LIB_PATH): Set to /usr/lib32.
1538 (GENERATE_SHLIB_SCRIPT): Set to yes.
1539 (EXECUTABLE_SYMBOLS, WRITABLE_RODATA): Moved to...
1540 * emulparams/elf32bmipn32.sh: here.
1541 (GENERATE_SHLIB_SCRIPT): Deleted as redundant.
1542 * emulparams/elf32btsmipn32.sh: Delete redundant unsets.
1543 * emulparams/elf64bmip-defs.sh: New file. Extend
1544 elf32bmipn32-defs.sh by overiding ELFSIZE and LIB_PATH.
1545 * emulparams/elf64bmip.sh: Bring in definitions from
1547 (ELFSIZE, GENERATE_SHLIB_SCRIPT, LIB_PATH): Delete redundant
1549 (WRITABLE_RODATA): Moved from elf32bmipn32-defs.sh.
1550 * emulparams/elf64btsmip.sh: Bring in definitions from
1552 (ELFSIZE, GENERATE_SHLIB_SCRIPT): Delete, redundant.
1553 (EXECUTABLE_SYMBOLS, WRITABLE_RODATA): Delete redundant unsets.
1555 2002-10-16 Jakub Jelinek <jakub@redhat.com>
1557 * configure.tgt (s390x-*-linux*): Add elf_s390 emulation.
1558 (s390-*-linux*): Add elf64_s390 emulation if want64.
1559 * emulparams/elf64_sparc.sh (LIB_PATH): Update to match 2002-05-22
1560 genscript.sh changes.
1561 * emulparams/elf_x86_64.sh (LIB_PATH): Likewise.
1562 * emulparams/elf64_s390.sh (LIB_PATH): Set up native 64 bit dirs.
1564 2002-10-15 Alan Modra <amodra@bigpond.net.au>
1566 * ldlang.c (load_symbols): Revert last change.
1568 2002-10-14 Alan Modra <amodra@bigpond.net.au>
1570 * ldlang.c (load_symbols): Don't call bfd_link_add_symbols when
1572 (lang_reasonable_defaults): Don't compare against false.
1573 (size_input_section): Likewise.
1574 (lang_size_sections_1): Likewise.
1575 (lang_do_assignments): Likewise.
1576 (lang_add_output): Likewise.
1578 * Makefile.am: Run "make dep-am".
1579 * Makefile.in: Regenerate.
1580 * ldver.c: #include "bfdver.h".
1582 2002-10-13 Stephane Carrez <stcarrez@nerim.fr>
1584 * scripttempl/elfm68hc11.sc: Use KEEP for .vectors, .installN,
1586 * scripttempl/elfm68hc12.sc: Likewise.
1588 2002-10-11 Alan Modra <amodra@bigpond.net.au>
1590 * pe-dll.c (make_import_fixup_mark): Avoid type-punned pointer.
1592 * ldgram.y (memory_spec): Provide empty action.
1593 (section <NAME>): Likewise.
1595 2002-10-10 Jakub Jelinek <jakub@redhat.com>
1597 * ldfile.c (ldfile_try_open_bfd): When searching skip linker scripts if
1598 they have OUTPUT_FORMAT not matching actual output format.
1599 * ldlang.c (lang_get_output_target): New function.
1600 (open_output): Use it.
1601 * ldlang.h (lang_get_output_target): New prototype.
1603 2002-10-10 Alan Modra <amodra@bigpond.net.au>
1605 * emultempl/elf32.em (output_rel_find): Prefer .rel script sections
1606 when orphan is .rel, .rela when orphan is .rela.
1607 (gld${EMULATION_NAME}_place_orphan): Handle combreloc .rel* case
1608 first. Remove outsecname var.
1610 2002-10-09 Richard Shann <richard.shann@superh.com>
1611 Stephen Clarke <stephen.clarke@superh.com>
1613 * Makefile.am: Add eshelf32_linux.o and
1614 eshlelf32_linux.o, new emulations for sh64 Linux.
1615 * Makefile.in: Regenerate.
1616 * configure.tgt: Add sh64eb-*-linux* and sh64-*-linux* emulations.
1617 * emulparams/shelf32_linux.sh: New file.
1618 * emulparams/shlelf32_linux.sh: New file.
1620 2002-10-08 H.J. Lu <hjl@gnu.org>
1622 * ldlang.c (lang_file_exist): Removed.
1623 (new_afile): Revert the last change.
1624 * ldlang.h (lang_file_exist): Removed.
1625 * lexsup.c (parse_args): Revert the last change.
1627 2002-10-07 Ralf Habacker <Ralf.Habacker@freenet.de>
1629 * pe-dll.cc (autofilter_symbolprefixlist): Don't re-export
1630 auto-import symbols.
1631 (make_one): Create _nm_<symbol> for data only.
1633 2002-10-05 Elias Athanasopoulos <eathan@otenet.gr>
1635 * ldlang.c (lang_file_exist): New function.
1636 (new_afile): Abort if the filename to be added matches the linker
1638 * ldlang.h: Add prototype for lang_file_exist.
1639 * lexsup.c (parse_args): Abort if the output filename matches
1640 one of the input filenames.
1642 2002-10-02 Alan Modra <amodra@bigpond.net.au>
1644 * emulparams/elf64ppc.sh (MAXPAGESIZE): Set to 0x10000.
1646 2002-09-30 Alan Modra <amodra@bigpond.net.au>
1648 * scripttempl/elfd30v.sc: Order reloc sections placing .plt last.
1649 * scripttempl/elfm68hc11.sc: Likewise.
1650 * scripttempl/elfm68hc12.sc: Likewise.
1652 * emultempl/elf32.em (output_rel_find): Always place orphan loadable
1653 reloc sections just before .rel.plt/.rela.plt.
1654 (gld${EMULATION_NAME}_place_orphan <.rel>): Remove combreloc code.
1655 Only put loadable reloc sections in hold_rel.
1657 2002-09-29 H.J. Lu <hjl@gnu.org>
1659 * emulparams/elf32ppc.sh (OTHER_GOT_RELOC_SECTIONS): New.
1661 2002-09-25 Daniel Jacobowitz <drow@mvista.com>
1663 From "Anita Kulkarni" <AnitaK@kpit.com>
1664 * scripttempl/sh.sc: Handle .eh_frame* and .gcc_exc*
1667 2002-09-25 Alan Modra <amodra@bigpond.net.au>
1669 * genscripts.sh (SEGMENT_SIZE): Use MAXPAGESIZE before
1671 * scripttempl/elf.sc (DATA_SEGMENT_ALIGN): Incorporate
1672 SEGMENT_SIZE alignment.
1673 * emulparams/elf64ppc.sh (DATA_ADDR): Delete.
1674 (SEGMENT_SIZE): Define.
1676 * ldexp.c (fold_unary): New. Split out from exp_fold_tree.
1677 (fold_binary): Correct abs - non-abs case.
1678 (fold_trinary): New. Split out from exp_fold_tree.
1680 2002-09-24 Alan Modra <amodra@bigpond.net.au>
1682 * emulparams/elf64ppc.sh (DATA_ADDR): Define.
1683 * emulparams/elf64_aix.sh (DATA_ADDR): Don't use a fixed address
1684 for start of .data, instead align up to 256M boundary.
1685 * scripttempl/aix.sc: Likewise.
1687 2002-09-22 Mark Elbrecht <snowball3@softhome.net>
1689 * scripttempl/i386go32.sc: Handle bss unique sections.
1691 2002-09-21 Alan Modra <amodra@bigpond.net.au>
1693 * ldmisc.c (vfinfo <%C,%D,%G>): Always output bfd, section and offset.
1695 2002-09-17 Stan Cox <scox@redhat.com>
1697 * emulparams/elf32bmipn32-defs.sh: New file.
1698 * emulparams/elf32bmipn32.sh: Use elf32bmipn32-defs.sh.
1699 * emulparams/elf32btsmipn32.sh: Likewise.
1700 * emulparams/elf64bmip.sh: Likewise.
1701 * emulparams/elf64btsmip.sh: Likewise.
1703 2002-09-16 Bruno Haible <bruno@clisp.org>
1705 * emulparams/elf_i386_fbsd.sh: Set OUTPUT_FORMAT to
1707 * emulparams/elf64alpha_fbsd.sh: Set OUTPUT_FORMAT to
1708 elf64-alpha-freebsd.
1710 2002-09-11 Nick Clifton <nickc@redhat.com>
1712 * NEWS: New TI port supports both C4x and C3x series of DSPs.
1714 * po/tr.po: Updated Turkish translation.
1716 2002-09-06 Jeffrey A Law (law@redhat.com)
1718 * configure.tgt (h8300-*-hms*, h8500-*-hms*): Restore.
1720 2002-09-02 Nick Clifton <nickc@redhat.com>
1722 * scripttempl/v850.sc: Add EXTERN references to __ctbpm __gp and
1724 * emulparams/v850.sh (TEMPLATE_NAME): Define.
1726 2002-08-30 Nick Clifton <nickc@redhat.com>
1728 * scripttempl/elfd10v.sc (MEMORY): Remove UNIFIED, it is not
1729 used. Change INSN to start at 0x01000000 and extend for
1730 256K (ignoring holes). Start the STACK on a word aligned
1732 (.rodata): Start it at the READONLY_START_ADDR.
1734 2002-08-30 Alan Modra <amodra@bigpond.net.au>
1736 * emulparams/elf32ppc.sh (ARCH): Set to "powerpc:common".
1738 2002-08-28 Svein E. Seldal <Svein.Seldal@solidas.com>
1740 * Makefile.am: Add etic4xcoff.o in ALL_EMULATIONS list and
1741 added makefile targets for this file.
1742 * Makefile.in: Regenerate.
1743 * configure.tgt: Added tic4x-coff and c4x-coff emulations.
1744 * NEWS: Mention new port.
1746 2002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1748 * emulparams/tic3xcoff.sh: New file.
1749 * emulparams/tic4xcoff.sh: New file.
1750 * scripttempl/tic3xcoff.sc: New file.
1751 * scripttempl/tic4xcoff.sc: New file.
1753 2002-08-28 Alan Modra <amodra@bigpond.net.au>
1755 * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Replace strtoll,
1756 strtoul and strtoull with bfd_scan_vma.
1757 (gld${EMULATION_NAME}_read_file): Likewise.
1759 2002-08-28 Alan Modra <amodra@bigpond.net.au>
1761 * configure.tgt: Remove h8[35]00-*-hms*. Add h8500-*-rtems*.
1763 2002-08-27 Egor Duda <deo@logos-m.ru>
1765 * scripttempl/pe.sc: Handle .rdata_runtime_pseudo_reloc sections.
1766 Add symbols for application to access them.
1768 2002-08-27 Nick Clifton <nickc@redhat.com>
1770 * emultempl/armelf.em: Revert this patch, it is not needed.
1772 2002-08-22 Adam Nemet <anemet@lnxw.com>
1774 2002-08-20 Dan Kegel <dank@kegel.com>
1776 * configure.in: added --with-lib-path argument to ld's configure
1778 * NEWS: Document new switch.
1779 * README: Mention new switch.
1780 * configure: Regenerate.
1781 * Makefile.in: Regenerate.
1783 Based on this patch:
1784 2001-04-25 Christopher Faylor <cgf@cygnus.com>
1786 * Makefile.in (LIB_PATH): Make configurable.
1787 (GENSCRIPTS): Set LIB_PATH in environment.
1788 * configure.in: Substitute LIB_PATH.
1790 2002-08-22 Adam Nemet <anemet@lnxw.com>
1792 * emultempl/armelf.em: Include elf-bfd.h and elf/arm.h.
1793 (arm_elf_finish): Set the last bit of DT_INIT and DT_FINI
1794 depending on the type of the function.
1795 (arm_elf_convert_thumb_symbol_to_address): New function.
1797 2002-08-22 Graeme Peterson <gp@qnx.com>
1799 * Makefile.am: Add esh{l}elf_nto.o files.
1800 * Makefile.in: Regenerate.
1801 * configure.tgt: Add support for sh-**-nto* targets.
1802 * emulparams/shelf_nto.sh: New file.
1803 * emulparams/shlelf_nto.sh: New file.
1805 2002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
1807 * ldlang.c (offsetof): Define if not defined.
1809 2002-08-14 H.J. Lu <hjl@gnu.org>
1811 * configure.tgt: Always enable 64bit emulations for 32bit
1814 2002-08-13 Alan Modra <amodra@bigpond.net.au>
1816 * emulparams/elf32_dlx.sh (TARGET_PAGE_SIZE): Set to 1.
1817 (MAXPAGESIZE): Set to 1.
1819 * ld.h (ALIGN_N): Delete.
1820 * ldexp.h (align_n): Declare.
1821 * ldexp.c (align_n): New function.
1822 (fold_binary): Use align_n instead of ALIGN_N.
1823 (exp_fold_tree): Likewise.
1824 * ldlang.c (lang_size_sections_1): Likewise.
1825 (lang_one_common): Likewise.
1826 * ld.texinfo (ALIGN): Remove power of 2 restriction.
1828 2002-07-31 Graeme Peterson <gp@qnx.com>
1830 * configure.tgt: Add support for powerpc{le}-*-nto* targets.
1831 * Makefile.am: Add eelf32{l}ppcnto.o files.
1832 * Makefile.in: Regenerate.
1833 * emulparams/elf32lppcnto.sh: New file.
1834 * emulparams/elf32ppcnto.sh: New file.
1836 2002-08-07 H.J. Lu <hjl@gnu.org>
1838 * ld.texinfo: Document --no-undefined-version.
1840 * ldlang.c (lang_new_vers_pattern): Set the `symver' and
1841 `script.' fields to 0.
1843 * ldmain.c (main): Initialize the allow_undefined_version to
1846 * lexsup.c (OPTION_NO_UNDEFINED_VERSION): New.
1847 (ld_options): Add --no-undefined-version.
1848 (parse_args): Support OPTION_NO_UNDEFINED_VERSION.
1850 2002-08-07 Nick Clifton <nickc@redhat.com>
1852 * emultempl/armelf.em (arm_elf_before_allocation): Only search for
1853 an interworking bfd if there are input bfds. (107501)
1855 2002-08-06 Alan Modra <amodra@bigpond.net.au>
1857 * emultempl/aix.em (gld*_before_parse): Set default arch. Reverts
1860 2002-08-01 Nick Clifton <nickc@redhat.com>
1862 * emulparams/armelf.sh: Revert previous delta.
1863 * scripttempl/elf.sc: Revert previous delta.
1865 2002-07-31 H.J. Lu <hjl@gnu.org>
1867 * configure.tgt (powerpc*-*-linux*): Enable elf64ppc for
1868 --enable-64-bit-bfd.
1870 2002-07-31 H.J. Lu <hjl@gnu.org>
1872 * configure.tgt: Enable x86-64 emulation for Linux/i386 if
1873 64bit BFD is selected.
1875 2002-07-31 H.J. Lu <hjl@gnu.org>
1877 * configure.tgt: Enable 64bit emulations for 32bit Linux/mips
1878 if 64bit BFD is selected.
1880 2002-07-31 Ian Dall <ian@sibyl.beware.dropbear.id.au>
1882 * emultempl/netbsd.em (LDEMUL_BEFORE_PARSE): New file to custom set
1883 link_info.common_skip_ar_aymbols.
1884 * emulparams/ns32knbsd.sh (EXTRA_EM_FILE): Refer to extra file.
1886 * ldmain.c (main): Initialize new field
1887 link_info.common_skip_ar_aymbols.
1889 2002-07-31 Adam Nemet <anemet@lnxw.com>
1891 * emulparams/armelf.sh (OTHER_PLT_SECTIONS): New variable. Set it
1893 * scripttempl/elf.sc: Comment it. Use the same way as ${PLT} is
1896 2002-07-31 Nick Clifton <nickc@redhat.com>
1898 * NEWS: Retroactively add entry for Lars Brinkhoff's contribution
1899 of the PDP-11 and 2.11BSD a.out support.
1901 2002-07-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1903 * Makefile.am (eelf32btsmipn32.o, eelf32ltsmipn32.o): New emulations
1904 for n32 ABI support.
1905 * Makefile.in: Regenerate.
1906 * configure.tgt (mips64*el-*-linux-gnu*,mips64*-*-linux-gnu*): Add
1907 n32 ABI emulations for these 64 bit targets.
1908 * emulparams/elf32bmipn32.sh: Expand comment.
1909 * emulparams/elf32btsmipn32.sh: New file, for traditional big endian
1911 * emulparams/elf32ltsmipn32.sh: Likewise for little endian.
1913 2002-07-30 Graeme Peterson <gp@qnx.com>
1915 * configure.tgt: Add support for arm-*-nto target.
1916 * Makefile.am: Add earmnto.o file.
1917 * Makefile.in: Regenerate.
1918 * NEWS: Mention port of ARM support to QNX.
1919 * emulparams/armnto.sh: New file.
1921 2002-07-30 Jakub Jelinek <jakub@redhat.com>
1923 * ldlang.c (lang_add_section): Don't turn .tbss into normal sections
1924 for relocatable link.
1925 (lang_size_sections_1): Don't make .tbss zero size for relocatable
1928 2002-07-26 Bernd Schmidt <bernds@redhat.com>
1930 * emulparams/elf32frv.sh (OTHER_RELOCATING_SECTIONS): Delete.
1933 2002-07-25 Nick Clifton <nickc@redhat.com>
1935 * po/sv.po: Updated Swedish translation.
1936 * po/es.po: Updated Spanish translation.
1937 * po/fr.po: Updated French translation.
1939 2002-07-24 Nick Clifton <nickc@redhat.com>
1941 * po/sv.po: Updated Swedish translation.
1942 * po/es.po: Updated Spanish translation.
1944 2002-07-23 Nick Clifton <nickc@redhat.com>
1946 * po/fr.po: Updated French translation.
1948 2002-07-20 Alan Modra <amodra@bigpond.net.au>
1950 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
1951 bomb on /DISCARD/ input section.
1952 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1953 * emultempl/mmo.em (mmo_place_orphan): Likewise.
1955 2002-07-19 Hans-Peter Nilsson <hp@bitrange.com>
1957 * emultempl/mmo.em (mmo_place_orphan): Handle case of no .text
1960 2002-07-16 Denis Chertykov <denisc@overta.ru>
1961 Nick Clifton <nickc@redhat.com>
1962 Frank Ch. Eigler <fche@redhat.com>
1963 John Healy <jhealy@redhat.com>
1965 * configure.tgt: Add support for ip2k-elf.
1966 * Makefile.am: Add support for ip2k-elf.
1967 * Makefile.in: Regenerate.
1968 * emulparams/elf32ip2k.sh: New file.
1969 * scripttempl/ip2k.sc: New file
1970 * NEWS: Mention support for new port.
1972 2002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
1974 * NEWS: Add 'Changes in 2.13'.
1976 2002-07-14 H.J. Lu <hjl@gnu.org>
1978 * ld.texinfo: Document a .symver takes precedence over a
1981 2002-07-12 Alan Modra <amodra@bigpond.net.au>
1983 * emulparams/elf64ppc.sh (ARCH): Set to powerpc:common64.
1984 (COMMONPAGESIZE): Define.
1986 2002-07-09 Alan Modra <amodra@bigpond.net.au>
1988 * emulparams/hppanbsd.sh: Remark that hppaobsd.sh references this file.
1990 2002-07-09 Federico G. Schwindt <fgsch@olimpo.com.br>
1992 * configure.tgt: Add support for alpha-*-openbsd*, hppa-*-openbsd*,
1993 powerpc-*-openbsd* and sparc64-*-openbsd*.
1994 * Makefile.am (ALL_EMULATIONS): Add ehppaobsd.o.
1995 * Makefile.in: Regenerate.
1996 * emulparams/hppaobsd.sh: New file.
1998 2002-07-05 Alan Modra <amodra@bigpond.net.au>
2000 * ldlang.c (print_wild_statement): Fix output formatting.
2002 2002-07-04 Alan Modra <amodra@bigpond.net.au>
2004 * ldlang.c: (strip_excluded_output_sections): New function.
2005 (lang_process): Call it.
2006 (lang_size_sections_1): Revert 2002-06-10 change.
2008 2002-07-03 Alan Modra <amodra@bigpond.net.au>
2010 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
2012 * Makefile.in: Regenerate.
2014 2002-07-02 Alan Modra <amodra@bigpond.net.au>
2016 * ldfile.c (ldfile_try_open_bfd): Formatting.
2018 * ldmisc.c (demangle): Move so that it doesn't intrude between
2019 vfinfo comment and body. Add comment.
2021 2002-07-01 John David Anglin <dave@hiauly1.hia.nrc.ca>
2023 * emulparams/vax.sh (OUTPUT_FORMAT): Use a.out-vax-bsd format.
2025 2002-07-01 Alan Modra <amodra@bigpond.net.au>
2027 * ldlang.h (entry_sym): Make it a struct bfd_sym_chain.
2028 * ldlang.c (entry_sym): Likewise.
2029 (ldlang_undef_chain_list_type): Likewise.
2030 (lang_finish): Adjust references to entry_symbol.
2031 (lang_add_entry): Likewise.
2032 (lang_gc_sections): Use link_info.gc_sym_list.
2033 (lang_process): Set link_info.gc_sym_list.
2034 * ldlex.l: Include bfdlink.h.
2035 * ldmain.c (main): Init link_info.gc_sym_list.
2036 * emultempl/aix.em: Adjust references to entry_symbol.
2037 * emultempl/armcoff.em: Likewise.
2038 * emultempl/armelf.em: Likewise.
2039 * emultempl/pe.em: Likewise.
2040 * emultempl/ppc64elf.em (ppc_after_open): New function.
2041 (LDEMUL_AFTER_OPEN): Define.
2042 * emulparams/elf64ppc.sh: KEEP .opd sections.
2044 2002-06-29 Stephane Carrez <stcarrez@nerim.fr>
2046 * emulparams/m68hc12elfb.sh (EEPROM_MEMORY): Define.
2047 * emulparams/m68hc11elfb.sh (EEPROM_MEMORY): Define.
2048 * emulparams/m68hc11elf.sh (EEPROM_SIZE): Define.
2049 (EEPROM_START_ADDR): Define.
2050 (EEPROM_MEMORY): Define.
2051 * emulparams/m68hc12elf.sh: Likewise.
2052 * scripttempl/elfm68hc11.sc: Handle .eeprom section; handle .softregs
2053 section to put soft registers in .page0.
2054 * scripttempl/elfm68hc12.sc: Likewise but put soft registers in bss.
2056 2002-06-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
2058 * emulparams/hppa64linux.sh (OTHER_GOT_RELOC_SECTIONS): Add rela.opd
2059 section. Add ${RELOCATING-0}.
2061 2002-06-26 J"orn Rennecke <joern.rennecke@superh.com>
2063 * emulparams/shelf.sh (STACK_ADDR): Don't define.
2064 (OTHER_SECTIONS): Define.
2065 * emulparams/shelf_nbsd.sh ((STACK_ADDR): Don't undef.
2066 (OTHER_SECTIONS): Undef.
2068 2002-06-26 Alan Modra <amodra@bigpond.net.au>
2070 * ldmisc.c (demangle): Restore dots stripped from sym name.
2072 2002-06-25 H.J. Lu <hjl@gnu.org>
2074 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
2075 * Makefile.in: Regenerated.
2077 2002-06-20 Nick Clifton <nickc@cambridge.redhat.com>
2079 * ld.texinfo (Bug Reporting): Update text to suggest a limit on
2080 the size of attached object files, to allow make the object files
2081 available via FTP or HTTP and to mention that the mail will be
2082 sent to a mailing list.
2084 2002-06-20 Nathanael Nerode <neroden@twcny.rr.com>
2086 * configure.host (romp): Drop support.
2088 2002-06-18 Chris Demetriou <cgd@broadcom.com>
2090 * emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Check
2091 section flags for SEC_DATA, rather than for SEC_CODE being unset.
2093 2002-06-18 Chris Demetriou <cgd@broadcom.com>
2095 * emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Fix
2096 format specifier used to print BFD name.
2098 2002-06-18 Dave Brolley <brolley@redhat.com>
2100 From Catherine Moore, Michael Meissner, Jim Blandy:
2101 * emulparams/elf32frv.sh: New file.
2102 * configure.tgt: Support frv-*-*.
2103 * Makefile.am (ALL_EMULATIONS): Add eelf32frv.o.
2104 (eelf32frv.c): New target.
2106 2002-06-17 Tom Rix <trix@redhat.com>
2108 * emultempl/elf32.em: gld*_get_script: Check for
2109 GENERATE_COMBRELOC_SCRIPT.
2110 * scripttempl/elfd10v.sc : Fix STACK and INSN.
2111 * emulparams/d10velf.sh : Fix TEXT_START_ADDR.
2113 2002-06-13 J"orn Rennecke <joern.rennecke@superh.com>
2115 * configure.tgt: Add support for sh[1234]*le*-*-elf, sh[1234]*-*-elf.
2117 2002-06-12 H.J. Lu <hjl@gnu.org>
2119 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Return
2120 false if xvec doesn't match.
2122 2002-06-10 Richard Sandiford <rsandifo@redhat.com>
2124 * ldlang.c (lang_size_sections_1): Skip removed output sections.
2126 2002-06-08 Alan Modra <amodra@bigpond.net.au>
2128 * ldexp.c: Replace CONST with const.
2129 * ldfile.c: Likewise.
2130 * ldfile.h: Likewise.
2131 * ldlex.l: Likewise.
2133 * pe-dll.h: Likewise.
2135 2002-06-07 Alan Modra <amodra@bigpond.net.au>
2137 * emultempl/ppc64elf.em (new_vers_pattern): Warning fix.
2139 2002-06-07 Charles Wilson <cwilson@ece.gatech.edu>
2141 * ldmain.c (main): initialize link_info.pei386_auto_import
2142 to -1 == implicit enable.
2143 * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):
2144 initialize link_info.pei386_auto_import to -1 == implicit
2146 (gld_${EMULATION_NAME}_parse_args): When processing
2147 --enable-auto-import and --disable-auto-import options, use
2148 '1' and '0' instead of 'true' and 'false'.
2149 (pe_find_data_imports): Only issue message about auto-import
2150 when the feature is implicitly enabled. Downgrade message to
2151 informational instead of warning.
2153 2002-06-07 Alan Modra <amodra@bigpond.net.au>
2155 * scripttempl/elf.sc (.tbss): Fix mismatched parentheses/braces.
2157 2002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
2159 * configure.host (hppa*64*-*-hpux11*): Define NATIVE_LIB_DIRS,
2160 HOSTING_CRT0 and HOSTING_LIBS.
2162 2002-06-05 J"orn Rennecke <joern.rennecke@superh.com>
2164 * configure.tgt (shle*-*-elf*, sh64le-*-elf*): New configurations.
2166 2002-06-05 Jason Thorpe <thorpej@wasabisystems.com>
2168 * emulparams/ns32knbsd.sh (EXECUTABLE_SYMBOLS): Set _DYNAMIC to 0.
2169 (NONPAGED_TEXT_START_ADDR): Set to 0x1000.
2171 2002-06-05 Alan Modra <amodra@bigpond.net.au>
2173 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Place
2174 SEC_EXCLUDE sections when doing a relocatable link.
2176 2002-06-04 Jason Thorpe <thorpej@wasabisystems.com>
2178 * Makefile.am (ALL_EMULATIONS): Add eshelf32_nbsd.o,
2179 eshlelf32_nbsd.o, eshelf64_nbsd.o, and eshlelf64_nbsd.o.
2180 (eshelf32_nbsd.c, eshelf64_nbsd.c, eshlelf32_nbsd.c)
2181 (eshlelf64_nbsd.c): New rules.
2182 * Makefile.in: Regenerate.
2183 * configure.tgt (sh5le-*-netbsd*, sh5-*-netbsd*, sh64le-*-netbsd*)
2184 (sh64-*-netbsd*): New targets.
2185 * emulparams/shelf32_nbsd.sh: New file.
2186 * emulparams/shelf64_nbsd.sh: New file.
2187 * emulparams/shlelf32_nbsd.sh: New file.
2188 * emulparams/shlelf64_nbsd.sh: New file.
2190 2002-06-04 Alan Modra <amodra@bigpond.net.au>
2192 * ldlang.c (section_already_linked): Call bfd_discard_group. Typo fix.
2194 2002-06-02 Marek Michalkiewicz <marekm@amelek.gda.pl>
2196 * scripttempl/avr.sc: Changes to support current GCC and avr-libc,
2197 C++ constructors/destructors, loosely based on the m68hc11 port.
2199 2002-05-31 Alan Modra <amodra@bigpond.net.au>
2201 * Makefile.in: Regenerate.
2202 * aclocal.m4: Regenerate.
2203 * config.in: Regenerate.
2204 * configure: Regenerate.
2206 2002-05-31 Graeme Peterson <gp@qnx.com>
2208 * Makefile.am (ALL_EMULATIONS): Add ei386nto.o.
2209 (ei386nto.c): Add rule.
2210 * Makefile.in: Regenerate.
2211 * configure.tgt: Add i[3456]86-*-nto-qnx*.
2212 * emulparams/i386nto.sh: New file.
2214 2002-05-29 Jason Thorpe <thorpej@wasabisystems.com>
2216 * NEWS: Add entry for VAX ELF support.
2218 2002-05-29 Matt Thomas <matt@3am-software.com>
2219 Jason Thorpe <thorpej@wasabisystems.com>
2221 * Makefile.am (ALL_EMULATIONS): Add eelf32vax.o and evaxnbsd.o.
2223 (evaxnbsd.c): New rules.
2224 * Makefile.in: Regenerate.
2225 * configure.tgt (vax-*-netbsdelf*)
2227 (vax-*-netbsd*): New targets.
2228 * emulparams/elf32vax.sh: New file.
2229 * emulparams/vaxnbsd.sh: New file.
2231 2002-05-29 Adam Nemet <anemet@lnxw.com>
2233 * emultempl/armelf.em (arm_elf_after_open): Don't determine
2234 bfd_for_interwork, instead add glue sections to each input bfd.
2235 (bfd_for_interwork): New global.
2236 (arm_elf_set_bfd_for_interworking): New function.
2237 (arm_elf_before_allocation): Use it.
2239 2002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
2241 * Makefile.am: Add DLX make target.
2242 * configure.tgt: Add DLX configuration.
2243 * Makefile.in: Regenerate.
2244 * emulparams/elf32_dlx.sh: New file
2245 * scripttempl/dlx.sc: New file
2247 2002-05-27 Per Lundberg <per@caleb.dnsalias.org>
2249 * Makefile.am (eelf_i386_chaos): Use elf_chaos.sc script.
2250 * Makefile.in: Regenerate.
2251 * emulparams/elf_chaos.sh: Use elf_chaos script.
2252 * scripttempl/elf_chaos.sc: New file.
2254 2002-05-27 Richard Sandiford <rsandifo@redhat.com>
2256 * ldlang.c (lang_size_sections_1): Move check for conflicting load
2257 addresses and regions from here...
2258 (lang_get_regions): ...to this new function.
2259 (lang_leave_output_section_statement): Use lang_get_regions.
2260 (lang_leave_overlay): Likewise.
2261 * mri.c (mri_draw_tree): Pass null as last argument to
2262 lang_leave_output_section_statement.
2263 * emultempl/elf32.em (gld*_place_orphan): Likewise.
2264 * emultempl/mmo.em (mmo_place_orphan): Likewise.
2265 * emultempl/pe.em (gld*_place_orphan): Likewise.
2267 2002-05-26 Jason Thorpe <thorpej@wasabisystems.com>
2269 * configure.tgt: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*.
2271 2002-05-25 Kazu Hirata <kazu@cs.umass.edu>
2273 * ldemul.c: Fix formatting.
2274 * ldfile.c: Likewise.
2275 * pe-dll.c: Likewise.
2276 * pe-dll.h: Likewise.
2278 2002-05-25 Alan Modra <amodra@bigpond.net.au>
2280 * ldlang.c (lang_process): Formatting, grammar.
2282 * ldlex.l: Use #include "" instead of <> for local header files.
2284 2002-05-24 TAMURA Kent <kent@netbsd.org>
2286 * configure.tgt: Add a target for i386-netbsdpe.
2288 2002-05-23 Jakub Jelinek <jakub@redhat.com>
2290 * scripttempl/elf.sc: Add .rel{,a}.t{bss,data}, .tdata and .tbss.
2291 * ldlang.c (lang_add_section): Set SEC_THREAD_LOCAL for
2292 output section if necessary. Handle .tbss.
2293 (lang_size_sections): Clear _raw_size for .tbss section
2294 (it allocates space in PT_TLS segment only).
2295 * ldwrite.c (build_link_order): Build link order for .tbss too.
2297 2002-05-23 Alan Modra <amodra@bigpond.net.au>
2299 * configure.in: Correct spelling of AC_PREREQ.
2301 2002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
2303 * pe-dll.c (autofilter_liblist): Add more system libs excluded by
2305 (autofilter_objlist): Add crtbegin.o, crtend.o.
2307 2002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
2309 * emultempl/pe.em (OPTION_EXCLUDE_LIBS): Add new define.
2310 (longopts): Add new option --exclude-libs.
2311 (gld_${EMULATION_NAME}_list_options): Give quick help about it.
2312 (gld_${EMULATION_NAME}_parse_args): Use it.
2313 * pe-dll.h (pe_dll_add_excludes): Add second param to prototype.
2314 * pe-dll.c (exclude_list_struct): Add field type to distinguish symbols
2315 from whole archives.
2316 (pe_dll_add_excludes): Set excludes->type.
2317 (auto_export): Add new variable libname and set to archive basename if
2318 abfd. Use it when filtering default and user-specified libarary
2319 excludes. Let string "ALL" mean all libs when filtering user-specified
2321 * ld.texinfo: Document --exclude-libs.
2323 2002-05-22 Alan Modra <amodra@bigpond.net.au>
2325 * ldemul.c (ldemul_new_vers_pattern): New function.
2326 * ldemul.h (ldemul_new_vers_pattern): Declare.
2327 (struct ld_emulation_xfer_struct): Add new_vers_pattern.
2328 * ldlang.c (lang_new_vers_pattern): Call ldemul_new_vers_pattern.
2329 * emultempl/ppc64elf.em (dotsyms): New static var.
2330 (gld${EMULATION_NAME}_new_vers_pattern): New function.
2331 (LDEMUL_NEW_VERS_PATTERN): Define.
2332 (PARSE_AND_LIST_PROLOGUE): Add OPTION_DOTSYMS, OPTION_NO_DOTSYMS.
2333 (PARSE_AND_LIST_LONGOPTS): Likewise.
2334 (PARSE_AND_LIST_ARGS_CASES): Handle them.
2335 * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Update
2337 * emultempl/armcoff.em: Likewise.
2338 * emultempl/armelf_oabi.em: Likewise.
2339 * emultempl/beos.em: Likewise.
2340 * emultempl/elf32.em: Likewise.
2341 * emultempl/generic.em: Likewise.
2342 * emultempl/gld960.em: Likewise.
2343 * emultempl/gld960c.em: Likewise.
2344 * emultempl/linux.em: Likewise.
2345 * emultempl/lnk960.em: Likewise.
2346 * emultempl/m68kcoff.em: Likewise.
2347 * emultempl/mipsecoff.em: Likewise.
2348 * emultempl/pe.em: Likewise.
2349 * emultempl/sunos.em: Likewise.
2350 * emultempl/ticoff.em: Likewise.
2351 * emultempl/vanilla.em: Likewise.
2353 2002-05-22 Alan Modra <amodra@bigpond.net.au>
2355 * genscripts.sh (LIB_PATH): For native targets, concatenate $libdir
2356 and $NATIVE_LIB_DIRS. Add $tool_lib before other libs.
2357 (LIB_SEARCH_DIRS): No need to use "tr".
2358 (COMPILE_IN): Only set for native targets.
2359 * configure.host (NATIVE_LIB_DIRS): Specify all native search dirs
2360 here, rather than adding lib:/usr/lib:/usr/local/lib in genscripts.sh.
2361 * configure.tgt (powerpc*): Set tdir_*.
2362 (powerpcle*): Correct targ_extra_emuls.
2363 * emulparams/elf32ppc.sh (LIB_PATH): Set up native 64 bit dirs.
2364 * emulparams/elf64ppc.sh (LIB_PATH): Likewise.
2366 2002-05-22 Alan Modra <amodra@bigpond.net.au>
2368 * emultempl/pe.em (set_pe_subsystem): Don't set "cmdline" when
2369 calling lang_add_entry.
2371 2002-05-21 H.J. Lu (hjl@gnu.org)
2373 * emultempl/elf32.em (gld${EMULATION_NAME}_parse_args): Handle
2375 (gld${EMULATION_NAME}_list_options): Add "-z muldefs".
2377 * ld.texinfo: Updated for --allow-multiple-definition and
2380 * ldmain.c (main): Initialize the allow_multiple_definition
2383 * lexsup.c (OPTION_ALLOW_MULTIPLE_DEFINITION): New.
2384 (ld_options): Add --allow-multiple-definition.
2385 (parse_args): Support OPTION_ALLOW_MULTIPLE_DEFINITION.
2387 2002-05-21 Jason Thorpe <thorpej@wasabisystems.com>
2389 * Makefile.am (ALL_EMULATIONS): Add earmelfb_nbsd.o.
2390 (earmelfb_nbsd.c): New rule.
2391 * Makefile.in: Regenerate.
2392 * configure.tgt (armeb-*-netbsdelf*): New target.
2393 (arm-*-netbsdelf*): Add armelfb_nbsd to targ_extra_emuls.
2394 (arm-*-netbsd*): Likewise.
2395 * emulparams/armelfb_nbsd.sh: New file.
2397 2002-05-18 Tom Rix <trix@redhat.com>
2399 * emultempl/aix.em (gld*_parse_args): Add -bnortl and -bnortllib
2402 2002-05-17 Marek Michalkiewicz <marekm@amelek.gda.pl>
2404 * Makefile.am: Add new emulations avr1, avr2, avr3, avr4, avr5.
2405 * Makefile.in: Regenerate.
2406 * configure.tgt (avr-*-*): Add avr[1-5] to targ_extra_emuls.
2408 2002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
2410 * emulparams/avr1.sh: New file.
2411 * emulparams/avr2.sh: New file.
2412 * emulparams/avr3.sh: New file.
2413 * emulparams/avr4.sh: New file.
2414 * emulparams/avr5.sh: New file.
2415 * scripttempl/avr.sc: New file.
2417 2002-05-15 Alan Modra <amodra@bigpond.net.au>
2419 * ldlang.c (section_already_linked): Call bfd_link_just_syms.
2420 (lang_place_orphans): Abort if just_syms_flag.
2422 2002-05-10 Tom Rix <trix@redhat.com>
2424 * emultempl/aix.em: (gld*_set_output_arch): New function. Use
2425 architecture and machine information in the output bfd.
2426 (gld*_before_parse): Remove old arch and machine code.
2427 (choose_target): Rename to gld*_choose_target.
2428 (rtld): Change type to int.
2429 * ldfile.c (ldfile_try_open_bfd): Disable compatiblity check for
2430 objects in XCOFF archives.
2431 * ldfile.h: Update copyright date.
2433 2002-05-10 Jakub Jelinek <jakub@redhat.com>
2435 * ldmain.c (main): Enable -z combreloc by default.
2437 2002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
2439 * Makefile.am: Honour DESTDIR.
2440 * Makefile.in: Regenerate.
2442 2002-05-07 Richard Sandiford <rsandifo@redhat.com>
2444 * ldlang.h (lang_output_section_statement_type): Add update_dot_tree.
2445 (lang_enter_overlay): Remove the last two parameters.
2446 (lang_leave_overlay): Take them here instead.
2447 * ldgram.y (memspec_at_opt): Set $$ to null if no region is given.
2448 (section): Pass LMA and crossref flag to lang_leave_overlay rather
2449 than lang_enter_overlay.
2450 * ldlang.c (lang_memory_region_lookup): Return null for null names.
2451 (lang_output_section_statement_lookup): Initialize update_dot_tree.
2452 (lang_size_sections_1): Evaluate it.
2453 (lang_leave_output_section_statement): Rework LMA lookup.
2454 (overlay_lma, overlay_nocrossrefs): Remove.
2455 (lang_enter_overlay): Remove LMA and crossref arguments.
2456 (lang_enter_overlay_section): Don't set the LMA here.
2457 (lang_leave_overlay): Take LMA and crossref arguments. Move the '.'
2458 assignment to the last section's update_dot_tree. Unconditionally
2459 use the load and run-time regions specified in the OVERLAY statement.
2460 Likewise the first section's LMA. Only set the other sections' LMAs
2461 when no load region is given.
2463 2002-05-06 Nick Clifton <nickc@redhat.com>
2465 * po/sv.po: New translation.
2467 2002-05-04 Alan Modra <amodra@bigpond.net.au>
2469 * emultempl/hppaelf.em (build_section_lists): New function.
2470 (gld${EMULATION_NAME}_finish): Call elf32_hppa_setup_section_lists
2471 and build_section_lists.
2473 2002-05-03 Kazu Hirata <kazu@cs.umass.edu>
2475 * ld.h: Fix formatting.
2476 * ldexp.c: Likewise.
2477 * ldfile.c: Likewise.
2478 * ldlang.c: Likewise.
2479 * ldmain.c: Likewise.
2480 * lexsup.c: Likewise.
2481 * pe-dll.c: Likewise.
2483 2002-05-02 Alan Modra <amodra@bigpond.net.au>
2485 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation):
2486 Adjust for ppc64_elf_set_toc change. #include libbfd.h.
2487 (build_section_lists): Do output_section tests here.
2489 2002-04-30 Tom Rix <trix@redhat.com>
2491 * emultempl/aix.em : (gld*_parse_arge): Formatting changes.
2493 2002-05-01 Alan Modra <amodra@bigpond.net.au>
2495 Long branch stubs, multiple stub sections.
2496 * emultempl/ppc64elf.em: Include ldctor.h.
2497 (stub_file): New var.
2498 (group_size): New var.
2499 (ppc_create_output_section_statements): New function.
2500 (struct hook_stub_info): New.
2501 (hook_in_stub): New function.
2502 (ppc_add_stub_section): New function.
2503 (ppc_layout_sections_again): New function.
2504 (build_section_lists): New function.
2505 (gld${EMULATION_NAME}_finish): Rewrite.
2506 (real_func): New var.
2507 (ppc_for_each_input_file_wrapper): New function.
2508 (ppc_lang_for_each_input_file): New function.
2509 (lang_for_each_input_file): Define.
2510 (PARSE_AND_LIST_PROLOGUE): Define.
2511 (PARSE_AND_LIST_LONGOPTS): Define.
2512 (PARSE_AND_LIST_OPTIONS): Define.
2513 (PARSE_AND_LIST_ARGS_CASES): Define.
2514 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
2516 2002-04-30 Tom Rix <trix@redhat.com>
2518 * emultempl/aix.em (gld*_parse_arge, gld*_before_allocation): Add
2519 -blibpath, -bnolibpath support.
2521 2002-04-30 Mark Mitchell <mark@codesourcery.com>
2523 * Makefile.am (ALL_EMULATIONS): Add elf32ppcwindiss.o.
2524 (eelf32ppcwindiss.c): New target.
2525 * Makefile.in: Regenerated.
2526 * configure.tgt: Add support for powerpc-*-windiss.
2527 * emulparams/elf32ppcwindiss.sh: New file.
2529 2002-04-30 Richard Sandiford <rsandifo@redhat.com>
2531 * ldlang.c (print_assignment): Update print_dot for assignments to ".".
2532 * ldexp.c (exp_print_token): Add "infix_p" argument.
2533 (exp_print_tree): Update accordingly.
2535 2002-04-28 Alan Modra <amodra@bigpond.net.au>
2537 * Makefile.am (mpw): New maintainer mode rule to make mpw-*.c files.
2538 * Makefile.in: Regenerate.
2539 * mpw-elfmips.c: Delete.
2540 * mpw-eppcmac.c: Delete.
2541 * mpw-esh.c: Delete.
2542 * mpw-idtmips.c: Delete.
2544 2002-04-17 J"orn Rennecke <joern.rennecke@superh.com>
2546 * emulparams/shelf32.sh (MACHINE): Now sh5.
2548 2002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2550 * ldgram.y: Fix syntax warning.
2552 2002-04-11 Nick Clifton <nickc@cambridge.redhat.com>
2554 * emultempl/armelf.em (PARSE_AND_LIST_SHORTOPTS): Add 'n' in order
2555 to prevent "-n" from being taken as an abbreviation for
2556 "--no-pipeline-knowledge".
2558 2002-04-08 Alan Modra <amodra@bigpond.net.au>
2560 * ldlang.c (lang_size_sections_1): Don't complain about
2561 SEC_NEVER_LOAD sections having no memory region specified.
2563 * ld.texinfo (Format Commands <OUTPUT_FORMAT>): Typo fix.
2565 2002-04-07 matthew green <mrg@redhat.com>
2567 * configure.host (*-*-netbsd*): Add support for NetBSD/ELF.
2569 2002-04-04 Alan Modra <amodra@bigpond.net.au>
2571 * dep-in.sed: Cope with absolute paths.
2572 * Makefile.am (dep.sed): Subst TOPDIR and BFDDIR.
2574 * Makefile.in: Regenerate.
2576 2002-04-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2578 * emulparams/elf64btsmip.sh: n64 replaces .reginfo with .MIPS.options.
2580 2002-04-03 Jakub Jelinek <jakub@redhat.com>
2582 * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: If common page size
2583 is smaller than maximum, round dot up to common page boundary.
2585 2002-03-28 Alan Modra <amodra@bigpond.net.au>
2587 * configure.host: Set up for generic hosts first, then tweak as
2588 necessary in more specific targets.
2589 (HOSTING_LIBS): Include libgcc_eh.a if found.
2591 2002-03-23 Andreas Jaeger <aj@suse.de>
2593 * emulparams/elf_x86_64.sh (COMMONPAGESIZE): Set it.
2595 2002-03-21 Alan Modra <amodra@bigpond.net.au>
2597 * Makefile.am: Run "make dep-am".
2598 * Makefile.in: Regenerate.
2600 2002-03-21 Albert Chin-A-Young <china@thewrittenword.com>
2602 * genscripts.sh (LIB_SEARCH_DIRS): Quote path.
2604 2002-03-20 Alan Modra <amodra@bigpond.net.au>
2606 * ldlang.c (ldlang_add_undef): If the output bfd has been opened,
2607 add the symbol to the linker hash table immediately.
2608 (lang_place_undefineds): Split symbol creation out..
2609 (insert_undefined): ..to here.
2611 2002-03-18 David O'Brien <obrien@FreeBSD.org>
2613 * emultempl/elf32.em: Use lbasename vs. basename to fix problem where
2614 the contents of the buffer returned from basename function will are
2615 getting overwritten while still being used.
2617 2002-03-18 Jan Hubicka <jh@suse.cz>
2618 Andreas Jaeger <aj@suse.de>
2619 Andreas Schwab <schwab@suse.de>
2621 * configure.tgt (x86_64-*-linux-gnu*): Configure i386 as native.
2622 * elf_x86_64.sh (ARCH): Set to i386:x86-64
2623 set libraries to default to lib64 paths.
2625 2002-03-18 Tom Rix <trix@redhat.com>
2627 * Makefile.am : Add eaix5ppc and eaix5rs6, AIX 5 support.
2628 * configure.tgt : Same.
2629 * emulparms/aix5ppc.sh : New file. For eaix5ppc.
2630 * emulparms/aix5rs6.sh : New file. For eaix5rs6.
2631 * emulparms/aixppc.sh : OUPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT
2632 emulation parameters for better -b32, -b64 support.
2633 * emulparms/aixrs6.sh : Same.
2634 * emulparms/ppcmacos.sh : Same.
2635 * emultempl/aix.em (choose_target) : Use new emulation parameters
2636 OUTPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT.
2637 * Makefile.in : Regenerate.
2639 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
2641 * po/fr.po: Updated version.
2643 2002-03-18 Alan Modra <amodra@bigpond.net.au>
2645 * ldmain.c (main): Move .text readonly flag fudges from here..
2646 * ldlang.c (lang_process): ..to here.
2648 2002-03-14 Alan Modra <amodra@bigpond.net.au>
2650 * ldlang.c (lang_check): Remove the word size check added in last
2651 change. Treat emitrelocations case as for relocatable links.
2653 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
2655 * po/fr.po: Updated version.
2657 2002-03-13 Alan Modra <amodra@bigpond.net.au>
2659 * ldlang.c (lang_check): Do relocatable link checks first, so that
2660 warn_mismatch can't override. Check compatible and word size too.
2662 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
2664 * ld.texinfo: Wrap @menu in @ifnottex, not @ifinfo.
2666 2002-03-05 Jakub Jelinek <jakub@redhat.com>
2668 * scripttempl/elf.sc: Only use DATA_SEGMENT_END() together with
2671 2002-03-04 H.J. Lu <hjl@gnu.org>
2673 * scripttempl/elf.sc: Put .preinit_array, .init_array and
2674 .fini_array in the data segment.
2676 2002-03-04 Alan Modra <amodra@bigpond.net.au>
2678 * scripttempl/elf.sc: Correct syntax errors in 2002-03-01 commit.
2680 2002-03-01 David Mosberger <davidm@hpl.hp.com>
2682 * scripttempl/elf.sc (SECTIONS): Add entries for .preinit_array,
2683 .init_array, and .fini_array.
2685 2002-02-20 Andreas Schwab <schwab@suse.de>
2687 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't fold
2688 .IA64_unwind* in a relocatable link.
2690 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
2692 * NEWS: Mark 2.12 branch.
2694 2002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
2696 * emulparams/elf64_s390.sh (ARCH): Change to "s390:64-bit".
2697 * emulparams/elf_s390.sh (ARCH): Change to "s390:31-bit".
2699 2002-02-18 Tom Rix <trix@redhat.com>
2701 * emultempl/aix.em (gld*_parse_args): Add -brtl support.
2702 (gld*_before_allocation): Same.
2703 (gld*_create_output_section_statements): Generate
2704 __rtinit if run time linking. Add librtl.a to the link.
2705 (gld*_read_file): Clean.
2707 2002-02-18 Alan Modra <amodra@bigpond.net.au>
2709 * emulparams/elf64ppc.sh (OTHER_TEXT_SECTIONS): Define.
2711 2002-02-18 David O'Brien <obrien@FreeBSD.org>
2713 * Makefile.am: Add new files earmelf_fbsd, eelf32ppc_fbsd,
2714 eelf_i386_fbsd, eelf64_ia64_fbsd, eelf_x86_64_fbsd, eelf64_sparc_fbsd,
2715 and eelf64alpha_fbsd.
2716 * Makefile.in: Regenerate.
2717 * configure.tgt(sparc64-*-freebsd, ia64-*-freebsd, i[3456]86-*-freebsd,
2718 x86_64-*-freebsd, arm-*-freebsd, alpha*-*-freebsd, powerpc-*-freebsd):
2719 use a FreeBSD-specific emulation rather than the psABI one.
2720 * emulparams/elf_fbsd.sh (ELF_INTERPRETER_NAME): Set appropriate value
2721 for all FreeBSD ELF systems.
2722 * emulparams/armelf_fbsd.sh: Bridge elf_fbsd.sh and the "native" psABI
2724 * emulparams/elf32ppc_fbsd.sh: Likewise.
2725 * emulparams/elf64_ia64_fbsd.sh: Likewise.
2726 * emulparams/elf64_sparc_fbsd.sh: Likewise.
2727 * emulparams/elf64alpha_fbsd.sh: Likewise.
2728 * emulparams/elf_i386_fbsd.sh: Likewise.
2729 * emulparams/elf_x86_64_fbsd.sh: Likewise.
2731 2002-02-18 Nick Clifton <nickc@cambridge.redhat.com>
2733 * po/tr.po: Updated version.
2735 2002-02-18 Alan Modra <amodra@bigpond.net.au>
2737 * ld.texinfo (Output Section Fill): Fix amateur texinfo.
2740 2002-02-17 Hans-Peter Nilsson <hp@bitrange.com>
2742 * emultempl/mmo.em (mmo_after_open): Don't call
2743 _bfd_mmix_check_all_relocs when producing ELF output.
2745 2002-02-15 Richard Henderson <rth@redhat.com>
2747 * emulparams/elf64alpha.sh (NOP): Adjust for big-endian
2748 definition. Emit a unop+nop pair.
2750 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
2752 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Also check
2753 for presence of .MMIX.reg_contents.linker_allocated before early
2756 * NEWS: Mention support for MMIX.
2758 2002-02-15 Alan Modra <amodra@bigpond.net.au>
2760 Support arbitrary length fill patterns.
2761 * ld.texinfo (Output Section Fill): Describe fill expressions.
2762 (FILL): Refer to the above.
2763 * ldexp.h (etree_value_type): Add "str" field.
2764 (union etree_union): Add "str" to "value" struct.
2765 (exp_bigintop): Declare.
2766 (exp_get_fill): Declare.
2767 * ldexp.c: Include "safe-ctype.h".
2768 (exp_intop): Set value.str to NULL.
2769 (exp_bigintop): New function.
2770 (new_rel): Pass in "str", and set new.str from it.
2771 (new_rel_from_section): Set new.str to NULL.
2772 (fold_name): Adjust calls to new_rel.
2773 (exp_fold_tree): Likewise.
2774 (exp_get_fill): New function.
2775 * ldgram.y (struct big_int bigint, fill_type *fill): New.
2776 (INT): Returns a "bigint". Adjust all code handling INTs.
2777 (fill_opt): Returns a "fill".
2778 (fill_exp): Split out of fill_opt, use for FILL.
2779 * ldlang.h (struct _fill_type): New.
2780 (fill_type): Move typedef to ldexp.h.
2781 (lang_output_section_statement_type): "fill" is now a pointer.
2782 (lang_fill_statement_type): Likewise.
2783 (lang_padding_statement_type): Likewise.
2784 (lang_add_fill): Now takes a "fill_type *" param.
2785 (lang_leave_output_section_statement): Likewise.
2786 (lang_do_assignments): Likewise.
2787 (lang_size_sections): Likewise.
2788 (lang_leave_overlay_section): Likewise.
2789 (lang_leave_overlay): Likewise.
2790 * ldlang.c: Include ldgram.h after ldexp.h.
2791 (lang_output_section_statement_lookup): Adjust for fill_type change.
2792 (print_fill_statement): Likewise.
2793 (print_padding_statement): Likewise.
2794 (insert_pad): Now takes a "fill_type *" arg.
2795 (size_input_section): Likewise.
2796 (lang_size_sections_1): Likewise.
2797 (lang_size_sections): Likewise.
2798 (lang_do_assignments): Likewise.
2799 (lang_add_fill): Likewise.
2800 (lang_leave_output_section_statement): Likewise.
2801 (lang_leave_overlay_section): Likewise.
2802 (lang_leave_overlay): Likewise.
2803 Adjust all callers of the above function.
2804 * ldlex.l: Include ldgram.h after ldexp.h. Allow hex numbers
2805 starting with "0X" as well as "0x". Return bigint.str for hex
2806 numbers starting with "0x" or "0X", zero bigint.str otherwise.
2807 Always use base 16 for numbers starting with "$".
2808 * ldmain.c: Include ldgram.h after ldexp.h.
2809 * ldwrite.c (build_link_order): Use bfd_data_link_order in place
2810 of bfd_fill_link_order.
2811 * pe-dll.c: Adjust lang_do_assignments calls.
2812 * emultempl/elf32.em: Likewise.
2813 * emultempl/hppaelf.em: Likewise.
2814 * emultempl/ppc64elf.em: Likewise.
2815 * emultempl/beos.em: Include ldgram.h after ldexp.h, adjust
2816 lang_add_assignment call.
2817 * emultempl/pe.em: Likewise.
2819 2002-02-14 Phil Edwards <pme@gcc.gnu.org>
2821 * ld.texinfo (VERSION scripts): Symbol names are globbing patterns.
2822 * ldgram.y (lang_new_vers_regex): Rename to lang_new_vers_pattern;
2823 the pattern in question is not a regexp.
2824 * ldlang.c: Likewise.
2825 * ldlang.h: Likewise.
2826 * ldlex.l (V_IDENTIFIER): Allow '[', ']', '-', '!', and '^' also.
2828 2002-02-12 Jakub Jelinek <jakub@redhat.com>
2830 * ldlex.l (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
2831 * ldgram.y (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
2832 (exp): Add DATA_SEGMENT_ALIGN (exp, exp) and DATA_SEGMENT_END (exp).
2833 * ldexp.c (exp_data_seg): New variable.
2834 (exp_print_token): Handle DATA_SEGMENT_ALIGN and DATA_SEGMENT_END.
2835 (fold_binary): Handle DATA_SEGMENT_ALIGN.
2836 (exp_fold_tree): Handle DATA_SEGMENT_END.
2837 Pass allocation_done when recursing instead of hardcoding
2838 lang_allocating_phase_enum.
2839 * ldexp.h (exp_data_seg): New.
2840 * ldlang.c (lang_size_sections_1): Renamed from lang_size_sections.
2841 (lang_size_sections): New.
2842 * ld.texinfo (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): Document.
2843 * scripttempl/elf.sc: Use DATA_SEGMENT_ALIGN and DATA_SEGMENT_END
2844 if COMMONPAGESIZE is defined.
2845 * emulparams/elf_i386.sh (COMMONPAGESIZE): Set to 4K.
2846 * emulparams/elf32_sparc.sh (COMMONPAGESIZE): Set to 8K.
2847 * emulparams/elf64_sparc.sh (COMMONPAGESIZE): Set to 8K.
2848 * emulparams/elf64alpha.sh (COMMONPAGESIZE): Set to 8K.
2849 * emulparams/elf64_ia64.sh (COMMONPAGESIZE): Set to 16K for shared
2852 2002-02-11 Alan Modra <amodra@bigpond.net.au>
2854 * Makefile.in: Regenerate.
2856 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
2858 * lexsup.c: Remove strtoul declaration.
2860 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
2862 * ldmain.c: Add prototype for main ().
2863 * lexsup.c: Guard declaration of strtoul with HAVE_STDLIB_H.
2864 * emultempl/lnk960.em (lnk960_choose_target): Function should
2867 2002-02-10 Alan Modra <amodra@bigpond.net.au>
2869 * ldlang.c (entry_section): New initialised variable.
2870 (lang_finish): Use it.
2871 * ldlang.h (entry_section): Declare.
2872 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Set
2873 entry_section to ".opd".
2875 2002-02-09 Chris Demetriou <cgd@broadcom.com>
2877 * ld.texinfo (Options): Add back in -nostdlib documentation,
2878 which had been inadvertently removed.
2880 2002-02-09 Hans-Peter Nilsson <hp@bitrange.com>
2882 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Adjust
2883 register section vma to a sane value after emitting error. Make
2884 fatal conditions cause program exit when emitting message.
2886 2002-02-08 Ivan Guzvinec <ivang@opencores.org>
2888 * configure.tgt: Add or32-*-rtems target.
2890 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
2892 Contribute sh64-elf.
2893 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
2894 * emulparams/shelf32.sh (STACK_ADDR): Define as formerly defined
2895 in OTHER_RELOCATABLE_SECTIONS.
2896 2002-01-18 Alexandre Oliva <aoliva@redhat.com>
2897 * emulparams/shelf32.sh (STACK_ADDR): Define.
2898 (OTHER_RELOCATABLE_SECTIONS): Renamed to...
2899 (OTHER_SECTIONS): this. Removed stack settings.
2900 * emulparams/shelf64.sh (OTHER_RELOCATABLE_SECTIONS): Do not set.
2901 (OTHER_SECTIONS): Reset after sourcing shelf32.sh.
2902 2001-03-12 DJ Delorie <dj@redhat.com>
2903 * emultempl/sh64elf.em (sh64_elf_$_before_allocation): Disable
2904 relaxing if any shmedia or mixed sections are found.
2905 2001-03-07 DJ Delorie <dj@redhat.com>
2906 * emultempl/sh64elf.em (sh64_elf_before_allocation): Pass f to
2907 einfo. Gracefully decline to output to non-elf formats.
2908 2001-03-06 Hans-Peter Nilsson <hpn@redhat.com>
2909 * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS) <.stack>:
2910 Default to _end aligned to next multiple of 0x40000, plus 0x40000.
2911 * emulparams/shelf32.sh: Ditto.
2912 2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com>
2913 * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Tweak
2915 2001-01-10 Ben Elliston <bje@redhat.com>
2916 * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Avoid
2917 non-portable shell constructs. From Hans-Peter Nilsson.
2918 2001-01-09 Hans-Peter Nilsson <hpn@cygnus.com>
2919 * emulparams/shelf64.sh (EXTRA_EM_FILE): Define empty.
2920 * Makefile.am (eshelf64.c, eshlelf64.c, eshlelf32.c): Adjust
2921 dependencies to the shell script include chain.
2922 * Makefile.in: Regenerate.
2923 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
2924 * emultempl/sh64elf.em: Update and tweak comments.
2925 (sh64_elf_${EMULATION_NAME}_after_allocation): Always allocate and
2926 make a .cranges section SEC_IN_MEMORY.
2927 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
2928 * emultempl/sh64elf.em
2929 (sh64_elf_${EMULATION_NAME}_before_allocation): Don't stop when
2930 .cranges section found to be necessary; continue and set stored
2931 section contents flags for sections with non-mixed contents.
2932 Use a struct sh64_section_data container and sh64_elf_section_data
2933 to store contents-type flags.
2934 Remove unused update of "isec".
2935 (sh64_elf_${EMULATION_NAME}_after_allocation): Only process
2936 sections marked SHF_SH5_ISA32_MIXED. Use sh64_elf_section_data to
2937 access contents-type flags. Assert that the associated container
2938 is initialized. Use that container, not elf_gp_size, to hold size
2939 of linker-generated cranges contents.
2940 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
2941 * emultempl/sh64elf.em
2942 (sh64_elf_${EMULATION_NAME}_before_allocation): Exit early if
2943 there's already a .cranges section. When section flag difference
2944 is found, don't NULL-check cranges a second time. Tweak comments.
2945 (sh64_elf_${EMULATION_NAME}_after_allocation): Use size after
2946 merging, not max size, as size of ld-generated .cranges contents.
2947 Don't set ELF section flags in output section. When checking for
2948 needed .cranges descriptors, don't use a variable; compare
2949 incoming ELF section flags directly to SHF_SH5_ISA32_MIXED. Tweak
2951 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
2952 * emultempl/sh64elf.em: New file.
2953 * Makefile.am (eshelf32.c, eshlelf32.c): Adjust dependencies.
2954 * Makefile.in: Regenerate.
2955 * emulparams/shelf32.sh (OUTPUT_FORMAT): Only set if not set.
2956 (OTHER_RELOCATING_SECTIONS): Ditto.
2957 (EXTRA_EM_FILE): New, set to sh64elf if not set.
2958 * emulparams/shlelf32.sh: Stub out all settings except
2959 OUTPUT_FORMAT. Source shelf32.sh.
2960 * emulparams/shelf64.sh: Similar, but also keep ELF_SIZE and
2961 OTHER_RELOCATING_SECTIONS.
2962 (OTHER_RELOCATING_SECTIONS): Remove .cranges.
2963 * emulparams/shlelf64.sh: Stub out all settings except
2964 OUTPUT_FORMAT. Source shelf64.sh.
2965 2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com>
2966 * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS): Include
2968 (DATA_START_SYMBOLS): Define, provide ___data.
2969 (OTHER_READONLY_SYMBOLS): Define, provide ___rodata and align to 8
2970 for consecutive .data section.
2971 (OTHER_GOT_SECTIONS): Define, align to 8 for consecutive .bss
2972 section after .data section.
2973 * emulparams/shlelf64.sh: Ditto.
2974 * emulparams/shelf32.sh: Ditto.
2975 (ALIGNMENT): Define to 8.
2976 * emulparams/shelf32.sh: Ditto.
2977 2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com>
2978 * configure.tgt (sh64-*-elf*): Assign targ_extra_libpath to get
2979 built-in linker scripts.
2980 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
2981 * emulparams/shlelf64.sh: New.
2982 * emulparams/shelf64.sh: New.
2983 * configure.tgt (sh64-*-elf*): Add shelf64 and shlelf64 to
2985 * Makefile.am: Add support for shlelf64 and shelf64.
2986 * Makefile.in: Regenerate.
2987 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
2988 * configure.tgt (sh64-*-elf*): Add shelf as default.
2989 Add shlelf to targ_extra_emuls.
2990 2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com>
2991 * emulparams/shelf32.sh: New file.
2992 * emulparams/shlelf32.sh: New file.
2993 * Makefile.am: Add support for shlelf32 and shelf32.
2994 * configure.tgt: Map sh64-*-elf* to shlelf32 and shelf32.
2995 * Makefile.in: Regenerate.
2997 2002-02-05 Hans-Peter Nilsson <hp@axis.com>
2999 * ldlang.c (lang_reset_memory_regions): Rename from
3000 reset_memory_regions. Change all callers. Make public.
3001 * ldlang.h (lang_reset_memory_regions): Prototype.
3002 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Call
3003 lang_reset_memory_regions before lang_size_sections.
3004 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
3005 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Likewise.
3007 2002-02-04 Hans-Peter Nilsson <hp@bitrange.com>
3009 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Use signed
3010 arithmetic when checking for too many global registers.
3012 2002-02-02 Jason Thorpe <thorpej@wasabisystems.com>
3014 * Makefile.am (ALL_EMULATIONS): Add ehppanbsd.o.
3015 (ehppanbsd.c): New rule.
3016 * Makefile.in: Regenerate.
3017 * configure.tgt (hppa*-*-netbsd*): New target.
3018 * emulparams/hppalinux.sh: Add comment to check other files
3019 that source this file it is modified, and list which
3021 * emulparams/hppanbsd.sh: New file.
3023 2002-02-01 Geoffrey Keating <geoffk@redhat.com>
3025 * scripttempl/xstormy16.sc: Don't allocate extra space for the
3028 2002-02-01 Hans-Peter Nilsson <hp@bitrange.com>
3030 Support on-demand global register allocation from
3031 R_MMIX_BASE_PLUS_OFFSET relocs.
3032 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Rename from
3033 mmix_set_reg_section_vma. Call
3034 _bfd_mmix_finalize_linker_allocated_gregs.
3035 (mmix_before_allocation): New function.
3036 (LDEMUL_AFTER_ALLOCATION): Set to mmix_after_allocation.
3037 (LDEMUL_BEFORE_ALLOCATION): Define to mmix_before_allocation.
3038 * scripttempl/mmo.sc (.text): Mark .init, .fini as KEEP.
3039 (.MMIX.reg_contents): Add .MMIX.reg_contents.linker_allocated
3040 before .MMIX.reg_contents.
3041 * emultempl/mmo.em (gldmmo_before_allocation): Define to default.
3042 (mmo_after_open): New function.
3043 (LDEMUL_AFTER_OPEN): Define to mmo_after_open.
3044 * emulparams/elf64mmix.sh (OTHER_SECTIONS): Tweak formatting. Add
3045 .MMIX.reg_contents.linker_allocated before .MMIX.reg_contents.
3047 2002-01-31 Ivan Guzvinec <ivang@opencores.org>
3049 * emulparams/or32.sh: New file.
3050 * emulparams/or32elf.sh: New file.
3051 * scripttempl/or32.sc: New file.
3052 * configure.tgt : Add support for or32.
3053 * configure: Regenerate
3054 * Makefile.am: Add support for or32.
3055 * Makefile.in: Regenerate.
3056 * NEWS: Mention support for or32.
3057 * po/ld.pot: Regenerate.
3059 2002-01-29 Chris Demetriou <cgd@broadcom.com>
3060 Mitch Lichtenberg <mpl@broadcom.com>
3062 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define to be mipself.
3063 * emultempl/mipself.em: New file to handle MIPS ELF embedded
3064 reloc creation (ld --embedded-relocs).
3066 2002-01-27 Daniel Jacobowitz <drow@mvista.com>
3068 * configure: Regenerated.
3070 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
3072 * Makefile.am (install): Depend on install-info.
3073 * Makefile.in: Regenerate.
3075 2002-01-26 Christian Rose <menthos@menthos.com>
3077 * ldmain.c (main): Use full sentences to ease translation.
3079 2002-01-26 Nick Clifton <nickc@cambridge.redhat.com>
3081 * po/fr.po: Updated version.
3083 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
3085 * po/es.po: Updated version.
3087 2002-01-25 Andreas Jaeger <aj@suse.de>
3089 * ldlex.l (yy_input): Correct error check.
3091 2002-01-25 Alan Modra <amodra@bigpond.net.au>
3093 * ldmisc.c (demangle): Put back dots when string not demangled.
3095 2002-01-22 Richard Henderson <rth@redhat.com>
3097 * emulparams/elf64alpha.sh (NOP): Use unop.
3099 2002-01-21 Andreas Jaeger <aj@suse.de>
3101 * ldlex.l: Use fread instead of read.
3103 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
3105 * configure.tgt (ia64-*-netbsd*): New target.
3107 2002-01-21 H.J. Lu <hjl@gnu.org>
3109 * emulparams/elf32btsmip.sh (SHLIB_TEXT_START_ADDR): Change to
3111 * emulparams/elf64btsmip.sh (SHLIB_TEXT_START_ADDR): Likewise.
3113 2002-01-18 Andreas Jaeger <aj@suse.de>
3115 * ldver.c (ldversion): Update year.
3117 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
3119 * po/ld.pot: Regenerate.
3121 2002-01-16 Alan Modra <amodra@bigpond.net.au>
3123 * Makefile.am (eelf64ppc.c, eelf64lppc.c): Depend on ppc64elf.em.
3124 * Makefile.in: Regenerate.
3125 * emulparams/elf64ppc.sh (EXTRA_EM_FILE): Define.
3126 * emultempl/ppc64elf.em: New file.
3128 2002-01-15 DJ Delorie <dj@redhat.com>
3130 * scripttempl/pe.sc: Add support for constructor priorities.
3132 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
3134 * emulparams/avr1200.sh (DATA_START): Define as 0x60.
3135 * emulparams/avr23xx.sh: Likewise.
3136 * emulparams/avr4433.sh: Likewise.
3137 * emulparams/avr44x4.sh: Likewise.
3138 * emulparams/avr85xx.sh: Likewise.
3139 * emulparams/avrmega103.sh: Likewise.
3140 * emulparams/avrmega161.sh: Likewise.
3141 * emulparams/avrmega603.sh: Likewise.
3142 * scripttempl/elf32avr.sc: Use DATA_START instead of 0x60.
3144 2002-01-08 Alexandre Oliva <aoliva@redhat.com>
3146 * ldlang.c (walk_wild_section): Exclude object file if enclosing
3147 archive is excluded.
3149 2002-01-07 Jason Thorpe <thorpej@wasabisystems.com>
3151 * Makefile.am (ALL_EMULATIONS): Add eshelf_nbsd.o and eshlelf_nbsd.o.
3152 (eshelf_nbsd.c): New rule.
3153 (eshlelf_nbsd.c): New rule.
3154 * Makefile.in: Regenerate.
3155 * configure.tgt (sh*le-*-netbsdelf*): New target.
3156 (sh*-*-netbsdelf*): New target.
3157 * emulparams/shelf.sh: Document that shelf_nbsd.sh sources this file.
3158 * emulparams/shelf_nbsd.sh: New emulation.
3159 * emulparams/shlelf_nbsd.sh: New emulation.
3161 2002-01-07 Nick Clifton <nickc@cambridge.redhat.com>
3163 * po/es.po: New file: Spanish translation.
3164 * configure.in (ALL_LINGUAS): Add es.
3165 * configure: Regenerate.
3167 2002-01-06 John Marshall <jmarshall@acm.org>
3169 * ld.texinfo: Note that --emit-relocs is currently only
3170 implemented for ELF.
3172 2002-01-05 Alan Modra <amodra@bigpond.net.au>
3174 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Make use
3175 of bfd_section_list_remove and bfd_section_list_insert macros.
3176 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
3177 * emultempl/mmo.em (mmo_place_orphan): Likewise.
3179 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
3181 * configure.tgt (x86_64-*-netbsd*): New target.
3183 2001-12-21 Tom Rix <trix@redhat.com>
3185 (gld*_create_output_section_statements): New function.
3186 For -binitfini support.
3187 * emultempl/aix.em (gld*_before_parse): Fix comment.
3188 * emultempl/aix.em (gld*_parse_args): Fix comment.
3190 2001-12-20 Jason Thorpe <thorpej@wasabisystems.com>
3192 * configure.tgt (mips*-dec-netbsd*): Delete alias for
3194 (sparc64-*-netbsd*): Add elf32_sparc to targ_extra_emuls.
3196 * configure.tgt (arm-*-netbsdelf*): Add target.
3197 (arm-*-netbsd*): Add armelf and armelf_nbsd to targ_extra_emuls.
3198 * emulparams/armelf_nbsd.sh: Added.
3199 * Makefile.am: Add rules for earmelf_nbsd.
3200 * Makefile.in: Regenerate.
3202 2001-12-19 Andreas Jaeger <aj@suse.de>,
3203 Susanne Oberhauser <froh@suse.de>
3205 * configure.host: Add rules for x86_64-*linux-gnu. Change
3206 s390x-linux entry to use gcc to report configuration, replace gcc
3207 with $CC in s390-linux
3209 2001-12-19 Andreas Jaeger <aj@suse.de>
3211 * ld.texinfo (VERSION): Fix markup.
3213 2001-12-18 matthew green <mrg@eterna.com.au>
3215 * Makefile.am (ALL_EMULATIONS): Add m68kelfnbsd.o.
3216 (m68kelfnbsd.c): New rule.
3217 * Makefile.in: Regenerate.
3218 * configure.tgt (m68*-hp-netbsd*): Renamed to ..
3219 (m68*-*-netbsd*4k*): .. this.
3220 (m68*-*-netbsdelf*): New target.
3221 (m68*-*-netbsd*): Also include ELF support.
3222 (m68*-*-netbsdaout*): New alias for m68*-*-netbsd*.
3223 * emulparams/m68kelfnbsd.sh: New emulation.
3225 2001-12-18 Jakub Jelinek <jakub@redhat.com>
3227 * ldgram.y (vers_node): Support anonymous version tags.
3228 * ldlang.c (lang_register_vers_node): Ensure anonymous version
3229 tag is not defined together with non-anonymous versions.
3230 * ld.texinfo: Document it.
3232 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
3234 * po/tr.po: New file: Turkish translation.
3235 * configure.in (ALL_LINGUAS): Add tr.
3236 * configure: Regenerate.
3238 2001-12-17 Jason Thorpe <thorpej@wasabisystems.com>
3240 * Makefile.am: Add rules for eelf64alpha_nbsd.
3241 * Makefile.in: Regenerate.
3242 * configure.tgt (alpha*-*-netbsd*): Set
3243 targ_emul to elf64alpha_nbsd.
3244 * emulparams/elf64alpha_nbsd.sh: Added.
3246 2001-12-17 Alan Modra <amodra@bigpond.net.au>
3248 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust
3249 section_tail when fiddling with section list.
3250 (gld${EMULATION_NAME}_list_options): Ensure sentences aren't
3251 broken into separate strings to make translation easier.
3252 * emultempl/mmo.em (mmo_place_orphan): Adjust section_tail when
3253 fiddling with section list.
3254 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
3256 2001-12-16 Hans-Peter Nilsson <hp@bitrange.com>
3258 * scripttempl/mmo.sc: Add .debug_ranges to listed sections.
3260 2001-12-15 Alan Modra <amodra@bigpond.net.au>
3262 * ldmain.c (main): Initialise link_info.eh_frame_hdr.
3264 2001-12-13 Jakub Jelinek <jakub@redhat.com>
3266 * emultempl/elf32.em (finish): Supply output_bfd
3267 to bfd_elf*_discard_info.
3268 (OPTION_EH_FRAME_HDR): Define.
3269 (longopts): Add --eh-frame-hdr.
3270 (parse_args): Handle it.
3271 (list_options): Add --eh-frame-hdr to help.
3272 * emultempl/hppaelf.em (finish): Supply output_bfd
3273 to bfd_elf*_discard_info.
3274 * scripttempl/elf.sc (.eh_frame_hdr): Add.
3276 2001-12-13 Alan Modra <amodra@bigpond.net.au>
3278 * lexsup.c (parse_args): Don't pass shortopts to second call to
3279 getopt functions. Restore optind rather than decrementing before
3280 second call. Remove errind as it now duplicates last_optind.
3282 2001-12-11 Christopher Faylor <cgf@redhat.com>
3284 * emultempl/pe.em (gld_${EMULATION_NAME}_list_options): Fix typo.
3286 2001-12-07 Geoffrey Keating <geoffk@redhat.com>
3287 Richard Henderson <rth@redhat.com>
3289 * Makefile.am: Add support for xstormy16.
3290 * configure.tgt: Add support for xstormy16.
3291 * Makefile.in: Regenerate.
3292 * emulparams/elf32xstormy16.sh: New file.
3293 * scripttempl/xstormy16.sc: New file.
3295 2001-10-01 Christopher Faylor <cgf@cygnus.com>
3297 * Makefile.in (LIB_PATH): Make configurable.
3298 (GENSCRIPTS): Set LIB_PATH in environment.
3299 * configure.in: Substitute LIB_PATH.
3300 * configure: Regenerate.
3301 * configure.tgt (*cygwin): Set LIB_PATH for cross build.
3302 * configure.host (*cygwin): Add /usr/lib/w32api to NATIVE_LIB_DIRS.
3304 2001-12-07 Nick Clifton <nickc@cambridge.redhat.com>
3306 * lexsup.c (ld_options): Insert 'PROGRAM' into the text string
3307 describing the -N option so that it is easier to translate into
3310 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
3312 * emultempl/pe.em (..._list_options): Replace multiple fprintf
3313 statements describing a single option with a single, newline
3314 escaped fprintf. This allows better translation into other
3317 * ldmain.c (add_archive_element): Combine multiple strings
3318 into a single string to permit better translation into other
3321 2001-12-05 Tom Rix <trix@redhat.com>
3323 * Makefile.am: Remove eaixppc64.
3324 * Makefile.in: Regenerate.
3326 2001-12-04 Tom Rix <trix@redhat.com>
3328 * emultempl/aix.em (choose_target): Change default target to
3329 OUTPUT_FORMAT for ppcmacos. Add braces to remove compiler
3331 (gld*_read_file): Fix typo.
3332 (change_symbol_mode): Add prototype.
3335 * emulparams/aixppc.sh (SYSCALL_MASK, SYMBOL_MODE_MASK): Delete.
3336 * emulparams/aixrs6.sh : Same.
3337 * emulparams/ppcmacos.sh : Same.
3338 * emulparams/aixppc64.sh : Delete file.
3339 * emultempl/aix.em : Formatting changes.
3341 2001-12-04 Hans-Peter Nilsson <hp@axis.com>
3343 * emulparams/criself.sh (NO_SMALL_DATA): Set, to yes.
3344 (OTHER_BSS_END_SYMBOLS): Don't refer to .sbss when setting
3346 (OTHER_END_SYMBOLS): Fix formatting.
3347 * emulparams/crislinux.sh (NO_SMALL_DATA): Set, to yes.
3348 (OTHER_END_SYMBOLS): Fix formatting.
3350 2001-12-04 Alan Modra <amodra@bigpond.net.au>
3352 * ldexp.c (exp_print_token): Correct "table" entry for RSHIFT.
3354 2001-12-02 Tom Rix <trix@redhat.com>
3356 * configure.tgt : Remove eaixppc64 emulations.
3357 * Makefile.in : Remove eaixppc64.c
3358 * ldemul.c (ldemul_choose_target): New parameters argc, argv.
3359 (ldemul_default_target): Same.
3360 * emultempl/gld960.em (gld960_choose_target): Same.
3361 * emultempl/gld960c.em (gld960_choose_target): Same.
3362 * scripttempl/aix.sc: Remove OUTPUT_FORMAT.
3363 * emultempl/aix.em (is_syscall): syscall_mask now a variable.
3364 * emultempl/aix.em (gld*_read_file): symbol_mode_mask now a variable.
3365 * emultempl/aix.em (gld*_parse_args): Handle -b32 -b64 emulation.
3366 * emultempl/aix.em (choose_target): New function. Handle emulation of
3369 2001-11-27 H.J. Lu <hjl@gnu.org>
3371 * emulparams/elf_i386.sh (NO_SMALL_DATA): Set to yes.
3372 * emulparams/elf_i386_be.sh (NO_SMALL_DATA): Likewise.
3373 * emulparams/elf_i386_chaos.sh (NO_SMALL_DATA): Likewise.
3374 * emulparams/elf_i386_ldso.sh (NO_SMALL_DATA): Likewise.
3375 * emulparams/elf_x86_64.sh (NO_SMALL_DATA): Likewise.
3376 * emulparams/m68kelf.sh (NO_SMALL_DATA): Likewise.
3377 * emulparams/elf32_sparc.sh (NO_SMALL_DATA): Likewise.
3378 * emulparams/elf64_sparc.sh (NO_SMALL_DATA): Likewise.
3380 * scripttempl/elf.sc (SBSS): New. Define if ${NO_SMALL_DATA}
3383 (REL_SDATA): Likewise.
3384 (REL_SBSS): Likewise.
3385 (REL_SDATA2): Likewise.
3386 (REL_SBSS2): Likewise.
3387 (SBSS2): Define if ${NO_SMALL_DATA} is not empty.
3390 2001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3392 * scripttempl/elfm68hc11.sc (CTOR, DTOR): Put constructor and
3394 * scripttempl/elfm68hc12.sc (CTOR, DTOR): Likewise.
3396 2001-11-22 H.J. Lu <hjl@gnu.org>
3398 * Makefile.in: Regenerated with automake based on automake
3399 1.4-8 in RedHat 7.1.
3401 2001-11-22 Alan Modra <amodra@bigpond.net.au>
3403 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
3404 (config.status): Delete rule.
3405 Add extra dependencies to cover sourced emulparams files.
3406 * Makefile.in: Regenerate.
3408 * scripttempl/elf.sc: Order <section>, <section>.* and
3409 corresponding linkonce sections as seen in input files.
3410 Formatting fixes. Zero vma of all sections if not relocating.
3411 (STACK): Define and insert if STACK_ADDR defined.
3412 (OTHER_RELOCATING_SECTIONS): Delete.
3413 (OTHER_END_SYMBOLS): Define.
3414 (OTHER_READONLY_SECTIONS): Always insert, not just when relocating.
3415 (OTHER_READWRITE_SECTIONS): Likewise.
3416 (OTHER_GOT_SECTIONS): Likewise.
3417 (OTHER_SDATA_SECTIONS): Likewise.
3418 (OTHER_BSS_SECTIONS): Likewise.
3419 * scripttempl/elfi370.sc (OTHER_READONLY_SECTIONS): Likewise.
3420 (OTHER_READWRITE_SECTIONS): Likewise.
3421 * scripttempl/nw.sc (OTHER_READONLY_SECTIONS): Likewise.
3422 (OTHER_READWRITE_SECTIONS): Likewise.
3424 * emulparams/armelf.sh (OTHER_RELOCATING_SECTIONS): Delete.
3425 (STACK_ADDR): Define.
3426 * emulparams/armelf_oabi.sh: As for armelf.sh.
3427 * emulparams/elf32mcore.sh: As for armelf.sh.
3428 * emulparams/h8300elf.sh: As for armelf.sh.
3429 * emulparams/mn10200.sh: As for armelf.sh.
3430 * emulparams/shelf.sh: As for armelf.sh.
3432 * emulparams/elf32fr30.sh (OTHER_RELOCATING_SECTIONS): Delete.
3433 (OTHER_END_SYMBOLS): Define.
3434 * emulparams/m32relf.sh: As for elf32fr30.sh.
3435 * emulparams/h8300helf.sh: As for elf32fr30.sh.
3436 * emulparams/h8300self.sh: As for elf32fr30.sh.
3438 * emulparams/criself.sh (OTHER_READONLY_SECTIONS): Protect symbol
3439 defines with RELOCATING test.
3440 (OTHER_SDATA_SECTIONS): Likewise.
3441 (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
3442 (OTHER_END_SYMBOLS): ..this.
3443 * emulparams/crislinux.sh: As for criself.sh.
3445 * emulparams/elf32bmipn32.sh (OTHER_SDATA_SECTIONS): Zero vma
3447 (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
3448 (OTHER_SECTIONS): ..this. Zero vma if not relocating. Order
3449 normal and linkonce sections as seen in input files.
3450 * emulparams/elf32bmip.sh (DATA_ADDR): Don't define if EMBEDDED.
3451 (TEXT_DYNAMIC): Likewise.
3452 (INITIAL_READONLY_SECTIONS): Zero vma if not relocating.
3453 (OTHER_SDATA_SECTIONS): Likewise.
3454 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
3455 * emulparams/shlelf_linux.sh (OTHER_READWRITE_SECTIONS): Likewise.
3456 * emulparams/elf64alpha.sh (OTHER_READONLY_SECTIONS): Likewise.
3457 * emulparams/hppalinux.sh (OTHER_READONLY_SECTIONS): Likewise.
3458 * emulparams/elf64_aix.sh (OTHER_GOT_SECTIONS): Likewise.
3459 (OTHER_PLT_RELOC_SECTIONS): Likewise.
3460 (OTHER_READONLY_SECTIONS): Likewise. Order normal and linkonce
3461 sections as seen in input files.
3462 * emulparams/elf64_ia64.sh: As for emulparams/elf64_aix.sh.
3463 * emulparams/hppa64linux.sh (OTHER_READONLY_SECTIONS): Zero vma
3465 (OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS): Likewise.
3466 (OTHER_BSS_END_SYMBOLS): Merge from elf64hppa.sh.
3467 * emulparams/elf64mmix.sh (OTHER_RELOCATING_SECTIONS): Delete.
3468 (OTHER_SECTIONS): Instead, use this..
3469 (OTHER_END_SYMBOLS): ..and this.
3471 * emulparams/elf32b4300.sh: Source elf32bmip.sh, remove duplicates.
3472 * emulparams/elf32bsmip.sh: Likewise.
3473 * emulparams/elf32btsmip.sh: Likewise.
3474 * emulparams/elf32ebmip.sh: Likewise.
3475 * emulparams/elf32lmip.sh: Likewise.
3476 * emulparams/elf32elmip.sh: Source elf32lmip.sh, remove duplicates.
3477 * emulparams/elf32lsmip.sh: Likewise.
3478 * emulparams/elf32ltsmip.sh: Source elf32btsmip.sh, remove duplicates.
3479 * emulparams/elf32l4300.sh: Source elf32b4300.sh, remove duplicates.
3480 * emulparams/elf64bmip.sh: Source elf32bmipn32.sh, remove duplicates.
3481 * emulparams/elf64btsmip.sh: Likewise.
3482 * emulparams/elf64ltsmip.sh: Source elf64btsmip.sh, remove duplicates.
3483 * emulparams/elf32lppc.sh: Source elf32ppc.sh, remove duplicates.
3484 * emulparams/elf32ppclinux.sh: Likewise.
3485 * emulparams/elf32ppcsim.sh: Likewise.
3486 * emulparams/elf32lppcsim.sh: Source elf32lppc.sh, remove duplicates.
3487 * emulparams/elf64hppa.sh: Source hppa64linux.sh, remove duplicates.
3488 * emulparams/h8300helf.sh: Source h8300elf.sh, remove duplicates.
3489 * emulparams/h8300self.sh: Likewise.
3490 * emulparams/mn10300.sh: Source mn10200.sh, remove duplicates.
3491 * emulparams/sh.sh: Comment.
3492 * emulparams/shl.sh: Source sh.sh, remove duplicates.
3493 * emulparams/shlelf.sh: Source shelf.sh, remove duplicates.
3494 * emulparams/shelf_linux.sh: Source shlelf_linux.sh, remove duplicates.
3496 2001-11-21 David Heine <dlheine@tensilica.com>
3497 Alan Modra <amodra@bigpond.net.au>
3499 * ldlang.c (map_input_to_output_sections): Replace "break"
3500 accidentally removed with 2001-08-03 change.
3501 (lang_gc_sections_1): Likewise.
3503 2001-11-21 Alan Modra <amodra@bigpond.net.au>
3505 * ldlang.c (walk_wild_section): Move sec == NULL case out of loop.
3507 2001-11-20 Angela Marie Thomas <angela@redhat.com>
3509 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Use NULL instead
3510 of false when calling lang_size_sections.
3511 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
3513 2001-11-15 Alan Modra <amodra@bigpond.net.au>
3515 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Only emit this
3516 function when LDEMUL_FINISH isn't set to the same name. Don't
3517 call ${LDEMUL_FINISH}.
3518 (ld_${EMULATION_NAME}_emulation): Call $LDEMUL_FINISH if defined.
3519 * emultempl/armelf.em (arm_elf_finish): Call
3520 gld${EMULATION_NAME}_finish.
3521 * emultempl/hppaelf.em (hppaelf_finish): Rename to
3522 gld${EMULATION_NAME}_finish. Call bfd_elf32_discard_info and
3523 hppaelf_layout_sections_again if necessary.
3524 (need_laying_out): New var.
3525 (hppaelf_layaout_sections_again): Rename to
3526 hppaelf_layout_sections_again. Clear need_laying_out.
3527 (PARSE_AND_LIST_OPTIONS): Format text.
3529 2001-11-14 H.J. Lu <hjl@gnu.org>
3531 * emultempl/armelf.em (arm_elf_finish): Renamed from
3532 gld${EMULATION_NAME}_finish.
3533 (LDEMUL_FINISH): Set to arm_elf_finish.
3535 2001-11-14 Daniel Jacobowitz <drow@mvista.com>
3537 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): New.
3538 (struct ld_emulation_xfer_struct): Use it.
3540 2001-11-13 Ross Alexander <ross.alexander@uk.neceur.com>
3542 * emulparams/elf64hppa.sh (OTHER_BSS_END_SYMBOLS): Add
3543 additional symbols referenced by newer crt0.o files from HP.
3545 2001-11-12 Anthony Green <green@redhat.com>
3547 * emulparams/armelf.sh (DATA_START_SYMBOLS): New symbol.
3549 2001-11-12 Alfred M. Szmidt <ams@kemisten.nu>
3551 * Makefile.am (GENSCRIPTS): Quote ${exec_prefix}.
3552 * Makefile.in: Regenerate.
3554 2001-11-02 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3556 * ld.texinfo: Use @command for commands, @option for options.
3557 * Makefile.am (POD2MAN): Use 'GNU Development Tools' for
3559 * Makefile.in: Rebuild.
3561 2001-11-04 Chris Demetriou <cgd@broadcom.com>
3563 * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
3564 Add support for targets.
3566 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
3568 * configure.in (ALL_LINGUAS): Add "fr" and "sv"
3569 * configure: Regernate.
3570 * po/fr.po: New file.
3571 * po/sv.po: New file.
3573 2001-11-01 NIIBE Yutaka <gniibe@m17n.org>
3575 * configure.tgt (sh-*-linux): Set targ_emul, targ_extra_emuls
3576 as little endian default and to support big endian.
3578 2001-11-01 Chris Demetriou <cgd@broadcom.com>
3580 * ld.texinfo (Options): Document new option, -nostdlib.
3581 * lexsup.c (OPTION_NOSTDLIB): New definition.
3582 (ld_options): Add entry for "nostdlib".
3583 (parse_args): Handle OPTIONS_NOSTDLIB.
3584 * ldfile.c (ldfile_add_library_path): Don't add directories
3585 to the search path if they weren't specified on the command line
3586 and -nostdlib was specified.
3587 * ld.h (ld_config_type): New member only_cmd_line_lib_dirs.
3589 2001-10-31 Nick Clifton <nickc@cambridge.redhat.com>
3591 * lexsup.c (parse_args): Prevent infinite parsing loop when
3592 "-rpath.a" is specified on the command line.
3593 Replace calls to fprintf with calls to einfo.
3595 2001-10-31 John Marshall <jmarshall@acm.org>
3597 * ld.texinfo: A historical requirement that MEMORY and SECTIONS
3598 appear only once across all the linker scripts involved in a link
3599 invocation no longer applies. Make the documentation reflect
3602 2001-10-31 NIIBE Yutaka <gniibe@m17n.org>
3604 * configure.tgt: Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu
3606 (sh-*-linux*): Added targ_extra_libpath.
3608 2001-10-31 David Heine <dlheine@tensilica.com>
3610 * ldlang.c (lang_size_sections): Keep a valid output_offset field
3611 for padding statements.
3613 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
3615 * configure.tgt (mmix-*-*): New target.
3616 * Makefile.am (ALL_EMULATIONS): Add eelf64mmix.o and emmo.o.
3617 Add dependencies to match.
3618 * emulparams/mmo.sh, emulparams/elf64mmix.sh, emultempl/mmo.em,
3619 emultempl/mmix-elfnmmo.em, emultempl/mmixelf.em,
3620 scripttempl/mmo.sc: New files.
3621 * gen-doc.texi: @set MMIX.
3622 * ld.texinfo: Ditto.
3623 [MMIX] Add MMIX node.
3624 * Makefile.in: Regenerate.
3626 2001-10-29 Kazu Hirata <kazu@hxi.com>
3628 * ldlang.c: Fix a comment typo.
3630 2001-10-23 Alan Modra <amodra@bigpond.net.au>
3632 * configure.host: Move alpha*-*-linux-gnu* entry to generic
3633 entries, and match *-*-linux*.
3635 2001-10-20 Alan Modra <amodra@bigpond.net.au>
3637 * ldgram.y (mri_script_command): Surround processing of INCLUDE
3638 with ldlex_script, ldlex_popstate.
3639 (ifile_p1): Likewise.
3640 * ldlex.l (EOF): Don't BEGIN(SCRIPT). Restore lineno from the
3642 (lex_push_file): Save current lineno to lineno_stack. Set lineno
3643 to 1. Don't BEGIN(SCRIPT).
3644 (lex_redirect): Similarly.
3645 * ldmain.c (main): Set yydebug non-zero if YYDEBUG.
3647 2001-10-20 Nick Clifton <nickc@cambridge.redhat.com>
3649 * scripttempl/armcoff.sc: Define __EH_FRAME_BEGIN__ and
3650 __EH_FRAME_END__ and accept eh frames into data section.
3651 Add ctor and dtor sections.
3653 2001-10-19 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
3655 * pe-dll.c (autofilter_objectlist): Add gcrt0.o.
3656 (auto-export): Fix indentation.
3658 2001-10-18 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
3660 * pe-dll.c (autofilter_objectlist): Add startup objects
3662 (auto-export): Constify char * p.
3663 Extract file basename and use strcmp rather than ststr
3666 2001-10-18 Chris Demetriou <cgd@broadcom.com>
3668 * ldmain.c (get_emulation): Improve comment about the handling
3671 2001-10-17 Alan Modra <amodra@bigpond.net.au>
3673 * po/POTFILES.in: Regenerate.
3675 2001-10-16 Vassili Karpov <malc@pulsesoft.com>
3677 * emultempl/elf32.em (gld*_list_options): Remove extra '\t' from
3678 -z nocopyreloc and -z nocombreloc usage strings.
3680 2001-10-12 Vassili Karpov <malc@pulsesoft.com>
3682 * emultempl/elf32.em (gld*_list_options): Include -z nocopyreloc
3685 2001-10-11 Aleksey Romanov <aromanov@ennovatenetworks.com>
3687 * scripttempl/armaout.sc: Place .bss section after end of aligned
3688 data section to match behaviour of aout code in constructrion of
3691 2001-10-11 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
3693 * pe-dll.c (autofilter_entry_type autofilter_liblist: Add
3694 startup files for mingw32 dlls to list.
3696 2001-10-10 Chris Demetriou <cgd@broadcom.com>
3698 * emultempl/elf32.em: Fix shell 'if' usage for portability.
3700 2001-10-08 Aldy Hernandez <aldyh@redhat.com>
3702 * configure.tgt (targ): Add arm9e-*-elf.
3704 2001-10-05 H.J. Lu <hjl@gnu.org>
3706 * genscripts.sh: Fix a typo in the last change.
3708 2001-10-05 Jakub Jelinek <jakub@redhat.com>
3710 * emultempl/elf32.em (gld_*_list_options): Include -z combreloc and
3711 -z nocombreloc in usage.
3713 2001-10-03 Jim Blandy <jimb@redhat.com>
3715 * genscripts.sh: Include a comment at the top of each generated
3716 script, explaining its purpose.
3718 2001-10-03 Vassili Karpov <malc@pulsesoft.com>
3720 * emultempl/elf32.em (parse_args): Handle -z nocopyreloc.
3721 * NEWS: Mention -z nocopyreloc.
3722 * ld.texinfo (Options): Describe nocopyreloc.
3724 2001-10-03 Alan Modra <amodra@bigpond.net.au>
3726 * configure: Regenerate.
3728 2001-10-02 Alan Modra <amodra@bigpond.net.au>
3730 * ldver.h (ld_program_version): Remove declaration.
3731 * lexsup.c (parse_args): Move printing of copyright message..
3732 * ldver.c (ldversion): .. to here.
3733 Use BFD_VERSION_STRING in place of BFD_VERSION.
3734 (ld_program_version): Remove.
3735 * Makefile.am (Makefile): Depend on bfd/configure.in.
3737 * Makefile.in: Regenerate.
3739 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
3741 * Makefile.am: Update dependencies with "make dep-am".
3742 * Makefile.in: Regenerate.
3744 2001-09-29 John Reiser <jreiser@BitWagon.com>
3746 * ldlang.c (lang_common): Conditionally inhibit Common allocation.
3747 * lexsup.c: Add --no-define-common commandline option.
3748 * ldgram.y: Add INHIBIT_COMMON_ALLOCATION script command.
3749 * ldlex.l: Likewise.
3750 * ld.h: Add command_line.inhibit_common_definition.
3751 * ldmain.c (main): Initialize.
3752 * ld.texinfo: Document.
3754 2001-09-29 Alan Modra <amodra@bigpond.net.au>
3756 * ldlang.c (section_already_linked): Remove assignment to kept_section.
3758 2001-09-26 Alan Modra <amodra@bigpond.net.au>
3760 * ldmisc.c (USE_STDARG): Remove.
3761 (info_msg): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE.
3766 * ldmisc.h: Remove #ifdef ANSI_PROTOTYPES and non-ansi
3767 declarations. Update copyright.
3769 2001-09-24 Charles Wilson <cwilson@ece.gatech.edu>
3771 * pe-dll.c: Remove obsoleted declaration of
3772 pe_get_data_import_dll_name.
3773 (pe_create_import_fixup): Fix thinko.
3775 * ld.texinfo(enable-auto-import): Clarify the explanation.
3777 2001-09-24 Nick Clifton <nickc@cambridge.redhat.com>
3779 * pe-dll.c (pe_create_import_fixup): Revert previous patch.
3780 * emultemp/pe.em (pe_data_import_dll): Move definition outside of
3781 DLL_SUPPORT controlled code.
3783 2001-09-24 Charles Wilson <cwilson@ece.gatech.edu>
3785 * emultempl/pe.em(pe_data_import_dll): Make static.
3786 (pe_get_data_import_dll_name): New accessor function.
3787 * pe-dll.c(pe_create_import_fixup): call
3788 pe_get_data_import_dll_name() from pe.em, instead of
3789 directly accessing pe_data_import_dll variable from pe.em.
3791 2001-09-18 Bruno Haible <haible@clisp.cons.org>
3793 * deffilep.y: Include "safe-ctype.h" instead of <ctype.h>.
3794 (def_file_add_directive): Use ISSPACE instead of isspace.
3795 (def_lex): Use ISDIGIT/ISXDIGIT/ISALPHA/ISALNUM instead of
3796 isdigit/isxdigit/isalpha/isalnum.
3797 * emultempl/aix.em: Include "safe-ctype.h" instead of <ctype.h>.
3798 (gld${EMULATION_NAME}_read_file): Use ISSPACE instead of isspace.
3799 * emultempl/elf32.em: Include "safe-ctype.h" instead of <ctype.h>.
3800 (gld${EMULATION_NAME}_place_orphan): Use ISALNUM instead of
3802 * emultempl/gld960c.em: Include "safe-ctype.h" instead of <ctype.h>.
3803 (gld960_set_output_arch): Use ISUPPER/TOLOWER instead of
3805 * emultempl/sunos.em: Include "safe-ctype.h" instead of <ctype.h>.
3806 (gld${EMULATION_NAME}_search_dir): Use ISDIGIT instead of isdigit.
3807 * ldctor.c: Include "safe-ctype.h" instead of <ctype.h>.
3808 (ctor_prio): Use ISDIGIT instead of isdigit.
3809 * ldfile.c: Include "safe-ctype.h" instead of <ctype.h>.
3810 (ldfile_open_file_search): Use ISALPHA instead of isalpha.
3811 (ldfile_add_arch): Use ISUPPER/TOLOWER instead of
3813 * ldlang.c: Include "safe-ctype.h" instead of <ctype.h>.
3814 (stricpy): Use TOLOWER instead of isupper/tolower.
3815 (lang_leave_overlay_section): Use ISALNUM instead of isalnum.
3816 * ldlex.l: Include "safe-ctype.h" instead of <ctype.h>.
3817 (lex_warn_invalid): Use ISPRINT instead of isprint.
3818 * ldmain.c: Include "safe-ctype.h" instead of <ctype.h>.
3819 (main): For gettext, also set the LC_CTYPE locate facet.
3820 (add_keepsyms_file): Use ISSPACE instead of isspace.
3821 * lexsup.c: Include "safe-ctype.h" instead of <ctype.h>.
3822 (is_num, parse_args): Use ISDIGIT instead of isdigit.
3823 * mpw-elfmips.c: Include "safe-ctype.h" instead of <ctype.h>.
3824 (gldelf32ebmip_place_orphan): Use ISALNUM instead of isalnum.
3825 * mpw-eppcmac.c: Include "safe-ctype.h" instead of <ctype.h>.
3826 (gldppcmacos_read_file): Use ISSPACE instead of isspace.
3827 * pe-dll.c: Include "safe-ctype.h" instead of <ctype.h>.
3828 (quoteput): Use ISSPACE instead of isspace.
3829 (pe_dll_generate_implib, pe_process_import_defs): Use ISALNUM
3832 2001-09-18 Alan Modra <amodra@bigpond.net.au>
3834 * deffilep.y (def_stash_module): Constify "name" param.
3836 * pe-dll.c: Replace CONST with const throughout.
3837 (quick_symbol): Constify "n1", "n2", "n3" params.
3838 (make_singleton_name_thunk): Constify "import" param. Make
3839 "buffer_len" a size_t.
3840 (make_import_fixup_entry): Constify "name", "fixup_name",
3841 "dll_symname" params.
3842 (pe_get16): Cast args of bfd_seek. Replace bfd_read with bfd_bread.
3843 (pe_get32): Likewise.
3844 (pe_implied_import_dll): Likewise.
3846 * emultempl/beos.em (sort_by_file_name): Constify "ra", "rb".
3847 (sort_by_section_name): Likewise.
3849 * emultempl/pe.em: Move defines for arm_epoc_pe before bfd.h included.
3850 (make_import_fixup): Cast printf arg, rel->address to long rather
3852 (gld_${EMULATION_NAME}_after_open): Don't compare NULL against int.
3854 2001-09-15 Alan Modra <amodra@bigpond.net.au>
3856 * ldmain.c (main): Rename BufferSize to ld_bufsz because HPUX
3857 defines BufferSize. Increase buffer size by one.
3859 2001-09-14 Ralf Habacker <Ralf.Habacker@freenet.de>
3861 * pe-dll.c (pe_walk_relocs_of_symbol): Fix memory leak.
3863 2001-09-14 Kevin Lo <kevlo@openbsd.org>
3865 * configure.tgt: Add arm-openbsd target.
3867 2001-09-12 H.J. Lu <hjl@gnu.org>
3869 * Makefile.am (ALL_EMULATIONS): Move eelf64ppc.o and
3871 (ALL_64_EMULATIONS): Here.
3872 * Makefile.in: Regenerated.
3874 2001-09-12 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
3876 * emultempl/pe.em(make_import_fixup): change signature to
3877 take asection as well as arelec; we need this for proper
3878 error reporting. Only call pe_create_import_fixup() if
3879 there is no attempt to add a constant addend to the reloc;
3880 otherwise, report error condition.
3881 * pe-dll.c(pe_walk_relocs_of_symbol): change signature,
3882 since final argument is a pointer to make_import_fixup().
3883 Change call to cb() to match make_import_fixup() signature.
3884 (make_import_fixup_mark): make buffer_len unsigned.
3885 * pe-dll.h: change signature of pe_walk_relocs_of_symbol.
3887 2001-09-12 Charles Wilson <cwilson@ece.gatech.edu>
3889 * ld.texinfo: add verbose documentation for auto-import
3890 direct-addressing workaround, to compliment the terse
3893 2001-09-12 Andrew MacLeod <amacleod@redhat.com>
3895 * scripttempl/v850.sc: Add gcc_except_table sections.
3897 2001-09-11 Jeffrey A Law (law@cygnus.com)
3899 * emulparams/h8300helf.sh: Move stack to a much higher memory address.
3900 * emulparams/h8300self.sh: Similarly.
3902 2001-09-05 Danny Smith <dannysmith@users.souceforge.net>
3904 * ld.texinfo (Options, --stack): Correct default value for stack
3907 2001-09-05 Tom Rix <trix@redhat.com>
3909 * emultempl/aix.em : Handle import file XMC_XO and syscall symbols.
3911 2001-09-03 Andreas Jaeger <aj@suse.de>
3913 * emultempl/beos.em: Declare prototypes for comparions functions,
3916 2001-09-02 Andreas Jaeger <aj@suse.de>
3918 * emultempl/aix.em: Add missing prototype.
3919 * emultempl/lnk960.em: Likewise.
3920 * emultempl/vanilla.em: Likewise.
3921 * emultempl/armcoff.em: Likewise.
3922 * emultempl/armelf_oabi.em: Likewise.
3923 * emultempl/beos.em: Likewise.
3924 * emultempl/gld960c.em: Likewise.
3925 * emultempl/gld960.em: Likewise.
3927 * emulparams/elf64alpha.sh (PARSE_AND_LIST_PROLOGUE): Add parameter
3928 for prototype declaration.
3930 2001-08-31 Eric Christopher <echristo@redhat.com>
3931 Jason Eckhardt <jle@redhat.com>
3933 * ldmain.c (get_emulation): Add support for -mips32 and -mips64.
3935 2001-08-31 Andreas Jaeger <aj@suse.de>
3937 * emultempl/pe.em: Add missing prototypes.
3938 (gld_${EMULATION_NAME}_after_open): Remove extra args to
3939 pe_find_data_imports.
3940 (pr_sym): Add unused attribute.
3942 2001-08-29 Joel Sherrill <joel@OARcorp.com>
3944 * configure.tgt (i[3456]86-*-rtems*, m68*-*-rtems*): Change
3945 default from coff to elf.
3947 2001-08-29 Jeff Law <law@redhat.com>
3949 * emulparams/h8300helf.sh: Resync with h8300elf.sh. Update
3951 * emulparams/h8300self.sh: Similarly.
3953 2001-08-28 J"orn Rennecke <amylaar@redhat.com>
3955 * Makefile.am (ALL_EMULATIONS): Add eh8300elf.o, eh8300elf.o and
3957 (eh8300elf.c, eh8300helf.c, eh8300self.c): New targets.
3958 * configure.tgt (h8300-*-elf*): New case.
3959 * emulparams/h8300elf.sh, emulparams/h8300helf.sh: New files.
3960 * emulparams/h8300self.sh: New file.
3961 * Makefile.in: Regenerated.
3963 2001-08-28 Nick Clifton <nickc@cambridge.redhat.com>
3965 * ldmain.c (main): Rename BSIZE to BufferSize to avoid collision
3968 2001-08-27 Linus Nordberg <linus@swox.com>
3969 Alan Modra <amodra@bigpond.net.au>
3971 * Makefile.am (ALL_EMULATIONS): Add eelf64ppc.o and eelf64lppc.o.
3972 (eelf64ppc.c, eelf64lppc.c): Add make targets.
3974 * Makefile.in: Regenerate.
3975 * configure.tgt: Add powerpc64 support. Move pdp11, pjl, pj
3976 entries to correct alphabetical position.
3977 * emulparams/elf64ppc.sh: New.
3978 * emulparams/elf64lppc.sh: New.
3980 2001-08-27 Nick Clifton <nickc@cambridge.redhat.com>
3982 * ldmain.c (main): Declare BSIZE as static.
3984 2001-08-23 Jakub Jelinek <jakub@redhat.com>
3986 * emultempl/elf32.em (place_orphan): Place orphan .rel* sections
3987 into .rel.dyn resp. .rela.dyn if combreloc.
3988 (get_script): If .x linker script is equal to .xn, only put it
3989 once into the binary.
3990 Add .xc and .xsc scripts.
3991 (parse_args): Handle -z combreloc and -z nocombreloc.
3992 * scripttempl/elf.sc (.rela.sbss): Fix a typo.
3993 For .xc and .xsc scripts put all .rel* or .rela* input sections
3994 but .rel*.plt and PLT-like sections into .rel.dyn resp. .rela.dyn.
3995 * genscripts.sh (GENERATE_COMBRELOC_SCRIPT): Set if SCRIPT_NAME
3997 Strip trailing whitespace from script.
3998 Generate .xc and .xsc scripts if requested.
3999 * ldmain.c (main): Initialize link_info.combreloc and
4000 link_info.spare_dynamic_tags.
4001 * lexsup.c (OPTION_SPARE_DYNAMIC_TAGS): Define.
4002 (ld_options): Add --spare-dynamic-tags option.
4003 (parse_args): Likewise.
4004 * ld.texinfo: Document -z combreloc and -z nocombreloc.
4005 * ldint.texinfo: Document .xc and .xsc linker scripts.
4006 * NEWS: Add notes about -z combreloc and SHF_MERGE.
4008 2001-08-22 H.J. Lu <hjl@gnu.org>
4010 * emulparams/elf32fr30.sh: Add a newline.
4012 2001-08-21 Andreas Jaeger <aj@suse.de>
4014 * deffilep.y: Add missing prototypes.
4015 * pe-dll.c: Likewise.
4017 2001-08-20 Alan Modra <amodra@bigpond.net.au>
4019 * ldlang.c (insert_pad): Fix typos in last patch.
4021 * ldlang.c: When traversing lang_statement_union_type lists,
4022 consistently use "header.next" rather than "next".
4023 * mpw-eppcmac.c: Likewise.
4024 * emultempl/beos.em: Likewise.
4025 * emultempl/hppaelf.em: Likewise.
4026 * emultempl/pe.em: Likewise.
4027 * ldlang.h (union lang_statement_union): Remove "next" field.
4029 * ldlang.c (insert_pad): Use offsetof macro.
4030 (lang_size_sections): Always neuter padding statements.
4031 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Delete.
4033 * pe-dll.c (pe_dll_fill_sections): Correct type of "relax" param
4034 passed to lang_size_sections.
4035 (pe_exe_fill_sections): Likewise.
4036 * emultempl/pe.em (output_prev_sec_find): Copied from elf32.em.
4037 (gld_${EMULATION_NAME}_place_orphan): Merge from elf32.em.
4039 2001-08-18 Alan Modra <amodra@bigpond.net.au>
4041 * emultempl/aix.em: Formatting fixes.
4043 2001-08-18 Alan Modra <amodra@bigpond.net.au>
4045 * ldlang.c (insert_pad): Make use of an existing pad statement if
4046 available. Move code calculating alignment, adjusting section
4047 alignment power, and adjusting dot to ..
4048 (size_input_section): .. here. Remove unused relax param.
4049 (lang_size_sections): Change boolean `relax' param to boolean *.
4050 Adjust call to size_input_section. Make use of insert_pad to
4051 place pad after the assignment statement. If relaxing, zap
4053 (reset_memory_regions): Reset output_bfd section sizes too.
4054 (relax_again): Move to..
4055 (lang_process): ..here. Adjust call to lang_size_sections, and
4056 remove duplicated code.
4057 * ldlang.h (lang_size_sections): Change `relax' param to boolean *.
4059 2001-08-17 Alan Modra <amodra@bigpond.net.au>
4061 * ld.texinfo: Document that fill values now use the four least
4063 * emulparams/elf32fr30.sh (NOP): Update.
4064 * emulparams/elf32mcore.sh: Likewise.
4065 * emulparams/elf64_s390.sh: Likewise.
4066 * emulparams/elf_i386.sh: Likewise.
4067 * emulparams/elf_i386_be.sh: Likewise.
4068 * emulparams/elf_i386_chaos.sh: Likewise.
4069 * emulparams/elf_i386_ldso.sh: Likewise.
4070 * emulparams/elf_s390.sh: Likewise.
4071 * emulparams/elf_x86_64.sh: Likewise.
4072 * emulparams/i386moss.sh: Likewise.
4073 * emulparams/i386nw.sh: Likewise.
4074 * emulparams/m68kelf.sh: Likewise.
4075 * scripttempl/elf.sc: Update NOP comment.
4076 * scripttempl/elfi370.sc: Likewise.
4077 * scripttempl/elfm68hc11.sc: Likewise.
4078 * scripttempl/elfm68hc12.sc: Likewise.
4079 * scripttempl/nw.sc: Likewise.
4081 2001-08-15 Tom Rix <trix@redhat.com>
4083 * ldgram.y (saved_script_handle): Initialize to NULL.
4084 * ldmain.c (main): Change check on saved_script_handle.
4086 2001-08-14 Alan Modra <amodra@bigpond.net.au>
4088 * emultempl/elf32.em: Formatting fixes.
4089 (output_prev_sec_find): Test for bfd_ind_section too; do so by
4090 looking at sec->owner.
4091 (output_rel_find): Move function inside LDEMUL_PLACE_ORPHAN test.
4092 (gld${EMULATION_NAME}_place_orphan): Add a few comments. Remove
4093 unused code, and reorganize orphan section placement code.
4095 * ldlang.c (wild_doit): Rename to lang_add_section.
4096 * ldlang.h: Here too.
4097 * mpw-elfmips.c: And here.
4098 * emultempl/beos.em: And here.
4099 * emultempl/elf32.em: And here.
4100 * emultempl/hppaelf.em: And here.
4101 * emultempl/pe.em: And here.
4103 2001-08-13 Richard Henderson <rth@redhat.com>
4105 * emultempl/needrelax.em: New file.
4106 * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Reference it.
4107 * Makefile.am (eelf64_ia64.c): Depend on it.
4108 * Makefile.in: Rebuild.
4110 2001-08-13 Alan Modra <amodra@bigpond.net.au>
4112 * emultempl/elf32.em: For SEC_EXCLUDE sections, ensure that
4113 output_section is set non-NULL.
4115 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Return
4116 `true' for SEC_EXCLUDE sections so that the generic code doesn't
4117 needlessly create an output_section_statement. Treat a correctly
4118 named output_section_statement with NULL bfd_section as compatible.
4120 2001-08-13 Hans-Peter Nilsson <hp@bitrange.com>
4122 * emultempl/generic.em: Support EXTRA_EM_FILE.
4123 (ld_${EMULATION_NAME}_emulation): Support emulation parameters
4124 LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
4125 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
4126 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
4127 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
4128 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
4129 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
4130 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
4131 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
4132 LDEMUL_FIND_POTENTIAL_LIBRARIES.
4134 2001-08-12 Richard Henderson <rth@redhat.com>
4136 * scripttempl/elf.sc, scripttempl/elfd30v.sc,
4137 scripttempl/elfm68hc11.sc, scripttempl/elfm68hc12.sc,
4138 scripttempl/v850.sc: Keep .jcr data.
4140 2001-08-12 H.J. Lu <hjl@gnu.org>
4141 Andrew Haley <aph@cambridge.redhat.com>
4142 Nick Clifton <nickc@redhat.com>
4144 * ldgram.y (had_script): Change name to saved_script_handle.
4145 Change type to file handle.
4146 * ld.h (had_script): Rename and retype.
4147 * ldfile.c (ldfile_open_command_file): Save the file handle
4148 used in saved_script_handle.
4149 * lexsup.c (parse_args): Do not allow -c option to alter
4150 saved_script_handle.
4151 * ldmain.c (main): Print out the linker script used if
4152 --verbose is given. Check saved_script_handle to obtain the
4153 external linker script used, or if NULL, dump the builtin
4155 * ld.texinfo: Document that --verbose now dumps the linker
4156 script used, regardless of whether it was an internal or an
4159 2001-08-10 Andreas Jaeger <aj@suse.de>
4161 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
4163 * configure: Regenerate.
4165 2001-08-09 Alan Modra <amodra@bigpond.net.au>
4167 * emultempl/elf32.em (output_prev_sec_find): Add missing prototype.
4169 * scripttempl/elf.sc: Move non-text .dynamic section before
4170 .plt/.got/.sdata* group.
4171 (OTHER_GOT_SECTIONS): Move to immediately after .got.
4172 (OTHER_SDATA_SECTIONS): Add.
4173 * emulparams/criself.sh: Use OTHER_SDATA_SECTIONS rather than
4175 * emulparams/crislinux.sh: Likewise.
4176 * emulparams/elf32b4300.sh: Likewise.
4177 * emulparams/elf32bmip.sh: Likewise.
4178 * emulparams/elf32bmipn32.sh: Likewise.
4179 * emulparams/elf32bsmip.sh: Likewise.
4180 * emulparams/elf32btsmip.sh: Likewise.
4181 * emulparams/elf32ebmip.sh: Likewise.
4182 * emulparams/elf32elmip.sh: Likewise.
4183 * emulparams/elf32l4300.sh: Likewise.
4184 * emulparams/elf32lmip.sh: Likewise.
4185 * emulparams/elf32lsmip.sh: Likewise.
4186 * emulparams/elf32ltsmip.sh: Likewise.
4187 * emulparams/elf64bmip.sh: Likewise.
4188 * emulparams/elf64btsmip.sh: Likewise.
4189 * emulparams/elf64ltsmip.sh: Likewise.
4191 2001-08-08 Alan Modra <amodra@bigpond.net.au>
4193 * genscripts.sh: Source the emulparams script before each output
4194 script is generated so that variables like `RELOCATING' may affect
4195 variables defined in the emulparams script.
4197 2001-08-04 Alan Modra <amodra@bigpond.net.au>
4199 * emultempl/aix.em: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this
4202 * emultempl/beos.em (sort_sections): Modify for 2001-08-03 change,
4203 ie. iterate over wild_statement.section_list.
4204 (gld${EMULATION_NAME}_place_orphan): Likewise.
4206 2001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4208 * scripttempl/elfm68hc12.sc (FINISH_CODE, FINISH_RELOC): New to handle
4209 .fini[0-4] sections used by _exit
4210 (CTOR, DTOR): Export ctor/dtor symbols; move them to ROM.
4211 (*.text,*.data,*.bss): Take into account .text.*, .data.*, .bss.*.
4212 * scripttempl/elfm68hc11.sc: Likewise.
4214 2001-08-03 H.J. Lu <hjl@gnu.org>
4216 * emultempl/beos.em (init): Add the missing initialization.
4218 2001-08-03 Alan Modra <amodra@bigpond.net.au>
4220 * ld.texinfo (Input Section Basics): Clarify ordering of output
4222 * ldlang.c (callback_t): Add wildcard_list param.
4223 (walk_wild_section): Remove "section" param. Rewrite for
4224 lang_wild_statement_type change. Remove unique_section_p test.
4225 (walk_wild_file): Remove "section" param.
4226 (walk_wild): Remove "section" and "file" params.
4227 (lang_gc_wild): Likewise.
4228 (wild): Likewise. Modify for lang_wild_statement_type change.
4229 (wild_sort): Likewise. Add "sec" param.
4230 (gc_section_callback): Likewise.
4231 (output_section_callback): Likewise. Do unique_section_p test.
4232 (map_input_to_output_sections): Modify call to wild.
4233 (lang_gc_sections_1): Likewise.
4234 (print_wild_statement): Modify for lang_wild_statement_type
4236 (lang_add_wild): Replace filename, filenames_sorted param with
4237 filespec. Replace section_name, sections_sorted,
4238 exclude_filename_list with section_list.
4239 * ldlang.h (lang_add_wild): Here too.
4240 (lang_wild_statement_type): Replace section_name, sections_sorted,
4241 and exclude_filename_list with section_list.
4242 * ldgram.y (current_file): Delete.
4243 (%union): Add wildcard_list.
4244 (file_NAME_list): Set type to wildcard_list. Build a linked list
4245 rather than calling lang_add_wild for each entry.
4246 (input_section_spec_no_keep): Call lang_add_wild here instead.
4247 * ld.h (struct wildcard_list): Declare.
4248 * mri.c (mri_draw_tree): Modify to suit new lang_add_wild.
4250 2001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
4252 * ldmain.c (main): initialize link_info.pei386_auto_import
4253 * pe-dll.c: new tables for auto-export filtering
4254 (auto_export): change API, pass abfd for contextual filtering.
4255 Loop thru tables of excluded symbols instead of comparing
4258 2001-08-02 Paul Sokolovsky <paul.sokolovsky@technologist.com>
4260 * pe-dll.c: new variable pe_dll_enable_extra_debug. New
4261 static variable current_sec (static struct sec *). Add
4262 forward declaration for add_bfd_to_link.
4263 (process_def_file): Don't export undefined symbols. Do not
4264 export symbols starting with "_imp__". Call auto_export()
4266 (pe_walk_relocs_of_symbol): New function.
4267 (generate_reloc): add optional extra debugging
4268 (pe_dll_generate_def_file): eliminate extraneous initial blank
4270 (make_one): enlarge symtab to make room for __nm__ symbols
4271 (DATA auto-import support).
4272 (make_singleton_name_thunk): New function.
4273 (make_import_fixup_mark): New function.
4274 (make_import_fixup_entry): New function.
4275 (pe_create_import_fixup): New function.
4276 (add_bfd_to_link): Specify that 'name' argument is a CONST
4278 * pe-dll.h: declare new variable pe_dll_extra_pe_debug;
4279 declare new functions pe_walk_relocs_of_symbol and
4280 pe_create_import_fixup.
4281 * emultempl/pe.em: add new options --enable-auto-import,
4282 --disable-auto-import, and --enable-extra-pe-debug.
4283 (make_import_fixup): New function.
4284 (pe_find_data_imports): New function.
4285 (pr_sym): New function.
4286 (gld_${EMULATION_NAME}_after_open): Add optional extra pe
4287 debugging. Call pe_find_data_imports. Mark .idata as DATA, not
4290 2001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
4292 * ld.texinfo: add additional documentation for
4293 --export-all-symbols. Document --out-implib,
4294 --enable-auto-image-base, --disable-auto-image-base,
4295 --dll-search-prefix, --enable-auto-import, and
4296 --disable-auto-import.
4297 * ldint.texinfo: Add detailed documentation on auto-import
4300 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
4302 * ld.texinfo (Simple Assignments): Fix computation in SECTIONS
4305 2001-07-24 Alan Modra <amodra@bigpond.net.au>
4307 * Makefile.am: Update dependencies with "make dep-am".
4308 * Makefile.in: Regenerate
4310 2001-07-23 Alan Modra <amodra@bigpond.net.au>
4312 * ldcref.c (check_section_sym_xref): New function.
4313 (check_nocrossrefs): Call it.
4314 (check_nocrossref): Interate over h->refs here instead of..
4315 (check_refs): ..here. Pass in the symbol name, section, and bfd
4316 rather than hash_entry pointers.
4317 (struct check_refs_info): Keep symbol name rather than hash entry.
4319 (check_reloc_refs): Tweak for above changes in check_refs_info.
4320 Only report references to section syms when symname is NULL to
4321 prevent duplicate messages for the same reloc.
4323 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
4325 * ldexp.c (exp_print_tree): Use stderr if config.map_file is not
4326 available. Do not print NULL trees.
4327 (exp_print_token): Print unknown tokens with values > 126 as
4328 decimal values not ASCII characters.
4330 * ldlang.c (lang_leave_overlay): If a region is specified assign
4331 it to all sections inside the overlay unless they have been
4332 assigned to the own, non-default, memory region.
4334 * README: Add header for consistency with other README files.
4336 2001-07-14 H.J. Lu <hjl@gnu.org>
4338 * emultempl/elf32.em (output_prev_sec_find): Never return
4339 bfd_abs_section_ptr, bfd_com_section_ptr nor
4340 bfd_und_section_ptr.
4342 2001-07-14 Nick Clifton <nickc@cambridge.redhat.com>
4344 * Makefile.am (em32relf.c): Change dependency from generic.em to
4346 * Makefile.in: Regenerate.
4348 2001-07-14 matthew green <mrg@eterna.com.au>
4350 * configure.tgt (i386-*-netbsdelf*): New target.
4351 (i386-*-netbsd*): Set targ_extra_emuls to `elf_i386'
4353 2001-07-13 Jakub Jelinek <jakub@redhat.com>
4355 * emultempl/elf32.em (output_prev_sec_find): New.
4356 (place_orphan): Use it.
4358 2001-07-11 H.J. Lu <hjl@gnu.org>
4360 * ldmain.c (main): Fix typos in the last change.
4362 2001-07-11 Jakub Jelinek <jakub@redhat.com>
4364 * ldmain.c (main): Disallow -F and -f without -shared.
4366 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
4368 * emultempl/pe.em (after_open): Check for the output_bfd not
4369 having any coff_data structure allocated to it.
4371 2001-07-09 David O'Brien <obrien@FreeBSD.org>
4373 * emultempl/elf32.em: Do not assuming that contents of the buffer
4374 returned from basename function will remain unchanged accross other
4377 2001-07-03 H.J. Lu <hjl@gnu.org>
4379 * scripttempl/elf.sc (DYNAMIC_PAD): Revert the change made on
4380 2001-07-03. It creates dynamic entries even for static binaries.
4382 2001-07-03 Jakub Jelinek <jakub@redhat.com>
4384 * scripttempl/elf.sc (DYNAMIC_PAD): New variable.
4385 (DYNAMIC): Use it to reserve few dynamic entries for
4388 2001-06-27 Alan Modra <amodra@bigpond.net.au>
4390 * emulparams/hppa64linux.sh: New file.
4391 * configure.tgt: hppa*64*-*-linux* uses hppa64linux.sh
4392 * Makefile.am (ALL_64_EMULATIONS): Add ehppa64linux.o
4393 (ehppa64linux.c): Add rule to make it.
4395 * Makefile.in: Regenerate.
4397 2001-06-21 Hans-Peter Nilsson <hp@axis.com>
4399 * ld.texinfo (Options, -r): Mention restrictions when using
4400 different object formats.
4402 2001-06-19 Hans-Peter Nilsson <hp@axis.com>
4404 * ldlang.c (lang_check): Emit fatal error if relocatable link
4405 between different object flavours with relocations in input.
4407 2001-06-19 H.J. Lu <hjl@gnu.org>
4409 * ld.texinfo (-E, --export-dynamic): Mention --version-script.
4410 (--version-script): Mention the language support.
4412 2001-06-19 H.J. Lu <hjl@gnu.org>
4414 * ldlang.c (lang_check): Revert the change mode on 2001-06-15.
4416 2001-06-18 H.J. Lu <hjl@gnu.org>
4418 * Makefile.am (ld.1): Remove the prefix `$(srcdir)/'.
4419 (diststuff): Add $(MANS).
4420 * Makefile.in: Regenerated.
4424 2001-06-18 Hans-Peter Nilsson <hp@axis.com>
4426 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
4427 Update for API change in bfd_elf${ELFSIZE}_size_dynamic_sections.
4428 * mpw-elfmips.c (gldelf32ebmip_before_allocation): Ditto.
4429 * ld.h (args_type): Remove member export_dynamic. All users
4430 changed to use struct bfd_link_info member.
4432 * Makefile.am (ecriself.c, ed10velf.c, ei386moss.c): Depend on
4433 $(srcdir)/emultempl/elf32.em, not $(srcdir)/emultempl/generic.em.
4434 * Makefile.in: Regenerate.
4436 2001-06-18 H.J. Lu <hjl@gnu.org>
4438 * ldlang.c (init_os): Add the newline to the einfo call.
4439 (lang_check): Likewise.
4440 (lang_do_version_exports_section): Likewise.
4442 2001-06-15 H.J. Lu <hjl@gnu.org>
4444 * lexsup.c (parse_args); Save optind to report unrecognized
4447 2001-06-15 Hans-Peter Nilsson <hp@axis.com>
4449 * ldlang.c (lang_check): Emit fatal error if relocatable link
4450 between different object flavours.
4452 * lexsup.c (parse_args) <case OPTION_EXPORT_DYNAMIC, case 'E'>:
4453 Set new link_info member export_dynamic.
4454 * ldmain.c (main): Initialize new link_info member export_dynamic.
4456 2001-06-12 Nick Clifton <nickc@cambridge.redhat.com>
4458 * ldlang.c (walk_wild): Only call walk_wild_file if
4459 lookup_name returns something.
4460 (lookup_name): If load_symbols fails, return NULL.
4461 (load_symbols): Change to a boolean function.
4462 (open_input_bfds): If load_symbols fails then do not make the
4465 2001-06-08 Alan Modra <amodra@bigpond.net.au>
4467 * ldlang.c (record_bfd_errors): Remove.
4469 * emultempl/aix.em: Fix copyright dates.
4471 2001-06-07 Andreas Jaeger <aj@suse.de>
4473 * elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase.
4474 (TEXT_START_ADDR): Likewise.
4476 2001-06-06 Martin Schwidefsky <schwidefsky@de.ibm.com>
4478 * configure.host: Set HOSTING_CRT0/HOSTING_LIBS correctly for s/390.
4480 2001-06-05 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4482 * emultempl/pe.em (init): Reduce default stack reserve to 0x200000.
4484 2001-05-31 H.J. Lu <hjl@gnu.org>
4486 * ldlang.c (open_input_bfds): Don't change the bfd error
4487 handler whilst loading symbols.
4489 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
4491 * configure.tgt: Remove i370-mvs architecture, it is not currently
4494 2001-05-25 H.J. Lu <hjl@gnu.org>
4496 * emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
4497 like emulparams/aixppc.sh.
4499 2001-05-25 H.J. Lu <hjl@gnu.org>
4501 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move
4502 setting of output_filename after bfd_scan_arch.
4503 * emultempl/pe.em: Likewise.
4505 2001-05-25 H.J. Lu <hjl@gnu.org>
4507 * emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
4508 like emulparams/aixppc.sh.
4510 * emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed
4511 instead of ${srcdir}/emultempl/stringify.sed.
4513 2001-05-25 Timothy Wall <twall@oculustech.com>
4515 * emulparams/elf64_aix.sh: Change settings to match IBM linker
4518 2001-05-25 Alan Modra <amodra@one.net.au>
4520 * configure.host: Replace linuxoldld with linux*oldld.
4521 * configure.tgt: Likewise.
4523 2001-05-24 H.J. Lu <hjl@gnu.org>
4525 * emultempl/stringify.sed: Removed again.
4527 2001-05-24 H.J. Lu <hjl@gnu.org>
4529 * emultempl/aix.em (OUTPUT_ARCH): Defined.
4530 (gld${EMULATION_NAME}_before_parse): Initialize
4531 ldfile_output_architecture, ldfile_output_machine and
4532 ldfile_output_machine_name from ${OUTPUT_ARCH} if possible.
4533 * emultempl/beos.em: Likewise.
4534 * emultempl/elf32.em: Likewise.
4535 * emultempl/linux.em: Likewise.
4536 * emultempl/mipsecoff.em: Likewise.
4537 * emultempl/pe.em: Likewise.
4538 * emultempl/sunos.em: Likewise.
4540 2001-05-24 Tom Rix <trix@redhat.com>
4542 * emultempl/aix.em : (gld${EMULATION_NAME}_read_file)
4543 udate import file format.
4544 (change_symbol_mode) New, same
4545 (is_syscall) New, same
4546 * emulparams/aixppc.sh : add SYSCALL_MASK and SYMBOL_MODE_MASK
4547 * emulparams/aixppc64.sh : same
4548 * emulparams/aixrs6.sh : same
4549 * emulparams/ppcmacos.sh : same
4550 * emultempl/aix.em : use strtoull to parse options
4551 * Makefile.am : add eaixppc64 emulation for xcoff64
4552 * Makefile.in : same
4553 * configure.tgt : same
4555 * scripttempl/aix.sc : default text section offset to 0x10000000
4556 default data section offset to 0x20000000
4557 add .sv3264 and .sv64 pseudo sections
4558 loader and debug sections use the currect section offset.
4560 * emultempl/aix.em : Add xcoff64 support
4561 Add -binitfini support
4562 (gld${EMULATION_NAME}_before_parse) -binitfini
4563 (gld${EMULATION_NAME}_parse_args) same
4564 (gld${EMULATION_NAME}_before_allocation) format change for special
4567 * emulparams/aixppc64.sh : New file for xcoff64 support
4569 2001-05-23 Alexandre Oliva <aoliva@redhat.com>
4571 * emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new
4572 variable to avoid non-portable shell construct.
4574 2001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4576 * ldmain.c (get_emulation): Add -mips5 command line argument.
4578 2001-05-22 Alexandre Oliva <aoliva@redhat.com>
4580 * emulparams/elf_i386_ldso.sh: New, copied from elf_i386.sh.
4581 (ELF_INTERPRETER_NAME): Define it.
4582 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use
4584 * configure.tgt (targ_emul, targ_extra_emuls)
4585 [i[3456]86-*-solaris2*, i[3456]86-*-solaris*]: Use elf_i386_ldso
4586 as primary, elf_i386 as extra.
4587 * Makefile.am (ALL_EMULATIONS): Added eelf_i386_ldso.o.
4588 (eelf_i386_ldso.c): New rule.
4589 * Makefile.in: Rebuilt.
4591 2001-05-22 Nick Clifton <nickc@redhat.com>
4593 * lexsup.c (ld_options): Allow -I to be an alias for
4594 --dynamic-linker. This is for Solaris compatability.
4595 * ld.texinfo: Document that -I can be used.
4598 2001-05-16 Alan Modra <amodra@one.net.au>
4600 * ldlang.c (wild_doit): Use linker_has_input to reliably determine
4601 whether an input section is the first one assigned to an output
4603 Assorted formatting fixes.
4605 2001-05-14 DJ Delorie <dj@delorie.com>
4607 * Makefile.am (ld.dvi): Search bfd/doc for texinfo files.
4608 * Makefile.in: Ditto.
4610 2001-05-11 Jakub Jelinek <jakub@redhat.com>
4612 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put
4613 .gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind*
4615 * emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise.
4617 2001-05-11 Jakub Jelinek <jakub@redhat.com>
4619 * ldlang.c (lang_process): Call bfd_merge_sections.
4621 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4623 * ldgram.y: Fix typo.
4625 2001-05-03 H.J. Lu <hjl@gnu.org>
4627 * emultempl/elf32.em: Include "libiberty.h".
4628 (gld${EMULATION_NAME}_vercheck): Call basename () to get the
4629 basename of the bfd filename.
4630 (gld${EMULATION_NAME}_stat_needed): Likewise.
4631 (gld${EMULATION_NAME}_try_needed): Likewise.
4632 (gld${EMULATION_NAME}_open_dynamic_archive): Likewise.
4634 2001-05-02 H.J. Lu <hjl@gnu.org>
4636 * emultempl/pe.em: Include <ctype.h>.
4638 2001-05-02 Johan Rydberg <jrydberg@opencores.org>
4640 * emulparams/elf32openrisc.sh: New file.
4642 * Makefile.am: Add OpenRISC target.
4643 * Makefile.in: Regenerated.
4645 * configure.tgt: Add openrisc-*-* mapping.
4647 2001-05-02 Nick Clifton <nickc@redhat.com>
4649 * emultempl/aix.em: Replace buystring with xstrdup.
4650 * emultempl/beos.em: Replace buystring with xstrdup.
4652 2001-05-02 H.J. Lu <hjl@gnu.org>
4654 * ldfile.c: Include "libiberty.h".
4655 * ldlex.l: Likewise.
4657 * ldmisc.c (buystring): Removed.
4658 * ldmisc.h: Likewise.
4660 * ldfile.c: Replace buystring with xstrdup.
4661 * ldlang.c: Likewise.
4662 * ldlex.l: Likewise.
4663 * ldmain.c: Likewise.
4664 * ldmisc.c: Likewise.
4665 * lexsup.c: Likewise.
4666 * mpw-eppcmac.c: Likewise.
4668 2001-04-30 Andreas Jaeger <aj@suse.de>
4670 * emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value.
4672 2001-04-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
4674 * ldlang.c (load_symbols): Give emulation a chance
4675 to process unrecognized file before fatal error is
4676 reported, not after.
4678 2001-04-27 Sean McNeil <sean@mcneil.com>
4680 * configure.tgt: Add arm-vxworks target.
4681 * scripttempl/armcoff.sc: Support .text or .data as a section name
4685 2001-04-13 J.T. Conklin <jtc@redback.com>
4687 * ld.texinfo: Document --fatal-warnings.
4690 * ldmisc.c (vfinfo): Set flag to inhibit making executable if
4691 warnings have been turned into errors.
4692 * lexsup.c (OPTION_WARN_FATAL): Define.
4693 (ld_options): Entry for --fatal-warnings.
4694 (parse_args): Handle OPTION_WARN_FATAL.
4695 * ld.h (ld_config_type): Add fatal_warnings field.
4697 2001-04-13 Jakub Jelinek <jakub@redhat.com>
4699 * ldmain.c (main): Default to discard_sec_merge.
4700 * lexsup.c (OPTION_DISCARD_NONE): Define.
4701 (ld_options): Add --discard-none.
4702 (parse_args): Handle OPTION_DISCARD_NONE.
4703 * ldlang.c (wild_doit): SEC_MERGE should be set in the output
4704 section only if SEC_MERGE and SEC_STRINGS flags and entsize of
4705 all its input sections match.
4707 2001-04-05 Steven J. Hill <sjhill@cotw.com>
4709 * Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o.
4710 (ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o.
4711 (eelf32ltsmip.c): New target.
4712 (eelf64btsmip.c): Likewise.
4713 (eelf64ltsmip.c): Likewise.
4714 * Makefile.in: Regenerated.
4716 * configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS
4718 (mips*-*-linux-gnu*): Likewise.
4720 * emulparams/elf32ltsmip.sh: New. Traditional little endian
4722 * emulparams/elf64btsmip.sh: New. Traditional 64bit big endian
4724 * emulparams/elf64ltsmip.sh: New. Traditional 64bit little
4727 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
4729 * emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide
4730 correct value of __Stext here.
4731 (TEXT_START_SYMBOLS): Define; always define __Stext, to start of
4734 * emulparams/crislinux.sh: Remove FIXME.
4736 2001-04-02 Alan Modra <alan@linuxcare.com.au>
4738 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k.
4739 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Likewise.
4741 2001-03-27 Hans-Peter Nilsson <hp@axis.com>
4743 * configure.tgt (cris-*-*): Change default emulation to criself.
4744 (cris-*-*aout*): New rule.
4746 2001-03-27 Matthew Wilcox <willy@ldl.fc.hp.com>
4748 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 0x4000.
4749 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
4751 2001-03-26 Andreas Jaeger <aj@suse.de>
4753 * ld.texinfo (Overview): Fix syntax in texi code.
4755 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4757 * ld.texinfo: Put @c man indications to generate the ld man page.
4758 When generating man, define all the variables. Define SEEALSO
4759 and SYNOPSIS. Re-organize some lines to avoid the cross references.
4760 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variables.
4761 (ld.1): Generate from ld.texinfo.
4762 * Makefile.in: Regenerate.
4764 2001-03-23 Mark Elbrecht <snowball3@bigfoot.com>
4766 * scripttempl/i386go32.sc: Support the GCC flags '-ffunction-sections'
4767 and '-fdata-sections'. Set the VMA of STABS sections to zero.
4769 2001-03-17 Ulrich Drepper <drepper@redhat.com>
4771 * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME
4772 is an absolute path look only for this file and not along the path.
4774 2001-03-17 Ulrich Drepper <drepper@redhat.com>
4776 * emultempl/elf32.em (OPTION_GROUP): New macro.
4777 Add new option Bgroup to longopts.
4778 (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs.
4779 (gld*_list_options): Add -Bgroup and -z defs.
4780 * ld.1: Document -Bgroup and -z defs.
4781 * ld.texinfo: Likewise.
4783 2001-03-07 Michael Meissner <meissner@redhat.com>
4785 * scripttempl/elfd10v.sc (.rodata,.rodata1,.data1,.sdata): Deal
4786 with sections created by -fdata-sections.
4787 (.dynbss,.bss): Ditto.
4789 2001-03-05 Alan Modra <alan@linuxcare.com.au>
4791 * emultempl/m68kelf.em (m68k_elf_after_allocation): Call
4792 after_allocation_default, not gld..._before_allocation.
4794 2001-02-27 Alan Modra <alan@linuxcare.com.au>
4796 * configure.in (BFD_VERSION): New.
4797 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
4798 * configure: Regenerate.
4799 * Makefile.am: Run "make dep-am"
4800 * Makefile.in: Regenerate.
4802 2001-02-26 Timothy Wall <twall@cygnus.com>
4804 * emulparams/elf64_aix.sh: Add additional read-only sections;
4805 uncomment lines which are now required.
4807 2001-02-26 H.J. Lu <hjl@gnu.org>
4809 * ldlang.c (open_input_bfds): Set the bfd error handler so
4810 that problems can be caught whilst loading symbols.
4811 (record_bfd_errors): New function: Report BFD errors and mark
4812 the executable output as being invalid.
4814 2001-02-22 Timothy Wall <twall@cygnus.com>
4816 * configure.host: Add configuration for ia64-*-aix*.
4817 * Makefile.am (ALL_64_EMULATIONS): Add emulation for ia64-*-aix*.
4818 Add dependencies for eelf64_aix.c.
4819 * Makefile.in: Regenerate.
4820 * configure.tgt: Add ia64-*-aix* mapping.
4821 * emulparams/elf64_aix.sh: Add settings for elf64 on aix5.
4823 2001-02-20 H.J. Lu <hjl@gnu.org>
4825 * ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to
4826 false if we found the file.
4828 2001-02-18 David O'Brien <obrien@FreeBSD.org>
4830 * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64,
4831 FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries.
4833 2001-02-18 lars brinkhoff <lars@nocrew.org>
4835 * Makefile.am: Add PDP-11 target.
4836 * configure.tgt: Likewise.
4837 * emulparams/pdp11.sh: New file.
4839 2001-02-17 David O'Brien <obrien@FreeBSD.org>
4841 * configure.host: Add a generic FreeBSD configuration entry such that
4842 all [modern] FreeBSD systems on all platforms will look the same.
4844 2001-02-14 H.J. Lu <hjl@gnu.org>
4846 * configure.tgt: Remove mention of earmelf_linux26.
4848 2001-02-13 Richard Henderson <rth@redhat.com>
4850 * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove.
4852 2001-02-13 H.J. Lu <hjl@gnu.org>
4854 * ldexp.h (node_type): Add etree_provided.
4855 * ldexp.c (exp_fold_tree): Handle etree_provided. Set the node
4856 type to etree_provided if defined by PROVIDE. Allow updating
4858 (exp_print_tree): Handle etree_provided.
4859 * mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle
4862 2001-02-09 David Mosberger <davidm@hpl.hp.com>
4864 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add
4865 .IA_64.unwind.* pattern to unwind table section and
4866 .IA_64.unwind_info* pattern to unwind info section.
4868 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
4870 * Makefile.am: Add linux target for S/390.
4871 * Makefile.in: Likewise.
4872 * configure.host: Likewise.
4873 * configure.tgt: Likewise.
4874 * emulparams/elf64_s390.sh: New file.
4875 * emulparams/elf_s390.sh: New file.
4877 2001-02-09 Jakub Jelinek <jakub@redhat.com>
4879 * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into
4881 (sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath.
4883 2001-02-06 Philip Blundell <philb@gnu.org>
4885 * Makefile.am: Remove mention of earmelf_linux26.
4886 * Makefile.in: Regenerate.
4888 2001-02-04 Philip Blundell <philb@gnu.org>
4890 * emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000.
4891 * emulparams/armelf_linux26.sh: Delete.
4892 * configure.tgt: Remove mention of armelf_linux26 emulation.
4894 2001-02-01 Nick Clifton <nickc@redhat.com>
4896 * ld.1: Replace occurances of -oformat with --oformat.
4898 2001-01-25 Jim Driftmyer <jdrift@stny.rr.com>
4900 * ldlang.c (lang_leave_overlay): Don't set lma_region when
4901 load_base is specified.
4903 2001-01-24 Hans-Peter Nilsson <hp@axis.com>
4905 * emultempl/elf32.em: Correct spelling in comments and listed
4908 2001-01-23 Alan Modra <alan@linuxcare.com.au>
4910 * ldlang.c (lang_leave_overlay): Only set lma_region from the
4911 default for the first section of a group of overlay sections.
4913 2001-01-22 Alan Modra <alan@linuxcare.com.au>
4915 * Makefile.am (GENSCRIPTS): Pass exec_prefix.
4916 * Makefile.in: Regenerate.
4917 * genscripts.sh: Use exec_prefix parameter to specify tool lib.
4918 Check for null tool_dir.
4920 2001-01-16 Jim Wilson <wilson@redhat.com>
4922 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind
4923 and IA_64.unwind.info.
4925 2001-01-16 H.J. Lu <hjl@gnu.org>
4927 * ldlang.c (lang_check): Merge the private data only if the
4928 input file has contents.
4930 2001-01-14 Alan Modra <alan@linuxcare.com.au>
4932 * emulparams/hppalinux.sh (OUTPUT_FORMAT): Set to elf32-hppa-linux.
4934 * emultempl/hppaelf.em (hppaelf_after_parse): New function,
4935 enabling search for libmilli. On a relocatable link, make .text
4937 (LDEMUL_AFTER_PARSE): Define.
4938 (hppaelf_finish): Correct spelling of relocatable in comments.
4940 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
4941 rummage through the script for sections on the unique list.
4942 Correct length of strncmp for ".note".
4943 (gld${EMULATION_NAME}_check_needed): Rearrange function.
4945 * ldlang.c (unique_section_list): New var.
4946 (unique_section_p): New function.
4947 (walk_wild_section): Don't match sections on unique_section_list.
4948 (lang_add_unique): New function.
4949 Correct spelling of relocatable in comments.
4951 * ldlang.h (struct unique_sections): Declare.
4952 (unique_section_list): Declare.
4953 (unique_section_p): Declare.
4954 (lang_add_unique): Declare.
4956 * lexsup.c (ld_options): Allow --unique to take an optional arg.
4957 (parse_args [OPTION_UNIQUE]): Call lang_add_unique.
4959 * ld.texinfo (--unique): Update.
4961 2001-01-13 Nick Clifton <nickc@redhat.com>
4963 * lexsup.c (parse_args): Remove spurious white space.
4965 2001-01-12 Nick Clifton <nickc@redhat.com>
4967 * lexsup.c (parse_args): Update copyright date.
4969 2001-01-12 Philip Blundell <pb@futuretv.com>
4971 * configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin.
4973 2001-01-10 Kazu Hirata <kazu@hxi.com>
4975 * scripttempl/h8300.sc: Fix formatting. Fix a comment typo.
4976 * scripttempl/h8300h.sc: Fix formatting.
4977 * scripttempl/h8300s.sc: Likewise.
4978 * scripttempl/h8500.sc: Likewise.
4979 * scripttempl/h8500b.sc: Likewise.
4980 * scripttempl/h8500c.sc: Likewise.
4981 * scripttempl/h8500m.sc: Likewise.
4982 * scripttempl/h8500s.sc: Likewise.
4984 2000-01-07 David O'Brien <obrien@BSDi.com>
4986 * emultempl/elf32.em: Only perform Linux ld hints processing when
4989 2001-01-07 Philip Blundell <philb@gnu.org>
4991 * ld.texinfo (Bug Reporting): Update email address for reports.
4993 2000-12-31 Nick Clifton <nickc@redhat.com>
4995 * lexsup.c (parse_args): Set opterr to 0 and detect unparsed long
4996 options by checking for a return value of '?' not -1.
4998 2000-12-28 Nick Clifton <nickc@redhat.com>
5000 * lexsup.c (struct ld_option): Add new enum value:
5002 (ld_options[]): Change -omagic, -output and -oformat options
5003 to be EXACTLY_TWO_DASHES.
5004 (OUTPUT_COUNT): Use ARRAY_SIZE.
5005 (parse_args): Change parameter 'argc' to unsigned.
5006 Place EXACTLY_TWO_DASHES options into new really_longopts
5008 If getopt_long_only fails, try calling getopt_long using the
5009 really_longopts array.
5010 (help): Print a double dash for both EXACTLY_TWO_DASHES and
5013 * ldlex.h: Fix prototype of parse_args.
5015 * ld.texinfo: Document that long options starting with 'o'
5016 must be preceeded by two dashes. Change example of a single
5017 dashed long option from -oformat to -trace-symbol.
5019 2000-12-26 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
5021 * emultempl/pe.em (OPTION_NO_DEFAULT_EXCLUDES): Define.
5022 (longopts[]): New --no-default-excludes option.
5023 (gld_${EMULATION_NAME}_list_options): Document.
5024 (gld_${EMULATION_NAME}_parse_args): Handle.
5026 2000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
5028 * ldlang.c (new_stat): Revert the last beautification with "innocent"
5029 whitespace, it breaks the K&R C preprocessor.
5031 2000-12-11 DJ Delorie <dj@redhat.com>
5033 * ld.texinfo: Add notes about --whole-archive and gcc.
5035 2000-11-18 Fred Fish <fnf@be.com>
5037 * lexsup.c (OPTION_ALLOW_SHLIB_UNDEFINED): Define.
5038 (ld_options): Entry for --allow-shlib-undefined.
5039 (parse_args): Handle OPTION_ALLOW_SHLIB_UNDEFINED.
5040 * ldmain.c (main): Initialize link_info.allow_shlib_undefined
5042 * ld.texinfo: Document new command line switch.
5044 2000-12-12 Geoffrey Keating <geoffk@redhat.com>
5046 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS):
5047 .fixup is actually read/write.
5048 * emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
5049 * emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
5050 * emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
5052 2000-12-11 Jan Hubicka <jh@suse.cz>
5054 * NEWS: Add note about x86_64 architecture.
5056 2000-12-06 Mark Elbrecht <snowball3@bigfoot.com>
5058 * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end.
5059 Set DWARF2 sections to a VMA of zero.
5061 2000-12-01 Joel Sherrill <joel@OARcorp.com>
5063 * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
5065 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
5066 (sparc*-*-rtems*): Switched from a.out to ELF.
5068 2000-11-30 Jan Hubicka <jh@suse.cz>
5070 * Makefile.am (ALL_EMULATIONS): Add eelf_x86_64.o
5071 (eelf_x86_64.c): New.
5072 * Makefile.in: Regenerate.
5073 * configure.tgt: Add support for x86_64-*-linux-gnu*.
5074 * emulparams/elf_x86_64.sh: New.
5076 2000-11-30 Hans-Peter Nilsson <hp@axis.com>
5078 * emulparams/crislinux.sh (ENTRY): Change back to _start.
5079 (TEXT_START_SYMBOLS): Remove conditional setting of __start.
5081 * scripttempl/crisaout.sc: Change all RELOCATING not related to
5082 merging non-a.out sections into CONSTRUCTING.
5084 2000-11-28 Nick Clifton <nickc@redhat.com>
5086 * ld.1 (COPYING): Mention that the GNU Free Documentation
5087 License is present in the sources, but not the output, and
5088 also available from the GNU website.
5089 (GNU Free Documentation License): Comment out this section.
5091 2000-11-28 David O'Brien <obrien@dragon.nuxi.com>
5093 * emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF
5096 2000-11-25 David O'Brien <obrien@FreeBSD.org>
5098 * ld.1: Remove old date so it does not give the impression the manpage
5101 2000-11-24 Nick Clifton <nickc@redhat.com>
5103 * configure.tgt (xscale-coff): Add target.
5104 (xscale-elf): Add target.
5106 2000-11-24 Fred Fish <fnf@be.com>
5108 * ldmain.c (main): Remove redundant init of config.make_executable
5111 2000-11-15 Richard Henderson <rth@redhat.com>
5113 * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M.
5115 2000-11-14 Kazu Hirata <kazu@hxi.com>
5117 * scripttempl/h8300.sc: Fix formatting.
5118 * scripttempl/h8300h.sc: Likewise.
5119 * scripttempl/h8300s.sc: Likewise.
5121 2000-11-14 Denis Chertykov <denisc@overta.ru>
5123 * scripttempl/elf32avr.sc: Fix bug in .eeprom segment.
5125 2000-11-09 Philip Blundell <pb@futuretv.com>
5127 * emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME
5128 around orphan sections whose names can be represented in C.
5130 2000-11-07 Jim Wilson <wilson@redhat.com>
5132 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local
5133 hold_sdata. If SEC_SMALL_DATA set, set place to hold_sdata.
5135 2000-11-06 Nick Clifton <nickc@redhat.com>
5137 * ld.texinfo: Add GNU Free Documentation License.
5138 * ldint.texinfo: Add GNU Free Documentation License.
5139 * ld.1: Add GNU Free Documentation License.
5141 2000-11-05 Alan Modra <alan@linuxcare.com.au>
5143 * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer,
5144 yy_is_interactive, yy_at_bol, and yy_fill_buffer.
5146 * Makefile.am (DISTCLEANFILES): Add stringify.sed.
5147 Move 2000-11-02 Makefile.in changes to this file.
5148 * Makefile.in: Regenerate.
5150 2000-11-03 Nick Clifton <nickc@redhat.com>
5152 * scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose
5153 constructors and destructors.
5154 * scripttempl/h8300h.sc: Ditto.
5155 * scripttempl/h8300s.sc: Ditto.
5156 * scripttempl/h8500.sc: Ditto.
5157 * scripttempl/h8500b.sc: Ditto.
5158 * scripttempl/h8500c.sc: Ditto.
5159 * scripttempl/h8500m.sc: Ditto.
5160 * scripttempl/h8500s.sc: Ditto.
5161 * scripttempl/v850.sc: Ditto.
5162 * scripttempl/w65.sc: Ditto.
5163 * scripttempl/z8000.sc: Ditto.
5165 2000-11-02 Per Lundberg <plundis@chaosdev.org>
5167 * Makefile.in (e_i386_chaos.c): New rule.
5168 (ALL_EMULATIONS): Added e_i386_chaos.o.
5169 * emulparams/elf_i386_chaos.sh: New file.
5170 * configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos.
5172 2000-10-20 Jakub Jelinek <jakub@redhat.com>
5174 * emulparams/elf64_sparc.sh (TEXT_START_ADDR,
5175 NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets.
5176 Fix sed invocation, so that it coped with '/' in Solaris 64bit
5177 library path suffix.
5178 Based on patch by Andrew Macleod <amacleod@cygnus.com>.
5180 2000-10-18 Hans-Peter Nilsson <hp@axis.com>
5182 * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),
5183 for consecutive sections.
5185 2000-10-17 Chandrakala Chavva <cchavva@redhat.com>
5187 * lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific
5189 * ld.texinfo: Added notes about this new option.
5191 2000-10-16 Nick Clifton <nickc@redhat.com>
5193 * emultempl/pe.em (_after_open): Add tests of return values from
5194 bfd functions. Emit appropriate error messages if necessary.
5196 2000-10-13 Nick Clifton <nickc@redhat.com>
5198 * emultempl/pe.em (_after_open): Delete 'is2' and 'nsyms'
5199 local variables - they are not used, but leave in the call to
5200 bfd_canonicalize_symtab.
5201 (_open_dynamic_archive): Add #ifdef DLL_SUPPORT around use of
5202 pe_dll_search_prefix.
5204 2000-10-12 Charles Wilson <cwilson@ece.gatech.edu>
5206 * emultempl/pe.em (pe_dll_search_prefix): New variable,
5207 (longopts): New --dll-search-prefix option.
5208 (gld_${EMULATION_NAME}_list_options): Document.
5209 (gld_${EMULATION_NAME}_parse_args): Handle.
5210 (gld_${EMULATION_NAME}_open_dynamic_archive): When linking
5211 dynamically, search for a dll named '<prefix><basename>.dll'
5212 in preference to 'lib<basename>.dll' if --dll-search-prefix
5215 2000-10-12 Alan Modra <alan@linuxcare.com.au>
5217 * ldlang.c (section_already_linked): Set kept_section instead of
5220 2000-10-10 Kazu Hirata <kazu@hxi.com>
5222 * deffile.h: Fix formatting.
5223 * lexsup.c: Likewise.
5226 2000-10-09 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
5228 * pe-dll.c (make_one): Do not generate code thunk for DATA
5230 (process_def_file): deduce DATA flag for auto-export sumbols.
5232 2000-10-09 Kazu Hirata <kazu@hxi.com>
5234 * ld.h: Fix formatting.
5235 * ldcref.c: Likewise.
5236 * ldctor.h: Likewise.
5237 * ldemul.c: Likewise.
5238 * ldemul.h: Likewise.
5239 * ldexp.c: Likewise.
5240 * ldexp.h: Likewise.
5241 * ldfile.c: Likewise.
5242 * ldfile.h: Likewise.
5243 * ldlang.c: Likewise.
5244 * ldlang.h: Likewise.
5245 * ldmain.c: Likewise.
5246 * pe-dll.c: Likewise.
5248 * pe-dll.c: Revert some formatting fixes.
5250 2000-10-08 Kazu Hirata <kazu@hxi.com>
5252 * pe-dll.c: Fix formatting.
5254 2000-10-05 Kazu Hirata <kazu@hxi.com>
5256 * ldlang.c: Fix formatting.
5258 2000-10-03 DJ Delorie <dj@redhat.com>
5260 * pe-dll.c (fill_edata): initialize entire block
5261 (make_one): fill in correct section.
5263 2000-10-03 Kazu Hirata <kazu@hxi.com>
5265 * ldexp.c: Fix formatting.
5267 2000-10-02 DJ Delorie <dj@redhat.com>
5269 * emultempl/pe.em (gld_*_after_open): detect case where there two
5270 import libraries for same dll; rename one to ensure proper link
5273 * pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix
5275 (generate_edata): fix typo
5277 2000-09-29 Hans-Peter Nilsson <hp@axis.com>
5279 * scripttempl/crisaout.sc (ENTRY): Now __start.
5280 (.text): Add default setting for __start.
5281 Remove CONSTRUCTORS handling.
5282 (/DISCARD/): Add .gnu.warning.*.
5283 * emulparams/crislinux.sh (ENTRY): Now __start.
5284 (TEXT_START_SYMBOLS): New; provide __Stext and __start default.
5285 * emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris.
5286 (ENTRY): Now __start.
5287 (INITIAL_READONLY_SECTIONS): Add KEEP for .startup.
5288 (EXECUTABLE_SYMBOLS): Add default setting for __start.
5290 2000-09-29 Kazu Hirata <kazu@hxi.com>
5292 * deffile.h: Fix formatting.
5294 * ldcref.c: Likewise.
5295 * ldctor.c: Likewise.
5296 * ldctor.h: Likewise.
5297 * ldemul.c: Likewise.
5298 * ldemul.h: Likewise.
5299 * ldexp.c: Likewise.
5300 * ldexp.h: Likewise.
5301 * ldfile.c: Likewise.
5302 * ldfile.h: Likewise.
5303 * ldlang.c: Likewise.
5304 * ldlang.h: Likewise.
5305 * lexsup.c: Likewise.
5307 * pe-dll.c: Likewise.
5309 2000-09-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
5311 * pe-dll.c (process_def_file): Uninitialized data wasn't
5312 exported with --export-all-symbols switch.
5314 2000-09-28 DJ Delorie <dj@redhat.com>
5316 * pe-dll.c (fill_edata): rearrange the data so that ordinals and
5317 noname work properly.
5319 2000-09-28 Alan Modra <alan@linuxcare.com.au>
5321 * ld.texinfo (HPPA ELF32): New section.
5323 * emultempl/hppaelf.em (group_size): New.
5324 (hppaelf_finish): Pass group_size to elf32_hppa_size_stubs.
5325 (PARSE_AND_LIST_PROLOGUE): Add OPTION_STUBGROUP_SIZE.
5326 (PARSE_AND_LIST_LONGOPTS): Add --stub-group-size. Duplicate
5327 options to prevent abbreviations matching.
5328 (PARSE_AND_LIST_OPTIONS): Describe the above. Reformat.
5329 (PARSE_AND_LIST_ARGS_CASES): Handle it.
5331 2000-09-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
5333 * emultempl/m68kelf.em: Conditionalise the embedded relocs feature
5334 on the m68*-*-elf target. Make it support COFF input objects.
5336 2000-09-21 Kazu Hirata <kazu@hxi.com>
5338 * ldmain.c: Fix formatting.
5339 * ldmisc.c: Likewise.
5340 * ldver.c: Likewise.
5341 * ldwrite.c: Likewise.
5343 2000-09-21 Alan Modra <alan@linuxcare.com.au>
5345 * ldwrite.c (clone_section): Silence gcc warnings.
5347 2000-09-20 Alan Modra <alan@linuxcare.com.au>
5349 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Handle
5350 out of memory failure.
5352 * ldwrite.c (ldwrite): Remove unnecessary einfo arg.
5353 (clone_section): Handle out of memory failures. Rename var to
5354 avoid c++ reserved word.
5356 2000-09-18 Alan Modra <alan@linuxcare.com.au>
5358 * emultempl/hppaelf.em (hppaelf_add_stub_section): Rename
5359 stub_name param to stub_sec_name.
5360 (hppaelf_finish): Modify call to elf32_hppa_size_stubs.
5362 2000-09-10 Michael Sokolov <msokolov@ivan.Harhan.ORG>
5364 * emultempl/m68kelf.em: New file.
5365 * emulparams/m68kelf.sh (EXTRA_EM_FILE): Use it.
5366 * Makefile.am (em68kelf.c): Add dependency on m68kelf.em.
5367 * Makefile.in: Regenerate.
5369 2000-09-15 Alan Modra <alan@linuxcare.com.au>
5371 * emulparams/hppalinux.sh (DATA_START_SYMBOLS): Provide $global$
5374 2000-09-13 Nick Clifton <nickc@redhat.com>
5376 * ldmain.c (multiple_definition): Disable relaxation if
5377 multiple symbol definitions are encountered - otherwise the
5378 linker could abort with an assertion failure.
5380 2000-09-10 Nick Clifton <nickc@redhat.com>
5382 * mri.c: Fix formatting.
5384 2000-09-07 H.J. Lu <hjl@gnu.org>
5386 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
5387 * configure: Rebuild.
5389 2000-09-07 H.J. Lu <hjl@gnu.org>
5391 * Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h.
5392 * Makefile.in: Rebuild.
5394 2000-09-07 Alan Modra <alan@linuxcare.com.au>
5396 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Fix
5397 broken list handling. Create __start_SECNAME and __stop_SECNAME
5398 when no place-holder. Add some comments. Test both SEC_CODE and
5399 SEC_READONLY for hold_text to prevent .rodata orphan poisoning.
5400 Handle case where no output section statement created.
5402 2000-09-07 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
5404 * configure.tgt (sh-*-linux*): Added.
5405 * Makefile.am: Added eshelf_linux and eshlelf_linux.
5406 * Makefile.in: Rebuilt.
5407 * emulparams/shelf_linux.sh: New file.
5408 * emulparams/shlelf_linux.sh: New file.
5410 2000-09-06 Alan Modra <alan@linuxcare.com.au>
5412 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
5413 try shuffling sections when the orphan happens to be the place
5414 holder. Keep count of unique section names generated so we speed
5415 the search for a new name.
5417 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
5419 * configure: Rebuilt with new libtool.m4.
5421 2000-09-05 Nick Clifton <nickc@redhat.com>
5423 * Makefile.in: Regenerate.
5424 * aclocal.m4: Regenerate.
5425 * configure: Regenerate.
5426 * config.in: Regenerate.
5427 * po/ld.pot: Regenerate.
5429 * ldint.texinfo: Remove CVS revision marker - it foils local
5432 * emultempl/ticoff.em: Remove extraneous comma.
5434 2000-09-05 Alan Modra <alan@linuxcare.com.au>
5436 * emultempl/hppaelf.em (hppaelf_add_stub_section): Add SEC_RELOC
5437 to stub section flags.
5438 (hppa_for_each_input_file_wrapper): New.
5439 (hppa_lang_for_each_input_file): New.
5440 (lang_for_each_input_file): Define to call above.
5441 (multi_subspace): New.
5442 (hppaelf_finish): Pass multi_subspace to elf32_hppa_size_stubs.
5443 (PARSE_AND_LIST_PROLOGUE): Define.
5444 (PARSE_AND_LIST_LONGOPTS): Define.
5445 (PARSE_AND_LIST_OPTIONS): Define.
5446 (PARSE_AND_LIST_ARGS_CASES): Define.
5447 (hppaelf_finish): Call elf32_hppa_set_gp.
5448 (hppaelf_set_output_arch): Remove.
5449 (LDEMUL_SET_OUTPUT_ARCH): Remove.
5451 * emulparams/hppalinux.sh (ELFSIZE): Define.
5453 (OTHER_READONLY_SECTIONS): Define.
5455 (GENERATE_SHLIB_SCRIPT): Define.
5457 * ldlang.c: Add missing prototypes, and tidy others. Change CONST
5458 to const throughout. Change `void *' to `PTR' throughout.
5459 (lang_memory_default): Function is local to file, add `static'.
5461 * Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em.
5462 (ehppalinux.c): Likewise.
5463 (earmelf.c): Likewise.
5464 (earmelf_linux.c): Likewise.
5465 (earmelf_linux26.c): Likewise.
5466 * Makefile.in: Regenerate.
5468 * ld.h (ld_config_type): Add unique_orphan_sections.
5469 * lexsup.c (OPTION_UNIQUE): Define.
5470 (ld_options): Add "--unique".
5471 (parse_args): Handle it.
5472 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
5473 search for an existing output section if unique_orphan_sections is
5474 set. Make use of bfd_get_unique_section_name rather than
5475 duplicating code here.
5476 * ld.texinfo: Describe --unique.
5478 * lexsup.c (ld_options): Make split-by-reloc arg optional. Add
5479 optional arg to split-by-file.
5480 (parse_args): Handle them.
5481 * ld.texinfo: Update description of these options.
5482 * ldwrite.c (clone_section): Pass in the section name. Replace
5483 local code with bfd_get_unique_section_name.
5484 (split_sections): Tidy code and comments. Use a list traversal
5485 more appropriate to the list construction. Handle cooked section
5486 sizes. Split when split_by_reloc reached rather than exceeded.
5487 Track section size and split when split_by_file reached. Fix
5488 link_order_tail (even though it's not used).
5489 (ldwrite): Modify condition for calling split_sections to suit
5490 changed split_by_reloc and split_by_file.
5491 * ldmain.c (main): Init config.split_by_reloc and
5492 config.split_by_file to -1.
5493 * ld.h (ld_config_type): Change split_by_reloc to unsigned.
5494 Change split_by_file to bfd_size_type.
5496 2000-09-02 Nick Clifton <nickc@redhat.com>
5498 * configure.in: Increase version number to 2.10.91.
5499 * NEWS: Mention new ability to support removal of duplicate DWARF2
5501 * configure: Regenerate.
5502 * aclocal.m4: Regenerate.
5503 * config.in: Regenerate.
5505 2000-09-02 Daniel Berlin <dberlin@redhat.com>
5507 * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info
5509 * scripttempl/elf32avr.sc: Ditto.
5510 * scripttempl/elfd10v.sc: Ditto.
5511 * scripttempl/elfd30v.sc: Ditto.
5512 * scripttempl/elfi370.sc: Ditto.
5513 * scripttempl/elfm68hc11.sc: Ditto.
5514 * scripttempl/elfm68hc12.sc: Ditto.
5515 * scripttempl/elfi386beos.sc: Ditto.
5516 * scripttempl/v850.sc: Ditto.
5518 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
5520 * acinclude.m4: Include libtool and gettext macros from the
5522 * aclocal.m4, configure: Rebuilt.
5524 2000-08-25 Nick Clifton <nickc@redhat.com>
5526 * ldlang.c (open_output): When choosing the target for a
5527 particular endianness, do nothing if the target is not
5530 2000-08-25 H.J. Lu <hjl@gnu.org>
5532 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
5533 check -rpath nor LD_RUN_PATH for cross link.
5534 * ld.texinfo: Document the change.
5536 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
5538 * NEWS: Mention support for CRIS.
5540 2000-08-23 H.J. Lu <hjl@gnu.org>
5542 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get
5543 the current runpath list from bfd_elf_get_runpath_list ()
5546 2000-08-22 H.J. Lu <hjl@gnu.org>
5548 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search
5549 the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after
5550 LD_LIBRARY_PATH for native linker. Display the needed DSO if
5551 trace_file_tries is non-zero.
5552 (gld${EMULATION_NAME}_try_needed): Report the needed DSO found
5553 if trace_file_tries is non-zero.
5555 * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH.
5558 2000-08-14 Jason Eckhardt <jle@cygnus.com>
5560 * NEWS: Mention i860 support.
5562 2000-08-14 Andreas Schwab <schwab@suse.de>
5564 * scripttempl/elf.sc: Fix last change to use correct comment
5567 2000-08-10 Geoff Keating <geoffk@cygnus.com>
5569 * scripttempl/elf.sc: Add a comment giving the correspondence
5570 between sections, per-datum sections, and linkonce sections. Make
5571 the comment true even for .bss, .sdata, .sdata2, .sbss, and
5574 2000-08-10 Jason Eckhardt <jle@cygnus.com>
5576 * emulparams/elf32_i860.sh: New file.
5577 * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}.
5578 * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o.
5579 (eelf32_i860.c): New rule.
5580 * Makefile.in: Regenerate.
5582 2000-08-10 Nick Clifton <nickc@cygnus.com>
5584 * emulparams/mipspe.sh (ENTRY): Add definition.
5586 2000-08-08 Peter Jeremy <peter.jeremy@alcatel.com.au>
5588 * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath
5591 2000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
5593 * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate
5594 the final size of .bss section.
5595 * scripttempl/elfm68hc12.sc: Likewise.
5597 2000-08-04 Alan Modra <alan@linuxcare.com.au>
5599 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to
5600 gld${EMULATION_NAME}_parse_args for consistency. Combine
5601 lastoptind and prevoptind vars, and keep track of last optind.
5602 (gld_${EMULATION_NAME}_list_options): Rename to
5603 gld${EMULATION_NAME}_list_options.
5605 2000-08-03 Rodney Brown <RodneyBrown@pmsc.com>
5607 * configure.tgt: Select targ_emul=elf_i386 for Unixware 7
5608 (i586-sco-sysv5uw7.1.0).
5610 2000-07-27 H.J. Lu <hjl@gnu.org>
5612 * emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed.
5613 (PARSE_AND_LIST_PROLOGUE): New.
5614 (PARSE_AND_LIST_LONGOPTS): Likewise.
5615 (PARSE_AND_LIST_OPTIONS): Likewise.
5616 (PARSE_AND_LIST_ARGS_CASES): Likewise.
5617 (PARSE_AND_LIST_EPILOGUE): Likewise.
5619 2000-07-28 Alan Modra <alan@linuxcare.com.au>
5621 * emultempl/armelf.em: Elide functions common to elf32.em,
5622 ie. most of the file.
5623 (arm_elf_after_open): New. Do arm specific things then call
5624 gld${EMULATION_NAME}_after_open.
5625 (arm_elf_before_allocation): New. Call
5626 gld${EMULATION_NAME}_before_allocation then do arm specifics.
5627 (PARSE_AND_LIST_PROLOGUE): Define.
5628 (PARSE_AND_LIST_SHORTOPTS): Define.
5629 (PARSE_AND_LIST_LONGOPTS): Define.
5630 (PARSE_AND_LIST_OPTIONS): Define.
5631 (PARSE_AND_LIST_ARGS_CASES): Define.
5632 (LDEMUL_AFTER_OPEN): Define.
5633 (LDEMUL_BEFORE_ALLOCATION): Define.
5634 (LDEMUL_BEFORE_PARSE): Define.
5635 (LDEMUL_FINISH): Define.
5637 * emultempl/hppaelf.em: Similarly zap most of this file.
5638 (hppaelf_add_stub_section): Prototype.
5639 (hppaelf_layaout_sections_again): Prototype.
5640 (hook_in_stub): Prototype.
5641 (LDEMUL_SET_OUTPUT_ARCH): Define.
5642 (LDEMUL_FINISH): Define.
5643 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
5645 * emulparams/armelf.sh (TEMPLATE_NAME): Use elf32.
5646 (EXTRA_EM_FILE): New.
5647 * emulparams/armelf_linux.sh: Likewise.
5648 * emulparams/armelf_linux26.sh: Likewise.
5649 * emulparams/hppalinux.sh: Likewise.
5650 * emulparams/hppaelf.sh: Likewise.
5653 * emultempl/elf32.em: Fix formatting.
5654 (EXTRA_EM_FILE): Source it.
5655 (LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
5656 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
5657 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
5658 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
5659 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
5660 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
5661 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
5662 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
5663 LDEMUL_FIND_POTENTIAL_LIBRARIES): New shell vars. Add code to
5664 allow functions in this file to be overridden.
5665 (PARSE_AND_LIST_SHORTOPTS): Handle it.
5667 * emultempl/m68kcoff.em: Include ldfile.h before ldemul.h.
5669 * emultempl/elf32.em: Reorganize file.
5671 2000-07-27 Ivan Kokshaysky <ink@jurassic.park.msu.ru>
5673 * emulparams/elf64alpha.sh: Implement "-taso" emulation
5674 specific option to fit 64-bit executable in the lower
5675 31-bit address range. This is done by changing start
5676 address of .interp (the very first section of executable)
5677 and then setting EF_ALPHA_32BIT elf header flag.
5679 2000-07-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
5681 * emultempl/m68kcoff.em: New file.
5682 * emulparams/m68kcoff.sh (TEMPLATE_NAME): Use m68kcoff template.
5683 * Makefile.am (em68kcoff.c): Depend on m68kcoff.em rather than
5685 * Makefile.in: Regenerate.
5687 2000-07-20 H.J. Lu <hjl@gnu.org>
5689 * emultempl/elf32.em (longopts): Duplicate "disable-new-dtags"
5690 and "disable-new-dtags" to stop getopt from treating -d/-e as
5691 abbreviations for these options.
5693 2000-07-20 H.J. Lu <hjl@gnu.org>
5695 * ld.texinfo: Add documentation for --disable-new-dtags and
5698 * ldmain.c (main): Initialize link_info.new_dtags to false.
5700 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add
5701 --disable-new-dtags and --enable-new-dtags.
5702 (gld_${EMULATION_NAME}_list_options): Likewise.
5704 2000-07-05 Kenneth Block <krblock@computer.org>
5706 * lexsup.c: Add optional style to demangle switch
5707 * ld.texinfo: Document optional style to demangle switch.
5709 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
5711 * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o,
5713 (ecrisaout.c, ecriself.c, ecrislinux.c): New rules.
5714 Regenerate dependencies.
5715 * Makefile.in: Rebuild.
5716 * configure.tgt (cris-*-*): New target.
5717 * emulparams/crisaout.sh, emulparams/criself.sh,
5718 emulparams/crislinux.sh, scripttempl/crisaout.sc: New files.
5719 * po/POTFILES.in, po/ld.pot: Regenerate.
5721 2000-07-20 H.J. Lu <hjl@gnu.org>
5723 * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options):
5724 Print out ignored -z options.
5726 2000-07-19 H.J. Lu <hjl@gnu.org>
5728 * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed.
5729 (PARSE_AND_LIST_PROLOGUE): New.
5730 (PARSE_AND_LIST_LONGOPTS): Likewise.
5731 (PARSE_AND_LIST_OPTIONS): Likewise.
5732 (PARSE_AND_LIST_ARGS_CASES): Likewise.
5734 * ldmain.c (main): Clear link_info.flags and link_info.flags_1.
5736 * lexsup.c (ld_options): Comment out 'z'.
5737 (parse_args): Likewise.
5739 * emultempl/elf32.em: Include "elf/common.h".
5740 (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z
5742 (gld_${EMULATION_NAME}_list_options): Likewise.
5744 * ld.texinfo: Add documentation for the recognized -z options.
5746 2000-07-19 H.J. Lu <hjl@gnu.org>
5748 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call
5749 bfd_elf_set_dt_needed_soname ().
5751 2000-07-18 DJ Delorie <dj@cygnus.com>
5753 * pe-dll.c (pe_dll_id_target): check object target name also
5755 2000-07-18 Hans-Peter Nilsson <hp@axis.com>
5757 * scripttempl/elf.sc (.init): Only do ${INIT_START} and
5758 ${INIT_END} if relocating.
5759 (.fini): Likewise ${FINI_START} and ${FINI_END}.
5761 2000-07-16 Charles Wilson <cwilson@ece.gatech.edu>
5763 * emultempl/pe.em (gld_*_open_dynamic_archive): New search
5764 order for dynamic library '-lfoo' on pei386: libfoo.dll.a,
5765 foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility
5766 errors introduced by the old dynamic lib search order.
5768 2000-07-17 DJ Delorie <dj@cygnus.com>
5770 * pe-dll.c (process_def_file): auto-export data items also
5771 (pe_process_import_defs): also see if _imp_ form needed
5773 2000-07-12 Charles Wilson <cwilson@ece.gatech.edu>
5775 * pe-dll.c (make_one): fix a typo in the __imp_ name decoration
5776 for dll import libraries
5778 2000-07-12 Mark Elbrecht <snowball3@bigfoot.com>
5780 * scripttempl/i386go32.sc: Support the g++ attribute init_priority in
5781 gcc 2.95.2 and later.
5783 2000-07-11 Kazu Hirata <kazu@hxi.com>
5785 * ldfile.c (ldfile_try_open_bfd): Output '\n' after an error
5788 2000-07-10 Alan Modra <alan@linuxcare.com.au>
5790 * ldemul.h (struct lang_input_statement_struct): Remove forward
5792 (struct search_dirs): Likewise.
5793 * ldfile.h (struct lang_input_statement_struct): Likewise.
5794 Protect file from multiple inclusion.
5795 * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Move file_chain
5796 declaration from macro to file scope.
5798 * ldemul.c: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this order.
5799 * ldgram.y: Likewise here.
5800 * ldlang.c: And here.
5801 * ldmain.c: And here.
5802 * mpw-elfmips.c: And here.
5803 * mpw-eppcmac.c: And here.
5804 * emultempl/aix.em: And here.
5805 * emultempl/armcoff.em: And here.
5806 * emultempl/armelf.em: And here.
5807 * emultempl/armelf_oabi.em: And here.
5808 * emultempl/beos.em: And here.
5809 * emultempl/elf32.em: And here.
5810 * emultempl/hppaelf.em: And here.
5811 * emultempl/linux.em: And here.
5812 * emultempl/lnk960.em: And here.
5813 * emultempl/pe.em: And here.
5814 * emultempl/sunos.em: And here.
5815 * mpw-esh.c: And here. Include ldexp.h and ldlang.h too.
5816 * mpw-idtmips.c: Ditto.
5817 * emultempl/generic.em: Ditto.
5818 * emultempl/gld960.em: Ditto.
5819 * emultempl/gld960c.em: Ditto.
5820 * emultempl/mipsecoff.em: Ditto.
5821 * emultempl/ticoff.em: Ditto.
5822 * emultempl/vanilla.em: Ditto.
5824 * pe-dll.c: Include ldfile.h
5825 * ldver.c: Include ldexp.h, ldlang.h, ldfile.h
5827 * mpw-elfmips.c: (gldelf32ebmip_before_allocation): Add missing
5828 arguments to bfd_elf32_size_dynamic_sections call.
5829 (gldelf32ebmip_place_orphan): Add missing arguments to
5830 lang_leave_output_section_statement call.
5832 2000-07-10 H.J. Lu <hjl@gnu.org>
5834 * emultempl/pe.em (pe_enable_stdcall_fixup): Protect with
5836 (strhash): Likewise.
5837 (compute_dll_image_base): Likewise.
5838 (pe_undef_found_sym): Likewise.
5839 (pe_undef_cdecl_match): Likewise.
5840 (gld_${EMULATION_NAME}_open_dynamic_archive): Mark the
5841 argument "arch" with ATTRIBUTE_UNUSED.
5843 2000-07-10 Alan Modra <alan@linuxcare.com.au>
5845 * configure.tgt: Remove extraneous hppa*-*-linux-gnu*.
5847 From Ryan Bradetich <rbradetich@uswest.net>
5848 * ldwrite.c (SSIZE): Remove to cure macro redefinition warning.
5850 2000-07-09 Alan Modra <alan@linuxcare.com.au>
5852 Changes to create multiple linker stubs, positioned immediately
5853 before the section where they are required.
5854 * emultempl/hppaelf.em: Include elf32-hppa.h.
5855 (stub_sec, file_chain): Delete.
5856 (hppaelf_create_output_section_statements): Don't make a stub
5858 (hook_stub_info): New struct.
5859 (hook_in_stub): New function.
5860 (hppaelf_add_stub_section): New function.
5861 (hppaelf_finish): Do nothing for relocateable links. Modify the
5862 call to elf32_hppa_size_stubs. Move code for updating section
5864 (hppaelf_layaout_sections_again): ..to here, a new function.
5866 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Fix
5867 broken list handling. Pass in a pointer to the list.
5868 (hppaelf_finish): Update call to hppaelf_delete_padding_statements
5870 (hppaelf_before_parse): Prototype.
5871 (hppaelf_set_output_arch): Prototype.
5872 (hppaelf_create_output_section_statements): Prototype.
5873 (hppaelf_delete_padding_statements): Prototype.
5874 (hppaelf_finish): Prototype.
5877 * emultempl/hppaelf.em: Include ctype.h.
5878 (struct orphan_save): New.
5879 (gld${EMULATION_NAME}_place_orphan): New.
5880 (output_rel_find): New.
5881 (hppaelf_get_script): Update from elf32.em.
5882 (ld_hppaelf_emulation): Rename to ld_${EMULATION_NAME}_emulation.
5883 Change emulation_name field to "${EMULATION_NAME}". Add
5884 gld${EMULATION_NAME}_place_orphan.
5886 * Makefile.am (ALL_EMULATIONS): Reinstate ehppaelf.o, add
5887 ehppalinux.o, sort it. Regenerate dependencies.
5888 (ehppalinux.c): Depend on hppaelf.em
5889 * Makefile.in: Regenerate.
5891 * configure.tgt: targ_emul=hppalinux for hppa*linux
5893 * emulparams/hppalinux.sh: New.
5894 * emulparams/hppaelf.sh (TARGET_PAGE_SIZE): Write in hex.
5896 2000-07-08 Alan Modra <alan@linuxcare.com.au>
5898 * lexsup.c (parse_args): Copy section name.
5900 2000-07-07 Charles Wilson <cwilson@ece.gatech.edu>
5902 * emultempl/pe.em: institute the following search order for
5903 dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import
5904 libs), libfoo.dll, foo.dll (link direct to dll). Fall back to
5905 static lib (libfoo.a) if none of the above are found.
5907 2000-07-07 Mumit Khan <khan@xraylith.wisc.edu>
5909 * emultempl/pe.em (pe_enable_auto_image_base): New variable.
5910 (longopts): New --{enable,disable}-auto-image-base options.
5911 (gld_${EMULATION_NAME}_list_options): Document.
5912 (gld_${EMULATION_NAME}_parse): Handle.
5913 (strhash): New static function.
5914 (compute_dll_image_base): New static function.
5915 (gld_${EMULATION_NAME}_set_symbols): Use.
5917 2000-07-05 DJ Delorie <dj@redhat.com>
5921 2000-07-01 Koundinya K <kk@ddeorg.soft.net>
5923 * configure.tgt: Add traditional mips (mips*-*-sysv4*) target.
5924 * emulparams/elf32btsmip.sh: New file.
5925 * Makefile.am: Add traditional mips target.
5926 * Makefile.in: Rebuild.
5928 2000-07-01 H.J. Lu <hjl@gnu.org>
5930 * Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for
5931 automake to use YLWRAP.
5932 * Makefile.in: Rebuild.
5934 2000-07-01 Alan Modra <alan@linuxcare.com.au>
5936 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
5937 (CLEANFILES): Add DEPA.
5938 * Makefile.in: Regenerate.
5940 2000-06-30 Timothy Wall <twall@ppc>
5942 * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode
5943 the page in the upper octet of the address.
5945 2000-06-26 Marek Michalkiewicz <marekm@linux.org.pl>
5947 * emulparams/avrmega161.sh (ARCH): Change to avr:5.
5949 2000-06-24 Alan Modra <alan@linuxcare.com.au>
5951 * NEWS: arm-elf does --gc-sections too.
5953 2000-06-22 Alan Modra <alan@linuxcare.com.au>
5955 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
5957 * Makefile.in: Regenerate.
5959 2000-06-21 H.J. Lu <hjl@gnu.org>
5961 * Makefile.am: Rebuild dependency.
5962 * Makefile.in: Rebuild.
5964 2000-06-20 H.J. Lu <hjl@gnu.org>
5966 * Makefile.am: Rebuild dependency.
5967 * Makefile.in: Rebuild.
5969 2000-06-20 Timothy Wall <twall@cygnus.com>
5971 * scripttempl/tic54xcoff.sc: New.
5972 * ldlang.c (wild_doit): Propagate SEC_BLOCK flag.
5973 * gen-doc.texi: Add flag for TI COFF.
5974 * ld.texinfo: Add documentation for TI COFF handling switches.
5975 * emultempl/ticoff.em: New. TI COFF handling.
5976 * configure.tgt: Add tic54x target.
5977 * Makefile.am: Add tic54x target.
5978 * Makefile.in: Ditto.
5980 2000-06-20 Alan Modra <alan@linuxcare.com.au>
5982 * ldmain.c (set_scripts_dir): Correct pointer comparison when
5983 checking for backslashes.
5985 2000-06-19 Alan Modra <alan@linuxcare.com.au>
5987 * NEWS: Move entries not in 2.10 above "Changes in version 2.10".
5989 2000-06-18 Alan Modra <alan@linuxcare.com.au>
5991 * NEWS: Update list of targets supporting --gc-sections.
5993 * scripttempl/elf.sc: KEEP .eh_frame contents.
5994 * scripttempl/elfd30v.sc: Same here.
5996 2000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
5998 * Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12
6000 * Makefile.in: Rebuild.
6001 * configure.tgt: Recognize m68hc12 and m68hc11.
6002 * scripttempl/elfm68hc12.sc: New file.
6003 * emulparams/m68hc12elfb: New emulation.
6004 * emulparams/m68hc12elf: New emulation.
6005 * emulparams/m68hc11elfb.sh: New file. User configurable emulation
6006 (includes a memory.x script to define the ROM and RAM banks).
6007 * scripttempl/elfm68hc11.sc, emulparams/m68hc11elf.sh:
6008 New configuration files for support of Motorola 68hc11
6010 2000-06-15 Alan Modra <alan@linuxcare.com.au>
6012 * ldmain.c (main): Only change SEC_READONLY for final link.
6014 2000-06-13 H.J. Lu <hjl@gnu.org>
6016 * configure: Regenerate.
6018 2000-06-08 David O'Brien <obrien@FreeBSD.org>
6020 * configure.in (VERSION): Update to show this is the CVS mainline.
6022 2000-06-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
6024 * emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all
6025 input objects to be ECOFF.
6026 (check_sections): einfo takes %B, not %P, to print a BFD name.
6028 2000-06-05 Michael Matz <matz@ifh.de>
6030 * ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in
6033 * ldlex.l (V_IDENTIFIER): Accept `::' in symbols.
6035 2000-05-23 Marek Michalkiewicz <marekm@linux.org.pl>
6037 * emulparams/avr1200.sh (STACK): Define as 0.
6038 * emulparams/avr23xx.sh (STACK): Define as last internal SRAM address.
6039 * emulparams/avr4433.sh (STACK): Likewise.
6040 * emulparams/avr44x4.sh (STACK): Likewise.
6041 * emulparams/avr85xx.sh (STACK): Likewise.
6042 * emulparams/avrmega103.sh (STACK): Likewise.
6043 * emulparams/avrmega161.sh (STACK): Likewise.
6044 * emulparams/avrmega603.sh (STACK): Likewise.
6045 * scripttempl/elf32avr.sc (__data_start): Define for gcrt1.
6046 (__stack): Define from ${STACK} for main().
6048 2000-05-26 Alan Modra <alan@linuxcare.com.au>
6050 * Makefile.am: Update dependencies with "make dep-am"
6051 * Makefile.in: Regenerate.
6053 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
6055 * ldmain.c: Include filenames.h.
6056 (set_scripts_dir): Support backslashes in program name.
6058 2000-05-22 Igor Shevlyakov <igor@windriver.com>
6060 * ldmain.c (main): When deciding if ".text" section should be
6061 read-only, don't forget to reset SEC_READONLY because it
6062 could be already set.
6064 2000-05-22 Thomas de Lellis <tdel@windriver.com>
6066 * ld.1: Add documentation for new command line option:
6067 --section-start <sectionname>=<sectionorg>
6068 This is a generic version of -Ttext etc. which accepts
6069 any section name as a parameter instead of just text/data/
6071 * ld.texinfo: More docs.
6073 * lexsup.c: (parse_args): Recognize new command line option.
6074 (ld_options): Add new option.
6076 2000-05-18 H.J. Lu <hjl@gnu.org>
6078 * lexsup.c (parse_args): `i' == `r', not `q'.
6080 2000-05-18 Jeffrey A Law (law@cygnus.com)
6082 * configure.tgt (hppa*64*-*-*): Enable PA64 target.
6084 2000-05-17 S. Bharadwaj Yadavalli <sby@scrugs.lkg.dec.com>
6085 Rick Gorton <gorton@scrugs.lkg.dec.com>
6087 Add support for '-q' == '--emit-relocs' switch.
6088 * ldmain.c (main): Default to false.
6089 * lexsup.c (parse_args): Turn on emitrelocations flag if set.
6090 * NEWS: Describe the emitrelocations switch.
6091 * ld.texinfo: Describe the emitrelocations switch.
6093 2000-05-16 Charles Wilson <cwilson@ece.gatech.edu>
6095 * emultempl/pe.em (_open_dynamic_archive): New function: Search
6096 the library path for "foo.dll" and "libfoo.dll" dynamic libraries
6097 before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo'
6100 2000-05-15 David O'Brien <obrien@FreeBSD.org>
6102 * lexsup.c (parse_args): Update the year in the copyright notice.
6104 2000-05-13 Alan Modra <alan@linuxcare.com.au>
6106 * ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain):
6107 Replace defines with those from intl/libgettext.h to quieten gcc
6110 2000-05-10 H.J. Lu <hjl@gnu.org>
6112 * ldlang.c (open_input_bfds): Don't load the same file within
6113 a group again if the whole archive has been loaded already.
6115 2000-05-03 Alan Modra <alan@linuxcare.com.au>
6117 From Ulf Carlsson <ulfc@engr.sgi.com> and Andreas Jaeger <aj@suse.de>
6118 * lexsup.c (set_section_start): Use bfd_scan_vma rather than
6121 2000-05-01 Jim Wilson <wilson@cygnus.com>
6123 * configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}.
6125 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
6126 host "ia64-*-linux-gnu*".
6128 2000-04-29 Andreas Jaeger <aj@suse.de>
6130 * ld.h: Correctly check GCC version.
6132 2000-04-25 Jeffrey A Law (law@cygnus.com)
6134 * Makefile.am: Add PA64 support. Add missing dependencies for
6136 * Makefile.in: Rebuilt.
6137 * configure.tgt: Add PA64 support (currently disabled).
6139 2000-04-25 Alan Modra <alan@linuxcare.com.au>
6141 * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete.
6142 (output_rel_find): New function.
6143 (hold_section, hold_use): Delete.
6144 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
6145 hold_interp): Make local to place_orphan.
6146 (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find
6147 rather than place_section to find possible previous use of orphan.
6148 Similarly find the place-holder output sections. Use returned
6149 value from lang_enter_output_section_statement rather than calling
6150 lang_output_section_statement_lookup.
6151 * emultempl/armelf.em: Same here.
6152 * emultempl/pe.em: Similar to above, but no need for output_rel_find.
6154 * ldlang.c (lang_enter_output_section_statement): Return output
6156 * ldlang.h (lang_enter_output_section_statement): Change
6159 * ldlang.h (lang_output_section_statement): Export it.
6160 * ldlang.c (lang_output_section_statement): Ditto.
6162 2000-04-24 Nick Clifton <nickc@cygnus.com>
6164 * ld.texinfo (Output Section Data): Add note that section data
6165 commands cannot appear outside of section directives.
6167 2000-04-2 Matthew Green <mrg@cygnus.com>
6169 * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support.
6171 2000-04-21 Richard Henderson <rth@cygnus.com>
6172 David Mosberger <davidm@hpl.hp.com>
6174 * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o.
6175 (eelf64_ia64.c): New rule.
6176 * Makefile.in: Rebuild.
6177 * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets.
6178 * emulparams/elf64_ia64.sh: New file.
6180 2000-04-21 Richard Henderson <rth@cygnus.com>
6182 * scripttempl/elfd30v.sc: Place .gcc_except_table.
6184 2000-04-19 Alan Modra <alan@linuxcare.com.au>
6186 * dep-in.sed: Match space at start of file name, not at end.
6188 2000-04-18 H.J. Lu <hjl@gnu.org>
6190 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
6191 lang_leave_output_section_statement () after calling
6192 lang_enter_output_section_statement ().
6193 * emultempl/armelf.em: Likewise.
6195 2000-04-18 Alan Modra <alan@linuxcare.com.au>
6197 * emultempl/elf32.em (struct orphan_save): Add section field.
6198 (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in
6199 better order, and place first orphan section as we did before the
6200 2000-04-12 patch. Ignore ~SEC_ALLOC sections when choosing place.
6201 Don't call make_bfd_section here, let wild_doit do the job for us.
6202 Don't build a statement list when we'll only throw it away.
6203 * emultempl/armelf.em: Ditto.
6204 * emultempl/pe.em: Similarly.
6206 2000-04-14 Geoff Keating <geoffk@cygnus.com>
6208 * scripttempl/elfppc.sc: Remove.
6209 * emulparams/elf32ppc.sh: Use elf.sc.
6210 * emulparams/elf32lppc.sh: Use elf.sc.
6211 * emulparams/elf32ppclinux.sh: Use elf.sc.
6212 * emulparams/elf32ppcsim.sh: New file.
6213 * emulparams/elf32lppcsim.sh: New file.
6214 * Makefile.am: Update dependencies. Add elf32ppcsim ad elf32lppcsim.
6215 (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim.
6216 * Makefile.in: Regenerate.
6217 * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim.
6219 2000-04-14 Alan Modra <alan@linuxcare.com.au>
6221 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process
6222 ~SEC_ALLOC sections too. Init start address of debug sections.
6223 * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto.
6224 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto.
6225 Also set all relocateable section start addresses.
6227 2000-04-13 Geoff Keating <geoffk@cygnus.com>
6229 * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections.
6230 Add new BSS_PLT variable for when .plt need not be contained in
6231 the file. Move _etext so that it is also after .fini, and provide
6232 both etext and _etext with a leading underscore. Mark the start
6235 2000-04-12 Alan Modra <alan@linuxcare.com.au>
6237 * emultempl/elf32.em (struct orphan_save): New.
6238 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
6239 hold_interp): Make them struct orphan_save.
6240 (gld${EMULATION_NAME}_place_section): Modify for new hold_*.
6241 (gld${EMULATION_NAME}_place_orphan): Add new orphan sections to
6242 the end of the relevant section list. Also add associated section
6243 statements to the end of any previous orphan statements.
6244 * emultempl/armelf.em: Similarly.
6245 * emultempl/pe.em: Similarly.
6247 2000-04-11 Alan Modra <alan@linuxcare.com.au>
6249 * ld.texinfo (Simple Example): Remove extraneous paragraph.
6251 2000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
6253 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
6254 --enable-build-warnings option.
6255 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
6256 * Makefile.in, configure: Re-generate.
6258 2000-04-04 Alan Modra <alan@linuxcare.com.au>
6260 * po/ld.pot: Regenerate.
6262 * lexsup.c (help): Restore translated part of bug string.
6264 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
6265 (DEP): Quote when passing vars to sub-make. Add warning message
6267 (DEP1): Rewrite for "gcc -MM".
6268 (CLEANFILES): Add DEP2.
6269 Update dependencies.
6270 * Makefile.in: Regenerate.
6272 2000-04-03 Alan Modra <alan@linuxcare.com.au>
6274 * ld.h: #include "bin-bugs.h"
6275 * lexsup.c (help): Use REPORT_BUGS_TO.
6277 2000-03-27 Denis Chertykov <denisc@overta.ru>
6279 * configure.tgt (avr-*-*): New target support.
6280 * Makefile.am: Likewise.
6281 * scripttempl/elf32avr.sc: New script file.
6282 * emulparams/avr1200.sh: New file.
6283 * emulparams/avr23xx.sh: New file.
6284 * emulparams/avr4433.sh New file.
6285 * emulparams/avr44x4.sh New file.
6286 * emulparams/avr85xx.sh New file.
6287 * emulparams/avrmega103.sh New file.
6288 * emulparams/avrmega161.sh New file.
6289 * emulparams/avrmega603.sh New file.
6290 * Makefile.in: Regenerate.
6292 2000-03-09 Andreas Jaeger <aj@suse.de>
6294 * Makefile.am (check-DEJAGNU): Also unset LANG.
6295 * Makefile.in: Rebuild.
6297 2000-03-06 Ian Lance Taylor <ian@zembu.com>
6299 * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty
6302 2000-03-02 H.J. Lu <hjl@gnu.org>
6304 * emulparams/elf32mcore.sh: Include "getopt.h".
6306 2000-03-01 Ian Lance Taylor <ian@zembu.com>
6308 * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware.
6310 2000-03-01 H.J. Lu <hjl@gnu.org>
6312 * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR.
6313 * emulparams/shpe.sh: Likewise.
6315 2000-03-01 Nick Clifton <nickc@cygnus.com>
6317 * pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED
6318 to unused parameters.
6320 * emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static
6321 functions only used by DLL code.
6322 (_place_orphan): Initialise 'dollar'.
6324 2000-03-01 H.J. Lu <hjl@gnu.org>
6326 * ldmain.c (undefined_symbol): Take one more arg, fatal, to
6327 indicate if the undefined symbol is a fatal error or not.
6328 Don't delete the output file if "fatal" is false.
6330 2000-02-29 H.J. Lu <hjl@gnu.org>
6332 * Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)".
6333 Set LC_COLLATE and LC_ALL to null and export them. It is for
6334 sort which expects the C locale.
6335 Add $(LIBS) to all $(HOSTING_LIBS).
6336 * Makefile.in: Rebuild.
6338 2000-02-29 Alan Modra <alan@spri.levels.unisa.edu.au>
6340 * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em,
6341 beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em,
6342 linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em}
6343 (ld_emulation_xfer_struct): Add missing NULL initialiser for
6344 find_potential_libraries.
6346 2000-02-28 Jim Blandy <jimb@redhat.com>
6348 * ldgram.y (exclude_name_list): Don't require a comma to separate
6349 list entries; the lexer considers commas to be valid part of a
6350 filename, so in something like `foo, bar' the comma is considered
6351 part of the first filename, `foo,'.
6352 * ld.texinfo: Update section on EXCLUDE_FILE lists.
6354 2000-02-27 Loren J. Rittle <ljrittle@acm.org>
6356 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
6357 host "i[3456]86-*-freebsdelf*".
6359 2000-02-27 Mark Elbrecht <snowball3@bigfoot.com>
6361 * scripttempl/i386go32.sc: Move misplaced semicolons.
6363 2000-02-25 Ian Lance Taylor <ian@zembu.com>
6365 * Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o.
6366 (ALL_64_EMULATIONS): Remove eelf64hppa.o.
6367 (eelf64hppa.c, ehppaelf.c): Remove targets.
6368 * Makefile.in: Rebuild.
6370 2000-02-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6372 * configure.tgt (targ_extra_ofiles): Enable elf64_sparc on
6373 GNU/Linux/sparc, but keep the default as 32.
6375 * configure.tgt: Enable elf64_sparc on Solaris7+/sparc. And make
6376 it default if sparcv9 or sparc64.
6378 2000-02-24 Nick Clifton <nickc@cygnus.com>
6380 * Makefile.am: Add rules to build emipspe.o and earmpe.o.
6381 * Makefile.in: Regenerate.
6382 * configure.tgt: Add targets for arm-wince, sh-pe and mips-pe.
6384 * ldemul.h (ld_emulation_xfer_struct): Add new field:
6385 find_potential_libraries.
6386 * ldemul.c (ldemul_find_potential_libraries): New function.
6388 * ldfile.c (ldfile_open_file_search): Allow function to be
6390 (ldfile_open_file): Call ldemul_find_potential_libraries.
6391 * ldfile.h: Add prototype for ldfile_open_file_search.
6393 * pe-dll.c: Add support for ARM, MIPS and SH targets.
6395 * emulparams/mipspe.sh: New file. Parameters for mips-pe target.
6396 * emulparams/shpe.sh: New file. Parameters for sh-pe target.
6398 * emultempl/pe.em: Add support for ARM, MIPS and SH DLLs.
6399 (gld_X_find_potential_libraries): New function. Search for
6400 libraries called "*.lib".
6402 * scripttempl/pe.sc: Add .pdata section.
6404 2000-02-23 Richard Henderson <rth@cygnus.com>
6406 * scripttempl/elfd10v.sc: Remove dynamic linking hooks.
6407 Add and use memory regions.
6409 2000-02-23 Linas Vepstas (linas@linas.org)
6411 * emulparams/elf32i370.sh, scripttempl/elfi370.sc: New.
6413 * Makefile.am: Add support for Linux/IBM 370.
6414 * configure.tgt: Likewise.
6416 * Makefile.in: Regenerate.
6418 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
6420 * ldlang.c (print_input_section, print_data_statement,
6421 print_reloc_statement, print_padding_statement, insert_pad,
6422 size_input_section, lang_check_section_addresses,
6423 lang_size_sections, lang_do_assignments, lang_set_startof,
6424 lang_one_common): Change `opb' to unsigned.
6425 (lang_do_assignments): Also change `size' to unsigned.
6427 2000-02-16 Richard Henderson <rth@cygnus.com>
6429 * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION.
6431 2000-02-16 Timothy Wall <twall@cygnus.com>
6433 * mri.c (mri_draw_tree): Add default LMA region argument to call
6434 to lang_leave_output_section_statement.
6435 * ldlang.h: Update prototypes with LMA region arguments.
6436 * ldlang.c (lang_size_sections): Encapsulate region bounds
6437 checking in os_check_region call.
6438 (os_check_region): New function.
6439 (lang_output_section_statement_lookup): Initialize lma_region.
6440 (lang_leave_output_section_statement): Add LMA region argument.
6441 (lang_leave_overlay): Ditto.
6442 * ldgram.y: Handle LMA region syntax.
6443 * ld.texinfo (Output Section Description): Describe LMA region usage.
6444 * emultempl/armelf.em (gld$place_orphan): Add default value for
6445 lma region in call to lang_leave_output_section_statement.
6446 * emultempl/elf32.em (gld$place_orphan): Add default value for
6447 lma region in call to lang_leave_output_section_statement.
6448 * emultempl/pe.em (gld$place_orphan): Add default value for
6449 lma region in call to lang_leave_output_section_statement.
6452 2000-02-04 Timothy Wall <twall@redhat.com>
6454 * ldlang.c (lang_check_section_addresses): Use bytes instead of
6455 octets when calculating section end addresses.
6457 2000-02-04 Timothy Wall <twall@redhat.com>
6459 * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation.
6461 2000-02-03 Timothy Wall <twall@redhat.com>
6463 * ldexp.c (fold_name): Make SIZEOF operator return byte count, not
6465 * ldlang.c (print_input_section, print_data_statement,
6466 print_reloc_statement, print_padding_statement): Print target
6467 address values and section sizes as bytes, not octets.
6468 (insert_pad) Calculate padding size in octets, and adjust "dot"
6470 (size_input_section) Always adjust "dot" by bytes, not octets.
6471 (lang_check_section_addresses, lang_do_assignments) Adjust
6472 "dot" by bytes, not octets. Use the larger of the directive size
6473 or octets_per_byte for the number of octets actually allocated in
6475 (lang_set_startof) Make sure STARTOF returns a target address.
6476 (lang_one_common) Record size changes in octets.
6477 (lang_abs_symbol_at_end_of) Section end symbol's value is
6478 recorded in target bytes.
6479 * ld.texinfo: Updated description of BYTE, SHORT, LONG, etc.
6480 to be clear about behavior when an octet is smaller than one byte.
6482 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
6484 * ldcref.c (output_cref): Don't pass message strings to printf
6488 * ldmisc.c (vfinfo): Same here.
6491 2000-01-23 Alan Modra <alan@spri.levels.unisa.edu.au>
6493 * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em,
6494 generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em,
6495 mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct):
6496 Add missing NULL initialisers, and comments.
6498 2000-01-21 Nick Clifton <nickc@cygnus.com>
6500 * ldlang.c (lang_size_sections): Fix typo in comment.
6502 2000-01-18 H.J. Lu <hjl@gnu.org>
6504 * ldlang.c (lang_size_sections): Also update the current
6505 address of a region if the SEC_NEVER_LOAD bit is not set.
6507 2000-01-10 Philip Blundell <pb@futuretv.com>
6509 * configure.tgt (arm*-*-conix*): New target.
6511 2000-01-07 Nick Clifton <nickc@cygnus.com>
6513 * ld.texinfo (Options): Remind users to preceed linker command
6514 line switches with -Wl, (or whatever is appropriate) if it is
6515 being invoked by a comnpiler driver program.
6516 Fix description of the behaviour of the -n command line switch.
6518 2000-01-05 Catherine Moore <clm@cygnus.com>
6520 * ld.h (wildcard_spec): Change exclude_name to exclude_name_list.
6522 * ld.texinfo (EXCLUDE_FILE): Update documentation.
6523 * ldgram.y (wildcard_spec): Support a list of excluded_files.
6524 (exclude_name_list): New.
6525 ldlang.c (walk_wild_section): Support list of excluded files.
6526 (print_wild_statement): Likewise.
6527 (lang_add_wild): Likewise.
6528 * ldlang.h (lang_wild_statement_type): Likewise.
6529 * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support.
6531 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
6533 * pe-dll.c (pe_dll_warn_dup_exports): New variable.
6534 (process_def_file): Use.
6535 (pe_dll_compat_implib): New variable.
6538 * pe-dll.h: Add exports of pe_dll_warn_dup_exports and
6539 pe_dll_compat_implib.
6541 * emultempl/pe.em (longopts): Add warn-duplicate-exports and
6542 compat-implib options.
6543 (gld_${EMULATION_NAME}_list_options): List new options.
6544 (gld_${EMULATION_NAME}_parse_args): Handle.
6546 * pe-dll.c (pe_dll_generate_implib): Use the correct name for output
6549 * deffilep.y (opt_name): Allow "." in name.
6551 For older changes see ChangeLog-9899
6557 version-control: never