1 2003-05-29 Nick Clifton <nickc@redhat.com>
3 * emultempl/pe.em: Include "safe-ctype.h" instead of <ctype.h>.
5 2003-05-26 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
7 * emulparams/elf64btsmip.sh: Set TEXT_START_ADDR to 0x120000000 to
10 2003-05-21 Marcus Comstedt <marcus@mc.pp.se>
12 * configure.tgt: Check for a target triplet of shl-...-netbsdelf
13 as well as shle-...-netbsdelf.
15 2003-05-16 Kelley Cook <kelleycook@wideopenwest.com>
17 * configure.host: Accept i[3-7]86 variants.
18 * configure.tgt: Likewise.
20 2003-05-15 H.J. Lu <hongjiu.lu@intel.com>
22 * emulparams/elf64_ia64.sh: Don't set COMMONPAGESIZE for now.
24 2003-05-09 Daniel Jacobowitz <drow@mvista.com>
26 * Makefile.am (ALL_EMULATIONS): Add earmelfb.o and earmelfb_linux.o.
27 (earmelfb.c, earmelfb_linux.c): New rules.
28 * Makefile.in: Regenerated.
29 * emulparams/armelfb.sh, emulparams/armelfb_linux.sh: New files.
30 * configure.tgt: Add armeb-elf and arm*b-*-linux-gnu.
32 2003-05-09 Nick Clifton <nickc@redhat.com>
34 * ldlang.c (lang_size_sections_1): Default to generating a
35 fatal error message if a loadable section is not allocated
36 to a memory region when regions are defined.
38 2003-05-09 Alan Modra <amodra@bigpond.net.au>
40 * Makefile.am (em68hc11elf.c): Correct dependencies.
41 (em68hc11elfb.c, em68hc12elf.c, em68hc12elfb.c): Likewise.
42 * Makefile.in: Regenerate.
43 * emultempl/elf32.em (find_exp_assignment): Adjust for changed
44 bfd_elf_record_link_assignment name.
46 2003-05-07 Alexandre Oliva <aoliva@redhat.com>
48 * ldmain.h (overflow_cutoff_limit): Declare.
49 * ldmain.c (overflow_cutoff_limit): Define, initialized to 10.
50 (reloc_overflow): Limit error messages based on it.
51 * lexsup.c (parse_args) <OPTION_VERBOSE>: Set cutoff to
54 2003-05-05 Alan Modra <amodra@bigpond.net.au>
56 * ldlex.l: Accept C style comments in version scripts.
58 2003-04-28 H.J. Lu <hjl@gnu.org>
60 * ldlang.c (lang_process): Add the relax finalize pass.
62 * ldmain.c (main): Initialize link_info.relax_finalizing to
65 2003-04-24 Roland McGrath <roland@redhat.com>
67 * ldgram.y (phdr_type): Grok PT_TLS and PT_GNU_EH_FRAME names.
68 If a name string is unknown, give an error rather than crashing later.
70 2003-04-23 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
72 * Makefile.am (ALL_EMULATIONS): Add eh8300hn.o, eh8300sn.o,
73 eh8300hnelf.o, eh8300snelf.o and respective rules.
74 * Makefile.in: Regenerate.
75 * configure.tgt: Add h8300hn, h8300sn, h8300hnelf, h8300snelf
76 * emulparams/h8300hn.sh: New
77 * emulparams/h8300sn.sh: New
78 * emulparams/h8300hnelf.sh: New
79 * emulparams/h8300snelf.sh: New
80 * scripttempl/h8300hn.sc: new
81 * scripttempl/h8300sn.sc: new
83 2003-04-23 H.J. Lu <hjl@gnu.org>
85 * ldmain.c (link_callbacks): Initialize error_handler.
87 * ldmisc.c (error_handler): New function.
89 * ldmisc.h (error_handler): New prototype.
91 2003-04-21 Stephane Carrez <stcarrez@nerim.fr>
93 * emulparams/m68hc11elf.sh: Use m68hc1xelf.em extra.
94 * emulparams/m68hc11elfb.sh: Likewise.
95 * emulparams/m68hc12elf.sh: Likewise.
96 * emulparams/m68hc12elfb.sh: Likewise.
98 2003-04-19 Stephane Carrez <stcarrez@nerim.fr>
100 * emultempl/m68hc1xelf.em: New file to generate far trampolines on
102 (LDEMUL_BEFORE_ALLOCATION): Override to gather the trampolines to
104 (LDEMUL_FINISH): Override to generate the trampolines after gc and
106 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Override to create the
107 stub file for trampolines.
108 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_LONGOPTS): New options
109 --no-trampoline and --bank-window to control the memory bank window.
111 2003-04-18 H.J. Lu <hjl@gnu.org>
113 * ldfile.c (ldfile_add_library_path): Remove the unused
116 2003-04-18 Andrew Haley <aph@cambridge.redhat.com>
118 * scripttempl/xstormy16.sc (__data, __rdata): New.
120 2003-04-16 Nick Clifton <nickc@redhat.com>
122 * scripttempl/xstormy16.sc: Add .jcr section mapping.
124 2003-04-15 H.J. Lu <hjl@gnu.org>
126 From Debian by Jack Howarth <howarth@nitro.med.uc.edu>:
128 * ldlex.l: Use YY_CURRENT_BUFFER instead of yy_current_buffer.
130 2003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com>
132 * h8-doc.texi: Replace occurrances of 'Hitachi' with 'Renesas'.
133 * ld.texinfo: Likewise.
135 2003-04-14 Alan Modra <amodra@bigpond.net.au>
137 From Prashanth Tamraparni <prashanth_t@in.ibm.com>
138 * scripttempl/elf.sc (CTOR): Handle crtbeginS.o, crtendS.o and
139 other variants of crtbegin.o, crtend.o.
141 * scripttempl/crisaout.sc (ctors, dtors): Likewise.
142 * scripttempl/elf_chaos.sc (CTOR, DTOR): Likewise.
143 * scripttempl/elfd10v.sc (CTOR, DTOR): Likewise.
144 * scripttempl/elfd30v.sc (CTOR, DTOR): Likewise.
145 * scripttempl/elfxtensa.sc (CTOR, DTOR): Likewise.
146 * scripttempl/iq2000.sc (CTOR, DTOR): Likewise.
147 * scripttempl/mmo.sc (ctors, dtors): Likewise.
148 * scripttempl/xstormy16.sc (CTOR, DTOR): Likewise.
150 2003-04-09 Dmitry Diky <diwil@mail.ru>
152 * scripttempl/elf32msp430.sc: Add initX, finiX, ctors, dtors
153 sections to respect C++ constructor/destructor. Add ctors/dtors
154 start/stop definitions.
155 * scripttempl/elf32msp430_3.sc: Likewise.
157 2003-04-06 Nick Clifton <nickc@redhat.com>
159 * ld.texinfo (Options): Add a reminder of the target specific
160 nature to the description of the i386 PE specific options, for
161 readers who have not read all the way through the manual.
163 2003-04-04 Svein E. Seldal <Svein.Seldal@solidas.com>
165 * configure.tgt: Fixed bug in list of targ_extra_emuls.
166 * emulparams/tic3xcoff.sh (SCRIPT_NAME): Namespace
167 cleanup. Replace s/c4x/tic4x and s/c3x/tic3x/
168 * emulparams/tic3xcoff_onchip.sh: Ditto
169 * emulparams/tic4xcoff.sh: Ditto
170 * scripttempl/tic4xcoff.sc: Ditto
172 2003-04-03 Nick Clifton <nickc@redhat.com>
174 * NEWS: Mention support for Xtensa architecture.
176 2003-04-02 Nick Clifton <nickc@redhat.com>
178 * pe-dll.c (pe_detail_list): arm-pe targets use underscores.
180 2003-04-01 Danny Smith <dannysmith@users.sourceforge.net>
182 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open):
183 Don't call pe_dll_build_section() if link_info.relocateable.
184 (gld_${EMULATION_NAME}_finish): Don't call pe_dll_fill_sections()
185 if link_info.relocateable.
187 2003-04-01 Fabrizio Gennari <fabrizio.ge@tiscalinet.it>
189 * pe-dll.c (process_def_file): Don't create an export
190 section if there are no exports and we're building an exe
191 (pe_dll_build_sections): Ditto
192 (pe_dll_fill_sections): Conditionalize setting
193 abfd->dll true on info->shared
194 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open):
195 If i386pe or armpe, call pe_dll_build_section()
196 for both exe's and dll's, not just dll's.
197 (gld_${EMULATION_NAME}_finish): For all targets except
198 shpe and mipspe, call pe_dll_fill_sections() for both
199 exe's and dll's, not just dll's.
201 2003-04-02 Bob Wilson <bob.wilson@acm.org>
203 * emulparams/xtensa-config.sh: Remove comment indicating that this is
206 2003-04-01 Bob Wilson <bob.wilson@acm.org>
208 * Makefile.am (ALL_EMULATIONS): Add eelf32xtensa.o.
209 (eelf32xtensa.c): New target.
210 * Makefile.in: Regenerate.
211 * configure.tgt: Handle xtensa-*-*.
212 * gen-doc.texi: Set XTENSA variable.
213 * ld.texinfo: Set XTENSA variable. Add new Xtensa node.
214 * emulparams/elf32xtensa.sh: New file.
215 * emulparams/xtensa-config.sh: Likewise.
216 * emultempl/xtensaelf.em: Likewise.
217 * scripttempl/elfxtensa.sc: Likewise.
219 2003-04-01 Jakub Jelinek <jakub@redhat.com>
221 * configure.tgt (powerpc*-*-linux*): Add elf32ppc to ppc64
222 targ_extra_libpath. Add elf64ppc to ppc targ_extra_libpath
223 if --enable-64-bit-bfd.
225 2003-04-01 Nick Clifton <nickc@redhat.com>
227 * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Change name of
229 * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Change
230 name of note section.
232 2003-03-31 Alexandre Oliva <aoliva@redhat.com>
234 * ld.texinfo (-Tbss, -Tdata, -Ttext): Document in terms of
237 2003-03-31 David Heine <dlheine@suif.stanford.edu>
239 * ldfile.c (ldfile_add_library_path): Always allocate space for
241 * ldlang.c (lang_register_vers_node): Free the node if it cannot
243 * ldmain.c (set_scripts_dir): Always free the constructed
245 (add_keepsyms_file): Fix memory leak.
246 * ldmisc.c (vfinfo): Likewise.
247 * lexsup.c (parse_args): Likewise.
249 2003-03-25 Stan Cox <scox@redhat.com>
250 Nick Clifton <nickc@redhat.com>
252 Contribute support for Intel's iWMMXt chip - an ARM variant:
254 * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Define.
255 * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Define.
256 * scripttempl/armcoff.sc (.data): Ensure 8 byte alignment.
259 2003-03-25 Alexandre Oliva <aoliva@redhat.com>
261 * ldmain.h (ld_canon_sysroot, ld_canon_sysroot_len): Declare.
262 * ldmain.c (ld_canon_sysroot, ld_canon_sysroot_len): Define.
263 (main): Initialize them.
264 * ldfile.c: Include pathnames.h.
265 (is_sysrooted_pathname): New.
266 (ldfile_add_library_path): Use it.
267 (ldfile_open_file_search): Likewise. Use IS_ABSOLUTE_PATH. Don't
268 search_dirs if given an absolute pathname.
269 (ldfile_open_file): Issue error message for sysrooted
271 * Makefile.am: Updated dependencies.
272 * Makefile.in: Rebuild.
274 2003-03-24 Daniel Néri <dne@mayonnaise.net>
276 * ld.texinfo: Rename all occurances of C54X to TIC54X.
278 2003-03-19 Andreas Schwab <schwab@suse.de>
280 * ldfile.c (ldfile_try_open_bfd): Pop lexer start condition after
283 2003-03-18 Danny Smith <dannysmith@users.sourceforge.net>
285 * defilep.y (opt_base): If no number given, set to default
288 2003-03-13 Danny Smith <dannysmith@users.sourceforge.net>
290 * deffilep.y (def_import): Use default extension of "dll"
291 if no extension provided in parsed IMPORT definition.
293 * deffilep.y (def_lex): Revert 2003-03-12 change.
294 (dot_name): New id type and rule.
295 (expline): Use instead of ID.
296 (opt_equal_name): Likewise.
298 2003-03-12 Danny Smith <dannysmith@users.sourceforge.net>
300 * deffilep.y (def_lex): Accept '.' as valid non-lead char.
302 2003-03-07 Christopher Faylor <cgf@redhat.com>
304 * configure.tgt: Add NATIVE_LIB_DIRS for cygwin target back after
305 apparent accidental removal on 2003-01-06.
307 2003-03-04 Dmitry Diky <diwil@mail.ru>
309 * Makefile.am: Add new devices x1122 x1132 emulation
310 * configure.tgt: Likewise.
311 * Makefile.in: Regenerate.
312 * emulparams/msp430x1122.sh: New file.
313 * emulparams/msp430x1132.sh: New file.
315 2003-03-03 Alexandre Oliva <aoliva@redhat.com>
317 * ldmain.c (set_scripts_dir): Look for relative to TOOLBINDIR as
320 * ldfile.h (struct search_dirs): Added sysrooted field.
321 * ldlang.h (struct lang_input_statement_struct): Likewise.
322 * ldfile.c (ldfile_add_library_path): Mark sysrooted paths.
323 (ldfile_open_file_search): Look for sysrooted filename starting
324 with / in ld_sysroot instead of in the current directory. Clear
325 sysrooted flag if it's found in the current directory. Set it
326 from the search directory's sysrooted flag where it is found
328 * ldlang.c (ldlang_sysrooted_script): New static variable.
329 (new_afile): Mark search_file_enums as sysrooted if
330 ldlang_sysrooted_script.
331 (load_symbols): Set ldlang_sysrooted_script according to the
332 script's sysrooted field while processing it.
333 * ld.texinfo: Document INPUT behavior in sysroot.
335 2003-03-02 Danny Smith <dannysmith@users.sourceforge.net>
337 * scripttempl/pe.sc: Use PROVIDE with etext, end, _end,
339 2003-03-03 Alan Modra <amodra@bigpond.net.au>
341 * emulparams/elf64alpha.sh (EXTRA_EM_FILE): Define.
342 (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS,
343 PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES,
344 PARSE_AND_LIST_EPILOGUE): Don't define.
345 * emultempl/alphaelf.em: New file.
347 2003-03-01 Alan Modra <amodra@bigpond.net.au>
349 * ldemul.c: Include getopt.h.
350 * emultempl/elf32.em: Include getopt.h earlier.
351 * emultempl/ticoff.em: Likewise.
353 2003-02-28 Alan Modra <amodra@bigpond.net.au>
355 * emultempl/elf32.em (gld${EMULATION_NAME}_get_script): Add combreloc
356 support when scripts read from files.
358 2003-02-28 Alan Modra <amodra@bigpond.net.au>
360 * ldemul.c (ldemul_parse_args): Return FALSE by default.
361 * ldemul.h (struct ld_emulation_xfer_struct): Update parse_args
364 * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions.
365 (ldemul_parse_args): Return bfd_boolean. Formatting.
366 * ldemul.h (ldemul_add_options, ldemul_handle_option): Declare.
367 (ldemul_parse_args): Adjust.
368 (struct ld_emulation_xfer_struct): Add add_options and handle_option.
369 Return bfd_boolean from parse_args.
370 * lexsup.c (parse_args): Malloc shortopts, longopts and
371 really_longopts. Call ldemul_add_options and ldemul_handle_option.
372 * emultempl/aix.em (gld${EMULATION_NAME}_add_options): Split out from
373 gld${EMULATION_NAME}_parse_args.
374 (gld${EMULATION_NAME}_handle_option): Likewise.
375 (ld_${EMULATION_NAME}_emulation): Adjust initializer.
376 * emultempl/armcoff.em: As for aix.em, but remove parse_args.
377 * emultempl/beos.em: Likewise.
378 * emultempl/pe.em: Likewise.
379 * emultempl/ticoff.em: Likewise.
380 * emultempl/elf32.em: Likewise. Don't duplicate long options either.
381 (gld${EMULATION_NAME}_add_sysroot): Prototype.
382 * emultempl/armelf.em (PARSE_AND_LIST_LONGOPTS): Don't duplicate
384 * emultempl/hppaelf.em (PARSE_AND_LIST_LONGOPTS): Likewise.
385 * emultempl/ppc32elf.em (PARSE_AND_LIST_LONGOPTS): Likewise.
386 * emultempl/ppc64elf.em (PARSE_AND_LIST_LONGOPTS): Likewise.
387 * emultempl/armelf_oabi.em (ld_${EMULATION_NAME}_emulation): Adjust
389 * emultempl/generic.em: Likewise.
390 * emultempl/gld960.em: Likewise.
391 * emultempl/gld960c.em: Likewise.
392 * emultempl/linux.em: Likewise.
393 * emultempl/lnk960.em: Likewise.
394 * emultempl/m68kcoff.em: Likewise.
395 * emultempl/mipsecoff.em: Likewise.
396 * emultempl/sunos.em: Likewise.
397 * emultempl/vanilla.em: Likewise.
398 * emultempl/netbsd.em (gldnetbsd_before_parse): Prototype.
400 2003-02-25 Alexandre Oliva <aoliva@redhat.com>
402 * emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Fix
403 memory allocation error.
405 * Makefile.am (ldmain.o): Define TOOLBINDIR.
406 * Makefile.in: Rebuilt.
407 * ldmain.c (ld_sysroot): Try to set from TOOLBINDIR too.
409 2003-02-21 Bob Wilson <bob.wilson@acm.org>
411 * ldlang.c (lang_size_sections_1): Add CHECK_REGIONS argument and only
412 call os_region_check when it is set.
413 (lang_size_sections): Add CHECK_REGIONS argument and pass it through to
414 lang_size_sections_1.
415 (lang_process): Change lang_size_sections calls to set CHECK_REGIONS
416 only for the last call, not on every relaxation iteration.
417 * ldlang.h (lang_size_sections): Update prototype.
418 * pe-dll.c (pe_dll_fill_sections): Set CHECK_REGIONS argument in calls
419 to lang_size_sections.
420 (pe_exe_fill_sections): Likewise.
421 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Likewise.
422 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
423 * emultempl/ppc64elf.em (ppc_before_allocation): Likewise.
424 (ppc_layout_sections_again): Likewise.
426 2003-02-21 Bob Wilson <bob.wilson@acm.org>
428 * gen-doc.texi: Set ARM and HPPA variables.
429 * ld.texinfo: Fix typos and obvious texinfo mistakes. Make section
430 title capitalization more consistent. Add missing menu entries for
431 machine-specific sections and conditionalize them consistently.
432 Conditionalize text that is irrelevant when SingleFormat is set.
433 Add @group divisions to improve page breaks in long examples.
434 Use @iftex/@ifnottex instead of @iftex/@ifinfo so that HTML output
435 is correct. Remove "FIXME" comment about not using
436 @raisesections/@lowersections. Use @raisesections/@lowersections
437 consistently for machine-specific sections. Change to be more polite
438 about poor bug reports. Replace FDL appendix with include of fdl.texi.
439 Move WIN32 node to match its order in the menus.
440 * fdl.texi: New file.
442 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
444 * configure.in (TARGET_SYSTEM_ROOT): Set default to
445 ${exec_prefix}/${target_alias}/sys-root. Match explicit
446 '${exec_prefix}' (in addition to the expansion thereof) as
448 * configure: Rebuilt.
450 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
452 * ldgram.y (vers_defns): Also recurse with 'EXTERN NAME' patterns.
454 2003-02-20 Harri Porten <porten@kde.org>
456 * ldgram.y (vers_defns): Allow optional trailing semicolon in
459 2003-02-18 Alan Modra <amodra@bigpond.net.au>
461 * emultempl/ppc32elf.em: New file.
462 * emulparams/elf32ppc.sh (EXTRA_EM_FILE): Define.
463 * Makefile.am (eelf32lppc.c): Depend on emultempl/ppc32elf.em.
464 (eelf32lppcnto.c): Likewise.
465 (eelf32lppcsim.c): Likewise.
466 (eelf32ppcnto.c): Likewise.
467 (eelf32ppc.c): Likewise.
468 (eelf32ppc_fbsd.c): Likewise.
469 (eelf32ppcsim.c): Likewise.
470 (eelf32ppclinux.c): Likewise.
471 * Makefile.in: Regenerate.
473 2003-02-18 Alan Modra <amodra@bigpond.net.au>
475 * ld.texinfo: Remove spaces between @samp and opening brace.
477 2003-02-18 Alan Modra <amodra@bigpond.net.au>
479 * emultempl/ppc64elf.em (ppc_create_output_section_statements): Check
481 (ppc_before_allocation): Don't do optimizations if wrong hash table.
482 (gld${EMULATION_NAME}_finish): Ditto.
484 2003-02-17 Nick Clifton <nickc@redhat.com>
486 * ldmain.c (main) Default allow_shlib_undefined to true.
487 * lexsup.c (ld_options): Add --no-allow-shlib-undefined.
488 (parse_args): Parse the new switch.
489 * ld.texinfo: Document new switch and default behaviour of
490 allowing undefined symbols in shared libraries.
492 2003-02-11 Dmitry Diky <diwil@mail.ru>
494 * scripttempl/elf32msp430.sc: Add new data anchors definitions.
495 * scripttempl/elf32msp430_3.sc: Likewise.
497 2003-02-11 Uwe Stieber <uwe@wwws.de>
499 * configure.tgt: Add support for kaOS as cross build target
502 2003-02-10 John Daivid Anglin <dave.anglin@nrc-cnrc.gc.ca>
504 * hppaelf.em (group_size): Change default back to 1.
506 2003-02-09 Alan Modra <amodra@bigpond.net.au>
508 * emultempl/ppc64elf.em: Add "no-tls-optimize" option and support code.
510 2003-02-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
512 * hppaelf.em (group_size): Change default to -1.
514 2003-02-07 Nick Clifton <nickc@redhat.com>
516 * emultempl/armelf.em (PARSE_AND_LIST_SHORTOPTS): Remove 'n' short
518 (PARSE_AND_LIST_LONGOPTS): Add duplicate entry for
519 no-pipeline-knowledge. This will prevent the getopt package from
520 thinking that there are any shorter abbreviations for
521 --no-pipeline-knowledge.
523 2003-02-07 Jakub Jelinek <jakub@redhat.com>
525 * genscripts.sh (LIB_PATH): Don't append LIBPATH_SUFFIX to paths
526 which already have it. Avoid duplicates.
528 2003-02-06 Jakub Jelinek <jakub@redhat.com>
530 * emulparams/elf64_s390.sh (LIBPATH_SUFFIX): Set to 64.
531 * emulparams/elf_x86_64.sh (LIBPATH_SUFFIX): Likewise.
532 * emulparams/elf64_sparc.sh (LIBPATH_SUFFIX): Set instead of suffix.
534 2003-02-05 Alan Modra <amodra@bigpond.net.au>
536 * emultempl/ppc64elf.em (ppc_before_allocation): Size sections then
537 call ppc64_elf_tls_optimize.
539 2003-02-03 Daniel Jacobowitz <drow@mvista.com>
541 * emultempl/elf32.em: Move gld${EMULATION_NAME}_add_sysroot
542 outside of GNU/Linux conditional.
544 2003-01-28 Ralf Habacker <ralf.habacker@freenet.de>
546 * deffilep.y (def_get_module): New function: locate an already
548 * deffile.h (def_get_module): New prototype.
549 * pe-dll.c (pe_implied_import_dll): Add code to prevent importing
550 a dll multiple times.
552 2003-01-23 Alan Modra <amodra@bigpond.net.au>
554 * emultempl/sh64elf.em: Include elf32-sh64.h.
555 (sh64_elf_${EMULATION_NAME}_before_allocation): Adjust for changed
556 sh64_elf_section_data.
557 (sh64_elf_${EMULATION_NAME}_after_allocation): Likewise.
559 2003-01-23 Wu Yongwei <adah@netstd.com>
561 * ld.texinfo: Remove an extra "i" in --dll-search-prefix.
562 * emultempl/pe.em (gld_${EMULATION_NAME}_list_options): Move a
563 cross-80th-column-margin "an" to the next line.
565 2003-01-21 Nick Clifton <nickc@redhat.com>
567 * emulparams/tic3xcoff-onchip.sh: Rename to ...z
568 * emulparams/tic3xcoff_onchip.sh: ...this.
569 * Makefile.am (etic3xcoff_onchip.c): Fix name of generated C file.
570 * Makefile.in: Regenerate.
572 2003-01-21 Fabio Alemagna <falemagn@aros.org>
574 * configure.tgt: Handle i[3456]86-*-aros*
576 2003-01-19 Svein E. Seldal <Svein.Seldal@solidas.com>
578 * Makefile.am: Added etic3xcoff.o and etic4xcoff_onchip.o
579 * Makefile.in: Regenerate
580 * configure.tgt: Added extra target emulations
581 * emulparams/tic3xcoff.sh: Remove old settings
582 * emulparams/tic4xcoff.sh: Ditto
583 * emulparams/tic3xcoff-onchip.sh: Added new
584 * scripttempl/tic4xcoff.sc: Revise and combine both c3x and c4x
585 * scripttempl/tic3xcoff.sc: Remove
587 2003-01-17 Andreas Jaeger <aj@suse.de>
589 * emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Do not
592 2003-01-16 Alan Modra <amodra@bigpond.net.au>
594 * Makefile.in: Regenerate.
596 2002-01-14 Charles Wilson <cwilson@ece.gatech.edu>
598 * ld/ld.texinfo (node WIN32): Some clarifications
599 and formatting fixups.
601 2003-01-09 Chris Demetriou <cgd@broadcom.com>
603 * ldmain.c (get_emulation): Sort -mipsNN checks in the usual
604 order, and handle (ignore) -mips32r2.
606 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
608 * ldmain.c (main): Make sure ld_sysroot is initialized.
610 2003-01-06 Daniel Jacobowitz <drow@mvista.com>
612 * Makefile.am (eelf32iq10.c): Fix tab/whitespace mixup.
614 * Makefile.am (ldmain.o): Add @TARGET_SYSTEM_ROOT_DEFINE@.
615 (GENSCRIPTS): Add @use_sysroot@.
616 * Makefile.in: Regenerated.
617 * configure.host: Move setting of NATIVE_LIB_DIRS to...
618 * configure.tgt: ... here. Use ${target} instead of ${host}
620 * configure.in: Add --with-sysroot.
621 * configure: Regenerated.
622 * genscripts.sh: Accept use_sysroot option. Set new variables
623 NATIVE and USE_LIBPATH. Prepend "=" to directory names if
624 $use_sysroot. Don't search $tool_lib if $use_sysroot.
625 * ldfile.c (ldfile_add_library_path): Handle leading '='.
626 * ldmain.c (TARGET_SYSTEM_ROOT): Define if not defined.
627 (ld_sysroot): New variable.
628 (main): Initialize ld_sysroot.
629 * ldmain.h (ld_sysroot): New extern.
630 * emultempl/elf32.em: Use NATIVE and USE_LIBPATH instead of
631 searching $EMULATION_LIBPATH.
632 (gld${EMULATION_NAME}_add_sysroot): New function.
633 (gld${EMULATION_NAME}_check_ld_so_conf): Use it. Honor ld_sysroot.
634 (gld${EMULATION_NAME}_after_open): Likewise. Only search
635 environment variables if $NATIVE.
636 * ld.texinfo (Options): Mention "=" prefix in the description of -L.
637 * NEWS: Mention --with-sysroot.
639 * emulparams/elf32bmipn32-defs.sh: Set NATIVE and LIBPATH_SUFFIX
640 instead of setting LIB_PATH.
641 * emulparams/elf32ppc.sh: Likewise.
642 * emulparams/elf64_s390.sh: Likewise.
643 * emulparams/elf64_sparc.sh: Likewise.
644 * emulparams/elf64ppc.sh: Likewise.
645 * emulparams/elf_x86_64.sh: Likewise.
647 * emulparams/elf64_aix.sh: Add "=" prefixes to LIB_PATH.
648 * emulparams/elf64hppa.sh: Add "=" prefixes to LIB_PATH.
650 2003-01-03 Charles Wilson <cwilson@ece.gatech.edu>
652 * ld/pe-dll.c (autofilter_symbollist): Add cygwin_crt0.
654 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
656 * Makefile.am (ldmain.o): Pass BINDIR.
657 * Makefile.in: Regenerated.
658 * ldmain.c (set_scripts_dir): Use make_relative_prefix for the first
661 2003-01-02 Ben Elliston <bje@redhat.com>
663 * Makefile.am (ALL_EMULATIONS): Add eelf32iq2000.o.
664 (eelf32iq2000.c): New target.
665 * Makefile.in: Regenerate.
666 * configure.tgt: Handle iq2000-*-elf.
667 * emulparams/elf32iq10.sh: New file.
668 * emulparams/elf32iq2000.sh: New file.
669 * scripttempl/iq2000.sc: New file.
671 2003-01-02 Charles Wilson <cwilson@ece.gatech.edu>
673 * pe-dll.c (autofilter_symbollist): Add do_pseudo_reloc
674 and _pei386_runtime_relocator to the exclude list.
676 2003-01-01 Kazu Hirata <kazu@cs.umass.edu>
678 * ldfile.c: Fix comment typos.
679 * ldlang.c: Likewise.
681 * pe-dll.c: Likewise.
683 2003-01-01 Daniel Jacobowitz <drow@mvista.com>
685 Suggested by Manfred Hollstein <manfred.h@gmx.net>:
686 * Makefile.am (ld.1): Depend on configdoc.texi
688 * Makefile.in: Regenerated.
690 2002-12-24 Dmitry Diky <diwil@mail.ru>
692 * Makefile.am: Add msp430 target.
693 * configure.tgt: Likewise.
694 * Makefile.in: Regenerate.
695 * emulparams/msp430x???.sh: New files. Linker script parameters
696 for various msp430 configurations.
697 * gen-doc.texi: Enable msp430 documenation.
698 * ld.texinfo: Document msp430 sections.
699 * scripttempl/elf32msp430.sc: New file. Linker script for msp430.
700 * scripttempl/elf32msp430_3.sc: New file. Linker script for msp430.
702 2002-12-30 Ralf Habacker <Ralf.Habacker@freenet.de>
703 Charles Wilson <cwilson@ece.gatech.edu>
705 * ld/config.in (HAVE_REALPATH): New entry.
706 (HAVE_SYS_STAT_H, HAVE_SYS_TYPES_H): Removed: obsolete.
708 2002-12-30 Ralf Habacker <ralf.habacker@freenet.de>
710 * ld.texinfo: New win32 topics: 'symbol aliasing' and 'export dll
713 2002-12-23 Alan Modra <amodra@bigpond.net.au>
715 * ldmain.c (main): Init "strip_discarded".
716 * lexsup.c (OPTION_STRIP_DISCARDED): Define.
717 (OPTION_NO_STRIP_DISCARDED): Define.
718 (ld_options): Add "strip-discarded" and "no-strip-discarded".
719 (parse_args): Handle them.
721 2002-12-23 Nick Clifton <nickc@redhat.com>
723 * ld.h (struct args_type): Add new field
724 'accept_unknown_input_architecture'.
725 * ldmain.c (main): Initialise 'accept_unknown_input_architecture'
727 * ldlang.c (lang_check): Pass accept_unknown_input_architecture to
728 bfd_arch_get_compatible.
729 * ldfile.c (ldfile_try_open_bfd): Likewise.
730 * lexsup.c (ld_options): Add new command line switch
731 --accept-unknown-input-architecture and its inverse.
732 (parse_args): Handle --accept-unknown-input-architecture.
733 * ld.texinfo: Document new linker option.
734 * NEWS: Mention new linker option.
736 2002-12-20 Alan Modra <amodra@bigpond.net.au>
738 * ldmain.c (main): Re-order link_info initialization. Init all
741 2002-12-19 Charles Wilson <cwilson@ece.gatech.edu>
743 * ld.texinfo: Clarify and extend the documentation
744 in the Machine Dependent, WIN32 section.
746 2002-12-18 Ralf Habacker <ralf.habacker@freenet.de>
748 * ld.texinfo: Add win32 machine depending section.
749 * gen-doc.texi: Enable win32 machine depending section.
751 * configure.host: Add win32 library search path.
753 2002-12-17 Ralf Habacker <ralf.habacker@freenet.de>
755 * ld/emultempl/pe.em (pe_find_data_imports): Don't search for data
756 import when auto-import is disabled.
758 2002-12-17 Danny Smith <dannysmith@users.sourceforge.net>
760 * emultempl/pe.em (..._recognized_file): Use LD_PATHMAX+1 to
761 account for trailing '\0'.
763 2002-12-17 Nick Clifton <nickc@redhat.com>
765 * emultempl/pe.em (longopts): Duplicate entry for --compact-implib
766 so that it is not confused with -c.
768 2002-12-13 Ralf Habacker <Ralf.Habacker@freenet.de>
769 Charles Wilson <cwilson@ece.gatech.edu>
771 * configure.in: Add check for realpath function.
772 * configure: Regenerate.
773 * config.in: Regenerate.
774 * aclocal.m4: Regenerate.
775 * deffile.h: Add .data field to def_file_import
777 * pe-dll.c (pe_proces_import_defs): Use .data field of
778 def_file_import structure to initialize flag_data field of
779 def_file_export structure.
780 (pe_implied_import_dll): New variables exp_funcbase and
781 [data|bss]_[start|end]. Use DLL's internal name to set dll_name,
782 not filename (which may be a symlink). Scan the sections and
783 initialize [data|bss]_[start|end]. When scanning the export
784 table, skip _nm_ symbols, and mark any symbols whose rva indicates
785 that it is in the .bss or .data sections as data.
786 * sysdep.h: Include limits.h and sys/param.h, and define
787 LD_PATHMAX as appropriate. Also define REALPATH as realpath if it
788 exists, NULL otherwise.
789 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Call
790 pe_process_import_defs before pe_find_data_imports, so that
791 auto-import will check the virtual implib as well as "real"
793 (gld_${EMULATION_NAME}_recognized_file): Use REALPATH to follow
794 symlinks to their target; check that the target's extension is
795 .dll before calling pe_implied_import_dll(), not the filename
796 itself (which may be a symlink).
798 2002-12-10 Alan Modra <amodra@bigpond.net.au>
800 * emultempl/elf32.em (struct orphan_save): Add os_tail field.
801 (gld${EMULATION_NAME}_place_orphan): Re-order output_section_statement
804 2002-12-08 Alan Modra <amodra@bigpond.net.au>
806 * ldlang.h: Formatting.
808 2002-12-07 Alan Modra <amodra@bigpond.net.au>
810 * ldlang.c (init_os): Ensure sections mentioned in load_base
813 2002-12-05 Alan Modra <amodra@bigpond.net.au>
815 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Set
816 load_base for orphans that follow a section with load_base set.
818 2002-12-01 H.J. Lu <hjl@gnu.org>
820 * ld.texinfo: Remove the extra `;' in sample version script.
822 2002-11-30 Alan Modra <amodra@bigpond.net.au>
824 * configure.host: Correct dynamic-linker for powerpc64 hosts.
826 * Makefile.am (eelf32ppcwindiss.c): Correct dependencies.
827 * Makefile.in: Regenerate.
829 * ld.h, ldcref.c, ldctor.c, ldctor.h, ldemul.c, ldemul.h, ldexp.c,
830 ldexp.h, ldfile.c, ldfile.h, ldgram.y, ldlang.c, ldlang.h, ldmain.c,
831 ldmain.h, ldmisc.c, ldwrite.c, lexsup.c, mri.c, pe-dll.c, pe-dll.h,
832 emulparams/elf32b4300.sh, emultempl/aix.em, emultempl/armcoff.em,
833 emultempl/armelf.em, emultempl/armelf_oabi.em, emultempl/beos.em,
834 emultempl/elf32.em, emultempl/generic.em, emultempl/gld960.em,
835 emultempl/gld960c.em, emultempl/hppaelf.em, emultempl/linux.em,
836 emultempl/lnk960.em, emultempl/m68kcoff.em, emultempl/mipsecoff.em,
837 emultempl/mmix-elfnmmo.em, emultempl/mmixelf.em, emultempl/mmo.em,
838 emultempl/needrelax.em, emultempl/pe.em, emultempl/ppc64elf.em,
839 emultempl/sh64elf.em, emultempl/sunos.em, emultempl/ticoff.em: Replace
840 boolean with bfd_boolean, true with TRUE, false with FALSE. Simplify
841 comparisons of bfd_boolean vars with TRUE/FALSE. Formatting.
843 2002-11-27 David O'Brien <obrien@FreeBSD.org>
845 * configure.host: Fix generic FreeBSD configuration entry.
847 2002-11-27 H.J. Lu <hjl@gnu.org>
849 * ld.texinfo: Add the missing `;' to sample version scripts.
851 2002-11-20 Alan Modra <amodra@bigpond.net.au>
853 * emulparams/elf64ppc.sh (SEGMENT_SIZE): Don't define.
855 2002-11-14 Egor Duda <deo@logos-m.ru>
857 * ldmain.c (main): Make runtime relocs disabled by default. Remove
858 assignment which has no effect.
859 * pe-dll.h (pe_create_import_fixup): Change prototype.
860 * pe-dll.c (make_runtime_pseudo_reloc): New function.
861 (pe_create_runtime_relocator_reference): Ditto.
862 (pe_create_import_fixup): Handle relocations with non-zero addends.
863 * emultempl/pe.em: Add options --enable-runtime-pseudo-reloc and
864 --disable-runtime-pseudo-reloc.
865 (make_import_fixup): Handle relocations with non-zero addends. Create
866 an external reference to _pei386_runtime_relocator symbol if at least
867 one pseudo reloc was created.
868 * ld.texinfo: Document --enable-runtime-pseudo-reloc and
869 --disable-runtime-pseudo-reloc options.
871 2002-11-12 Earl Chew <earl_chew@agilent.com>
873 * ldlang.c (lang_add_section): Discard debugging sections that have
874 been marked SEC_EXCLUDE.
876 2002-11-12 Nick Clifton <nickc@redhat.com>
878 * configure.in (ALL_LINGUAS): Add da.
879 * configure: Regenerate.
880 * po/da.po: New Danish translation.
882 2002-11-12 Alan Modra <amodra@bigpond.net.au>
884 * emultempl/ppc64elf.em (ppc_before_allocation): New function.
885 (LDEMUL_BEFORE_ALLOCATION): Define.
886 (gld${EMULATION_NAME}_finish): Run discard_info for relocatable
888 * emultemp/hppaelf.em ((gld${EMULATION_NAME}_finish): Likewise.
890 2002-11-11 Christopher Faylor <cgf@redhat.com>
892 * configure.tgt (LIB_PATH): Default to searching w32api directory under
895 2002-11-11 Charles Wilson <cwilson@ece.gatech.edu>
897 * pe-dll.c (autofilter_liblist): add libmingwex and libgcj to the list
898 of restricted auto-export libs.
900 2002-11-11 Charles Wilson <cwilson@ece.gatech.edu>
902 * pe-dll.c (autofilter_liblist): Generalize library names to catch more
903 creative library naming instances like, e.g., libstdc++-2.a.
905 2002-11-06 Alexandre Oliva <aoliva@redhat.com>
907 * emulparams/elf32btsmipn32.sh (TEXT_DYNAMIC): Define.
908 * emulparams/elf64btsmip.sh (TEXT_DYNAMIC): Likewise.
910 2002-11-07 Danny Smith <dannysmith@users.sourceforge.net>
912 * deffilep.y (def_lex): Handle '@' as first character of an ID.
913 * pe-dll.c (auto-export): Filter on "_imp_" prefix, not "_imp__".
914 (make_one): Don't prefix decorated fastcall symbols with '_'.
915 (pe_process_import_defs): Likewise.
916 * emultempl/pe.em (pe_fixup_stdcalls): Don't fixup fastcall
917 symbols to cdecl names or vise-versa.
919 2002-10-13 Eric Kohl <ekohl@rz-online.de>
921 * pe-dll.c (process_def_file): Handle fastcall symbols when
922 generating undecorated aliases. Don't prefix decorated fastcall
924 (fill_exported_offsets): Don't prefix decorated fastcall symbols
927 2002-10-29 Daniel Jacobowitz <drow@mvista.com>
929 * emultempl/aix.em: Use include <> for generated headers.
930 * emultempl/beos.em: Likewise.
931 * emultempl/elf32.em: Likewise.
932 * emultempl/pe.em: Likewise.
933 * ldctor.c: Likewise.
935 * ldfile.c: Likewise.
936 * ldlang.c: Likewise.
939 * ldmain.c: Likewise.
940 * ldmisc.c: Likewise.
941 * ldwrite.c: Likewise.
942 * lexsup.c: Likewise.
944 * pe-dll.c: Likewise.
946 2002-10-23 Jakub Jelinek <jakub@redhat.com>
948 * emultempl/elf32.em (place_orphan): Don't put non-allocated .rel*
949 sections into .rel{,a}.dyn.
951 2002-10-23 Nick Clifton <nickc@redhat.com>
953 * lexsup.c (OPTION_NO_OMAGIC): Define.
954 (ld_options): Add "no-omagic" option.
955 (parse_args): Parse --no-omagic.
956 * ld.texinfo: Document --no-omagic.
957 * NEWS: Mention new option.
959 2002-10-21 Danny Smith <dannysmith@users.sourceforeg.net>
961 * scripttempl/pe.sc (__RUNTIME_PSEUDO_RELOC_LIST__,
962 __RUNTIME_PSEUDO_RELOC_LIST_END__): Add only when relocating.
964 2002-10-22 Alexandre Oliva <aoliva@redhat.com>
966 * emulparams/elf32bmipn32-defs.sh: Set ELFSIZE according to
967 emulation name. Set LIB_PATH only for native tools, and
968 search the ABI-specific versions of NATIVE_LIB_DIRS before the
969 .../lib variants, not instead of them. Mostly copied from...
970 * emulparams/elf32ppc.sh: ... here. Fixed typo.
971 * emulparams/elf64bmip-defs.sh: Backed out.
972 * emulparams/elf64bmip.sh: Import elf32bmipn32-defs.sh again.
973 * emulparams/elf64btsmip.sh: Likewise.
974 (DATA_ADDR, NONPAGED_TEXT_START_ADDR, SHLIB_TEXT_START_ADDR,
975 TEXT_DYNAMIC): Removed.
977 2002-10-17 Alexandre Oliva <aoliva@redhat.com>
979 * emulparams/elf32bmipn32-defs.sh (LIB_PATH): Set to /usr/lib32.
980 (GENERATE_SHLIB_SCRIPT): Set to yes.
981 (EXECUTABLE_SYMBOLS, WRITABLE_RODATA): Moved to...
982 * emulparams/elf32bmipn32.sh: here.
983 (GENERATE_SHLIB_SCRIPT): Deleted as redundant.
984 * emulparams/elf32btsmipn32.sh: Delete redundant unsets.
985 * emulparams/elf64bmip-defs.sh: New file. Extend
986 elf32bmipn32-defs.sh by overiding ELFSIZE and LIB_PATH.
987 * emulparams/elf64bmip.sh: Bring in definitions from
989 (ELFSIZE, GENERATE_SHLIB_SCRIPT, LIB_PATH): Delete redundant
991 (WRITABLE_RODATA): Moved from elf32bmipn32-defs.sh.
992 * emulparams/elf64btsmip.sh: Bring in definitions from
994 (ELFSIZE, GENERATE_SHLIB_SCRIPT): Delete, redundant.
995 (EXECUTABLE_SYMBOLS, WRITABLE_RODATA): Delete redundant unsets.
997 2002-10-16 Jakub Jelinek <jakub@redhat.com>
999 * configure.tgt (s390x-*-linux*): Add elf_s390 emulation.
1000 (s390-*-linux*): Add elf64_s390 emulation if want64.
1001 * emulparams/elf64_sparc.sh (LIB_PATH): Update to match 2002-05-22
1002 genscript.sh changes.
1003 * emulparams/elf_x86_64.sh (LIB_PATH): Likewise.
1004 * emulparams/elf64_s390.sh (LIB_PATH): Set up native 64 bit dirs.
1006 2002-10-15 Alan Modra <amodra@bigpond.net.au>
1008 * ldlang.c (load_symbols): Revert last change.
1010 2002-10-14 Alan Modra <amodra@bigpond.net.au>
1012 * ldlang.c (load_symbols): Don't call bfd_link_add_symbols when
1014 (lang_reasonable_defaults): Don't compare against false.
1015 (size_input_section): Likewise.
1016 (lang_size_sections_1): Likewise.
1017 (lang_do_assignments): Likewise.
1018 (lang_add_output): Likewise.
1020 * Makefile.am: Run "make dep-am".
1021 * Makefile.in: Regenerate.
1022 * ldver.c: #include "bfdver.h".
1024 2002-10-13 Stephane Carrez <stcarrez@nerim.fr>
1026 * scripttempl/elfm68hc11.sc: Use KEEP for .vectors, .installN,
1028 * scripttempl/elfm68hc12.sc: Likewise.
1030 2002-10-11 Alan Modra <amodra@bigpond.net.au>
1032 * pe-dll.c (make_import_fixup_mark): Avoid type-punned pointer.
1034 * ldgram.y (memory_spec): Provide empty action.
1035 (section <NAME>): Likewise.
1037 2002-10-10 Jakub Jelinek <jakub@redhat.com>
1039 * ldfile.c (ldfile_try_open_bfd): When searching skip linker scripts if
1040 they have OUTPUT_FORMAT not matching actual output format.
1041 * ldlang.c (lang_get_output_target): New function.
1042 (open_output): Use it.
1043 * ldlang.h (lang_get_output_target): New prototype.
1045 2002-10-10 Alan Modra <amodra@bigpond.net.au>
1047 * emultempl/elf32.em (output_rel_find): Prefer .rel script sections
1048 when orphan is .rel, .rela when orphan is .rela.
1049 (gld${EMULATION_NAME}_place_orphan): Handle combreloc .rel* case
1050 first. Remove outsecname var.
1052 2002-10-09 Richard Shann <richard.shann@superh.com>
1053 Stephen Clarke <stephen.clarke@superh.com>
1055 * Makefile.am: Add eshelf32_linux.o and
1056 eshlelf32_linux.o, new emulations for sh64 Linux.
1057 * Makefile.in: Regenerate.
1058 * configure.tgt: Add sh64eb-*-linux* and sh64-*-linux* emulations.
1059 * emulparams/shelf32_linux.sh: New file.
1060 * emulparams/shlelf32_linux.sh: New file.
1062 2002-10-08 H.J. Lu <hjl@gnu.org>
1064 * ldlang.c (lang_file_exist): Removed.
1065 (new_afile): Revert the last change.
1066 * ldlang.h (lang_file_exist): Removed.
1067 * lexsup.c (parse_args): Revert the last change.
1069 2002-10-07 Ralf Habacker <Ralf.Habacker@freenet.de>
1071 * pe-dll.cc (autofilter_symbolprefixlist): Don't re-export
1072 auto-import symbols.
1073 (make_one): Create _nm_<symbol> for data only.
1075 2002-10-05 Elias Athanasopoulos <eathan@otenet.gr>
1077 * ldlang.c (lang_file_exist): New function.
1078 (new_afile): Abort if the filename to be added matches the linker
1080 * ldlang.h: Add prototype for lang_file_exist.
1081 * lexsup.c (parse_args): Abort if the output filename matches
1082 one of the input filenames.
1084 2002-10-02 Alan Modra <amodra@bigpond.net.au>
1086 * emulparams/elf64ppc.sh (MAXPAGESIZE): Set to 0x10000.
1088 2002-09-30 Alan Modra <amodra@bigpond.net.au>
1090 * scripttempl/elfd30v.sc: Order reloc sections placing .plt last.
1091 * scripttempl/elfm68hc11.sc: Likewise.
1092 * scripttempl/elfm68hc12.sc: Likewise.
1094 * emultempl/elf32.em (output_rel_find): Always place orphan loadable
1095 reloc sections just before .rel.plt/.rela.plt.
1096 (gld${EMULATION_NAME}_place_orphan <.rel>): Remove combreloc code.
1097 Only put loadable reloc sections in hold_rel.
1099 2002-09-29 H.J. Lu <hjl@gnu.org>
1101 * emulparams/elf32ppc.sh (OTHER_GOT_RELOC_SECTIONS): New.
1103 2002-09-25 Daniel Jacobowitz <drow@mvista.com>
1105 From "Anita Kulkarni" <AnitaK@kpit.com>
1106 * scripttempl/sh.sc: Handle .eh_frame* and .gcc_exc*
1109 2002-09-25 Alan Modra <amodra@bigpond.net.au>
1111 * genscripts.sh (SEGMENT_SIZE): Use MAXPAGESIZE before
1113 * scripttempl/elf.sc (DATA_SEGMENT_ALIGN): Incorporate
1114 SEGMENT_SIZE alignment.
1115 * emulparams/elf64ppc.sh (DATA_ADDR): Delete.
1116 (SEGMENT_SIZE): Define.
1118 * ldexp.c (fold_unary): New. Split out from exp_fold_tree.
1119 (fold_binary): Correct abs - non-abs case.
1120 (fold_trinary): New. Split out from exp_fold_tree.
1122 2002-09-24 Alan Modra <amodra@bigpond.net.au>
1124 * emulparams/elf64ppc.sh (DATA_ADDR): Define.
1125 * emulparams/elf64_aix.sh (DATA_ADDR): Don't use a fixed address
1126 for start of .data, instead align up to 256M boundary.
1127 * scripttempl/aix.sc: Likewise.
1129 2002-09-22 Mark Elbrecht <snowball3@softhome.net>
1131 * scripttempl/i386go32.sc: Handle bss unique sections.
1133 2002-09-21 Alan Modra <amodra@bigpond.net.au>
1135 * ldmisc.c (vfinfo <%C,%D,%G>): Always output bfd, section and offset.
1137 2002-09-17 Stan Cox <scox@redhat.com>
1139 * emulparams/elf32bmipn32-defs.sh: New file.
1140 * emulparams/elf32bmipn32.sh: Use elf32bmipn32-defs.sh.
1141 * emulparams/elf32btsmipn32.sh: Likewise.
1142 * emulparams/elf64bmip.sh: Likewise.
1143 * emulparams/elf64btsmip.sh: Likewise.
1145 2002-09-16 Bruno Haible <bruno@clisp.org>
1147 * emulparams/elf_i386_fbsd.sh: Set OUTPUT_FORMAT to
1149 * emulparams/elf64alpha_fbsd.sh: Set OUTPUT_FORMAT to
1150 elf64-alpha-freebsd.
1152 2002-09-11 Nick Clifton <nickc@redhat.com>
1154 * NEWS: New TI port supports both C4x and C3x series of DSPs.
1156 * po/tr.po: Updated Turkish translation.
1158 2002-09-06 Jeffrey A Law (law@redhat.com)
1160 * configure.tgt (h8300-*-hms*, h8500-*-hms*): Restore.
1162 2002-09-02 Nick Clifton <nickc@redhat.com>
1164 * scripttempl/v850.sc: Add EXTERN references to __ctbpm __gp and
1166 * emulparams/v850.sh (TEMPLATE_NAME): Define.
1168 2002-08-30 Nick Clifton <nickc@redhat.com>
1170 * scripttempl/elfd10v.sc (MEMORY): Remove UNIFIED, it is not
1171 used. Change INSN to start at 0x01000000 and extend for
1172 256K (ignoring holes). Start the STACK on a word aligned
1174 (.rodata): Start it at the READONLY_START_ADDR.
1176 2002-08-30 Alan Modra <amodra@bigpond.net.au>
1178 * emulparams/elf32ppc.sh (ARCH): Set to "powerpc:common".
1180 2002-08-28 Svein E. Seldal <Svein.Seldal@solidas.com>
1182 * Makefile.am: Add etic4xcoff.o in ALL_EMULATIONS list and
1183 added makefile targets for this file.
1184 * Makefile.in: Regenerate.
1185 * configure.tgt: Added tic4x-coff and c4x-coff emulations.
1186 * NEWS: Mention new port.
1188 2002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1190 * emulparams/tic3xcoff.sh: New file.
1191 * emulparams/tic4xcoff.sh: New file.
1192 * scripttempl/tic3xcoff.sc: New file.
1193 * scripttempl/tic4xcoff.sc: New file.
1195 2002-08-28 Alan Modra <amodra@bigpond.net.au>
1197 * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Replace strtoll,
1198 strtoul and strtoull with bfd_scan_vma.
1199 (gld${EMULATION_NAME}_read_file): Likewise.
1201 2002-08-28 Alan Modra <amodra@bigpond.net.au>
1203 * configure.tgt: Remove h8[35]00-*-hms*. Add h8500-*-rtems*.
1205 2002-08-27 Egor Duda <deo@logos-m.ru>
1207 * scripttempl/pe.sc: Handle .rdata_runtime_pseudo_reloc sections.
1208 Add symbols for application to access them.
1210 2002-08-27 Nick Clifton <nickc@redhat.com>
1212 * emultempl/armelf.em: Revert this patch, it is not needed.
1214 2002-08-22 Adam Nemet <anemet@lnxw.com>
1216 2002-08-20 Dan Kegel <dank@kegel.com>
1218 * configure.in: added --with-lib-path argument to ld's configure
1220 * ld/NEWS: Document new switch.
1221 * ld/README: Mention new switch.
1222 * configure: Regenerate.
1223 * Makefile.in: Regenerate.
1225 Based on this patch:
1226 2001-04-25 Christopher Faylor <cgf@cygnus.com>
1228 * Makefile.in (LIB_PATH): Make configurable.
1229 (GENSCRIPTS): Set LIB_PATH in environment.
1230 * configure.in: Substitute LIB_PATH.
1232 2002-08-22 Adam Nemet <anemet@lnxw.com>
1234 * emultempl/armelf.em: Include elf-bfd.h and elf/arm.h.
1235 (arm_elf_finish): Set the last bit of DT_INIT and DT_FINI
1236 depending on the type of the function.
1237 (arm_elf_convert_thumb_symbol_to_address): New function.
1239 2002-08-22 Graeme Peterson <gp@qnx.com>
1241 * Makefile.am: Add esh{l}elf_nto.o files.
1242 * Makefile.in: Regenerate.
1243 * configure.tgt: Add support for sh-**-nto* targets.
1244 * emulparams/shelf_nto.sh: New file.
1245 * emulparams/shlelf_nto.sh: New file.
1247 2002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
1249 * ldlang.c (offsetof): Define if not defined.
1251 2002-08-14 H.J. Lu <hjl@gnu.org>
1253 * configure.tgt: Always enable 64bit emulations for 32bit
1256 2002-08-13 Alan Modra <amodra@bigpond.net.au>
1258 * emulparams/elf32_dlx.sh (TARGET_PAGE_SIZE): Set to 1.
1259 (MAXPAGESIZE): Set to 1.
1261 * ld.h (ALIGN_N): Delete.
1262 * ldexp.h (align_n): Declare.
1263 * ldexp.c (align_n): New function.
1264 (fold_binary): Use align_n instead of ALIGN_N.
1265 (exp_fold_tree): Likewise.
1266 * ldlang.c (lang_size_sections_1): Likewise.
1267 (lang_one_common): Likewise.
1268 * ld.texinfo (ALIGN): Remove power of 2 restriction.
1270 2002-07-31 Graeme Peterson <gp@qnx.com>
1272 * configure.tgt: Add support for powerpc{le}-*-nto* targets.
1273 * Makefile.am: Add eelf32{l}ppcnto.o files.
1274 * Makefile.in: Regenerate.
1275 * emulparams/elf32lppcnto.sh: New file.
1276 * emulparams/elf32ppcnto.sh: New file.
1278 2002-08-07 H.J. Lu <hjl@gnu.org>
1280 * ld.texinfo: Document --no-undefined-version.
1282 * ldlang.c (lang_new_vers_pattern): Set the `symver' and
1283 `script.' fields to 0.
1285 * ldmain.c (main): Initialize the allow_undefined_version to
1288 * lexsup.c (OPTION_NO_UNDEFINED_VERSION): New.
1289 (ld_options): Add --no-undefined-version.
1290 (parse_args): Support OPTION_NO_UNDEFINED_VERSION.
1292 2002-08-07 Nick Clifton <nickc@redhat.com>
1294 * emultempl/armelf.em (arm_elf_before_allocation): Only search for
1295 an interworking bfd if there are input bfds. (107501)
1297 2002-08-06 Alan Modra <amodra@bigpond.net.au>
1299 * emultempl/aix.em (gld*_before_parse): Set default arch. Reverts
1302 2002-08-01 Nick Clifton <nickc@redhat.com>
1304 * emulparams/armelf.sh: Revert previous delta.
1305 * scripttempl/elf.sc: Revert previous delta.
1307 2002-07-31 H.J. Lu <hjl@gnu.org>
1309 * configure.tgt (powerpc*-*-linux*): Enable elf64ppc for
1310 --enable-64-bit-bfd.
1312 2002-07-31 H.J. Lu <hjl@gnu.org>
1314 * configure.tgt: Enable x86-64 emulation for Linux/i386 if
1315 64bit BFD is selected.
1317 2002-07-31 H.J. Lu <hjl@gnu.org>
1319 * configure.tgt: Enable 64bit emulations for 32bit Linux/mips
1320 if 64bit BFD is selected.
1322 2002-07-31 Ian Dall <ian@sibyl.beware.dropbear.id.au>
1324 * emultempl/netbsd.em (LDEMUL_BEFORE_PARSE): New file to custom set
1325 link_info.common_skip_ar_aymbols.
1326 * emulparams/ns32knbsd.sh (EXTRA_EM_FILE): Refer to extra file.
1328 * ldmain.c (main): Initialize new field
1329 link_info.common_skip_ar_aymbols.
1331 2002-07-31 Adam Nemet <anemet@lnxw.com>
1333 * emulparams/armelf.sh (OTHER_PLT_SECTIONS): New variable. Set it
1335 * scripttempl/elf.sc: Comment it. Use the same way as ${PLT} is
1338 2002-07-31 Nick Clifton <nickc@redhat.com>
1340 * NEWS: Retroactively add entry for Lars Brinkhoff's contribution
1341 of the PDP-11 and 2.11BSD a.out support.
1343 2002-07-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1345 * Makefile.am (eelf32btsmipn32.o, eelf32ltsmipn32.o): New emulations
1346 for n32 ABI support.
1347 * Makefile.in: Regenerate.
1348 * configure.tgt (mips64*el-*-linux-gnu*,mips64*-*-linux-gnu*): Add
1349 n32 ABI emulations for these 64 bit targets.
1350 * emulparams/elf32bmipn32.sh: Expand comment.
1351 * emulparams/elf32btsmipn32.sh: New file, for traditional big endian
1353 * emulparams/elf32ltsmipn32.sh: Likewise for little endian.
1355 2002-07-30 Graeme Peterson <gp@qnx.com>
1357 * configure.tgt: Add support for arm-*-nto target.
1358 * Makefile.am: Add earmnto.o file.
1359 * Makefile.in: Regenerate.
1360 * NEWS: Mention port of ARM support to QNX.
1361 * emulparams/armnto.sh: New file.
1363 2002-07-30 Jakub Jelinek <jakub@redhat.com>
1365 * ldlang.c (lang_add_section): Don't turn .tbss into normal sections
1366 for relocatable link.
1367 (lang_size_sections_1): Don't make .tbss zero size for relocatable
1370 2002-07-26 Bernd Schmidt <bernds@redhat.com>
1372 * emulparams/elf32frv.sh (OTHER_RELOCATING_SECTIONS): Delete.
1375 2002-07-25 Nick Clifton <nickc@redhat.com>
1377 * po/sv.po: Updated Swedish translation.
1378 * po/es.po: Updated Spanish translation.
1379 * po/fr.po: Updated French translation.
1381 2002-07-24 Nick Clifton <nickc@redhat.com>
1383 * po/sv.po: Updated Swedish translation.
1384 * po/es.po: Updated Spanish translation.
1386 2002-07-23 Nick Clifton <nickc@redhat.com>
1388 * po/fr.po: Updated French translation.
1390 2002-07-20 Alan Modra <amodra@bigpond.net.au>
1392 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
1393 bomb on /DISCARD/ input section.
1394 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1395 * emultempl/mmo.em (mmo_place_orphan): Likewise.
1397 2002-07-19 Hans-Peter Nilsson <hp@bitrange.com>
1399 * emultempl/mmo.em (mmo_place_orphan): Handle case of no .text
1402 2002-07-16 Denis Chertykov <denisc@overta.ru>
1403 Nick Clifton <nickc@redhat.com>
1404 Frank Ch. Eigler <fche@redhat.com>
1405 John Healy <jhealy@redhat.com>
1407 * configure.tgt: Add support for ip2k-elf.
1408 * Makefile.am: Add support for ip2k-elf.
1409 * Makefile.in: Regenerate.
1410 * emulparams/elf32ip2k.sh: New file.
1411 * scripttempl/ip2k.sc: New file
1412 * NEWS: Mention support for new port.
1414 2002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
1416 * NEWS: Add 'Changes in 2.13'.
1418 2002-07-14 H.J. Lu <hjl@gnu.org>
1420 * ld.texinfo: Document a .symver takes precedence over a
1423 2002-07-12 Alan Modra <amodra@bigpond.net.au>
1425 * emulparams/elf64ppc.sh (ARCH): Set to powerpc:common64.
1426 (COMMONPAGESIZE): Define.
1428 2002-07-09 Alan Modra <amodra@bigpond.net.au>
1430 * emulparams/hppanbsd.sh: Remark that hppaobsd.sh references this file.
1432 2002-07-09 Federico G. Schwindt <fgsch@olimpo.com.br>
1434 * configure.tgt: Add support for alpha-*-openbsd*, hppa-*-openbsd*,
1435 powerpc-*-openbsd* and sparc64-*-openbsd*.
1436 * Makefile.am (ALL_EMULATIONS): Add ehppaobsd.o.
1437 * Makefile.in: Regenerate.
1438 * emulparams/hppaobsd.sh: New file.
1440 2002-07-05 Alan Modra <amodra@bigpond.net.au>
1442 * ldlang.c (print_wild_statement): Fix output formatting.
1444 2002-07-04 Alan Modra <amodra@bigpond.net.au>
1446 * ldlang.c: (strip_excluded_output_sections): New function.
1447 (lang_process): Call it.
1448 (lang_size_sections_1): Revert 2002-06-10 change.
1450 2002-07-03 Alan Modra <amodra@bigpond.net.au>
1452 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
1454 * Makefile.in: Regenerate.
1456 2002-07-02 Alan Modra <amodra@bigpond.net.au>
1458 * ldfile.c (ldfile_try_open_bfd): Formatting.
1460 * ldmisc.c (demangle): Move so that it doesn't intrude between
1461 vfinfo comment and body. Add comment.
1463 2002-07-01 John David Anglin <dave@hiauly1.hia.nrc.ca>
1465 * emulparams/vax.sh (OUTPUT_FORMAT): Use a.out-vax-bsd format.
1467 2002-07-01 Alan Modra <amodra@bigpond.net.au>
1469 * ldlang.h (entry_sym): Make it a struct bfd_sym_chain.
1470 * ldlang.c (entry_sym): Likewise.
1471 (ldlang_undef_chain_list_type): Likewise.
1472 (lang_finish): Adjust references to entry_symbol.
1473 (lang_add_entry): Likewise.
1474 (lang_gc_sections): Use link_info.gc_sym_list.
1475 (lang_process): Set link_info.gc_sym_list.
1476 * ldlex.l: Include bfdlink.h.
1477 * ldmain.c (main): Init link_info.gc_sym_list.
1478 * emultempl/aix.em: Adjust references to entry_symbol.
1479 * emultempl/armcoff.em: Likewise.
1480 * emultempl/armelf.em: Likewise.
1481 * emultempl/pe.em: Likewise.
1482 * emultempl/ppc64elf.em (ppc_after_open): New function.
1483 (LDEMUL_AFTER_OPEN): Define.
1484 * emulparams/elf64ppc.sh: KEEP .opd sections.
1486 2002-06-29 Stephane Carrez <stcarrez@nerim.fr>
1488 * emulparams/m68hc12elfb.sh (EEPROM_MEMORY): Define.
1489 * emulparams/m68hc11elfb.sh (EEPROM_MEMORY): Define.
1490 * emulparams/m68hc11elf.sh (EEPROM_SIZE): Define.
1491 (EEPROM_START_ADDR): Define.
1492 (EEPROM_MEMORY): Define.
1493 * emulparams/m68hc12elf.sh: Likewise.
1494 * scripttempl/elfm68hc11.sc: Handle .eeprom section; handle .softregs
1495 section to put soft registers in .page0.
1496 * scripttempl/elfm68hc12.sc: Likewise but put soft registers in bss.
1498 2002-06-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
1500 * emulparams/hppa64linux.sh (OTHER_GOT_RELOC_SECTIONS): Add rela.opd
1501 section. Add ${RELOCATING-0}.
1503 2002-06-26 J"orn Rennecke <joern.rennecke@superh.com>
1505 * emulparams/shelf.sh (STACK_ADDR): Don't define.
1506 (OTHER_SECTIONS): Define.
1507 * emulparams/shelf_nbsd.sh ((STACK_ADDR): Don't undef.
1508 (OTHER_SECTIONS): Undef.
1510 2002-06-26 Alan Modra <amodra@bigpond.net.au>
1512 * ldmisc.c (demangle): Restore dots stripped from sym name.
1514 2002-06-25 H.J. Lu <hjl@gnu.org>
1516 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
1517 * Makefile.in: Regenerated.
1519 2002-06-20 Nick Clifton <nickc@cambridge.redhat.com>
1521 * ld.texinfo (Bug Reporting): Update text to suggest a limit on
1522 the size of attached object files, to allow make the object files
1523 available via FTP or HTTP and to mention that the mail will be
1524 sent to a mailing list.
1526 2002-06-20 Nathanael Nerode <neroden@twcny.rr.com>
1528 * ld/configure.host (romp): Drop support.
1530 2002-06-18 Chris Demetriou <cgd@broadcom.com>
1532 * emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Check
1533 section flags for SEC_DATA, rather than for SEC_CODE being unset.
1535 2002-06-18 Chris Demetriou <cgd@broadcom.com>
1537 * emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Fix
1538 format specifier used to print BFD name.
1540 2002-06-18 Dave Brolley <brolley@redhat.com>
1542 From Catherine Moore, Michael Meissner, Jim Blandy:
1543 * emulparams/elf32frv.sh: New file.
1544 * configure.tgt: Support frv-*-*.
1545 * Makefile.am (ALL_EMULATIONS): Add eelf32frv.o.
1546 (eelf32frv.c): New target.
1548 2002-06-17 Tom Rix <trix@redhat.com>
1550 * emultempl/elf32.em: gld*_get_script: Check for
1551 GENERATE_COMBRELOC_SCRIPT.
1552 * scripttempl/elfd10v.sc : Fix STACK and INSN.
1553 * emulparams/d10velf.sh : Fix TEXT_START_ADDR.
1555 2002-06-13 J"orn Rennecke <joern.rennecke@superh.com>
1557 * configure.tgt: Add support for sh[1234]*le*-*-elf, sh[1234]*-*-elf.
1559 2002-06-12 H.J. Lu <hjl@gnu.org>
1561 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Return
1562 false if xvec doesn't match.
1564 2002-06-10 Richard Sandiford <rsandifo@redhat.com>
1566 * ldlang.c (lang_size_sections_1): Skip removed output sections.
1568 2002-06-08 Alan Modra <amodra@bigpond.net.au>
1570 * ldexp.c: Replace CONST with const.
1571 * ldfile.c: Likewise.
1572 * ldfile.h: Likewise.
1573 * ldlex.l: Likewise.
1575 * pe-dll.h: Likewise.
1577 2002-06-07 Alan Modra <amodra@bigpond.net.au>
1579 * emultempl/ppc64elf.em (new_vers_pattern): Warning fix.
1581 2002-06-07 Charles Wilson <cwilson@ece.gatech.edu>
1583 * ld/ldmain.c (main): initialize link_info.pei386_auto_import
1584 to -1 == implicit enable.
1585 * ld/emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):
1586 initialize link_info.pei386_auto_import to -1 == implicit
1588 (gld_${EMULATION_NAME}_parse_args): When processing
1589 --enable-auto-import and --disable-auto-import options, use
1590 '1' and '0' instead of 'true' and 'false'.
1591 (pe_find_data_imports): Only issue message about auto-import
1592 when the feature is implicitly enabled. Downgrade message to
1593 informational instead of warning.
1595 2002-06-07 Alan Modra <amodra@bigpond.net.au>
1597 * scripttempl/elf.sc (.tbss): Fix mismatched parentheses/braces.
1599 2002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
1601 * configure.host (hppa*64*-*-hpux11*): Define NATIVE_LIB_DIRS,
1602 HOSTING_CRT0 and HOSTING_LIBS.
1604 2002-06-05 J"orn Rennecke <joern.rennecke@superh.com>
1606 * configure.tgt (shle*-*-elf*, sh64le-*-elf*): New configurations.
1608 2002-06-05 Jason Thorpe <thorpej@wasabisystems.com>
1610 * emulparams/ns32knbsd.sh (EXECUTABLE_SYMBOLS): Set _DYNAMIC to 0.
1611 (NONPAGED_TEXT_START_ADDR): Set to 0x1000.
1613 2002-06-05 Alan Modra <amodra@bigpond.net.au>
1615 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Place
1616 SEC_EXCLUDE sections when doing a relocatable link.
1618 2002-06-04 Jason Thorpe <thorpej@wasabisystems.com>
1620 * Makefile.am (ALL_EMULATIONS): Add eshelf32_nbsd.o,
1621 eshlelf32_nbsd.o, eshelf64_nbsd.o, and eshlelf64_nbsd.o.
1622 (eshelf32_nbsd.c, eshelf64_nbsd.c, eshlelf32_nbsd.c)
1623 (eshlelf64_nbsd.c): New rules.
1624 * Makefile.in: Regenerate.
1625 * configure.tgt (sh5le-*-netbsd*, sh5-*-netbsd*, sh64le-*-netbsd*)
1626 (sh64-*-netbsd*): New targets.
1627 * emulparams/shelf32_nbsd.sh: New file.
1628 * emulparams/shelf64_nbsd.sh: New file.
1629 * emulparams/shlelf32_nbsd.sh: New file.
1630 * emulparams/shlelf64_nbsd.sh: New file.
1632 2002-06-04 Alan Modra <amodra@bigpond.net.au>
1634 * ldlang.c (section_already_linked): Call bfd_discard_group. Typo fix.
1636 2002-06-02 Marek Michalkiewicz <marekm@amelek.gda.pl>
1638 * scripttempl/avr.sc: Changes to support current GCC and avr-libc,
1639 C++ constructors/destructors, loosely based on the m68hc11 port.
1641 2002-05-31 Alan Modra <amodra@bigpond.net.au>
1643 * Makefile.in: Regenerate.
1644 * aclocal.m4: Regenerate.
1645 * config.in: Regenerate.
1646 * configure: Regenerate.
1648 2002-05-31 Graeme Peterson <gp@qnx.com>
1650 * Makefile.am (ALL_EMULATIONS): Add ei386nto.o.
1651 (ei386nto.c): Add rule.
1652 * Makefile.in: Regenerate.
1653 * configure.tgt: Add i[3456]86-*-nto-qnx*.
1654 * emulparams/i386nto.sh: New file.
1656 2002-05-29 Jason Thorpe <thorpej@wasabisystems.com>
1658 * NEWS: Add entry for VAX ELF support.
1660 2002-05-29 Matt Thomas <matt@3am-software.com>
1661 Jason Thorpe <thorpej@wasabisystems.com>
1663 * Makefile.am (ALL_EMULATIONS): Add eelf32vax.o and evaxnbsd.o.
1665 (evaxnbsd.c): New rules.
1666 * Makefile.in: Regenerate.
1667 * configure.tgt (vax-*-netbsdelf*)
1669 (vax-*-netbsd*): New targets.
1670 * emulparams/elf32vax.sh: New file.
1671 * emulparams/vaxnbsd.sh: New file.
1673 2002-05-29 Adam Nemet <anemet@lnxw.com>
1675 * emultempl/armelf.em (arm_elf_after_open): Don't determine
1676 bfd_for_interwork, instead add glue sections to each input bfd.
1677 (bfd_for_interwork): New global.
1678 (arm_elf_set_bfd_for_interworking): New function.
1679 (arm_elf_before_allocation): Use it.
1681 2002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
1683 * Makefile.am: Add DLX make target.
1684 * configure.tgt: Add DLX configuration.
1685 * Makefile.in: Regenerate.
1686 * emulparams/elf32_dlx.sh: New file
1687 * scripttempl/dlx.sc: New file
1689 2002-05-27 Per Lundberg <per@caleb.dnsalias.org>
1691 * Makefile.am (eelf_i386_chaos): Use elf_chaos.sc script.
1692 * Makefile.in: Regenerate.
1693 * emulparams/elf_chaos.sh: Use elf_chaos script.
1694 * scripttempl/elf_chaos.sc: New file.
1696 2002-05-27 Richard Sandiford <rsandifo@redhat.com>
1698 * ldlang.c (lang_size_sections_1): Move check for conflicting load
1699 addresses and regions from here...
1700 (lang_get_regions): ...to this new function.
1701 (lang_leave_output_section_statement): Use lang_get_regions.
1702 (lang_leave_overlay): Likewise.
1703 * mri.c (mri_draw_tree): Pass null as last argument to
1704 lang_leave_output_section_statement.
1705 * emultempl/elf32.em (gld*_place_orphan): Likewise.
1706 * emultempl/mmo.em (mmo_place_orphan): Likewise.
1707 * emultempl/pe.em (gld*_place_orphan): Likewise.
1709 2002-05-26 Jason Thorpe <thorpej@wasabisystems.com>
1711 * configure.tgt: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*.
1713 2002-05-25 Kazu Hirata <kazu@cs.umass.edu>
1715 * ldemul.c: Fix formatting.
1716 * ldfile.c: Likewise.
1717 * pe-dll.c: Likewise.
1718 * pe-dll.h: Likewise.
1720 2002-05-25 Alan Modra <amodra@bigpond.net.au>
1722 * ldlang.c (lang_process): Formatting, grammar.
1724 * ldlex.l: Use #include "" instead of <> for local header files.
1726 2002-05-24 TAMURA Kent <kent@netbsd.org>
1728 * configure.tgt: Add a target for i386-netbsdpe.
1730 2002-05-23 Jakub Jelinek <jakub@redhat.com>
1732 * scripttempl/elf.sc: Add .rel{,a}.t{bss,data}, .tdata and .tbss.
1733 * ldlang.c (lang_add_section): Set SEC_THREAD_LOCAL for
1734 output section if necessary. Handle .tbss.
1735 (lang_size_sections): Clear _raw_size for .tbss section
1736 (it allocates space in PT_TLS segment only).
1737 * ldwrite.c (build_link_order): Build link order for .tbss too.
1739 2002-05-23 Alan Modra <amodra@bigpond.net.au>
1741 * configure.in: Correct spelling of AC_PREREQ.
1743 2002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
1745 * pe-dll.c (autofilter_liblist): Add more system libs excluded by
1747 (autofilter_objlist): Add crtbegin.o, crtend.o.
1749 2002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
1751 * emultempl/pe.em (OPTION_EXCLUDE_LIBS): Add new define.
1752 (longopts): Add new option --exclude-libs.
1753 (gld_${EMULATION_NAME}_list_options): Give quick help about it.
1754 (gld_${EMULATION_NAME}_parse_args): Use it.
1755 * pe-dll.h (pe_dll_add_excludes): Add second param to prototype.
1756 * pe-dll.c (exclude_list_struct): Add field type to distinguish symbols
1757 from whole archives.
1758 (pe_dll_add_excludes): Set excludes->type.
1759 (auto_export): Add new variable libname and set to archive basename if
1760 abfd. Use it when filtering default and user-specified libarary
1761 excludes. Let string "ALL" mean all libs when filtering user-specified
1763 * ld.texinfo: Document --exclude-libs.
1765 2002-05-22 Alan Modra <amodra@bigpond.net.au>
1767 * ldemul.c (ldemul_new_vers_pattern): New function.
1768 * ldemul.h (ldemul_new_vers_pattern): Declare.
1769 (struct ld_emulation_xfer_struct): Add new_vers_pattern.
1770 * ldlang.c (lang_new_vers_pattern): Call ldemul_new_vers_pattern.
1771 * emultempl/ppc64elf.em (dotsyms): New static var.
1772 (gld${EMULATION_NAME}_new_vers_pattern): New function.
1773 (LDEMUL_NEW_VERS_PATTERN): Define.
1774 (PARSE_AND_LIST_PROLOGUE): Add OPTION_DOTSYMS, OPTION_NO_DOTSYMS.
1775 (PARSE_AND_LIST_LONGOPTS): Likewise.
1776 (PARSE_AND_LIST_ARGS_CASES): Handle them.
1777 * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Update
1779 * emultempl/armcoff.em: Likewise.
1780 * emultempl/armelf_oabi.em: Likewise.
1781 * emultempl/beos.em: Likewise.
1782 * emultempl/elf32.em: Likewise.
1783 * emultempl/generic.em: Likewise.
1784 * emultempl/gld960.em: Likewise.
1785 * emultempl/gld960c.em: Likewise.
1786 * emultempl/linux.em: Likewise.
1787 * emultempl/lnk960.em: Likewise.
1788 * emultempl/m68kcoff.em: Likewise.
1789 * emultempl/mipsecoff.em: Likewise.
1790 * emultempl/pe.em: Likewise.
1791 * emultempl/sunos.em: Likewise.
1792 * emultempl/ticoff.em: Likewise.
1793 * emultempl/vanilla.em: Likewise.
1795 2002-05-22 Alan Modra <amodra@bigpond.net.au>
1797 * genscripts.sh (LIB_PATH): For native targets, concatenate $libdir
1798 and $NATIVE_LIB_DIRS. Add $tool_lib before other libs.
1799 (LIB_SEARCH_DIRS): No need to use "tr".
1800 (COMPILE_IN): Only set for native targets.
1801 * configure.host (NATIVE_LIB_DIRS): Specify all native search dirs
1802 here, rather than adding lib:/usr/lib:/usr/local/lib in genscripts.sh.
1803 * configure.tgt (powerpc*): Set tdir_*.
1804 (powerpcle*): Correct targ_extra_emuls.
1805 * emulparams/elf32ppc.sh (LIB_PATH): Set up native 64 bit dirs.
1806 * emulparams/elf64ppc.sh (LIB_PATH): Likewise.
1808 2002-05-22 Alan Modra <amodra@bigpond.net.au>
1810 * emultempl/pe.em (set_pe_subsystem): Don't set "cmdline" when
1811 calling lang_add_entry.
1813 2002-05-21 H.J. Lu (hjl@gnu.org)
1815 * emultempl/elf32.em (gld${EMULATION_NAME}_parse_args): Handle
1817 (gld${EMULATION_NAME}_list_options): Add "-z muldefs".
1819 * ld.texinfo: Updated for --allow-multiple-definition and
1822 * ldmain.c (main): Initialize the allow_multiple_definition
1825 * lexsup.c (OPTION_ALLOW_MULTIPLE_DEFINITION): New.
1826 (ld_options): Add --allow-multiple-definition.
1827 (parse_args): Support OPTION_ALLOW_MULTIPLE_DEFINITION.
1829 2002-05-21 Jason Thorpe <thorpej@wasabisystems.com>
1831 * Makefile.am (ALL_EMULATIONS): Add earmelfb_nbsd.o.
1832 (earmelfb_nbsd.c): New rule.
1833 * Makefile.in: Regenerate.
1834 * configure.tgt (armeb-*-netbsdelf*): New target.
1835 (arm-*-netbsdelf*): Add armelfb_nbsd to targ_extra_emuls.
1836 (arm-*-netbsd*): Likewise.
1837 * emulparams/armelfb_nbsd.sh: New file.
1839 2002-05-18 Tom Rix <trix@redhat.com>
1841 * emultempl/aix.em (gld*_parse_args): Add -bnortl and -bnortllib
1844 2002-05-17 Marek Michalkiewicz <marekm@amelek.gda.pl>
1846 * Makefile.am: Add new emulations avr1, avr2, avr3, avr4, avr5.
1847 * Makefile.in: Regenerate.
1848 * configure.tgt (avr-*-*): Add avr[1-5] to targ_extra_emuls.
1850 2002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
1852 * emulparams/avr1.sh: New file.
1853 * emulparams/avr2.sh: New file.
1854 * emulparams/avr3.sh: New file.
1855 * emulparams/avr4.sh: New file.
1856 * emulparams/avr5.sh: New file.
1857 * scripttempl/avr.sc: New file.
1859 2002-05-15 Alan Modra <amodra@bigpond.net.au>
1861 * ldlang.c (section_already_linked): Call bfd_link_just_syms.
1862 (lang_place_orphans): Abort if just_syms_flag.
1864 2002-05-10 Tom Rix <trix@redhat.com>
1866 * emultempl/aix.em: (gld*_set_output_arch): New function. Use
1867 architecture and machine information in the output bfd.
1868 (gld*_before_parse): Remove old arch and machine code.
1869 (choose_target): Rename to gld*_choose_target.
1870 (rtld): Change type to int.
1871 * ldfile.c (ldfile_try_open_bfd): Disable compatiblity check for
1872 objects in XCOFF archives.
1873 * ldfile.h: Update copyright date.
1875 2002-05-10 Jakub Jelinek <jakub@redhat.com>
1877 * ldmain.c (main): Enable -z combreloc by default.
1879 2002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
1881 * Makefile.am: Honour DESTDIR.
1882 * Makefile.in: Regenerate.
1884 2002-05-07 Richard Sandiford <rsandifo@redhat.com>
1886 * ldlang.h (lang_output_section_statement_type): Add update_dot_tree.
1887 (lang_enter_overlay): Remove the last two parameters.
1888 (lang_leave_overlay): Take them here instead.
1889 * ldgram.y (memspec_at_opt): Set $$ to null if no region is given.
1890 (section): Pass LMA and crossref flag to lang_leave_overlay rather
1891 than lang_enter_overlay.
1892 * ldlang.c (lang_memory_region_lookup): Return null for null names.
1893 (lang_output_section_statement_lookup): Initialize update_dot_tree.
1894 (lang_size_sections_1): Evaluate it.
1895 (lang_leave_output_section_statement): Rework LMA lookup.
1896 (overlay_lma, overlay_nocrossrefs): Remove.
1897 (lang_enter_overlay): Remove LMA and crossref arguments.
1898 (lang_enter_overlay_section): Don't set the LMA here.
1899 (lang_leave_overlay): Take LMA and crossref arguments. Move the '.'
1900 assignment to the last section's update_dot_tree. Unconditionally
1901 use the load and run-time regions specified in the OVERLAY statement.
1902 Likewise the first section's LMA. Only set the other sections' LMAs
1903 when no load region is given.
1905 2002-05-06 Nick Clifton <nickc@redhat.com>
1907 * po/sv.po: New translation.
1909 2002-05-04 Alan Modra <amodra@bigpond.net.au>
1911 * emultempl/hppaelf.em (build_section_lists): New function.
1912 (gld${EMULATION_NAME}_finish): Call elf32_hppa_setup_section_lists
1913 and build_section_lists.
1915 2002-05-03 Kazu Hirata <kazu@cs.umass.edu>
1917 * ld.h: Fix formatting.
1918 * ldexp.c: Likewise.
1919 * ldfile.c: Likewise.
1920 * ldlang.c: Likewise.
1921 * ldmain.c: Likewise.
1922 * lexsup.c: Likewise.
1923 * pe-dll.c: Likewise.
1925 2002-05-02 Alan Modra <amodra@bigpond.net.au>
1927 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation):
1928 Adjust for ppc64_elf_set_toc change. #include libbfd.h.
1929 (build_section_lists): Do output_section tests here.
1931 2002-04-30 Tom Rix <trix@redhat.com>
1933 * emultempl/aix.em : (gld*_parse_arge): Formatting changes.
1935 2002-05-01 Alan Modra <amodra@bigpond.net.au>
1937 Long branch stubs, multiple stub sections.
1938 * emultempl/ppc64elf.em: Include ldctor.h.
1939 (stub_file): New var.
1940 (group_size): New var.
1941 (ppc_create_output_section_statements): New function.
1942 (struct hook_stub_info): New.
1943 (hook_in_stub): New function.
1944 (ppc_add_stub_section): New function.
1945 (ppc_layout_sections_again): New function.
1946 (build_section_lists): New function.
1947 (gld${EMULATION_NAME}_finish): Rewrite.
1948 (real_func): New var.
1949 (ppc_for_each_input_file_wrapper): New function.
1950 (ppc_lang_for_each_input_file): New function.
1951 (lang_for_each_input_file): Define.
1952 (PARSE_AND_LIST_PROLOGUE): Define.
1953 (PARSE_AND_LIST_LONGOPTS): Define.
1954 (PARSE_AND_LIST_OPTIONS): Define.
1955 (PARSE_AND_LIST_ARGS_CASES): Define.
1956 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
1958 2002-04-30 Tom Rix <trix@redhat.com>
1960 * emultempl/aix.em (gld*_parse_arge, gld*_before_allocation): Add
1961 -blibpath, -bnolibpath support.
1963 2002-04-30 Mark Mitchell <mark@codesourcery.com>
1965 * Makefile.am (ALL_EMULATIONS): Add elf32ppcwindiss.o.
1966 (eelf32ppcwindiss.c): New target.
1967 * Makefile.in: Regenerated.
1968 * configure.tgt: Add support for powerpc-*-windiss.
1969 * emulparams/elf32ppcwindiss.sh: New file.
1971 2002-04-30 Richard Sandiford <rsandifo@redhat.com>
1973 * ldlang.c (print_assignment): Update print_dot for assignments to ".".
1974 * ldexp.c (exp_print_token): Add "infix_p" argument.
1975 (exp_print_tree): Update accordingly.
1977 2002-04-28 Alan Modra <amodra@bigpond.net.au>
1979 * Makefile.am (mpw): New maintainer mode rule to make mpw-*.c files.
1980 * Makefile.in: Regenerate.
1981 * mpw-elfmips.c: Delete.
1982 * mpw-eppcmac.c: Delete.
1983 * mpw-esh.c: Delete.
1984 * mpw-idtmips.c: Delete.
1986 2002-04-17 J"orn Rennecke <joern.rennecke@superh.com>
1988 * emulparams/shelf32.sh (MACHINE): Now sh5.
1990 2002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1992 * ldgram.y: Fix syntax warning.
1994 2002-04-11 Nick Clifton <nickc@cambridge.redhat.com>
1996 * emultempl/armelf.em (PARSE_AND_LIST_SHORTOPTS): Add 'n' in order
1997 to prevent "-n" from being taken as an abbreviation for
1998 "--no-pipeline-knowledge".
2000 2002-04-08 Alan Modra <amodra@bigpond.net.au>
2002 * ldlang.c (lang_size_sections_1): Don't complain about
2003 SEC_NEVER_LOAD sections having no memory region specified.
2005 * ld.texinfo (Format Commands <OUTPUT_FORMAT>): Typo fix.
2007 2002-04-07 matthew green <mrg@redhat.com>
2009 * ld/configure.host (*-*-netbsd*): Add support for NetBSD/ELF.
2011 2002-04-04 Alan Modra <amodra@bigpond.net.au>
2013 * dep-in.sed: Cope with absolute paths.
2014 * Makefile.am (dep.sed): Subst TOPDIR and BFDDIR.
2016 * Makefile.in: Regenerate.
2018 2002-04-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2020 * emulparams/elf64btsmip.sh: n64 replaces .reginfo with .MIPS.options.
2022 2002-04-03 Jakub Jelinek <jakub@redhat.com>
2024 * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: If common page size
2025 is smaller than maximum, round dot up to common page boundary.
2027 2002-03-28 Alan Modra <amodra@bigpond.net.au>
2029 * configure.host: Set up for generic hosts first, then tweak as
2030 necessary in more specific targets.
2031 (HOSTING_LIBS): Include libgcc_eh.a if found.
2033 2002-03-23 Andreas Jaeger <aj@suse.de>
2035 * emulparams/elf_x86_64.sh (COMMONPAGESIZE): Set it.
2037 2002-03-21 Alan Modra <amodra@bigpond.net.au>
2039 * Makefile.am: Run "make dep-am".
2040 * Makefile.in: Regenerate.
2042 2002-03-21 Albert Chin-A-Young <china@thewrittenword.com>
2044 * genscripts.sh (LIB_SEARCH_DIRS): Quote path.
2046 2002-03-20 Alan Modra <amodra@bigpond.net.au>
2048 * ldlang.c (ldlang_add_undef): If the output bfd has been opened,
2049 add the symbol to the linker hash table immediately.
2050 (lang_place_undefineds): Split symbol creation out..
2051 (insert_undefined): ..to here.
2053 2002-03-18 David O'Brien <obrien@FreeBSD.org>
2055 * emultempl/elf32.em: Use lbasename vs. basename to fix problem where
2056 the contents of the buffer returned from basename function will are
2057 getting overwritten while still being used.
2059 2002-03-18 Jan Hubicka <jh@suse.cz>
2060 Andreas Jaeger <aj@suse.de>
2061 Andreas Schwab <schwab@suse.de>
2063 * configure.tgt (x86_64-*-linux-gnu*): Configure i386 as native.
2064 * elf_x86_64.sh (ARCH): Set to i386:x86-64
2065 set libraries to default to lib64 paths.
2067 2002-03-18 Tom Rix <trix@redhat.com>
2069 * Makefile.am : Add eaix5ppc and eaix5rs6, AIX 5 support.
2070 * configure.tgt : Same.
2071 * emulparms/aix5ppc.sh : New file. For eaix5ppc.
2072 * emulparms/aix5rs6.sh : New file. For eaix5rs6.
2073 * emulparms/aixppc.sh : OUPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT
2074 emulation parameters for better -b32, -b64 support.
2075 * emulparms/aixrs6.sh : Same.
2076 * emulparms/ppcmacos.sh : Same.
2077 * emultempl/aix.em (choose_target) : Use new emulation parameters
2078 OUTPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT.
2079 * Makefile.in : Regenerate.
2081 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
2083 * po/fr.po: Updated version.
2085 2002-03-18 Alan Modra <amodra@bigpond.net.au>
2087 * ldmain.c (main): Move .text readonly flag fudges from here..
2088 * ldlang.c (lang_process): ..to here.
2090 2002-03-14 Alan Modra <amodra@bigpond.net.au>
2092 * ldlang.c (lang_check): Remove the word size check added in last
2093 change. Treat emitrelocations case as for relocatable links.
2095 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
2097 * po/fr.po: Updated version.
2099 2002-03-13 Alan Modra <amodra@bigpond.net.au>
2101 * ldlang.c (lang_check): Do relocatable link checks first, so that
2102 warn_mismatch can't override. Check compatible and word size too.
2104 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
2106 * ld.texinfo: Wrap @menu in @ifnottex, not @ifinfo.
2108 2002-03-05 Jakub Jelinek <jakub@redhat.com>
2110 * scripttempl/elf.sc: Only use DATA_SEGMENT_END() together with
2113 2002-03-04 H.J. Lu <hjl@gnu.org>
2115 * scripttempl/elf.sc: Put .preinit_array, .init_array and
2116 .fini_array in the data segment.
2118 2002-03-04 Alan Modra <amodra@bigpond.net.au>
2120 * scripttempl/elf.sc: Correct syntax errors in 2002-03-01 commit.
2122 2002-03-01 David Mosberger <davidm@hpl.hp.com>
2124 * scripttempl/elf.sc (SECTIONS): Add entries for .preinit_array,
2125 .init_array, and .fini_array.
2127 2002-02-20 Andreas Schwab <schwab@suse.de>
2129 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't fold
2130 .IA64_unwind* in a relocatable link.
2132 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
2134 * NEWS: Mark 2.12 branch.
2136 2002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
2138 * emulparams/elf64_s390.sh (ARCH): Change to "s390:64-bit".
2139 * emulparams/elf_s390.sh (ARCH): Change to "s390:31-bit".
2141 2002-02-18 Tom Rix <trix@redhat.com>
2143 * emultempl/aix.em (gld*_parse_args): Add -brtl support.
2144 (gld*_before_allocation): Same.
2145 (gld*_create_output_section_statements): Generate
2146 __rtinit if run time linking. Add librtl.a to the link.
2147 (gld*_read_file): Clean.
2149 2002-02-18 Alan Modra <amodra@bigpond.net.au>
2151 * emulparams/elf64ppc.sh (OTHER_TEXT_SECTIONS): Define.
2153 2002-02-18 David O'Brien <obrien@FreeBSD.org>
2155 * Makefile.am: Add new files earmelf_fbsd, eelf32ppc_fbsd,
2156 eelf_i386_fbsd, eelf64_ia64_fbsd, eelf_x86_64_fbsd, eelf64_sparc_fbsd,
2157 and eelf64alpha_fbsd.
2158 * Makefile.in: Regenerate.
2159 * configure.tgt(sparc64-*-freebsd, ia64-*-freebsd, i[3456]86-*-freebsd,
2160 x86_64-*-freebsd, arm-*-freebsd, alpha*-*-freebsd, powerpc-*-freebsd):
2161 use a FreeBSD-specific emulation rather than the psABI one.
2162 * emulparams/elf_fbsd.sh (ELF_INTERPRETER_NAME): Set appropriate value
2163 for all FreeBSD ELF systems.
2164 * emulparams/armelf_fbsd.sh: Bridge elf_fbsd.sh and the "native" psABI
2166 * emulparams/elf32ppc_fbsd.sh: Likewise.
2167 * emulparams/elf64_ia64_fbsd.sh: Likewise.
2168 * emulparams/elf64_sparc_fbsd.sh: Likewise.
2169 * emulparams/elf64alpha_fbsd.sh: Likewise.
2170 * emulparams/elf_i386_fbsd.sh: Likewise.
2171 * emulparams/elf_x86_64_fbsd.sh: Likewise.
2173 2002-02-18 Nick Clifton <nickc@cambridge.redhat.com>
2175 * po/tr.po: Updated version.
2177 2002-02-18 Alan Modra <amodra@bigpond.net.au>
2179 * ld.texinfo (Output Section Fill): Fix amateur texinfo.
2182 2002-02-17 Hans-Peter Nilsson <hp@bitrange.com>
2184 * emultempl/mmo.em (mmo_after_open): Don't call
2185 _bfd_mmix_check_all_relocs when producing ELF output.
2187 2002-02-15 Richard Henderson <rth@redhat.com>
2189 * emulparams/elf64alpha.sh (NOP): Adjust for big-endian
2190 definition. Emit a unop+nop pair.
2192 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
2194 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Also check
2195 for presence of .MMIX.reg_contents.linker_allocated before early
2198 * NEWS: Mention support for MMIX.
2200 2002-02-15 Alan Modra <amodra@bigpond.net.au>
2202 Support arbitrary length fill patterns.
2203 * ld.texinfo (Output Section Fill): Describe fill expressions.
2204 (FILL): Refer to the above.
2205 * ldexp.h (etree_value_type): Add "str" field.
2206 (union etree_union): Add "str" to "value" struct.
2207 (exp_bigintop): Declare.
2208 (exp_get_fill): Declare.
2209 * ldexp.c: Include "safe-ctype.h".
2210 (exp_intop): Set value.str to NULL.
2211 (exp_bigintop): New function.
2212 (new_rel): Pass in "str", and set new.str from it.
2213 (new_rel_from_section): Set new.str to NULL.
2214 (fold_name): Adjust calls to new_rel.
2215 (exp_fold_tree): Likewise.
2216 (exp_get_fill): New function.
2217 * ldgram.y (struct big_int bigint, fill_type *fill): New.
2218 (INT): Returns a "bigint". Adjust all code handling INTs.
2219 (fill_opt): Returns a "fill".
2220 (fill_exp): Split out of fill_opt, use for FILL.
2221 * ldlang.h (struct _fill_type): New.
2222 (fill_type): Move typedef to ldexp.h.
2223 (lang_output_section_statement_type): "fill" is now a pointer.
2224 (lang_fill_statement_type): Likewise.
2225 (lang_padding_statement_type): Likewise.
2226 (lang_add_fill): Now takes a "fill_type *" param.
2227 (lang_leave_output_section_statement): Likewise.
2228 (lang_do_assignments): Likewise.
2229 (lang_size_sections): Likewise.
2230 (lang_leave_overlay_section): Likewise.
2231 (lang_leave_overlay): Likewise.
2232 * ldlang.c: Include ldgram.h after ldexp.h.
2233 (lang_output_section_statement_lookup): Adjust for fill_type change.
2234 (print_fill_statement): Likewise.
2235 (print_padding_statement): Likewise.
2236 (insert_pad): Now takes a "fill_type *" arg.
2237 (size_input_section): Likewise.
2238 (lang_size_sections_1): Likewise.
2239 (lang_size_sections): Likewise.
2240 (lang_do_assignments): Likewise.
2241 (lang_add_fill): Likewise.
2242 (lang_leave_output_section_statement): Likewise.
2243 (lang_leave_overlay_section): Likewise.
2244 (lang_leave_overlay): Likewise.
2245 Adjust all callers of the above function.
2246 * ldlex.l: Include ldgram.h after ldexp.h. Allow hex numbers
2247 starting with "0X" as well as "0x". Return bigint.str for hex
2248 numbers starting with "0x" or "0X", zero bigint.str otherwise.
2249 Always use base 16 for numbers starting with "$".
2250 * ldmain.c: Include ldgram.h after ldexp.h.
2251 * ldwrite.c (build_link_order): Use bfd_data_link_order in place
2252 of bfd_fill_link_order.
2253 * pe-dll.c: Adjust lang_do_assignments calls.
2254 * emultempl/elf32.em: Likewise.
2255 * emultempl/hppaelf.em: Likewise.
2256 * emultempl/ppc64elf.em: Likewise.
2257 * emultempl/beos.em: Include ldgram.h after ldexp.h, adjust
2258 lang_add_assignment call.
2259 * emultempl/pe.em: Likewise.
2261 2002-02-14 Phil Edwards <pme@gcc.gnu.org>
2263 * ld.texinfo (VERSION scripts): Symbol names are globbing patterns.
2264 * ldgram.y (lang_new_vers_regex): Rename to lang_new_vers_pattern;
2265 the pattern in question is not a regexp.
2266 * ldlang.c: Likewise.
2267 * ldlang.h: Likewise.
2268 * ldlex.l (V_IDENTIFIER): Allow '[', ']', '-', '!', and '^' also.
2270 2002-02-12 Jakub Jelinek <jakub@redhat.com>
2272 * ldlex.l (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
2273 * ldgram.y (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
2274 (exp): Add DATA_SEGMENT_ALIGN (exp, exp) and DATA_SEGMENT_END (exp).
2275 * ldexp.c (exp_data_seg): New variable.
2276 (exp_print_token): Handle DATA_SEGMENT_ALIGN and DATA_SEGMENT_END.
2277 (fold_binary): Handle DATA_SEGMENT_ALIGN.
2278 (exp_fold_tree): Handle DATA_SEGMENT_END.
2279 Pass allocation_done when recursing instead of hardcoding
2280 lang_allocating_phase_enum.
2281 * ldexp.h (exp_data_seg): New.
2282 * ldlang.c (lang_size_sections_1): Renamed from lang_size_sections.
2283 (lang_size_sections): New.
2284 * ld.texinfo (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): Document.
2285 * scripttempl/elf.sc: Use DATA_SEGMENT_ALIGN and DATA_SEGMENT_END
2286 if COMMONPAGESIZE is defined.
2287 * emulparams/elf_i386.sh (COMMONPAGESIZE): Set to 4K.
2288 * emulparams/elf32_sparc.sh (COMMONPAGESIZE): Set to 8K.
2289 * emulparams/elf64_sparc.sh (COMMONPAGESIZE): Set to 8K.
2290 * emulparams/elf64alpha.sh (COMMONPAGESIZE): Set to 8K.
2291 * emulparams/elf64_ia64.sh (COMMONPAGESIZE): Set to 16K for shared
2294 2002-02-11 Alan Modra <amodra@bigpond.net.au>
2296 * Makefile.in: Regenerate.
2298 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
2300 * lexsup.c: Remove strtoul declaration.
2302 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
2304 * ldmain.c: Add prototype for main ().
2305 * lexsup.c: Guard declaration of strtoul with HAVE_STDLIB_H.
2306 * emultempl/lnk960.em (lnk960_choose_target): Function should
2309 2002-02-10 Alan Modra <amodra@bigpond.net.au>
2311 * ldlang.c (entry_section): New initialised variable.
2312 (lang_finish): Use it.
2313 * ldlang.h (entry_section): Declare.
2314 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Set
2315 entry_section to ".opd".
2317 2002-02-09 Chris Demetriou <cgd@broadcom.com>
2319 * ld.texinfo (Options): Add back in -nostdlib documentation,
2320 which had been inadvertently removed.
2322 2002-02-09 Hans-Peter Nilsson <hp@bitrange.com>
2324 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Adjust
2325 register section vma to a sane value after emitting error. Make
2326 fatal conditions cause program exit when emitting message.
2328 2002-02-08 Ivan Guzvinec <ivang@opencores.org>
2330 * configure.tgt: Add or32-*-rtems target.
2332 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
2334 Contribute sh64-elf.
2335 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
2336 * emulparams/shelf32.sh (STACK_ADDR): Define as formerly defined
2337 in OTHER_RELOCATABLE_SECTIONS.
2338 2002-01-18 Alexandre Oliva <aoliva@redhat.com>
2339 * emulparams/shelf32.sh (STACK_ADDR): Define.
2340 (OTHER_RELOCATABLE_SECTIONS): Renamed to...
2341 (OTHER_SECTIONS): this. Removed stack settings.
2342 * emulparams/shelf64.sh (OTHER_RELOCATABLE_SECTIONS): Do not set.
2343 (OTHER_SECTIONS): Reset after sourcing shelf32.sh.
2344 2001-03-12 DJ Delorie <dj@redhat.com>
2345 * emultempl/sh64elf.em (sh64_elf_$_before_allocation): Disable
2346 relaxing if any shmedia or mixed sections are found.
2347 2001-03-07 DJ Delorie <dj@redhat.com>
2348 * emultempl/sh64elf.em (sh64_elf_before_allocation): Pass f to
2349 einfo. Gracefully decline to output to non-elf formats.
2350 2001-03-06 Hans-Peter Nilsson <hpn@redhat.com>
2351 * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS) <.stack>:
2352 Default to _end aligned to next multiple of 0x40000, plus 0x40000.
2353 * emulparams/shelf32.sh: Ditto.
2354 2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com>
2355 * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Tweak
2357 2001-01-10 Ben Elliston <bje@redhat.com>
2358 * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Avoid
2359 non-portable shell constructs. From Hans-Peter Nilsson.
2360 2001-01-09 Hans-Peter Nilsson <hpn@cygnus.com>
2361 * emulparams/shelf64.sh (EXTRA_EM_FILE): Define empty.
2362 * Makefile.am (eshelf64.c, eshlelf64.c, eshlelf32.c): Adjust
2363 dependencies to the shell script include chain.
2364 * Makefile.in: Regenerate.
2365 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
2366 * emultempl/sh64elf.em: Update and tweak comments.
2367 (sh64_elf_${EMULATION_NAME}_after_allocation): Always allocate and
2368 make a .cranges section SEC_IN_MEMORY.
2369 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
2370 * emultempl/sh64elf.em
2371 (sh64_elf_${EMULATION_NAME}_before_allocation): Don't stop when
2372 .cranges section found to be necessary; continue and set stored
2373 section contents flags for sections with non-mixed contents.
2374 Use a struct sh64_section_data container and sh64_elf_section_data
2375 to store contents-type flags.
2376 Remove unused update of "isec".
2377 (sh64_elf_${EMULATION_NAME}_after_allocation): Only process
2378 sections marked SHF_SH5_ISA32_MIXED. Use sh64_elf_section_data to
2379 access contents-type flags. Assert that the associated container
2380 is initialized. Use that container, not elf_gp_size, to hold size
2381 of linker-generated cranges contents.
2382 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
2383 * emultempl/sh64elf.em
2384 (sh64_elf_${EMULATION_NAME}_before_allocation): Exit early if
2385 there's already a .cranges section. When section flag difference
2386 is found, don't NULL-check cranges a second time. Tweak comments.
2387 (sh64_elf_${EMULATION_NAME}_after_allocation): Use size after
2388 merging, not max size, as size of ld-generated .cranges contents.
2389 Don't set ELF section flags in output section. When checking for
2390 needed .cranges descriptors, don't use a variable; compare
2391 incoming ELF section flags directly to SHF_SH5_ISA32_MIXED. Tweak
2393 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
2394 * emultempl/sh64elf.em: New file.
2395 * Makefile.am (eshelf32.c, eshlelf32.c): Adjust dependencies.
2396 * Makefile.in: Regenerate.
2397 * emulparams/shelf32.sh (OUTPUT_FORMAT): Only set if not set.
2398 (OTHER_RELOCATING_SECTIONS): Ditto.
2399 (EXTRA_EM_FILE): New, set to sh64elf if not set.
2400 * emulparams/shlelf32.sh: Stub out all settings except
2401 OUTPUT_FORMAT. Source shelf32.sh.
2402 * emulparams/shelf64.sh: Similar, but also keep ELF_SIZE and
2403 OTHER_RELOCATING_SECTIONS.
2404 (OTHER_RELOCATING_SECTIONS): Remove .cranges.
2405 * emulparams/shlelf64.sh: Stub out all settings except
2406 OUTPUT_FORMAT. Source shelf64.sh.
2407 2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com>
2408 * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS): Include
2410 (DATA_START_SYMBOLS): Define, provide ___data.
2411 (OTHER_READONLY_SYMBOLS): Define, provide ___rodata and align to 8
2412 for consecutive .data section.
2413 (OTHER_GOT_SECTIONS): Define, align to 8 for consecutive .bss
2414 section after .data section.
2415 * emulparams/shlelf64.sh: Ditto.
2416 * emulparams/shelf32.sh: Ditto.
2417 (ALIGNMENT): Define to 8.
2418 * emulparams/shelf32.sh: Ditto.
2419 2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com>
2420 * configure.tgt (sh64-*-elf*): Assign targ_extra_libpath to get
2421 built-in linker scripts.
2422 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
2423 * emulparams/shlelf64.sh: New.
2424 * emulparams/shelf64.sh: New.
2425 * configure.tgt (sh64-*-elf*): Add shelf64 and shlelf64 to
2427 * Makefile.am: Add support for shlelf64 and shelf64.
2428 * Makefile.in: Regenerate.
2429 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
2430 * configure.tgt (sh64-*-elf*): Add shelf as default.
2431 Add shlelf to targ_extra_emuls.
2432 2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com>
2433 * emulparams/shelf32.sh: New file.
2434 * emulparams/shlelf32.sh: New file.
2435 * Makefile.am: Add support for shlelf32 and shelf32.
2436 * configure.tgt: Map sh64-*-elf* to shlelf32 and shelf32.
2437 * Makefile.in: Regenerate.
2439 2002-02-05 Hans-Peter Nilsson <hp@axis.com>
2441 * ldlang.c (lang_reset_memory_regions): Rename from
2442 reset_memory_regions. Change all callers. Make public.
2443 * ldlang.h (lang_reset_memory_regions): Prototype.
2444 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Call
2445 lang_reset_memory_regions before lang_size_sections.
2446 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
2447 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Likewise.
2449 2002-02-04 Hans-Peter Nilsson <hp@bitrange.com>
2451 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Use signed
2452 arithmetic when checking for too many global registers.
2454 2002-02-02 Jason Thorpe <thorpej@wasabisystems.com>
2456 * Makefile.am (ALL_EMULATIONS): Add ehppanbsd.o.
2457 (ehppanbsd.c): New rule.
2458 * Makefile.in: Regenerate.
2459 * configure.tgt (hppa*-*-netbsd*): New target.
2460 * emulparams/hppalinux.sh: Add comment to check other files
2461 that source this file it is modified, and list which
2463 * emulparams/hppanbsd.sh: New file.
2465 2002-02-01 Geoffrey Keating <geoffk@redhat.com>
2467 * scripttempl/xstormy16.sc: Don't allocate extra space for the
2470 2002-02-01 Hans-Peter Nilsson <hp@bitrange.com>
2472 Support on-demand global register allocation from
2473 R_MMIX_BASE_PLUS_OFFSET relocs.
2474 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Rename from
2475 mmix_set_reg_section_vma. Call
2476 _bfd_mmix_finalize_linker_allocated_gregs.
2477 (mmix_before_allocation): New function.
2478 (LDEMUL_AFTER_ALLOCATION): Set to mmix_after_allocation.
2479 (LDEMUL_BEFORE_ALLOCATION): Define to mmix_before_allocation.
2480 * scripttempl/mmo.sc (.text): Mark .init, .fini as KEEP.
2481 (.MMIX.reg_contents): Add .MMIX.reg_contents.linker_allocated
2482 before .MMIX.reg_contents.
2483 * emultempl/mmo.em (gldmmo_before_allocation): Define to default.
2484 (mmo_after_open): New function.
2485 (LDEMUL_AFTER_OPEN): Define to mmo_after_open.
2486 * emulparams/elf64mmix.sh (OTHER_SECTIONS): Tweak formatting. Add
2487 .MMIX.reg_contents.linker_allocated before .MMIX.reg_contents.
2489 2002-01-31 Ivan Guzvinec <ivang@opencores.org>
2491 * emulparams/or32.sh: New file.
2492 * emulparams/or32elf.sh: New file.
2493 * scripttempl/or32.sc: New file.
2494 * configure.tgt : Add support for or32.
2495 * configure: Regenerate
2496 * Makefile.am: Add support for or32.
2497 * Makefile.in: Regenerate.
2498 * NEWS: Mention support for or32.
2499 * po/ld.pot: Regenerate.
2501 2002-01-29 Chris Demetriou <cgd@broadcom.com>
2502 Mitch Lichtenberg <mpl@broadcom.com>
2504 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define to be mipself.
2505 * emultempl/mipself.em: New file to handle MIPS ELF embedded
2506 reloc creation (ld --embedded-relocs).
2508 2002-01-27 Daniel Jacobowitz <drow@mvista.com>
2510 * configure: Regenerated.
2512 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
2514 * Makefile.am (install): Depend on install-info.
2515 * Makefile.in: Regenerate.
2517 2002-01-26 Christian Rose <menthos@menthos.com>
2519 * ldmain.c (main): Use full sentences to ease translation.
2521 2002-01-26 Nick Clifton <nickc@cambridge.redhat.com>
2523 * po/fr.po: Updated version.
2525 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
2527 * po/es.po: Updated version.
2529 2002-01-25 Andreas Jaeger <aj@suse.de>
2531 * ldlex.l (yy_input): Correct error check.
2533 2002-01-25 Alan Modra <amodra@bigpond.net.au>
2535 * ldmisc.c (demangle): Put back dots when string not demangled.
2537 2002-01-22 Richard Henderson <rth@redhat.com>
2539 * emulparams/elf64alpha.sh (NOP): Use unop.
2541 2002-01-21 Andreas Jaeger <aj@suse.de>
2543 * ldlex.l: Use fread instead of read.
2545 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
2547 * configure.tgt (ia64-*-netbsd*): New target.
2549 2002-01-21 H.J. Lu <hjl@gnu.org>
2551 * emulparams/elf32btsmip.sh (SHLIB_TEXT_START_ADDR): Change to
2553 * emulparams/elf64btsmip.sh (SHLIB_TEXT_START_ADDR): Likewise.
2555 2002-01-18 Andreas Jaeger <aj@suse.de>
2557 * ldver.c (ldversion): Update year.
2559 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
2561 * po/ld.pot: Regenerate.
2563 2002-01-16 Alan Modra <amodra@bigpond.net.au>
2565 * Makefile.am (eelf64ppc.c, eelf64lppc.c): Depend on ppc64elf.em.
2566 * Makefile.in: Regenerate.
2567 * emulparams/elf64ppc.sh (EXTRA_EM_FILE): Define.
2568 * emultempl/ppc64elf.em: New file.
2570 2002-01-15 DJ Delorie <dj@redhat.com>
2572 * scripttempl/pe.sc: Add support for constructor priorities.
2574 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
2576 * emulparams/avr1200.sh (DATA_START): Define as 0x60.
2577 * emulparams/avr23xx.sh: Likewise.
2578 * emulparams/avr4433.sh: Likewise.
2579 * emulparams/avr44x4.sh: Likewise.
2580 * emulparams/avr85xx.sh: Likewise.
2581 * emulparams/avrmega103.sh: Likewise.
2582 * emulparams/avrmega161.sh: Likewise.
2583 * emulparams/avrmega603.sh: Likewise.
2584 * scripttempl/elf32avr.sc: Use DATA_START instead of 0x60.
2586 2002-01-08 Alexandre Oliva <aoliva@redhat.com>
2588 * ldlang.c (walk_wild_section): Exclude object file if enclosing
2589 archive is excluded.
2591 2002-01-07 Jason Thorpe <thorpej@wasabisystems.com>
2593 * Makefile.am (ALL_EMULATIONS): Add eshelf_nbsd.o and eshlelf_nbsd.o.
2594 (eshelf_nbsd.c): New rule.
2595 (eshlelf_nbsd.c): New rule.
2596 * Makefile.in: Regenerate.
2597 * configure.tgt (sh*le-*-netbsdelf*): New target.
2598 (sh*-*-netbsdelf*): New target.
2599 * emulparams/shelf.sh: Document that shelf_nbsd.sh sources this file.
2600 * ld/emulparams/shelf_nbsd.sh: New emulation.
2601 * ld/emulparams/shlelf_nbsd.sh: New emulation.
2603 2002-01-07 Nick Clifton <nickc@cambridge.redhat.com>
2605 * po/es.po: New file: Spanish translation.
2606 * configure.in (ALL_LINGUAS): Add es.
2607 * configure: Regenerate.
2609 2002-01-06 John Marshall <jmarshall@acm.org>
2611 * ld.texinfo: Note that --emit-relocs is currently only
2612 implemented for ELF.
2614 2002-01-05 Alan Modra <amodra@bigpond.net.au>
2616 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Make use
2617 of bfd_section_list_remove and bfd_section_list_insert macros.
2618 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
2619 * emultempl/mmo.em (mmo_place_orphan): Likewise.
2621 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
2623 * configure.tgt (x86_64-*-netbsd*): New target.
2625 2001-12-21 Tom Rix <trix@redhat.com>
2627 (gld*_create_output_section_statements): New function.
2628 For -binitfini support.
2629 * emultempl/aix.em (gld*_before_parse): Fix comment.
2630 * emultempl/aix.em (gld*_parse_args): Fix comment.
2632 2001-12-20 Jason Thorpe <thorpej@wasabisystems.com>
2634 * configure.tgt (mips*-dec-netbsd*): Delete alias for
2636 (sparc64-*-netbsd*): Add elf32_sparc to targ_extra_emuls.
2638 * configure.tgt (arm-*-netbsdelf*): Add target.
2639 (arm-*-netbsd*): Add armelf and armelf_nbsd to targ_extra_emuls.
2640 * emulparams/armelf_nbsd.sh: Added.
2641 * Makefile.am: Add rules for earmelf_nbsd.
2642 * Makefile.in: Regenerate.
2644 2001-12-19 Andreas Jaeger <aj@suse.de>,
2645 Susanne Oberhauser <froh@suse.de>
2647 * configure.host: Add rules for x86_64-*linux-gnu. Change
2648 s390x-linux entry to use gcc to report configuration, replace gcc
2649 with $CC in s390-linux
2651 2001-12-19 Andreas Jaeger <aj@suse.de>
2653 * ld.texinfo (VERSION): Fix markup.
2655 2001-12-18 matthew green <mrg@eterna.com.au>
2657 * Makefile.am (ALL_EMULATIONS): Add m68kelfnbsd.o.
2658 (m68kelfnbsd.c): New rule.
2659 * Makefile.in: Regenerate.
2660 * configure.tgt (m68*-hp-netbsd*): Renamed to ..
2661 (m68*-*-netbsd*4k*): .. this.
2662 (m68*-*-netbsdelf*): New target.
2663 (m68*-*-netbsd*): Also include ELF support.
2664 (m68*-*-netbsdaout*): New alias for m68*-*-netbsd*.
2665 * emulparams/m68kelfnbsd.sh: New emulation.
2667 2001-12-18 Jakub Jelinek <jakub@redhat.com>
2669 * ldgram.y (vers_node): Support anonymous version tags.
2670 * ldlang.c (lang_register_vers_node): Ensure anonymous version
2671 tag is not defined together with non-anonymous versions.
2672 * ld.texinfo: Document it.
2674 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
2676 * po/tr.po: New file: Turkish translation.
2677 * configure.in (ALL_LINGUAS): Add tr.
2678 * configure: Regenerate.
2680 2001-12-17 Jason Thorpe <thorpej@wasabisystems.com>
2682 * Makefile.am: Add rules for eelf64alpha_nbsd.
2683 * Makefile.in: Regenerate.
2684 * configure.tgt (alpha*-*-netbsd*): Set
2685 targ_emul to elf64alpha_nbsd.
2686 * emulparams/elf64alpha_nbsd.sh: Added.
2688 2001-12-17 Alan Modra <amodra@bigpond.net.au>
2690 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust
2691 section_tail when fiddling with section list.
2692 (gld${EMULATION_NAME}_list_options): Ensure sentences aren't
2693 broken into separate strings to make translation easier.
2694 * emultempl/mmo.em (mmo_place_orphan): Adjust section_tail when
2695 fiddling with section list.
2696 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
2698 2001-12-16 Hans-Peter Nilsson <hp@bitrange.com>
2700 * scripttempl/mmo.sc: Add .debug_ranges to listed sections.
2702 2001-12-15 Alan Modra <amodra@bigpond.net.au>
2704 * ldmain.c (main): Initialise link_info.eh_frame_hdr.
2706 2001-12-13 Jakub Jelinek <jakub@redhat.com>
2708 * emultempl/elf32.em (finish): Supply output_bfd
2709 to bfd_elf*_discard_info.
2710 (OPTION_EH_FRAME_HDR): Define.
2711 (longopts): Add --eh-frame-hdr.
2712 (parse_args): Handle it.
2713 (list_options): Add --eh-frame-hdr to help.
2714 * emultempl/hppaelf.em (finish): Supply output_bfd
2715 to bfd_elf*_discard_info.
2716 * scripttempl/elf.sc (.eh_frame_hdr): Add.
2718 2001-12-13 Alan Modra <amodra@bigpond.net.au>
2720 * lexsup.c (parse_args): Don't pass shortopts to second call to
2721 getopt functions. Restore optind rather than decrementing before
2722 second call. Remove errind as it now duplicates last_optind.
2724 2001-12-11 Christopher Faylor <cgf@redhat.com>
2726 * emultempl/pe.em (gld_${EMULATION_NAME}_list_options): Fix typo.
2728 2001-12-07 Geoffrey Keating <geoffk@redhat.com>
2729 Richard Henderson <rth@redhat.com>
2731 * Makefile.am: Add support for xstormy16.
2732 * configure.tgt: Add support for xstormy16.
2733 * Makefile.in: Regenerate.
2734 * emulparams/elf32xstormy16.sh: New file.
2735 * scripttempl/xstormy16.sc: New file.
2737 2001-10-01 Christopher Faylor <cgf@cygnus.com>
2739 * Makefile.in (LIB_PATH): Make configurable.
2740 (GENSCRIPTS): Set LIB_PATH in environment.
2741 * configure.in: Substitute LIB_PATH.
2742 * configure: Regenerate.
2743 * configure.tgt (*cygwin): Set LIB_PATH for cross build.
2744 * configure.host (*cygwin): Add /usr/lib/w32api to NATIVE_LIB_DIRS.
2746 2001-12-07 Nick Clifton <nickc@cambridge.redhat.com>
2748 * lexsup.c (ld_options): Insert 'PROGRAM' into the text string
2749 describing the -N option so that it is easier to translate into
2752 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
2754 * emultempl/pe.em (..._list_options): Replace multiple fprintf
2755 statements describing a single option with a single, newline
2756 escaped fprintf. This allows better translation into other
2759 * ldmain.c (add_archive_element): Combine multiple strings
2760 into a single string to permit better translation into other
2763 2001-12-05 Tom Rix <trix@redhat.com>
2765 * Makefile.am: Remove eaixppc64.
2766 * Makefile.in: Regenerate.
2768 2001-12-04 Tom Rix <trix@redhat.com>
2770 * emultempl/aix.em (choose_target): Change default target to
2771 OUTPUT_FORMAT for ppcmacos. Add braces to remove compiler
2773 (gld*_read_file): Fix typo.
2774 (change_symbol_mode): Add prototype.
2777 * emulparams/aixppc.sh (SYSCALL_MASK, SYMBOL_MODE_MASK): Delete.
2778 * emulparams/aixrs6.sh : Same.
2779 * emulparams/ppcmacos.sh : Same.
2780 * emulparams/aixppc64.sh : Delete file.
2781 * emultempl/aix.em : Formatting changes.
2783 2001-12-04 Hans-Peter Nilsson <hp@axis.com>
2785 * emulparams/criself.sh (NO_SMALL_DATA): Set, to yes.
2786 (OTHER_BSS_END_SYMBOLS): Don't refer to .sbss when setting
2788 (OTHER_END_SYMBOLS): Fix formatting.
2789 * emulparams/crislinux.sh (NO_SMALL_DATA): Set, to yes.
2790 (OTHER_END_SYMBOLS): Fix formatting.
2792 2001-12-04 Alan Modra <amodra@bigpond.net.au>
2794 * ldexp.c (exp_print_token): Correct "table" entry for RSHIFT.
2796 2001-12-02 Tom Rix <trix@redhat.com>
2798 * configure.tgt : Remove eaixppc64 emulations.
2799 * Makefile.in : Remove eaixppc64.c
2800 * ldemul.c (ldemul_choose_target): New parameters argc, argv.
2801 (ldemul_default_target): Same.
2802 * emultempl/gld960.em (gld960_choose_target): Same.
2803 * emultempl/gld960c.em (gld960_choose_target): Same.
2804 * scripttempl/aix.sc: Remove OUTPUT_FORMAT.
2805 * emultempl/aix.em (is_syscall): syscall_mask now a variable.
2806 * emultempl/aix.em (gld*_read_file): symbol_mode_mask now a variable.
2807 * emultempl/aix.em (gld*_parse_args): Handle -b32 -b64 emulation.
2808 * emultempl/aix.em (choose_target): New function. Handle emulation of
2811 2001-11-27 H.J. Lu <hjl@gnu.org>
2813 * emulparams/elf_i386.sh (NO_SMALL_DATA): Set to yes.
2814 * emulparams/elf_i386_be.sh (NO_SMALL_DATA): Likewise.
2815 * emulparams/elf_i386_chaos.sh (NO_SMALL_DATA): Likewise.
2816 * emulparams/elf_i386_ldso.sh (NO_SMALL_DATA): Likewise.
2817 * emulparams/elf_x86_64.sh (NO_SMALL_DATA): Likewise.
2818 * emulparams/m68kelf.sh (NO_SMALL_DATA): Likewise.
2819 * emulparams/elf32_sparc.sh (NO_SMALL_DATA): Likewise.
2820 * emulparams/elf64_sparc.sh (NO_SMALL_DATA): Likewise.
2822 * scripttempl/elf.sc (SBSS): New. Define if ${NO_SMALL_DATA}
2825 (REL_SDATA): Likewise.
2826 (REL_SBSS): Likewise.
2827 (REL_SDATA2): Likewise.
2828 (REL_SBSS2): Likewise.
2829 (SBSS2): Define if ${NO_SMALL_DATA} is not empty.
2832 2001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2834 * scripttempl/elfm68hc11.sc (CTOR, DTOR): Put constructor and
2836 * scripttempl/elfm68hc12.sc (CTOR, DTOR): Likewise.
2838 2001-11-22 H.J. Lu <hjl@gnu.org>
2840 * Makefile.in: Regenerated with automake based on automake
2841 1.4-8 in RedHat 7.1.
2843 2001-11-22 Alan Modra <amodra@bigpond.net.au>
2845 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
2846 (config.status): Delete rule.
2847 Add extra dependencies to cover sourced emulparams files.
2848 * Makefile.in: Regenerate.
2850 * scripttempl/elf.sc: Order <section>, <section>.* and
2851 corresponding linkonce sections as seen in input files.
2852 Formatting fixes. Zero vma of all sections if not relocating.
2853 (STACK): Define and insert if STACK_ADDR defined.
2854 (OTHER_RELOCATING_SECTIONS): Delete.
2855 (OTHER_END_SYMBOLS): Define.
2856 (OTHER_READONLY_SECTIONS): Always insert, not just when relocating.
2857 (OTHER_READWRITE_SECTIONS): Likewise.
2858 (OTHER_GOT_SECTIONS): Likewise.
2859 (OTHER_SDATA_SECTIONS): Likewise.
2860 (OTHER_BSS_SECTIONS): Likewise.
2861 * scripttempl/elfi370.sc (OTHER_READONLY_SECTIONS): Likewise.
2862 (OTHER_READWRITE_SECTIONS): Likewise.
2863 * scripttempl/nw.sc (OTHER_READONLY_SECTIONS): Likewise.
2864 (OTHER_READWRITE_SECTIONS): Likewise
2866 * emulparams/armelf.sh (OTHER_RELOCATING_SECTIONS): Delete.
2867 (STACK_ADDR): Define.
2868 * emulparams/armelf_oabi.sh: As for armelf.sh.
2869 * emulparams/elf32mcore.sh: As for armelf.sh.
2870 * emulparams/h8300elf.sh: As for armelf.sh.
2871 * emulparams/mn10200.sh: As for armelf.sh.
2872 * emulparams/shelf.sh: As for armelf.sh.
2874 * emulparams/elf32fr30.sh (OTHER_RELOCATING_SECTIONS): Delete.
2875 (OTHER_END_SYMBOLS): Define.
2876 * emulparams/m32relf.sh: As for elf32fr30.sh.
2877 * emulparams/h8300helf.sh: As for elf32fr30.sh.
2878 * emulparams/h8300self.sh: As for elf32fr30.sh.
2880 * emulparams/criself.sh (OTHER_READONLY_SECTIONS): Protect symbol
2881 defines with RELOCATING test.
2882 (OTHER_SDATA_SECTIONS): Likewise.
2883 (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
2884 (OTHER_END_SYMBOLS): ..this.
2885 * emulparams/crislinux.sh: As for criself.sh.
2887 * emulparams/elf32bmipn32.sh (OTHER_SDATA_SECTIONS): Zero vma
2889 (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
2890 (OTHER_SECTIONS): ..this. Zero vma if not relocating. Order
2891 normal and linkonce sections as seen in input files.
2892 * emulparams/elf32bmip.sh (DATA_ADDR): Don't define if EMBEDDED.
2893 (TEXT_DYNAMIC): Likewise.
2894 (INITIAL_READONLY_SECTIONS): Zero vma if not relocating.
2895 (OTHER_SDATA_SECTIONS): Likewise.
2896 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
2897 * emulparams/shlelf_linux.sh (OTHER_READWRITE_SECTIONS): Likewise.
2898 * emulparams/elf64alpha.sh (OTHER_READONLY_SECTIONS): Likewise.
2899 * emulparams/hppalinux.sh (OTHER_READONLY_SECTIONS): Likewise.
2900 * emulparams/elf64_aix.sh (OTHER_GOT_SECTIONS): Likewise.
2901 (OTHER_PLT_RELOC_SECTIONS): Likewise.
2902 (OTHER_READONLY_SECTIONS): Likewise. Order normal and linkonce
2903 sections as seen in input files.
2904 * emulparams/elf64_ia64.sh: As for emulparams/elf64_aix.sh.
2905 * emulparams/hppa64linux.sh (OTHER_READONLY_SECTIONS): Zero vma
2907 (OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS): Likewise.
2908 (OTHER_BSS_END_SYMBOLS): Merge from elf64hppa.sh.
2909 * emulparams/elf64mmix.sh (OTHER_RELOCATING_SECTIONS): Delete.
2910 (OTHER_SECTIONS): Instead, use this..
2911 (OTHER_END_SYMBOLS): ..and this.
2913 * emulparams/elf32b4300.sh: Source elf32bmip.sh, remove duplicates.
2914 * emulparams/elf32bsmip.sh: Likewise.
2915 * emulparams/elf32btsmip.sh: Likewise.
2916 * emulparams/elf32ebmip.sh: Likewise.
2917 * emulparams/elf32lmip.sh: Likewise.
2918 * emulparams/elf32elmip.sh: Source elf32lmip.sh, remove duplicates.
2919 * emulparams/elf32lsmip.sh: Likewise.
2920 * emulparams/elf32ltsmip.sh: Source elf32btsmip.sh, remove duplicates.
2921 * emulparams/elf32l4300.sh: Source elf32b4300.sh, remove duplicates.
2922 * emulparams/elf64bmip.sh: Source elf32bmipn32.sh, remove duplicates.
2923 * emulparams/elf64btsmip.sh: Likewise.
2924 * emulparams/elf64ltsmip.sh: Source elf64btsmip.sh, remove duplicates.
2925 * emulparams/elf32lppc.sh: Source elf32ppc.sh, remove duplicates.
2926 * emulparams/elf32ppclinux.sh: Likewise.
2927 * emulparams/elf32ppcsim.sh: Likewise.
2928 * emulparams/elf32lppcsim.sh: Source elf32lppc.sh, remove duplicates.
2929 * emulparams/elf64hppa.sh: Source hppa64linux.sh, remove duplicates.
2930 * emulparams/h8300helf.sh: Source h8300elf.sh, remove duplicates.
2931 * emulparams/h8300self.sh: Likewise.
2932 * emulparams/mn10300.sh: Source mn10200.sh, remove duplicates.
2933 * emulparams/sh.sh: Comment.
2934 * emulparams/shl.sh: Source sh.sh, remove duplicates.
2935 * emulparams/shlelf.sh: Source shelf.sh, remove duplicates.
2936 * emulparams/shelf_linux.sh: Source shlelf_linux.sh, remove duplicates.
2938 2001-11-21 David Heine <dlheine@tensilica.com>
2939 Alan Modra <amodra@bigpond.net.au>
2941 * ldlang.c (map_input_to_output_sections): Replace "break"
2942 accidentally removed with 2001-08-03 change.
2943 (lang_gc_sections_1): Likewise.
2945 2001-11-21 Alan Modra <amodra@bigpond.net.au>
2947 * ldlang.c (walk_wild_section): Move sec == NULL case out of loop.
2949 2001-11-20 Angela Marie Thomas <angela@redhat.com>
2951 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Use NULL instead
2952 of false when calling lang_size_sections.
2953 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
2955 2001-11-15 Alan Modra <amodra@bigpond.net.au>
2957 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Only emit this
2958 function when LDEMUL_FINISH isn't set to the same name. Don't
2959 call ${LDEMUL_FINISH}.
2960 (ld_${EMULATION_NAME}_emulation): Call $LDEMUL_FINISH if defined.
2961 * emultempl/armelf.em (arm_elf_finish): Call
2962 gld${EMULATION_NAME}_finish.
2963 * emultempl/hppaelf.em (hppaelf_finish): Rename to
2964 gld${EMULATION_NAME}_finish. Call bfd_elf32_discard_info and
2965 hppaelf_layout_sections_again if necessary.
2966 (need_laying_out): New var.
2967 (hppaelf_layaout_sections_again): Rename to
2968 hppaelf_layout_sections_again. Clear need_laying_out.
2969 (PARSE_AND_LIST_OPTIONS): Format text.
2971 2001-11-14 H.J. Lu <hjl@gnu.org>
2973 * emultempl/armelf.em (arm_elf_finish): Renamed from
2974 gld${EMULATION_NAME}_finish.
2975 (LDEMUL_FINISH): Set to arm_elf_finish.
2977 2001-11-14 Daniel Jacobowitz <drow@mvista.com>
2979 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): New.
2980 (struct ld_emulation_xfer_struct): Use it.
2982 2001-11-13 Ross Alexander <ross.alexander@uk.neceur.com>
2984 * emulparams/elf64hppa.sh (OTHER_BSS_END_SYMBOLS): Add
2985 additional symbols referenced by newer crt0.o files from HP.
2987 2001-11-12 Anthony Green <green@redhat.com>
2989 * emulparams/armelf.sh (DATA_START_SYMBOLS): New symbol.
2991 2001-11-12 Alfred M. Szmidt <ams@kemisten.nu>
2993 * Makefile.am (GENSCRIPTS): Quote ${exec_prefix}.
2994 * Makefile.in: Regenerate.
2996 2001-11-02 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2998 * ld.texinfo: Use @command for commands, @option for options.
2999 * Makefile.am (POD2MAN): Use 'GNU Development Tools' for
3001 * Makefile.in: Rebuild.
3003 2001-11-04 Chris Demetriou <cgd@broadcom.com>
3005 * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
3006 Add support for targets.
3008 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
3010 * configure.in (ALL_LINGUAS): Add "fr" and "sv"
3011 * configure: Regernate.
3012 * po/fr.po: New file.
3013 * po/sv.po: New file.
3015 2001-11-01 NIIBE Yutaka <gniibe@m17n.org>
3017 * configure.tgt (sh-*-linux): Set targ_emul, targ_extra_emuls
3018 as little endian default and to support big endian.
3020 2001-11-01 Chris Demetriou <cgd@broadcom.com>
3022 * ld.texinfo (Options): Document new option, -nostdlib.
3023 * lexsup.c (OPTION_NOSTDLIB): New definition.
3024 (ld_options): Add entry for "nostdlib".
3025 (parse_args): Handle OPTIONS_NOSTDLIB.
3026 * ldfile.c (ldfile_add_library_path): Don't add directories
3027 to the search path if they weren't specified on the command line
3028 and -nostdlib was specified.
3029 * ld.h (ld_config_type): New member only_cmd_line_lib_dirs.
3031 2001-10-31 Nick Clifton <nickc@cambridge.redhat.com>
3033 * lexsup.c (parse_args): Prevent infinite parsing loop when
3034 "-rpath.a" is specified on the command line.
3035 Replace calls to fprintf with calls to einfo.
3037 2001-10-31 John Marshall <jmarshall@acm.org>
3039 * ld.texinfo: A historical requirement that MEMORY and SECTIONS
3040 appear only once across all the linker scripts involved in a link
3041 invocation no longer applies. Make the documentation reflect
3044 2001-10-31 NIIBE Yutaka <gniibe@m17n.org>
3046 * configure.tgt: Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu
3048 (sh-*-linux*): Added targ_extra_libpath.
3050 2001-10-31 David Heine <dlheine@tensilica.com>
3052 * ldlang.c (lang_size_sections): Keep a valid output_offset field
3053 for padding statements.
3055 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
3057 * configure.tgt (mmix-*-*): New target.
3058 * Makefile.am (ALL_EMULATIONS): Add eelf64mmix.o and emmo.o.
3059 Add dependencies to match.
3060 * emulparams/mmo.sh, emulparams/elf64mmix.sh, emultempl/mmo.em,
3061 emultempl/mmix-elfnmmo.em, emultempl/mmixelf.em,
3062 scripttempl/mmo.sc: New files.
3063 * gen-doc.texi: @set MMIX.
3064 * ld.texinfo: Ditto.
3065 [MMIX] Add MMIX node.
3066 * Makefile.in: Regenerate.
3068 2001-10-29 Kazu Hirata <kazu@hxi.com>
3070 * ldlang.c: Fix a comment typo.
3072 2001-10-23 Alan Modra <amodra@bigpond.net.au>
3074 * configure.host: Move alpha*-*-linux-gnu* entry to generic
3075 entries, and match *-*-linux*.
3077 2001-10-20 Alan Modra <amodra@bigpond.net.au>
3079 * ldgram.y (mri_script_command): Surround processing of INCLUDE
3080 with ldlex_script, ldlex_popstate.
3081 (ifile_p1): Likewise.
3082 * ldlex.l (EOF): Don't BEGIN(SCRIPT). Restore lineno from the
3084 (lex_push_file): Save current lineno to lineno_stack. Set lineno
3085 to 1. Don't BEGIN(SCRIPT).
3086 (lex_redirect): Similarly.
3087 * ldmain.c (main): Set yydebug non-zero if YYDEBUG.
3089 2001-10-20 Nick Clifton <nickc@cambridge.redhat.com>
3091 * scripttempl/armcoff.sc: Define __EH_FRAME_BEGIN__ and
3092 __EH_FRAME_END__ and accept eh frames into data section.
3093 Add ctor and dtor sections.
3095 2001-10-19 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
3097 * pe-dll.c (autofilter_objectlist): Add gcrt0.o.
3098 (auto-export): Fix indentation.
3100 2001-10-18 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
3102 * pe-dll.c (autofilter_objectlist): Add startup objects
3104 (auto-export): Constify char * p.
3105 Extract file basename and use strcmp rather than ststr
3108 2001-10-18 Chris Demetriou <cgd@broadcom.com>
3110 * ldmain.c (get_emulation): Improve comment about the handling
3113 2001-10-17 Alan Modra <amodra@bigpond.net.au>
3115 * po/POTFILES.in: Regenerate.
3117 2001-10-16 Vassili Karpov <malc@pulsesoft.com>
3119 * emultempl/elf32.em (gld*_list_options): Remove extra '\t' from
3120 -z nocopyreloc and -z nocombreloc usage strings.
3122 2001-10-12 Vassili Karpov <malc@pulsesoft.com>
3124 * emultempl/elf32.em (gld*_list_options): Include -z nocopyreloc
3127 2001-10-11 Aleksey Romanov <aromanov@ennovatenetworks.com>
3129 * scripttempl/armaout.sc: Place .bss section after end of aligned
3130 data section to match behaviour of aout code in constructrion of
3133 2001-10-11 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
3135 * pe-dll.c (autofilter_entry_type autofilter_liblist: Add
3136 startup files for mingw32 dlls to list.
3138 2001-10-10 Chris Demetriou <cgd@broadcom.com>
3140 * emultempl/elf32.em: Fix shell 'if' usage for portability.
3142 2001-10-08 Aldy Hernandez <aldyh@redhat.com>
3144 * configure.tgt (targ): Add arm9e-*-elf.
3146 2001-10-05 H.J. Lu <hjl@gnu.org>
3148 * genscripts.sh: Fix a typo in the last change.
3150 2001-10-05 Jakub Jelinek <jakub@redhat.com>
3152 * emultempl/elf32.em (gld_*_list_options): Include -z combreloc and
3153 -z nocombreloc in usage.
3155 2001-10-03 Jim Blandy <jimb@redhat.com>
3157 * genscripts.sh: Include a comment at the top of each generated
3158 script, explaining its purpose.
3160 2001-10-03 Vassili Karpov <malc@pulsesoft.com>
3162 * emultempl/elf32.em (parse_args): Handle -z nocopyreloc.
3163 * NEWS: Mention -z nocopyreloc.
3164 * ld.texinfo (Options): Describe nocopyreloc.
3166 2001-10-03 Alan Modra <amodra@bigpond.net.au>
3168 * configure: Regenerate.
3170 2001-10-02 Alan Modra <amodra@bigpond.net.au>
3172 * ldver.h (ld_program_version): Remove declaration.
3173 * lexsup.c (parse_args): Move printing of copyright message..
3174 * ldver.c (ldversion): .. to here.
3175 Use BFD_VERSION_STRING in place of BFD_VERSION.
3176 (ld_program_version): Remove.
3177 * Makefile.am (Makefile): Depend on bfd/configure.in.
3179 * Makefile.in: Regenerate.
3181 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
3183 * Makefile.am: Update dependencies with "make dep-am".
3184 * Makefile.in: Regenerate.
3186 2001-09-29 John Reiser <jreiser@BitWagon.com>
3188 * ldlang.c (lang_common): Conditionally inhibit Common allocation.
3189 * lexsup.c: Add --no-define-common commandline option.
3190 * ldgram.y: Add INHIBIT_COMMON_ALLOCATION script command.
3191 * ldlex.l: Likewise.
3192 * ld.h: Add command_line.inhibit_common_definition.
3193 * ldmain.c (main): Initialize.
3194 * ld.texinfo: Document.
3196 2001-09-29 Alan Modra <amodra@bigpond.net.au>
3198 * ldlang.c (section_already_linked): Remove assignment to kept_section.
3200 2001-09-26 Alan Modra <amodra@bigpond.net.au>
3202 * ldmisc.c (USE_STDARG): Remove.
3203 (info_msg): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE.
3208 * ldmisc.h: Remove #ifdef ANSI_PROTOTYPES and non-ansi
3209 declarations. Update copyright.
3211 2001-09-24 Charles Wilson <cwilson@ece.gatech.edu>
3213 * pe-dll.c: Remove obsoleted declaration of
3214 pe_get_data_import_dll_name.
3215 (pe_create_import_fixup): Fix thinko.
3217 * ld.texinfo(enable-auto-import): Clarify the explanation.
3219 2001-09-24 Nick Clifton <nickc@cambridge.redhat.com>
3221 * pe-dll.c (pe_create_import_fixup): Revert previous patch.
3222 * emultemp/pe.em (pe_data_import_dll): Move definition outside of
3223 DLL_SUPPORT controlled code.
3225 2001-09-24 Charles Wilson <cwilson@ece.gatech.edu>
3227 * emultempl/pe.em(pe_data_import_dll): Make static.
3228 (pe_get_data_import_dll_name): New accessor function.
3229 * pe-dll.c(pe_create_import_fixup): call
3230 pe_get_data_import_dll_name() from pe.em, instead of
3231 directly accessing pe_data_import_dll variable from pe.em.
3233 2001-09-18 Bruno Haible <haible@clisp.cons.org>
3235 * deffilep.y: Include "safe-ctype.h" instead of <ctype.h>.
3236 (def_file_add_directive): Use ISSPACE instead of isspace.
3237 (def_lex): Use ISDIGIT/ISXDIGIT/ISALPHA/ISALNUM instead of
3238 isdigit/isxdigit/isalpha/isalnum.
3239 * emultempl/aix.em: Include "safe-ctype.h" instead of <ctype.h>.
3240 (gld${EMULATION_NAME}_read_file): Use ISSPACE instead of isspace.
3241 * emultempl/elf32.em: Include "safe-ctype.h" instead of <ctype.h>.
3242 (gld${EMULATION_NAME}_place_orphan): Use ISALNUM instead of
3244 * emultempl/gld960c.em: Include "safe-ctype.h" instead of <ctype.h>.
3245 (gld960_set_output_arch): Use ISUPPER/TOLOWER instead of
3247 * emultempl/sunos.em: Include "safe-ctype.h" instead of <ctype.h>.
3248 (gld${EMULATION_NAME}_search_dir): Use ISDIGIT instead of isdigit.
3249 * ldctor.c: Include "safe-ctype.h" instead of <ctype.h>.
3250 (ctor_prio): Use ISDIGIT instead of isdigit.
3251 * ldfile.c: Include "safe-ctype.h" instead of <ctype.h>.
3252 (ldfile_open_file_search): Use ISALPHA instead of isalpha.
3253 (ldfile_add_arch): Use ISUPPER/TOLOWER instead of
3255 * ldlang.c: Include "safe-ctype.h" instead of <ctype.h>.
3256 (stricpy): Use TOLOWER instead of isupper/tolower.
3257 (lang_leave_overlay_section): Use ISALNUM instead of isalnum.
3258 * ldlex.l: Include "safe-ctype.h" instead of <ctype.h>.
3259 (lex_warn_invalid): Use ISPRINT instead of isprint.
3260 * ldmain.c: Include "safe-ctype.h" instead of <ctype.h>.
3261 (main): For gettext, also set the LC_CTYPE locate facet.
3262 (add_keepsyms_file): Use ISSPACE instead of isspace.
3263 * lexsup.c: Include "safe-ctype.h" instead of <ctype.h>.
3264 (is_num, parse_args): Use ISDIGIT instead of isdigit.
3265 * mpw-elfmips.c: Include "safe-ctype.h" instead of <ctype.h>.
3266 (gldelf32ebmip_place_orphan): Use ISALNUM instead of isalnum.
3267 * mpw-eppcmac.c: Include "safe-ctype.h" instead of <ctype.h>.
3268 (gldppcmacos_read_file): Use ISSPACE instead of isspace.
3269 * pe-dll.c: Include "safe-ctype.h" instead of <ctype.h>.
3270 (quoteput): Use ISSPACE instead of isspace.
3271 (pe_dll_generate_implib, pe_process_import_defs): Use ISALNUM
3274 2001-09-18 Alan Modra <amodra@bigpond.net.au>
3276 * deffilep.y (def_stash_module): Constify "name" param.
3278 * pe-dll.c: Replace CONST with const throughout.
3279 (quick_symbol): Constify "n1", "n2", "n3" params.
3280 (make_singleton_name_thunk): Constify "import" param. Make
3281 "buffer_len" a size_t.
3282 (make_import_fixup_entry): Constify "name", "fixup_name",
3283 "dll_symname" params.
3284 (pe_get16): Cast args of bfd_seek. Replace bfd_read with bfd_bread.
3285 (pe_get32): Likewise.
3286 (pe_implied_import_dll): Likewise.
3288 * emultempl/beos.em (sort_by_file_name): Constify "ra", "rb".
3289 (sort_by_section_name): Likewise.
3291 * emultempl/pe.em: Move defines for arm_epoc_pe before bfd.h included.
3292 (make_import_fixup): Cast printf arg, rel->address to long rather
3294 (gld_${EMULATION_NAME}_after_open): Don't compare NULL against int.
3296 2001-09-15 Alan Modra <amodra@bigpond.net.au>
3298 * ldmain.c (main): Rename BufferSize to ld_bufsz because HPUX
3299 defines BufferSize. Increase buffer size by one.
3301 2001-09-14 Ralf Habacker <Ralf.Habacker@freenet.de>
3303 * pe-dll.c (pe_walk_relocs_of_symbol): Fix memory leak.
3305 2001-09-14 Kevin Lo <kevlo@openbsd.org>
3307 * configure.tgt: Add arm-openbsd target.
3309 2001-09-12 H.J. Lu <hjl@gnu.org>
3311 * Makefile.am (ALL_EMULATIONS): Move eelf64ppc.o and
3313 (ALL_64_EMULATIONS): Here.
3314 * Makefile.in: Regenerated.
3316 2001-09-12 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
3318 * emultempl/pe.em(make_import_fixup): change signature to
3319 take asection as well as arelec; we need this for proper
3320 error reporting. Only call pe_create_import_fixup() if
3321 there is no attempt to add a constant addend to the reloc;
3322 otherwise, report error condition.
3323 * pe-dll.c(pe_walk_relocs_of_symbol): change signature,
3324 since final argument is a pointer to make_import_fixup().
3325 Change call to cb() to match make_import_fixup() signature.
3326 (make_import_fixup_mark): make buffer_len unsigned.
3327 * pe-dll.h: change signature of pe_walk_relocs_of_symbol.
3329 2001-09-12 Charles Wilson <cwilson@ece.gatech.edu>
3331 * ld.texinfo: add verbose documentation for auto-import
3332 direct-addressing workaround, to compliment the terse
3335 2001-09-12 Andrew MacLeod <amacleod@redhat.com>
3337 * scripttempl/v850.sc: Add gcc_except_table sections.
3339 2001-09-11 Jeffrey A Law (law@cygnus.com)
3341 * emulparams/h8300helf.sh: Move stack to a much higher memory address.
3342 * emulparams/h8300self.sh: Similarly.
3344 2001-09-05 Danny Smith <dannysmith@users.souceforge.net>
3346 * ld.texinfo (Options, --stack): Correct default value for stack
3349 2001-09-05 Tom Rix <trix@redhat.com>
3351 * emultempl/aix.em : Handle import file XMC_XO and syscall symbols.
3353 2001-09-03 Andreas Jaeger <aj@suse.de>
3355 * emultempl/beos.em: Declare prototypes for comparions functions,
3358 2001-09-02 Andreas Jaeger <aj@suse.de>
3360 * emultempl/aix.em: Add missing prototype.
3361 * emultempl/lnk960.em: Likewise.
3362 * emultempl/vanilla.em: Likewise.
3363 * emultempl/armcoff.em: Likewise.
3364 * emultempl/armelf_oabi.em: Likewise.
3365 * emultempl/beos.em: Likewise.
3366 * emultempl/gld960c.em: Likewise.
3367 * emultempl/gld960.em: Likewise.
3369 * emulparams/elf64alpha.sh (PARSE_AND_LIST_PROLOGUE): Add parameter
3370 for prototype declaration.
3372 2001-08-31 Eric Christopher <echristo@redhat.com>
3373 Jason Eckhardt <jle@redhat.com>
3375 * ldmain.c (get_emulation): Add support for -mips32 and -mips64.
3377 2001-08-31 Andreas Jaeger <aj@suse.de>
3379 * emultempl/pe.em: Add missing prototypes.
3380 (gld_${EMULATION_NAME}_after_open): Remove extra args to
3381 pe_find_data_imports.
3382 (pr_sym): Add unused attribute.
3384 2001-08-29 Joel Sherrill <joel@OARcorp.com>
3386 * configure.tgt (i[3456]86-*-rtems*, m68*-*-rtems*): Change
3387 default from coff to elf.
3389 2001-08-29 Jeff Law <law@redhat.com>
3391 * emulparams/h8300helf.sh: Resync with h8300elf.sh. Update
3393 * emulparams/h8300self.sh: Similarly.
3395 2001-08-28 J"orn Rennecke <amylaar@redhat.com>
3397 * Makefile.am (ALL_EMULATIONS): Add eh8300elf.o, eh8300elf.o and
3399 (eh8300elf.c, eh8300helf.c, eh8300self.c): New targets.
3400 * configure.tgt (h8300-*-elf*): New case.
3401 * emulparams/h8300elf.sh, emulparams/h8300helf.sh: New files.
3402 * emulparams/h8300self.sh: New file.
3403 * Makefile.in: Regenerated.
3405 2001-08-28 Nick Clifton <nickc@cambridge.redhat.com>
3407 * ldmain.c (main): Rename BSIZE to BufferSize to avoid collision
3410 2001-08-27 Linus Nordberg <linus@swox.com>
3411 Alan Modra <amodra@bigpond.net.au>
3413 * Makefile.am (ALL_EMULATIONS): Add eelf64ppc.o and eelf64lppc.o.
3414 (eelf64ppc.c, eelf64lppc.c): Add make targets.
3416 * Makefile.in: Regenerate.
3417 * configure.tgt: Add powerpc64 support. Move pdp11, pjl, pj
3418 entries to correct alphabetical position.
3419 * emulparams/elf64ppc.sh: New.
3420 * emulparams/elf64lppc.sh: New.
3422 2001-08-27 Nick Clifton <nickc@cambridge.redhat.com>
3424 * ldmain.c (main): Declare BSIZE as static.
3426 2001-08-23 Jakub Jelinek <jakub@redhat.com>
3428 * emultempl/elf32.em (place_orphan): Place orphan .rel* sections
3429 into .rel.dyn resp. .rela.dyn if combreloc.
3430 (get_script): If .x linker script is equal to .xn, only put it
3431 once into the binary.
3432 Add .xc and .xsc scripts.
3433 (parse_args): Handle -z combreloc and -z nocombreloc.
3434 * scripttempl/elf.sc (.rela.sbss): Fix a typo.
3435 For .xc and .xsc scripts put all .rel* or .rela* input sections
3436 but .rel*.plt and PLT-like sections into .rel.dyn resp. .rela.dyn.
3437 * genscripts.sh (GENERATE_COMBRELOC_SCRIPT): Set if SCRIPT_NAME
3439 Strip trailing whitespace from script.
3440 Generate .xc and .xsc scripts if requested.
3441 * ldmain.c (main): Initialize link_info.combreloc and
3442 link_info.spare_dynamic_tags.
3443 * lexsup.c (OPTION_SPARE_DYNAMIC_TAGS): Define.
3444 (ld_options): Add --spare-dynamic-tags option.
3445 (parse_args): Likewise.
3446 * ld.texinfo: Document -z combreloc and -z nocombreloc.
3447 * ldint.texinfo: Document .xc and .xsc linker scripts.
3448 * NEWS: Add notes about -z combreloc and SHF_MERGE.
3450 2001-08-22 H.J. Lu <hjl@gnu.org>
3452 * emulparams/elf32fr30.sh: Add a newline.
3454 2001-08-21 Andreas Jaeger <aj@suse.de>
3456 * deffilep.y: Add missing prototypes.
3457 * pe-dll.c: Likewise.
3459 2001-08-20 Alan Modra <amodra@bigpond.net.au>
3461 * ldlang.c (insert_pad): Fix typos in last patch.
3463 * ldlang.c: When traversing lang_statement_union_type lists,
3464 consistently use "header.next" rather than "next".
3465 * mpw-eppcmac.c: Likewise.
3466 * emultempl/beos.em: Likewise.
3467 * emultempl/hppaelf.em: Likewise.
3468 * emultempl/pe.em: Likewise.
3469 * ldlang.h (union lang_statement_union): Remove "next" field.
3471 * ldlang.c (insert_pad): Use offsetof macro.
3472 (lang_size_sections): Always neuter padding statements.
3473 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Delete.
3475 * pe-dll.c (pe_dll_fill_sections): Correct type of "relax" param
3476 passed to lang_size_sections.
3477 (pe_exe_fill_sections): Likewise.
3478 * emultempl/pe.em (output_prev_sec_find): Copied from elf32.em.
3479 (gld_${EMULATION_NAME}_place_orphan): Merge from elf32.em.
3481 2001-08-18 Alan Modra <amodra@bigpond.net.au>
3483 * emultempl/aix.em: Formatting fixes.
3485 2001-08-18 Alan Modra <amodra@bigpond.net.au>
3487 * ldlang.c (insert_pad): Make use of an existing pad statement if
3488 available. Move code calculating alignment, adjusting section
3489 alignment power, and adjusting dot to ..
3490 (size_input_section): .. here. Remove unused relax param.
3491 (lang_size_sections): Change boolean `relax' param to boolean *.
3492 Adjust call to size_input_section. Make use of insert_pad to
3493 place pad after the assignment statement. If relaxing, zap
3495 (reset_memory_regions): Reset output_bfd section sizes too.
3496 (relax_again): Move to..
3497 (lang_process): ..here. Adjust call to lang_size_sections, and
3498 remove duplicated code.
3499 * ldlang.h (lang_size_sections): Change `relax' param to boolean *.
3501 2001-08-17 Alan Modra <amodra@bigpond.net.au>
3503 * ld.texinfo: Document that fill values now use the four least
3505 * emulparams/elf32fr30.sh (NOP): Update.
3506 * emulparams/elf32mcore.sh: Likewise.
3507 * emulparams/elf64_s390.sh: Likewise.
3508 * emulparams/elf_i386.sh: Likewise.
3509 * emulparams/elf_i386_be.sh: Likewise.
3510 * emulparams/elf_i386_chaos.sh: Likewise.
3511 * emulparams/elf_i386_ldso.sh: Likewise.
3512 * emulparams/elf_s390.sh: Likewise.
3513 * emulparams/elf_x86_64.sh: Likewise.
3514 * emulparams/i386moss.sh: Likewise.
3515 * emulparams/i386nw.sh: Likewise.
3516 * emulparams/m68kelf.sh: Likewise.
3517 * scripttempl/elf.sc: Update NOP comment.
3518 * scripttempl/elfi370.sc: Likewise.
3519 * scripttempl/elfm68hc11.sc: Likewise.
3520 * scripttempl/elfm68hc12.sc: Likewise.
3521 * scripttempl/nw.sc: Likewise.
3523 2001-08-15 Tom Rix <trix@redhat.com>
3525 * ldgram.y (saved_script_handle): Initialize to NULL.
3526 * ldmain.c (main): Change check on saved_script_handle.
3528 2001-08-14 Alan Modra <amodra@bigpond.net.au>
3530 * emultempl/elf32.em: Formatting fixes.
3531 (output_prev_sec_find): Test for bfd_ind_section too; do so by
3532 looking at sec->owner.
3533 (output_rel_find): Move function inside LDEMUL_PLACE_ORPHAN test.
3534 (gld${EMULATION_NAME}_place_orphan): Add a few comments. Remove
3535 unused code, and reorganize orphan section placement code.
3537 * ldlang.c (wild_doit): Rename to lang_add_section.
3538 * ldlang.h: Here too.
3539 * mpw-elfmips.c: And here.
3540 * emultempl/beos.em: And here.
3541 * emultempl/elf32.em: And here.
3542 * emultempl/hppaelf.em: And here.
3543 * emultempl/pe.em: And here.
3545 2001-08-13 Richard Henderson <rth@redhat.com>
3547 * emultempl/needrelax.em: New file.
3548 * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Reference it.
3549 * Makefile.am (eelf64_ia64.c): Depend on it.
3550 * Makefile.in: Rebuild.
3552 2001-08-13 Alan Modra <amodra@bigpond.net.au>
3554 * emultempl/elf32.em: For SEC_EXCLUDE sections, ensure that
3555 output_section is set non-NULL.
3557 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Return
3558 `true' for SEC_EXCLUDE sections so that the generic code doesn't
3559 needlessly create an output_section_statement. Treat a correctly
3560 named output_section_statement with NULL bfd_section as compatible.
3562 2001-08-13 Hans-Peter Nilsson <hp@bitrange.com>
3564 * emultempl/generic.em: Support EXTRA_EM_FILE.
3565 (ld_${EMULATION_NAME}_emulation): Support emulation parameters
3566 LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
3567 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
3568 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
3569 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
3570 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
3571 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
3572 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
3573 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
3574 LDEMUL_FIND_POTENTIAL_LIBRARIES.
3576 2001-08-12 Richard Henderson <rth@redhat.com>
3578 * scripttempl/elf.sc, scripttempl/elfd30v.sc,
3579 scripttempl/elfm68hc11.sc, scripttempl/elfm68hc12.sc,
3580 scripttempl/v850.sc: Keep .jcr data.
3582 2001-08-12 H.J. Lu <hjl@gnu.org>
3583 Andrew Haley <aph@cambridge.redhat.com>
3584 Nick Clifton <nickc@redhat.com>
3586 * ldgram.y (had_script): Change name to saved_script_handle.
3587 Change type to file handle.
3588 * ld.h (had_script): Rename and retype.
3589 * ldfile.c (ldfile_open_command_file): Save the file handle
3590 used in saved_script_handle.
3591 * lexsup.c (parse_args): Do not allow -c option to alter
3592 saved_script_handle.
3593 * ldmain.c (main): Print out the linker script used if
3594 --verbose is given. Check saved_script_handle to obtain the
3595 external linker script used, or if NULL, dump the builtin
3597 * ld.texinfo: Document that --verbose now dumps the linker
3598 script used, regardless of whether it was an internal or an
3601 2001-08-10 Andreas Jaeger <aj@suse.de>
3603 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
3605 * configure: Regenerate.
3607 2001-08-09 Alan Modra <amodra@bigpond.net.au>
3609 * emultempl/elf32.em (output_prev_sec_find): Add missing prototype.
3611 * scripttempl/elf.sc: Move non-text .dynamic section before
3612 .plt/.got/.sdata* group.
3613 (OTHER_GOT_SECTIONS): Move to immediately after .got.
3614 (OTHER_SDATA_SECTIONS): Add.
3615 * emulparams/criself.sh: Use OTHER_SDATA_SECTIONS rather than
3617 * emulparams/crislinux.sh: Likewise.
3618 * emulparams/elf32b4300.sh: Likewise.
3619 * emulparams/elf32bmip.sh: Likewise.
3620 * emulparams/elf32bmipn32.sh: Likewise.
3621 * emulparams/elf32bsmip.sh: Likewise.
3622 * emulparams/elf32btsmip.sh: Likewise.
3623 * emulparams/elf32ebmip.sh: Likewise.
3624 * emulparams/elf32elmip.sh: Likewise.
3625 * emulparams/elf32l4300.sh: Likewise.
3626 * emulparams/elf32lmip.sh: Likewise.
3627 * emulparams/elf32lsmip.sh: Likewise.
3628 * emulparams/elf32ltsmip.sh: Likewise.
3629 * emulparams/elf64bmip.sh: Likewise.
3630 * emulparams/elf64btsmip.sh: Likewise.
3631 * emulparams/elf64ltsmip.sh: Likewise.
3633 2001-08-08 Alan Modra <amodra@bigpond.net.au>
3635 * genscripts.sh: Source the emulparams script before each output
3636 script is generated so that variables like `RELOCATING' may affect
3637 variables defined in the emulparams script.
3639 2001-08-04 Alan Modra <amodra@bigpond.net.au>
3641 * emultempl/aix.em: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this
3644 * emultempl/beos.em (sort_sections): Modify for 2001-08-03 change,
3645 ie. iterate over wild_statement.section_list.
3646 (gld${EMULATION_NAME}_place_orphan): Likewise.
3648 2001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3650 * scripttempl/elfm68hc12.sc (FINISH_CODE, FINISH_RELOC): New to handle
3651 .fini[0-4] sections used by _exit
3652 (CTOR, DTOR): Export ctor/dtor symbols; move them to ROM.
3653 (*.text,*.data,*.bss): Take into account .text.*, .data.*, .bss.*.
3654 * scripttempl/elfm68hc11.sc: Likewise.
3656 2001-08-03 H.J. Lu <hjl@gnu.org>
3658 * emultempl/beos.em (init): Add the missing initialization.
3660 2001-08-03 Alan Modra <amodra@bigpond.net.au>
3662 * ld.texinfo (Input Section Basics): Clarify ordering of output
3664 * ldlang.c (callback_t): Add wildcard_list param.
3665 (walk_wild_section): Remove "section" param. Rewrite for
3666 lang_wild_statement_type change. Remove unique_section_p test.
3667 (walk_wild_file): Remove "section" param.
3668 (walk_wild): Remove "section" and "file" params.
3669 (lang_gc_wild): Likewise.
3670 (wild): Likewise. Modify for lang_wild_statement_type change.
3671 (wild_sort): Likewise. Add "sec" param.
3672 (gc_section_callback): Likewise.
3673 (output_section_callback): Likewise. Do unique_section_p test.
3674 (map_input_to_output_sections): Modify call to wild.
3675 (lang_gc_sections_1): Likewise.
3676 (print_wild_statement): Modify for lang_wild_statement_type
3678 (lang_add_wild): Replace filename, filenames_sorted param with
3679 filespec. Replace section_name, sections_sorted,
3680 exclude_filename_list with section_list.
3681 * ldlang.h (lang_add_wild): Here too.
3682 (lang_wild_statement_type): Replace section_name, sections_sorted,
3683 and exclude_filename_list with section_list.
3684 * ldgram.y (current_file): Delete.
3685 (%union): Add wildcard_list.
3686 (file_NAME_list): Set type to wildcard_list. Build a linked list
3687 rather than calling lang_add_wild for each entry.
3688 (input_section_spec_no_keep): Call lang_add_wild here instead.
3689 * ld.h (struct wildcard_list): Declare.
3690 * mri.c (mri_draw_tree): Modify to suit new lang_add_wild.
3692 2001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
3694 * ldmain.c (main): initialize link_info.pei386_auto_import
3695 * pe-dll.c: new tables for auto-export filtering
3696 (auto_export): change API, pass abfd for contextual filtering.
3697 Loop thru tables of excluded symbols instead of comparing
3700 2001-08-02 Paul Sokolovsky <paul.sokolovsky@technologist.com>
3702 * pe-dll.c: new variable pe_dll_enable_extra_debug. New
3703 static variable current_sec (static struct sec *). Add
3704 forward declaration for add_bfd_to_link.
3705 (process_def_file): Don't export undefined symbols. Do not
3706 export symbols starting with "_imp__". Call auto_export()
3708 (pe_walk_relocs_of_symbol): New function.
3709 (generate_reloc): add optional extra debugging
3710 (pe_dll_generate_def_file): eliminate extraneous initial blank
3712 (make_one): enlarge symtab to make room for __nm__ symbols
3713 (DATA auto-import support).
3714 (make_singleton_name_thunk): New function.
3715 (make_import_fixup_mark): New function.
3716 (make_import_fixup_entry): New function.
3717 (pe_create_import_fixup): New function.
3718 (add_bfd_to_link): Specify that 'name' argument is a CONST
3720 * pe-dll.h: declare new variable pe_dll_extra_pe_debug;
3721 declare new functions pe_walk_relocs_of_symbol and
3722 pe_create_import_fixup.
3723 * emultempl/pe.em: add new options --enable-auto-import,
3724 --disable-auto-import, and --enable-extra-pe-debug.
3725 (make_import_fixup): New function.
3726 (pe_find_data_imports): New function.
3727 (pr_sym): New function.
3728 (gld_${EMULATION_NAME}_after_open): Add optional extra pe
3729 debugging. Call pe_find_data_imports. Mark .idata as DATA, not
3732 2001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
3734 * ld.texinfo: add additional documentation for
3735 --export-all-symbols. Document --out-implib,
3736 --enable-auto-image-base, --disable-auto-image-base,
3737 --dll-search-prefix, --enable-auto-import, and
3738 --disable-auto-import.
3739 * ldint.texinfo: Add detailed documentation on auto-import
3742 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
3744 * ld.texinfo (Simple Assignments): Fix computation in SECTIONS
3747 2001-07-24 Alan Modra <amodra@bigpond.net.au>
3749 * Makefile.am: Update dependencies with "make dep-am".
3750 * Makefile.in: Regenerate
3752 2001-07-23 Alan Modra <amodra@bigpond.net.au>
3754 * ldcref.c (check_section_sym_xref): New function.
3755 (check_nocrossrefs): Call it.
3756 (check_nocrossref): Interate over h->refs here instead of..
3757 (check_refs): ..here. Pass in the symbol name, section, and bfd
3758 rather than hash_entry pointers.
3759 (struct check_refs_info): Keep symbol name rather than hash entry.
3761 (check_reloc_refs): Tweak for above changes in check_refs_info.
3762 Only report references to section syms when symname is NULL to
3763 prevent duplicate messages for the same reloc.
3765 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
3767 * ldexp.c (exp_print_tree): Use stderr if config.map_file is not
3768 available. Do not print NULL trees.
3769 (exp_print_token): Print unknown tokens with values > 126 as
3770 decimal values not ASCII characters.
3772 * ldlang.c (lang_leave_overlay): If a region is specified assign
3773 it to all sections inside the overlay unless they have been
3774 assigned to the own, non-default, memory region.
3776 * README: Add header for consistency with other README files.
3778 2001-07-14 H.J. Lu <hjl@gnu.org>
3780 * emultempl/elf32.em (output_prev_sec_find): Never return
3781 bfd_abs_section_ptr, bfd_com_section_ptr nor
3782 bfd_und_section_ptr.
3784 2001-07-14 Nick Clifton <nickc@cambridge.redhat.com>
3786 * Makefile.am (em32relf.c): Change dependency from generic.em to
3788 * Makefile.in: Regenerate.
3790 2001-07-14 matthew green <mrg@eterna.com.au>
3792 * configure.tgt (i386-*-netbsdelf*): New target.
3793 (i386-*-netbsd*): Set targ_extra_emuls to `elf_i386'
3795 2001-07-13 Jakub Jelinek <jakub@redhat.com>
3797 * emultempl/elf32.em (output_prev_sec_find): New.
3798 (place_orphan): Use it.
3800 2001-07-11 H.J. Lu <hjl@gnu.org>
3802 * ldmain.c (main): Fix typos in the last change.
3804 2001-07-11 Jakub Jelinek <jakub@redhat.com>
3806 * ldmain.c (main): Disallow -F and -f without -shared.
3808 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
3810 * emultempl/pe.em (after_open): Check for the output_bfd not
3811 having any coff_data structure allocated to it.
3813 2001-07-09 David O'Brien <obrien@FreeBSD.org>
3815 * emultempl/elf32.em: Do not assuming that contents of the buffer
3816 returned from basename function will remain unchanged accross other
3819 2001-07-03 H.J. Lu <hjl@gnu.org>
3821 * scripttempl/elf.sc (DYNAMIC_PAD): Revert the change made on
3822 2001-07-03. It creates dynamic entries even for static binaries.
3824 2001-07-03 Jakub Jelinek <jakub@redhat.com>
3826 * scripttempl/elf.sc (DYNAMIC_PAD): New variable.
3827 (DYNAMIC): Use it to reserve few dynamic entries for
3830 2001-06-27 Alan Modra <amodra@bigpond.net.au>
3832 * emulparams/hppa64linux.sh: New file.
3833 * configure.tgt: hppa*64*-*-linux* uses hppa64linux.sh
3834 * Makefile.am (ALL_64_EMULATIONS): Add ehppa64linux.o
3835 (ehppa64linux.c): Add rule to make it.
3837 * Makefile.in: Regenerate.
3839 2001-06-21 Hans-Peter Nilsson <hp@axis.com>
3841 * ld.texinfo (Options, -r): Mention restrictions when using
3842 different object formats.
3844 2001-06-19 Hans-Peter Nilsson <hp@axis.com>
3846 * ldlang.c (lang_check): Emit fatal error if relocatable link
3847 between different object flavours with relocations in input.
3849 2001-06-19 H.J. Lu <hjl@gnu.org>
3851 * ld.texinfo (-E, --export-dynamic): Mention --version-script.
3852 (--version-script): Mention the language support.
3854 2001-06-19 H.J. Lu <hjl@gnu.org>
3856 * ldlang.c (lang_check): Revert the change mode on 2001-06-15.
3858 2001-06-18 H.J. Lu <hjl@gnu.org>
3860 * Makefile.am (ld.1): Remove the prefix `$(srcdir)/'.
3861 (diststuff): Add $(MANS).
3862 * Makefile.in: Regenerated.
3866 2001-06-18 Hans-Peter Nilsson <hp@axis.com>
3868 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
3869 Update for API change in bfd_elf${ELFSIZE}_size_dynamic_sections.
3870 * mpw-elfmips.c (gldelf32ebmip_before_allocation): Ditto.
3871 * ld.h (args_type): Remove member export_dynamic. All users
3872 changed to use struct bfd_link_info member.
3874 * Makefile.am (ecriself.c, ed10velf.c, ei386moss.c): Depend on
3875 $(srcdir)/emultempl/elf32.em, not $(srcdir)/emultempl/generic.em.
3876 * Makefile.in: Regenerate.
3878 2001-06-18 H.J. Lu <hjl@gnu.org>
3880 * ldlang.c (init_os): Add the newline to the einfo call.
3881 (lang_check): Likewise.
3882 (lang_do_version_exports_section): Likewise.
3884 2001-06-15 H.J. Lu <hjl@gnu.org>
3886 * lexsup.c (parse_args); Save optind to report unrecognized
3889 2001-06-15 Hans-Peter Nilsson <hp@axis.com>
3891 * ldlang.c (lang_check): Emit fatal error if relocatable link
3892 between different object flavours.
3894 * lexsup.c (parse_args) <case OPTION_EXPORT_DYNAMIC, case 'E'>:
3895 Set new link_info member export_dynamic.
3896 * ldmain.c (main): Initialize new link_info member export_dynamic.
3898 2001-06-12 Nick Clifton <nickc@cambridge.redhat.com>
3900 * ldlang.c (walk_wild): Only call walk_wild_file if
3901 lookup_name returns something.
3902 (lookup_name): If load_symbols fails, return NULL.
3903 (load_symbols): Change to a boolean function.
3904 (open_input_bfds): If load_symbols fails then do not make the
3907 2001-06-08 Alan Modra <amodra@bigpond.net.au>
3909 * ldlang.c (record_bfd_errors): Remove.
3911 * emultempl/aix.em: Fix copyright dates.
3913 2001-06-07 Andreas Jaeger <aj@suse.de>
3915 * elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase.
3916 (TEXT_START_ADDR): Likewise.
3918 2001-06-06 Martin Schwidefsky <schwidefsky@de.ibm.com>
3920 * configure.host: Set HOSTING_CRT0/HOSTING_LIBS correctly for s/390.
3922 2001-06-05 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
3924 * emultempl/pe.em (init): Reduce default stack reserve to 0x200000.
3926 2001-05-31 H.J. Lu <hjl@gnu.org>
3928 * ldlang.c (open_input_bfds): Don't change the bfd error
3929 handler whilst loading symbols.
3931 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
3933 * configure.tgt: Remove i370-mvs architecture, it is not currently
3936 2001-05-25 H.J. Lu <hjl@gnu.org>
3938 * emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
3939 like emulparams/aixppc.sh.
3941 2001-05-25 H.J. Lu <hjl@gnu.org>
3943 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move
3944 setting of output_filename after bfd_scan_arch.
3945 * emultempl/pe.em: Likewise.
3947 2001-05-25 H.J. Lu <hjl@gnu.org>
3949 * emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
3950 like emulparams/aixppc.sh.
3952 * emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed
3953 instead of ${srcdir}/emultempl/stringify.sed.
3955 2001-05-25 Timothy Wall <twall@oculustech.com>
3957 * emulparams/elf64_aix.sh: Change settings to match IBM linker
3960 2001-05-25 Alan Modra <amodra@one.net.au>
3962 * configure.host: Replace linuxoldld with linux*oldld.
3963 * configure.tgt: Likewise.
3965 2001-05-24 H.J. Lu <hjl@gnu.org>
3967 * emultempl/stringify.sed: Removed again.
3969 2001-05-24 H.J. Lu <hjl@gnu.org>
3971 * emultempl/aix.em (OUTPUT_ARCH): Defined.
3972 (gld${EMULATION_NAME}_before_parse): Initialize
3973 ldfile_output_architecture, ldfile_output_machine and
3974 ldfile_output_machine_name from ${OUTPUT_ARCH} if possible.
3975 * emultempl/beos.em: Likewise.
3976 * emultempl/elf32.em: Likewise.
3977 * emultempl/linux.em: Likewise.
3978 * emultempl/mipsecoff.em: Likewise.
3979 * emultempl/pe.em: Likewise.
3980 * emultempl/sunos.em: Likewise.
3982 2001-05-24 Tom Rix <trix@redhat.com>
3984 * emultempl/aix.em : (gld${EMULATION_NAME}_read_file)
3985 udate import file format.
3986 (change_symbol_mode) New, same
3987 (is_syscall) New, same
3988 * emulparams/aixppc.sh : add SYSCALL_MASK and SYMBOL_MODE_MASK
3989 * emulparams/aixppc64.sh : same
3990 * emulparams/aixrs6.sh : same
3991 * emulparams/ppcmacos.sh : same
3992 * emultempl/aix.em : use strtoull to parse options
3993 * Makefile.am : add eaixppc64 emulation for xcoff64
3994 * Makefile.in : same
3995 * configure.tgt : same
3997 * scripttempl/aix.sc : default text section offset to 0x10000000
3998 default data section offset to 0x20000000
3999 add .sv3264 and .sv64 pseudo sections
4000 loader and debug sections use the currect section offset.
4002 * emultempl/aix.em : Add xcoff64 support
4003 Add -binitfini support
4004 (gld${EMULATION_NAME}_before_parse) -binitfini
4005 (gld${EMULATION_NAME}_parse_args) same
4006 (gld${EMULATION_NAME}_before_allocation) format change for special
4009 * emulparams/aixppc64.sh : New file for xcoff64 support
4011 2001-05-23 Alexandre Oliva <aoliva@redhat.com>
4013 * emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new
4014 variable to avoid non-portable shell construct.
4016 2001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4018 * ldmain.c (get_emulation): Add -mips5 command line argument.
4020 2001-05-22 Alexandre Oliva <aoliva@redhat.com>
4022 * emulparams/elf_i386_ldso.sh: New, copied from elf_i386.sh.
4023 (ELF_INTERPRETER_NAME): Define it.
4024 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use
4026 * configure.tgt (targ_emul, targ_extra_emuls)
4027 [i[3456]86-*-solaris2*, i[3456]86-*-solaris*]: Use elf_i386_ldso
4028 as primary, elf_i386 as extra.
4029 * Makefile.am (ALL_EMULATIONS): Added eelf_i386_ldso.o.
4030 (eelf_i386_ldso.c): New rule.
4031 * Makefile.in: Rebuilt.
4033 2001-05-22 Nick Clifton <nickc@redhat.com>
4035 * lexsup.c (ld_options): Allow -I to be an alias for
4036 --dynamic-linker. This is for Solaris compatability.
4037 * ld.texinfo: Document that -I can be used.
4040 2001-05-16 Alan Modra <amodra@one.net.au>
4042 * ldlang.c (wild_doit): Use linker_has_input to reliably determine
4043 whether an input section is the first one assigned to an output
4045 Assorted formatting fixes.
4047 2001-05-14 DJ Delorie <dj@delorie.com>
4049 * Makefile.am (ld.dvi): Search bfd/doc for texinfo files.
4050 * Makefile.in: Ditto.
4052 2001-05-11 Jakub Jelinek <jakub@redhat.com>
4054 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put
4055 .gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind*
4057 * emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise.
4059 2001-05-11 Jakub Jelinek <jakub@redhat.com>
4061 * ldlang.c (lang_process): Call bfd_merge_sections.
4063 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4065 * ldgram.y: Fix typo.
4067 2001-05-03 H.J. Lu <hjl@gnu.org>
4069 * emultempl/elf32.em: Include "libiberty.h".
4070 (gld${EMULATION_NAME}_vercheck): Call basename () to get the
4071 basename of the bfd filename.
4072 (gld${EMULATION_NAME}_stat_needed): Likewise.
4073 (gld${EMULATION_NAME}_try_needed): Likewise.
4074 (gld${EMULATION_NAME}_open_dynamic_archive): Likewise.
4076 2001-05-02 H.J. Lu <hjl@gnu.org>
4078 * emultempl/pe.em: Include <ctype.h>.
4080 2001-05-02 Johan Rydberg <jrydberg@opencores.org>
4082 * emulparams/elf32openrisc.sh: New file.
4084 * Makefile.am: Add OpenRISC target.
4085 * Makefile.in: Regenerated.
4087 * configure.tgt: Add openrisc-*-* mapping.
4089 2001-05-02 Nick Clifton <nickc@redhat.com>
4091 * emultempl/aix.em: Replace buystring with xstrdup.
4092 * emultempl/beos.em: Replace buystring with xstrdup.
4094 2001-05-02 H.J. Lu <hjl@gnu.org>
4096 * ldfile.c: Include "libiberty.h".
4097 * ldlex.l: Likewise.
4099 * ldmisc.c (buystring): Removed.
4100 * ldmisc.h: Likewise.
4102 * ldfile.c: Replace buystring with xstrdup.
4103 * ldlang.c: Likewise.
4104 * ldlex.l: Likewise.
4105 * ldmain.c: Likewise.
4106 * ldmisc.c: Likewise.
4107 * lexsup.c: Likewise.
4108 * mpw-eppcmac.c: Likewise.
4110 2001-04-30 Andreas Jaeger <aj@suse.de>
4112 * emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value.
4114 2001-04-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
4116 * ldlang.c (load_symbols): Give emulation a chance
4117 to process unrecognized file before fatal error is
4118 reported, not after.
4120 2001-04-27 Sean McNeil <sean@mcneil.com>
4122 * configure.tgt: Add arm-vxworks target.
4123 * scripttempl/armcoff.sc: Support .text or .data as a section name
4127 2001-04-13 J.T. Conklin <jtc@redback.com>
4129 * ld.texinfo: Document --fatal-warnings.
4132 * ldmisc.c (vfinfo): Set flag to inhibit making executable if
4133 warnings have been turned into errors.
4134 * lexsup.c (OPTION_WARN_FATAL): Define.
4135 (ld_options): Entry for --fatal-warnings.
4136 (parse_args): Handle OPTION_WARN_FATAL.
4137 * ld.h (ld_config_type): Add fatal_warnings field.
4139 2001-04-13 Jakub Jelinek <jakub@redhat.com>
4141 * ldmain.c (main): Default to discard_sec_merge.
4142 * lexsup.c (OPTION_DISCARD_NONE): Define.
4143 (ld_options): Add --discard-none.
4144 (parse_args): Handle OPTION_DISCARD_NONE.
4145 * ldlang.c (wild_doit): SEC_MERGE should be set in the output
4146 section only if SEC_MERGE and SEC_STRINGS flags and entsize of
4147 all its input sections match.
4149 2001-04-05 Steven J. Hill <sjhill@cotw.com>
4151 * Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o.
4152 (ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o.
4153 (eelf32ltsmip.c): New target.
4154 (eelf64btsmip.c): Likewise.
4155 (eelf64ltsmip.c): Likewise.
4156 * Makefile.in: Regenerated.
4158 * configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS
4160 (mips*-*-linux-gnu*): Likewise.
4162 * emulparams/elf32ltsmip.sh: New. Traditional little endian
4164 * emulparams/elf64btsmip.sh: New. Traditional 64bit big endian
4166 * emulparams/elf64ltsmip.sh: New. Traditional 64bit little
4169 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
4171 * emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide
4172 correct value of __Stext here.
4173 (TEXT_START_SYMBOLS): Define; always define __Stext, to start of
4176 * emulparams/crislinux.sh: Remove FIXME.
4178 2001-04-02 Alan Modra <alan@linuxcare.com.au>
4180 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k.
4181 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Likewise.
4183 2001-03-27 Hans-Peter Nilsson <hp@axis.com>
4185 * configure.tgt (cris-*-*): Change default emulation to criself.
4186 (cris-*-*aout*): New rule.
4188 2001-03-27 Matthew Wilcox <willy@ldl.fc.hp.com>
4190 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 0x4000.
4191 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
4193 2001-03-26 Andreas Jaeger <aj@suse.de>
4195 * ld.texinfo (Overview): Fix syntax in texi code.
4197 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4199 * ld.texinfo: Put @c man indications to generate the ld man page.
4200 When generating man, define all the variables. Define SEEALSO
4201 and SYNOPSIS. Re-organize some lines to avoid the cross references.
4202 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variables.
4203 (ld.1): Generate from ld.texinfo.
4204 * Makefile.in: Regenerate.
4206 2001-03-23 Mark Elbrecht <snowball3@bigfoot.com>
4208 * scripttempl/i386go32.sc: Support the GCC flags '-ffunction-sections'
4209 and '-fdata-sections'. Set the VMA of STABS sections to zero.
4211 2001-03-17 Ulrich Drepper <drepper@redhat.com>
4213 * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME
4214 is an absolute path look only for this file and not along the path.
4216 2001-03-17 Ulrich Drepper <drepper@redhat.com>
4218 * emultempl/elf32.em (OPTION_GROUP): New macro.
4219 Add new option Bgroup to longopts.
4220 (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs.
4221 (gld*_list_options): Add -Bgroup and -z defs.
4222 * ld.1: Document -Bgroup and -z defs.
4223 * ld.texinfo: Likewise.
4225 2001-03-07 Michael Meissner <meissner@redhat.com>
4227 * scripttempl/elfd10v.sc (.rodata,.rodata1,.data1,.sdata): Deal
4228 with sections created by -fdata-sections.
4229 (.dynbss,.bss): Ditto.
4231 2001-03-05 Alan Modra <alan@linuxcare.com.au>
4233 * emultempl/m68kelf.em (m68k_elf_after_allocation): Call
4234 after_allocation_default, not gld..._before_allocation.
4236 2001-02-27 Alan Modra <alan@linuxcare.com.au>
4238 * configure.in (BFD_VERSION): New.
4239 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
4240 * configure: Regenerate.
4241 * Makefile.am: Run "make dep-am"
4242 * Makefile.in: Regenerate.
4244 2001-02-26 Timothy Wall <twall@cygnus.com>
4246 * emulparams/elf64_aix.sh: Add additional read-only sections;
4247 uncomment lines which are now required.
4249 2001-02-26 H.J. Lu <hjl@gnu.org>
4251 * ldlang.c (open_input_bfds): Set the bfd error handler so
4252 that problems can be caught whilst loading symbols.
4253 (record_bfd_errors): New function: Report BFD errors and mark
4254 the executable output as being invalid.
4256 2001-02-22 Timothy Wall <twall@cygnus.com>
4258 * configure.host: Add configuration for ia64-*-aix*.
4259 * Makefile.am (ALL_64_EMULATIONS): Add emulation for ia64-*-aix*.
4260 Add dependencies for eelf64_aix.c.
4261 * Makefile.in: Regenerate.
4262 * configure.tgt: Add ia64-*-aix* mapping.
4263 * emulparams/elf64_aix.sh: Add settings for elf64 on aix5.
4265 2001-02-20 H.J. Lu <hjl@gnu.org>
4267 * ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to
4268 false if we found the file.
4270 2001-02-18 David O'Brien <obrien@FreeBSD.org>
4272 * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64,
4273 FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries.
4275 2001-02-18 lars brinkhoff <lars@nocrew.org>
4277 * Makefile.am: Add PDP-11 target.
4278 * configure.tgt: Likewise.
4279 * emulparams/pdp11.sh: New file.
4281 2001-02-17 David O'Brien <obrien@FreeBSD.org>
4283 * configure.host: Add a generic FreeBSD configuration entry such that
4284 all [modern] FreeBSD systems on all platforms will look the same.
4286 2001-02-14 H.J. Lu <hjl@gnu.org>
4288 * configure.tgt: Remove mention of earmelf_linux26.
4290 2001-02-13 Richard Henderson <rth@redhat.com>
4292 * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove.
4294 2001-02-13 H.J. Lu <hjl@gnu.org>
4296 * ldexp.h (node_type): Add etree_provided.
4297 * ldexp.c (exp_fold_tree): Handle etree_provided. Set the node
4298 type to etree_provided if defined by PROVIDE. Allow updating
4300 (exp_print_tree): Handle etree_provided.
4301 * mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle
4304 2001-02-09 David Mosberger <davidm@hpl.hp.com>
4306 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add
4307 .IA_64.unwind.* pattern to unwind table section and
4308 .IA_64.unwind_info* pattern to unwind info section.
4310 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
4312 * Makefile.am: Add linux target for S/390.
4313 * Makefile.in: Likewise.
4314 * configure.host: Likewise.
4315 * configure.tgt: Likewise.
4316 * emulparams/elf64_s390.sh: New file.
4317 * emulparams/elf_s390.sh: New file.
4319 2001-02-09 Jakub Jelinek <jakub@redhat.com>
4321 * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into
4323 (sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath.
4325 2001-02-06 Philip Blundell <philb@gnu.org>
4327 * Makefile.am: Remove mention of earmelf_linux26.
4328 * Makefile.in: Regenerate.
4330 2001-02-04 Philip Blundell <philb@gnu.org>
4332 * emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000.
4333 * emulparams/armelf_linux26.sh: Delete.
4334 * configure.tgt: Remove mention of armelf_linux26 emulation.
4336 2001-02-01 Nick Clifton <nickc@redhat.com>
4338 * ld.1: Replace occurances of -oformat with --oformat.
4340 2001-01-25 Jim Driftmyer <jdrift@stny.rr.com>
4342 * ldlang.c (lang_leave_overlay): Don't set lma_region when
4343 load_base is specified.
4345 2001-01-24 Hans-Peter Nilsson <hp@axis.com>
4347 * emultempl/elf32.em: Correct spelling in comments and listed
4350 2001-01-23 Alan Modra <alan@linuxcare.com.au>
4352 * ldlang.c (lang_leave_overlay): Only set lma_region from the
4353 default for the first section of a group of overlay sections.
4355 2001-01-22 Alan Modra <alan@linuxcare.com.au>
4357 * Makefile.am (GENSCRIPTS): Pass exec_prefix.
4358 * Makefile.in: Regenerate.
4359 * genscripts.sh: Use exec_prefix parameter to specify tool lib.
4360 Check for null tool_dir.
4362 2001-01-16 Jim Wilson <wilson@redhat.com>
4364 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind
4365 and IA_64.unwind.info.
4367 2001-01-16 H.J. Lu <hjl@gnu.org>
4369 * ldlang.c (lang_check): Merge the private data only if the
4370 input file has contents.
4372 2001-01-14 Alan Modra <alan@linuxcare.com.au>
4374 * emulparams/hppalinux.sh (OUTPUT_FORMAT): Set to elf32-hppa-linux.
4376 * emultempl/hppaelf.em (hppaelf_after_parse): New function,
4377 enabling search for libmilli. On a relocatable link, make .text
4379 (LDEMUL_AFTER_PARSE): Define.
4380 (hppaelf_finish): Correct spelling of relocatable in comments.
4382 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
4383 rummage through the script for sections on the unique list.
4384 Correct length of strncmp for ".note".
4385 (gld${EMULATION_NAME}_check_needed): Rearrange function.
4387 * ldlang.c (unique_section_list): New var.
4388 (unique_section_p): New function.
4389 (walk_wild_section): Don't match sections on unique_section_list.
4390 (lang_add_unique): New function.
4391 Correct spelling of relocatable in comments.
4393 * ldlang.h (struct unique_sections): Declare.
4394 (unique_section_list): Declare.
4395 (unique_section_p): Declare.
4396 (lang_add_unique): Declare.
4398 * lexsup.c (ld_options): Allow --unique to take an optional arg.
4399 (parse_args [OPTION_UNIQUE]): Call lang_add_unique.
4401 * ld.texinfo (--unique): Update.
4403 2001-01-13 Nick Clifton <nickc@redhat.com>
4405 * lexsup.c (parse_args): Remove spurious white space.
4407 2001-01-12 Nick Clifton <nickc@redhat.com>
4409 * lexsup.c (parse_args): Update copyright date.
4411 2001-01-12 Philip Blundell <pb@futuretv.com>
4413 * configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin.
4415 2001-01-10 Kazu Hirata <kazu@hxi.com>
4417 * scripttempl/h8300.sc: Fix formatting. Fix a comment typo.
4418 * scripttempl/h8300h.sc: Fix formatting.
4419 * scripttempl/h8300s.sc: Likewise.
4420 * scripttempl/h8500.sc: Likewise.
4421 * scripttempl/h8500b.sc: Likewise.
4422 * scripttempl/h8500c.sc: Likewise.
4423 * scripttempl/h8500m.sc: Likewise.
4424 * scripttempl/h8500s.sc: Likewise.
4426 2000-01-07 David O'Brien <obrien@BSDi.com>
4428 * emultempl/elf32.em: Only perform Linux ld hints processing when
4431 2001-01-07 Philip Blundell <philb@gnu.org>
4433 * ld.texinfo (Bug Reporting): Update email address for reports.
4435 2000-12-31 Nick Clifton <nickc@redhat.com>
4437 * lexsup.c (parse_args): Set opterr to 0 and detect unparsed long
4438 options by checking for a return value of '?' not -1.
4440 2000-12-28 Nick Clifton <nickc@redhat.com>
4442 * lexsup.c (struct ld_option): Add new enum value:
4444 (ld_options[]): Change -omagic, -output and -oformat options
4445 to be EXACTLY_TWO_DASHES.
4446 (OUTPUT_COUNT): Use ARRAY_SIZE.
4447 (parse_args): Change parameter 'argc' to unsigned.
4448 Place EXACTLY_TWO_DASHES options into new really_longopts
4450 If getopt_long_only fails, try calling getopt_long using the
4451 really_longopts array.
4452 (help): Print a double dash for both EXACTLY_TWO_DASHES and
4455 * ldlex.h: Fix prototype of parse_args.
4457 * ld.texinfo: Document that long options starting with 'o'
4458 must be preceeded by two dashes. Change example of a single
4459 dashed long option from -oformat to -trace-symbol.
4461 2000-12-26 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4463 * emultempl/pe.em (OPTION_NO_DEFAULT_EXCLUDES): Define.
4464 (longopts[]): New --no-default-excludes option.
4465 (gld_${EMULATION_NAME}_list_options): Document.
4466 (gld_${EMULATION_NAME}_parse_args): Handle.
4468 2000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4470 * ldlang.c (new_stat): Revert the last beautification with "innocent"
4471 whitespace, it breaks the K&R C preprocessor.
4473 2000-12-11 DJ Delorie <dj@redhat.com>
4475 * ld.texinfo: Add notes about --whole-archive and gcc.
4477 2000-11-18 Fred Fish <fnf@be.com>
4479 * lexsup.c (OPTION_ALLOW_SHLIB_UNDEFINED): Define.
4480 (ld_options): Entry for --allow-shlib-undefined.
4481 (parse_args): Handle OPTION_ALLOW_SHLIB_UNDEFINED.
4482 * ldmain.c (main): Initialize link_info.allow_shlib_undefined
4484 * ld.texinfo: Document new command line switch.
4486 2000-12-12 Geoffrey Keating <geoffk@redhat.com>
4488 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS):
4489 .fixup is actually read/write.
4490 * emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
4491 * emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
4492 * emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
4494 2000-12-11 Jan Hubicka <jh@suse.cz>
4496 * NEWS: Add note about x86_64 architecture.
4498 2000-12-06 Mark Elbrecht <snowball3@bigfoot.com>
4500 * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end.
4501 Set DWARF2 sections to a VMA of zero.
4503 2000-12-01 Joel Sherrill <joel@OARcorp.com>
4505 * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
4507 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
4508 (sparc*-*-rtems*): Switched from a.out to ELF.
4510 2000-11-30 Jan Hubicka <jh@suse.cz>
4512 * Makefile.am (ALL_EMULATIONS): Add eelf_x86_64.o
4513 (eelf_x86_64.c): New.
4514 * Makefile.in: Regenerate.
4515 * configure.tgt: Add support for x86_64-*-linux-gnu*.
4516 * emulparams/elf_x86_64.sh: New.
4518 2000-11-30 Hans-Peter Nilsson <hp@axis.com>
4520 * emulparams/crislinux.sh (ENTRY): Change back to _start.
4521 (TEXT_START_SYMBOLS): Remove conditional setting of __start.
4523 * scripttempl/crisaout.sc: Change all RELOCATING not related to
4524 merging non-a.out sections into CONSTRUCTING.
4526 2000-11-28 Nick Clifton <nickc@redhat.com>
4528 * ld.1 (COPYING): Mention that the GNU Free Documentation
4529 License is present in the sources, but not the output, and
4530 also available from the GNU website.
4531 (GNU Free Documentation License): Comment out this section.
4533 2000-11-28 David O'Brien <obrien@dragon.nuxi.com>
4535 * emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF
4538 2000-11-25 David O'Brien <obrien@FreeBSD.org>
4540 * ld.1: Remove old date so it does not give the impression the manpage
4543 2000-11-24 Nick Clifton <nickc@redhat.com>
4545 * configure.tgt (xscale-coff): Add target.
4546 (xscale-elf): Add target.
4548 2000-11-24 Fred Fish <fnf@be.com>
4550 * ldmain.c (main): Remove redundant init of config.make_executable
4553 2000-11-15 Richard Henderson <rth@redhat.com>
4555 * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M.
4557 2000-11-14 Kazu Hirata <kazu@hxi.com>
4559 * scripttempl/h8300.sc: Fix formatting.
4560 * scripttempl/h8300h.sc: Likewise.
4561 * scripttempl/h8300s.sc: Likewise.
4563 2000-11-14 Denis Chertykov <denisc@overta.ru>
4565 * scripttempl/elf32avr.sc: Fix bug in .eeprom segment.
4567 2000-11-09 Philip Blundell <pb@futuretv.com>
4569 * emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME
4570 around orphan sections whose names can be represented in C.
4572 2000-11-07 Jim Wilson <wilson@redhat.com>
4574 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local
4575 hold_sdata. If SEC_SMALL_DATA set, set place to hold_sdata.
4577 2000-11-06 Nick Clifton <nickc@redhat.com>
4579 * ld.texinfo: Add GNU Free Documentation License.
4580 * ldint.texinfo: Add GNU Free Documentation License.
4581 * ld.1: Add GNU Free Documentation License.
4583 2000-11-05 Alan Modra <alan@linuxcare.com.au>
4585 * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer,
4586 yy_is_interactive, yy_at_bol, and yy_fill_buffer.
4588 * Makefile.am (DISTCLEANFILES): Add stringify.sed.
4589 Move 2000-11-02 Makefile.in changes to this file.
4590 * Makefile.in: Regenerate.
4592 2000-11-03 Nick Clifton <nickc@redhat.com>
4594 * scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose
4595 constructors and destructors.
4596 * scripttempl/h8300h.sc: Ditto.
4597 * scripttempl/h8300s.sc: Ditto.
4598 * scripttempl/h8500.sc: Ditto.
4599 * scripttempl/h8500b.sc: Ditto.
4600 * scripttempl/h8500c.sc: Ditto.
4601 * scripttempl/h8500m.sc: Ditto.
4602 * scripttempl/h8500s.sc: Ditto.
4603 * scripttempl/v850.sc: Ditto.
4604 * scripttempl/w65.sc: Ditto.
4605 * scripttempl/z8000.sc: Ditto.
4607 2000-11-02 Per Lundberg <plundis@chaosdev.org>
4609 * Makefile.in (e_i386_chaos.c): New rule.
4610 (ALL_EMULATIONS): Added e_i386_chaos.o.
4611 * emulparams/elf_i386_chaos.sh: New file.
4612 * configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos.
4614 2000-10-20 Jakub Jelinek <jakub@redhat.com>
4616 * emulparams/elf64_sparc.sh (TEXT_START_ADDR,
4617 NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets.
4618 Fix sed invocation, so that it coped with '/' in Solaris 64bit
4619 library path suffix.
4620 Based on patch by Andrew Macleod <amacleod@cygnus.com>.
4622 2000-10-18 Hans-Peter Nilsson <hp@axis.com>
4624 * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),
4625 for consecutive sections.
4627 2000-10-17 Chandrakala Chavva <cchavva@redhat.com>
4629 * lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific
4631 * ld.texinfo: Added notes about this new option.
4633 2000-10-16 Nick Clifton <nickc@redhat.com>
4635 * emultempl/pe.em (_after_open): Add tests of return values from
4636 bfd functions. Emit appropriate error messages if necessary.
4638 2000-10-13 Nick Clifton <nickc@redhat.com>
4640 * emultempl/pe.em (_after_open): Delete 'is2' and 'nsyms'
4641 local variables - they are not used, but leave in the call to
4642 bfd_canonicalize_symtab.
4643 (_open_dynamic_archive): Add #ifdef DLL_SUPPORT around use of
4644 pe_dll_search_prefix.
4646 2000-10-12 Charles Wilson <cwilson@ece.gatech.edu>
4648 * emultempl/pe.em (pe_dll_search_prefix): New variable,
4649 (longopts): New --dll-search-prefix option.
4650 (gld_${EMULATION_NAME}_list_options): Document.
4651 (gld_${EMULATION_NAME}_parse_args): Handle.
4652 (gld_${EMULATION_NAME}_open_dynamic_archive): When linking
4653 dynamically, search for a dll named '<prefix><basename>.dll'
4654 in preference to 'lib<basename>.dll' if --dll-search-prefix
4657 2000-10-12 Alan Modra <alan@linuxcare.com.au>
4659 * ldlang.c (section_already_linked): Set kept_section instead of
4662 2000-10-10 Kazu Hirata <kazu@hxi.com>
4664 * deffile.h: Fix formatting.
4665 * lexsup.c: Likewise.
4668 2000-10-09 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
4670 * pe-dll.c (make_one): Do not generate code thunk for DATA
4672 (process_def_file): deduce DATA flag for auto-export sumbols.
4674 2000-10-09 Kazu Hirata <kazu@hxi.com>
4676 * ld.h: Fix formatting.
4677 * ldcref.c: Likewise.
4678 * ldctor.h: Likewise.
4679 * ldemul.c: Likewise.
4680 * ldemul.h: Likewise.
4681 * ldexp.c: Likewise.
4682 * ldexp.h: Likewise.
4683 * ldfile.c: Likewise.
4684 * ldfile.h: Likewise.
4685 * ldlang.c: Likewise.
4686 * ldlang.h: Likewise.
4687 * ldmain.c: Likewise.
4688 * pe-dll.c: Likewise.
4690 * pe-dll.c: Revert some formatting fixes.
4692 2000-10-08 Kazu Hirata <kazu@hxi.com>
4694 * pe-dll.c: Fix formatting.
4696 2000-10-05 Kazu Hirata <kazu@hxi.com>
4698 * ldlang.c: Fix formatting.
4700 2000-10-03 DJ Delorie <dj@redhat.com>
4702 * pe-dll.c (fill_edata): initialize entire block
4703 (make_one): fill in correct section.
4705 2000-10-03 Kazu Hirata <kazu@hxi.com>
4707 * ldexp.c: Fix formatting.
4709 2000-10-02 DJ Delorie <dj@redhat.com>
4711 * emultempl/pe.em (gld_*_after_open): detect case where there two
4712 import libraries for same dll; rename one to ensure proper link
4715 * pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix
4717 (generate_edata): fix typo
4719 2000-09-29 Hans-Peter Nilsson <hp@axis.com>
4721 * scripttempl/crisaout.sc (ENTRY): Now __start.
4722 (.text): Add default setting for __start.
4723 Remove CONSTRUCTORS handling.
4724 (/DISCARD/): Add .gnu.warning.*.
4725 * emulparams/crislinux.sh (ENTRY): Now __start.
4726 (TEXT_START_SYMBOLS): New; provide __Stext and __start default.
4727 * emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris.
4728 (ENTRY): Now __start.
4729 (INITIAL_READONLY_SECTIONS): Add KEEP for .startup.
4730 (EXECUTABLE_SYMBOLS): Add default setting for __start.
4732 2000-09-29 Kazu Hirata <kazu@hxi.com>
4734 * deffile.h: Fix formatting.
4736 * ldcref.c: Likewise.
4737 * ldctor.c: Likewise.
4738 * ldctor.h: Likewise.
4739 * ldemul.c: Likewise.
4740 * ldemul.h: Likewise.
4741 * ldexp.c: Likewise.
4742 * ldexp.h: Likewise.
4743 * ldfile.c: Likewise.
4744 * ldfile.h: Likewise.
4745 * ldlang.c: Likewise.
4746 * ldlang.h: Likewise.
4747 * lexsup.c: Likewise.
4749 * pe-dll.c: Likewise.
4751 2000-09-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
4753 * pe-dll.c (process_def_file): Uninitialized data wasn't
4754 exported with --export-all-symbols switch.
4756 2000-09-28 DJ Delorie <dj@redhat.com>
4758 * pe-dll.c (fill_edata): rearrange the data so that ordinals and
4759 noname work properly.
4761 2000-09-28 Alan Modra <alan@linuxcare.com.au>
4763 * ld.texinfo (HPPA ELF32): New section.
4765 * emultempl/hppaelf.em (group_size): New.
4766 (hppaelf_finish): Pass group_size to elf32_hppa_size_stubs.
4767 (PARSE_AND_LIST_PROLOGUE): Add OPTION_STUBGROUP_SIZE.
4768 (PARSE_AND_LIST_LONGOPTS): Add --stub-group-size. Duplicate
4769 options to prevent abbreviations matching.
4770 (PARSE_AND_LIST_OPTIONS): Describe the above. Reformat.
4771 (PARSE_AND_LIST_ARGS_CASES): Handle it.
4773 2000-09-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4775 * emultempl/m68kelf.em: Conditionalise the embedded relocs feature
4776 on the m68*-*-elf target. Make it support COFF input objects.
4778 2000-09-21 Kazu Hirata <kazu@hxi.com>
4780 * ldmain.c: Fix formatting.
4781 * ldmisc.c: Likewise.
4782 * ldver.c: Likewise.
4783 * ldwrite.c: Likewise.
4785 2000-09-21 Alan Modra <alan@linuxcare.com.au>
4787 * ldwrite.c (clone_section): Silence gcc warnings.
4789 2000-09-20 Alan Modra <alan@linuxcare.com.au>
4791 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Handle
4792 out of memory failure.
4794 * ldwrite.c (ldwrite): Remove unnecessary einfo arg.
4795 (clone_section): Handle out of memory failures. Rename var to
4796 avoid c++ reserved word.
4798 2000-09-18 Alan Modra <alan@linuxcare.com.au>
4800 * emultempl/hppaelf.em (hppaelf_add_stub_section): Rename
4801 stub_name param to stub_sec_name.
4802 (hppaelf_finish): Modify call to elf32_hppa_size_stubs.
4804 2000-09-10 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4806 * emultempl/m68kelf.em: New file.
4807 * emulparams/m68kelf.sh (EXTRA_EM_FILE): Use it.
4808 * Makefile.am (em68kelf.c): Add dependency on m68kelf.em.
4809 * Makefile.in: Regenerate.
4811 2000-09-15 Alan Modra <alan@linuxcare.com.au>
4813 * emulparams/hppalinux.sh (DATA_START_SYMBOLS): Provide $global$
4816 2000-09-13 Nick Clifton <nickc@redhat.com>
4818 * ldmain.c (multiple_definition): Disable relaxation if
4819 multiple symbol definitions are encountered - otherwise the
4820 linker could abort with an assertion failure.
4822 2000-09-10 Nick Clifton <nickc@redhat.com>
4824 * mri.c: Fix formatting.
4826 2000-09-07 H.J. Lu <hjl@gnu.org>
4828 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
4829 * configure: Rebuild.
4831 2000-09-07 H.J. Lu <hjl@gnu.org>
4833 * Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h.
4834 * Makefile.in: Rebuild.
4836 2000-09-07 Alan Modra <alan@linuxcare.com.au>
4838 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Fix
4839 broken list handling. Create __start_SECNAME and __stop_SECNAME
4840 when no place-holder. Add some comments. Test both SEC_CODE and
4841 SEC_READONLY for hold_text to prevent .rodata orphan poisoning.
4842 Handle case where no output section statement created.
4844 2000-09-07 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
4846 * configure.tgt (sh-*-linux*): Added.
4847 * Makefile.am: Added eshelf_linux and eshlelf_linux.
4848 * Makefile.in: Rebuilt.
4849 * emulparams/shelf_linux.sh: New file.
4850 * emulparams/shlelf_linux.sh: New file.
4852 2000-09-06 Alan Modra <alan@linuxcare.com.au>
4854 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
4855 try shuffling sections when the orphan happens to be the place
4856 holder. Keep count of unique section names generated so we speed
4857 the search for a new name.
4859 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
4861 * configure: Rebuilt with new libtool.m4.
4863 2000-09-05 Nick Clifton <nickc@redhat.com>
4865 * Makefile.in: Regenerate.
4866 * aclocal.m4: Regenerate.
4867 * configure: Regenerate.
4868 * config.in: Regenerate.
4869 * po/ld.pot: Regenerate.
4871 * ldint.texinfo: Remove CVS revision marker - it foils local
4874 * emultempl/ticoff.em: Remove extraneous comma.
4876 2000-09-05 Alan Modra <alan@linuxcare.com.au>
4878 * emultempl/hppaelf.em (hppaelf_add_stub_section): Add SEC_RELOC
4879 to stub section flags.
4880 (hppa_for_each_input_file_wrapper): New.
4881 (hppa_lang_for_each_input_file): New.
4882 (lang_for_each_input_file): Define to call above.
4883 (multi_subspace): New.
4884 (hppaelf_finish): Pass multi_subspace to elf32_hppa_size_stubs.
4885 (PARSE_AND_LIST_PROLOGUE): Define.
4886 (PARSE_AND_LIST_LONGOPTS): Define.
4887 (PARSE_AND_LIST_OPTIONS): Define.
4888 (PARSE_AND_LIST_ARGS_CASES): Define.
4889 (hppaelf_finish): Call elf32_hppa_set_gp.
4890 (hppaelf_set_output_arch): Remove.
4891 (LDEMUL_SET_OUTPUT_ARCH): Remove.
4893 * emulparams/hppalinux.sh (ELFSIZE): Define.
4895 (OTHER_READONLY_SECTIONS): Define.
4897 (GENERATE_SHLIB_SCRIPT): Define.
4899 * ldlang.c: Add missing prototypes, and tidy others. Change CONST
4900 to const throughout. Change `void *' to `PTR' throughout.
4901 (lang_memory_default): Function is local to file, add `static'.
4903 * Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em.
4904 (ehppalinux.c): Likewise.
4905 (earmelf.c): Likewise.
4906 (earmelf_linux.c): Likewise.
4907 (earmelf_linux26.c): Likewise.
4908 * Makefile.in: Regenerate.
4910 * ld.h (ld_config_type): Add unique_orphan_sections.
4911 * lexsup.c (OPTION_UNIQUE): Define.
4912 (ld_options): Add "--unique".
4913 (parse_args): Handle it.
4914 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
4915 search for an existing output section if unique_orphan_sections is
4916 set. Make use of bfd_get_unique_section_name rather than
4917 duplicating code here.
4918 * ld.texinfo: Describe --unique.
4920 * lexsup.c (ld_options): Make split-by-reloc arg optional. Add
4921 optional arg to split-by-file.
4922 (parse_args): Handle them.
4923 * ld.texinfo: Update description of these options.
4924 * ldwrite.c (clone_section): Pass in the section name. Replace
4925 local code with bfd_get_unique_section_name.
4926 (split_sections): Tidy code and comments. Use a list traversal
4927 more appropriate to the list construction. Handle cooked section
4928 sizes. Split when split_by_reloc reached rather than exceeded.
4929 Track section size and split when split_by_file reached. Fix
4930 link_order_tail (even though it's not used).
4931 (ldwrite): Modify condition for calling split_sections to suit
4932 changed split_by_reloc and split_by_file.
4933 * ldmain.c (main): Init config.split_by_reloc and
4934 config.split_by_file to -1.
4935 * ld.h (ld_config_type): Change split_by_reloc to unsigned.
4936 Change split_by_file to bfd_size_type.
4938 2000-09-02 Nick Clifton <nickc@redhat.com>
4940 * configure.in: Increase version number to 2.10.91.
4941 * NEWS: Mention new ability to support removal of duplicate DWARF2
4943 * configure: Regenerate.
4944 * aclocal.m4: Regenerate.
4945 * config.in: Regenerate.
4947 2000-09-02 Daniel Berlin <dberlin@redhat.com>
4949 * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info
4951 * scripttempl/elf32avr.sc: Ditto.
4952 * scripttempl/elfd10v.sc: Ditto.
4953 * scripttempl/elfd30v.sc: Ditto.
4954 * scripttempl/elfi370.sc: Ditto.
4955 * scripttempl/elfm68hc11.sc: Ditto.
4956 * scripttempl/elfm68hc12.sc: Ditto.
4957 * scripttempl/elfi386beos.sc: Ditto.
4958 * scripttempl/v850.sc: Ditto.
4960 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
4962 * acinclude.m4: Include libtool and gettext macros from the
4964 * aclocal.m4, configure: Rebuilt.
4966 2000-08-25 Nick Clifton <nickc@redhat.com>
4968 * ldlang.c (open_output): When choosing the target for a
4969 particular endianness, do nothing if the target is not
4972 2000-08-25 H.J. Lu <hjl@gnu.org>
4974 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
4975 check -rpath nor LD_RUN_PATH for cross link.
4976 * ld.texinfo: Document the change.
4978 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
4980 * NEWS: Mention support for CRIS.
4982 2000-08-23 H.J. Lu <hjl@gnu.org>
4984 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get
4985 the current runpath list from bfd_elf_get_runpath_list ()
4988 2000-08-22 H.J. Lu <hjl@gnu.org>
4990 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search
4991 the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after
4992 LD_LIBRARY_PATH for native linker. Display the needed DSO if
4993 trace_file_tries is non-zero.
4994 (gld${EMULATION_NAME}_try_needed): Report the needed DSO found
4995 if trace_file_tries is non-zero.
4997 * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH.
5000 2000-08-14 Jason Eckhardt <jle@cygnus.com>
5002 * NEWS: Mention i860 support.
5004 2000-08-14 Andreas Schwab <schwab@suse.de>
5006 * scripttempl/elf.sc: Fix last change to use correct comment
5009 2000-08-10 Geoff Keating <geoffk@cygnus.com>
5011 * scripttempl/elf.sc: Add a comment giving the correspondence
5012 between sections, per-datum sections, and linkonce sections. Make
5013 the comment true even for .bss, .sdata, .sdata2, .sbss, and
5016 2000-08-10 Jason Eckhardt <jle@cygnus.com>
5018 * emulparams/elf32_i860.sh: New file.
5019 * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}.
5020 * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o.
5021 (eelf32_i860.c): New rule.
5022 * Makefile.in: Regenerate.
5024 2000-08-10 Nick Clifton <nickc@cygnus.com>
5026 * emulparams/mipspe.sh (ENTRY): Add definition.
5028 2000-08-08 Peter Jeremy <peter.jeremy@alcatel.com.au>
5030 * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath
5033 2000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
5035 * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate
5036 the final size of .bss section.
5037 * scripttempl/elfm68hc12.sc: Likewise.
5039 2000-08-04 Alan Modra <alan@linuxcare.com.au>
5041 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to
5042 gld${EMULATION_NAME}_parse_args for consistency. Combine
5043 lastoptind and prevoptind vars, and keep track of last optind.
5044 (gld_${EMULATION_NAME}_list_options): Rename to
5045 gld${EMULATION_NAME}_list_options.
5047 2000-08-03 Rodney Brown <RodneyBrown@pmsc.com>
5049 * configure.tgt: Select targ_emul=elf_i386 for Unixware 7
5050 (i586-sco-sysv5uw7.1.0).
5052 2000-07-27 H.J. Lu <hjl@gnu.org>
5054 * emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed.
5055 (PARSE_AND_LIST_PROLOGUE): New.
5056 (PARSE_AND_LIST_LONGOPTS): Likewise.
5057 (PARSE_AND_LIST_OPTIONS): Likewise.
5058 (PARSE_AND_LIST_ARGS_CASES): Likewise.
5059 (PARSE_AND_LIST_EPILOGUE): Likewise.
5061 2000-07-28 Alan Modra <alan@linuxcare.com.au>
5063 * emultempl/armelf.em: Elide functions common to elf32.em,
5064 ie. most of the file.
5065 (arm_elf_after_open): New. Do arm specific things then call
5066 gld${EMULATION_NAME}_after_open.
5067 (arm_elf_before_allocation): New. Call
5068 gld${EMULATION_NAME}_before_allocation then do arm specifics.
5069 (PARSE_AND_LIST_PROLOGUE): Define.
5070 (PARSE_AND_LIST_SHORTOPTS): Define.
5071 (PARSE_AND_LIST_LONGOPTS): Define.
5072 (PARSE_AND_LIST_OPTIONS): Define.
5073 (PARSE_AND_LIST_ARGS_CASES): Define.
5074 (LDEMUL_AFTER_OPEN): Define.
5075 (LDEMUL_BEFORE_ALLOCATION): Define.
5076 (LDEMUL_BEFORE_PARSE): Define.
5077 (LDEMUL_FINISH): Define.
5079 * emultempl/hppaelf.em: Similarly zap most of this file.
5080 (hppaelf_add_stub_section): Prototype.
5081 (hppaelf_layaout_sections_again): Prototype.
5082 (hook_in_stub): Prototype.
5083 (LDEMUL_SET_OUTPUT_ARCH): Define.
5084 (LDEMUL_FINISH): Define.
5085 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
5087 * emulparams/armelf.sh (TEMPLATE_NAME): Use elf32.
5088 (EXTRA_EM_FILE): New.
5089 * emulparams/armelf_linux.sh: Likewise.
5090 * emulparams/armelf_linux26.sh: Likewise.
5091 * emulparams/hppalinux.sh: Likewise.
5092 * emulparams/hppaelf.sh: Likewise.
5095 * emultempl/elf32.em: Fix formatting.
5096 (EXTRA_EM_FILE): Source it.
5097 (LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
5098 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
5099 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
5100 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
5101 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
5102 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
5103 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
5104 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
5105 LDEMUL_FIND_POTENTIAL_LIBRARIES): New shell vars. Add code to
5106 allow functions in this file to be overridden.
5107 (PARSE_AND_LIST_SHORTOPTS): Handle it.
5109 * emultempl/m68kcoff.em: Include ldfile.h before ldemul.h.
5111 * emultempl/elf32.em: Reorganize file.
5113 2000-07-27 Ivan Kokshaysky <ink@jurassic.park.msu.ru>
5115 * emulparams/elf64alpha.sh: Implement "-taso" emulation
5116 specific option to fit 64-bit executable in the lower
5117 31-bit address range. This is done by changing start
5118 address of .interp (the very first section of executable)
5119 and then setting EF_ALPHA_32BIT elf header flag.
5121 2000-07-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
5123 * emultempl/m68kcoff.em: New file.
5124 * emulparams/m68kcoff.sh (TEMPLATE_NAME): Use m68kcoff template.
5125 * Makefile.am (em68kcoff.c): Depend on m68kcoff.em rather than
5127 * Makefile.in: Regenerate.
5129 2000-07-20 H.J. Lu <hjl@gnu.org>
5131 * emultempl/elf32.em (longopts): Duplicate "disable-new-dtags"
5132 and "disable-new-dtags" to stop getopt from treating -d/-e as
5133 abbreviations for these options.
5135 2000-07-20 H.J. Lu <hjl@gnu.org>
5137 * ld.texinfo: Add documentation for --disable-new-dtags and
5140 * ldmain.c (main): Initialize link_info.new_dtags to false.
5142 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add
5143 --disable-new-dtags and --enable-new-dtags.
5144 (gld_${EMULATION_NAME}_list_options): Likewise.
5146 2000-07-05 Kenneth Block <krblock@computer.org>
5148 * lexsup.c: Add optional style to demangle switch
5149 * ld.texinfo: Document optional style to demangle switch.
5151 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
5153 * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o,
5155 (ecrisaout.c, ecriself.c, ecrislinux.c): New rules.
5156 Regenerate dependencies.
5157 * Makefile.in: Rebuild.
5158 * configure.tgt (cris-*-*): New target.
5159 * emulparams/crisaout.sh, emulparams/criself.sh,
5160 emulparams/crislinux.sh, scripttempl/crisaout.sc: New files.
5161 * po/POTFILES.in, po/ld.pot: Regenerate.
5163 2000-07-20 H.J. Lu <hjl@gnu.org>
5165 * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options):
5166 Print out ignored -z options.
5168 2000-07-19 H.J. Lu <hjl@gnu.org>
5170 * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed.
5171 (PARSE_AND_LIST_PROLOGUE): New.
5172 (PARSE_AND_LIST_LONGOPTS): Likewise.
5173 (PARSE_AND_LIST_OPTIONS): Likewise.
5174 (PARSE_AND_LIST_ARGS_CASES): Likewise.
5176 * ldmain.c (main): Clear link_info.flags and link_info.flags_1.
5178 * lexsup.c (ld_options): Comment out 'z'.
5179 (parse_args): Likewise.
5181 * emultempl/elf32.em: Include "elf/common.h".
5182 (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z
5184 (gld_${EMULATION_NAME}_list_options): Likewise.
5186 * ld.texinfo: Add documentation for the recognized -z options.
5188 2000-07-19 H.J. Lu <hjl@gnu.org>
5190 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call
5191 bfd_elf_set_dt_needed_soname ().
5193 2000-07-18 DJ Delorie <dj@cygnus.com>
5195 * pe-dll.c (pe_dll_id_target): check object target name also
5197 2000-07-18 Hans-Peter Nilsson <hp@axis.com>
5199 * scripttempl/elf.sc (.init): Only do ${INIT_START} and
5200 ${INIT_END} if relocating.
5201 (.fini): Likewise ${FINI_START} and ${FINI_END}.
5203 2000-07-16 Charles Wilson <cwilson@ece.gatech.edu>
5205 * emultempl/pe.em (gld_*_open_dynamic_archive): New search
5206 order for dynamic library '-lfoo' on pei386: libfoo.dll.a,
5207 foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility
5208 errors introduced by the old dynamic lib search order.
5210 2000-07-17 DJ Delorie <dj@cygnus.com>
5212 * pe-dll.c (process_def_file): auto-export data items also
5213 (pe_process_import_defs): also see if _imp_ form needed
5215 2000-07-12 Charles Wilson <cwilson@ece.gatech.edu>
5217 * pe-dll.c (make_one): fix a typo in the __imp_ name decoration
5218 for dll import libraries
5220 2000-07-12 Mark Elbrecht <snowball3@bigfoot.com>
5222 * scripttempl/i386go32.sc: Support the g++ attribute init_priority in
5223 gcc 2.95.2 and later.
5225 2000-07-11 Kazu Hirata <kazu@hxi.com>
5227 * ldfile.c (ldfile_try_open_bfd): Output '\n' after an error
5230 2000-07-10 Alan Modra <alan@linuxcare.com.au>
5232 * ldemul.h (struct lang_input_statement_struct): Remove forward
5234 (struct search_dirs): Likewise.
5235 * ldfile.h (struct lang_input_statement_struct): Likewise.
5236 Protect file from multiple inclusion.
5237 * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Move file_chain
5238 declaration from macro to file scope.
5240 * ldemul.c: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this order.
5241 * ldgram.y: Likewise here.
5242 * ldlang.c: And here.
5243 * ldmain.c: And here.
5244 * mpw-elfmips.c: And here.
5245 * mpw-eppcmac.c: And here.
5246 * emultempl/aix.em: And here.
5247 * emultempl/armcoff.em: And here.
5248 * emultempl/armelf.em: And here.
5249 * emultempl/armelf_oabi.em: And here.
5250 * emultempl/beos.em: And here.
5251 * emultempl/elf32.em: And here.
5252 * emultempl/hppaelf.em: And here.
5253 * emultempl/linux.em: And here.
5254 * emultempl/lnk960.em: And here.
5255 * emultempl/pe.em: And here.
5256 * emultempl/sunos.em: And here.
5257 * mpw-esh.c: And here. Include ldexp.h and ldlang.h too.
5258 * mpw-idtmips.c: Ditto.
5259 * emultempl/generic.em: Ditto.
5260 * emultempl/gld960.em: Ditto.
5261 * emultempl/gld960c.em: Ditto.
5262 * emultempl/mipsecoff.em: Ditto.
5263 * emultempl/ticoff.em: Ditto.
5264 * emultempl/vanilla.em: Ditto.
5266 * pe-dll.c: Include ldfile.h
5267 * ldver.c: Include ldexp.h, ldlang.h, ldfile.h
5269 * mpw-elfmips.c: (gldelf32ebmip_before_allocation): Add missing
5270 arguments to bfd_elf32_size_dynamic_sections call.
5271 (gldelf32ebmip_place_orphan): Add missing arguments to
5272 lang_leave_output_section_statement call.
5274 2000-07-10 H.J. Lu <hjl@gnu.org>
5276 * emultempl/pe.em (pe_enable_stdcall_fixup): Protect with
5278 (strhash): Likewise.
5279 (compute_dll_image_base): Likewise.
5280 (pe_undef_found_sym): Likewise.
5281 (pe_undef_cdecl_match): Likewise.
5282 (gld_${EMULATION_NAME}_open_dynamic_archive): Mark the
5283 argument "arch" with ATTRIBUTE_UNUSED.
5285 2000-07-10 Alan Modra <alan@linuxcare.com.au>
5287 * configure.tgt: Remove extraneous hppa*-*-linux-gnu*.
5289 From Ryan Bradetich <rbradetich@uswest.net>
5290 * ldwrite.c (SSIZE): Remove to cure macro redefinition warning.
5292 2000-07-09 Alan Modra <alan@linuxcare.com.au>
5294 Changes to create multiple linker stubs, positioned immediately
5295 before the section where they are required.
5296 * emultempl/hppaelf.em: Include elf32-hppa.h.
5297 (stub_sec, file_chain): Delete.
5298 (hppaelf_create_output_section_statements): Don't make a stub
5300 (hook_stub_info): New struct.
5301 (hook_in_stub): New function.
5302 (hppaelf_add_stub_section): New function.
5303 (hppaelf_finish): Do nothing for relocateable links. Modify the
5304 call to elf32_hppa_size_stubs. Move code for updating section
5306 (hppaelf_layaout_sections_again): ..to here, a new function.
5308 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Fix
5309 broken list handling. Pass in a pointer to the list.
5310 (hppaelf_finish): Update call to hppaelf_delete_padding_statements
5312 (hppaelf_before_parse): Prototype.
5313 (hppaelf_set_output_arch): Prototype.
5314 (hppaelf_create_output_section_statements): Prototype.
5315 (hppaelf_delete_padding_statements): Prototype.
5316 (hppaelf_finish): Prototype.
5319 * emultempl/hppaelf.em: Include ctype.h.
5320 (struct orphan_save): New.
5321 (gld${EMULATION_NAME}_place_orphan): New.
5322 (output_rel_find): New.
5323 (hppaelf_get_script): Update from elf32.em.
5324 (ld_hppaelf_emulation): Rename to ld_${EMULATION_NAME}_emulation.
5325 Change emulation_name field to "${EMULATION_NAME}". Add
5326 gld${EMULATION_NAME}_place_orphan.
5328 * Makefile.am (ALL_EMULATIONS): Reinstate ehppaelf.o, add
5329 ehppalinux.o, sort it. Regenerate dependencies.
5330 (ehppalinux.c): Depend on hppaelf.em
5331 * Makefile.in: Regenerate.
5333 * configure.tgt: targ_emul=hppalinux for hppa*linux
5335 * emulparams/hppalinux.sh: New.
5336 * emulparams/hppaelf.sh (TARGET_PAGE_SIZE): Write in hex.
5338 2000-07-08 Alan Modra <alan@linuxcare.com.au>
5340 * lexsup.c (parse_args): Copy section name.
5342 2000-07-07 Charles Wilson <cwilson@ece.gatech.edu>
5344 * emultempl/pe.em: institute the following search order for
5345 dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import
5346 libs), libfoo.dll, foo.dll (link direct to dll). Fall back to
5347 static lib (libfoo.a) if none of the above are found.
5349 2000-07-07 Mumit Khan <khan@xraylith.wisc.edu>
5351 * emultempl/pe.em (pe_enable_auto_image_base): New variable.
5352 (longopts): New --{enable,disable}-auto-image-base options.
5353 (gld_${EMULATION_NAME}_list_options): Document.
5354 (gld_${EMULATION_NAME}_parse): Handle.
5355 (strhash): New static function.
5356 (compute_dll_image_base): New static function.
5357 (gld_${EMULATION_NAME}_set_symbols): Use.
5359 2000-07-05 DJ Delorie <dj@redhat.com>
5363 2000-07-01 Koundinya K <kk@ddeorg.soft.net>
5365 * configure.tgt: Add traditional mips (mips*-*-sysv4*) target.
5366 * emulparams/elf32btsmip.sh: New file.
5367 * Makefile.am: Add traditional mips target.
5368 * Makefile.in: Rebuild.
5370 2000-07-01 H.J. Lu <hjl@gnu.org>
5372 * Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for
5373 automake to use YLWRAP.
5374 * Makefile.in: Rebuild.
5376 2000-07-01 Alan Modra <alan@linuxcare.com.au>
5378 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
5379 (CLEANFILES): Add DEPA.
5380 * Makefile.in: Regenerate.
5382 2000-06-30 Timothy Wall <twall@ppc>
5384 * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode
5385 the page in the upper octet of the address.
5387 2000-06-26 Marek Michalkiewicz <marekm@linux.org.pl>
5389 * emulparams/avrmega161.sh (ARCH): Change to avr:5.
5391 2000-06-24 Alan Modra <alan@linuxcare.com.au>
5393 * NEWS: arm-elf does --gc-sections too.
5395 2000-06-22 Alan Modra <alan@linuxcare.com.au>
5397 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
5399 * Makefile.in: Regenerate.
5401 2000-06-21 H.J. Lu <hjl@gnu.org>
5403 * Makefile.am: Rebuild dependency.
5404 * Makefile.in: Rebuild.
5406 2000-06-20 H.J. Lu <hjl@gnu.org>
5408 * Makefile.am: Rebuild dependency.
5409 * Makefile.in: Rebuild.
5411 2000-06-20 Timothy Wall <twall@cygnus.com>
5413 * scripttempl/tic54xcoff.sc: New.
5414 * ldlang.c (wild_doit): Propagate SEC_BLOCK flag.
5415 * gen-doc.texi: Add flag for TI COFF.
5416 * ld.texinfo: Add documentation for TI COFF handling switches.
5417 * emultempl/ticoff.em: New. TI COFF handling.
5418 * configure.tgt: Add tic54x target.
5419 * Makefile.am: Add tic54x target.
5420 * Makefile.in: Ditto.
5422 2000-06-20 Alan Modra <alan@linuxcare.com.au>
5424 * ldmain.c (set_scripts_dir): Correct pointer comparison when
5425 checking for backslashes.
5427 2000-06-19 Alan Modra <alan@linuxcare.com.au>
5429 * NEWS: Move entries not in 2.10 above "Changes in version 2.10".
5431 2000-06-18 Alan Modra <alan@linuxcare.com.au>
5433 * NEWS: Update list of targets supporting --gc-sections.
5435 * scripttempl/elf.sc: KEEP .eh_frame contents.
5436 * scripttempl/elfd30v.sc: Same here.
5438 2000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
5440 * Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12
5442 * Makefile.in: Rebuild.
5443 * configure.tgt: Recognize m68hc12 and m68hc11.
5444 * scripttempl/elfm68hc12.sc: New file.
5445 * emulparams/m68hc12elfb: New emulation.
5446 * emulparams/m68hc12elf: New emulation.
5447 * emulparams/m68hc11elfb.sh: New file. User configurable emulation
5448 (includes a memory.x script to define the ROM and RAM banks).
5449 * scripttempl/elfm68hc11.sc, emulparams/m68hc11elf.sh:
5450 New configuration files for support of Motorola 68hc11
5452 2000-06-15 Alan Modra <alan@linuxcare.com.au>
5454 * ldmain.c (main): Only change SEC_READONLY for final link.
5456 2000-06-13 H.J. Lu <hjl@gnu.org>
5458 * configure: Regenerate.
5460 2000-06-08 David O'Brien <obrien@FreeBSD.org>
5462 * configure.in (VERSION): Update to show this is the CVS mainline.
5464 2000-06-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
5466 * emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all
5467 input objects to be ECOFF.
5468 (check_sections): einfo takes %B, not %P, to print a BFD name.
5470 2000-06-05 Michael Matz <matz@ifh.de>
5472 * ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in
5475 * ldlex.l (V_IDENTIFIER): Accept `::' in symbols.
5477 2000-05-23 Marek Michalkiewicz <marekm@linux.org.pl>
5479 * emulparams/avr1200.sh (STACK): Define as 0.
5480 * emulparams/avr23xx.sh (STACK): Define as last internal SRAM address.
5481 * emulparams/avr4433.sh (STACK): Likewise.
5482 * emulparams/avr44x4.sh (STACK): Likewise.
5483 * emulparams/avr85xx.sh (STACK): Likewise.
5484 * emulparams/avrmega103.sh (STACK): Likewise.
5485 * emulparams/avrmega161.sh (STACK): Likewise.
5486 * emulparams/avrmega603.sh (STACK): Likewise.
5487 * scripttempl/elf32avr.sc (__data_start): Define for gcrt1.
5488 (__stack): Define from ${STACK} for main().
5490 2000-05-26 Alan Modra <alan@linuxcare.com.au>
5492 * Makefile.am: Update dependencies with "make dep-am"
5493 * Makefile.in: Regenerate.
5495 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
5497 * ldmain.c: Include filenames.h.
5498 (set_scripts_dir): Support backslashes in program name.
5500 2000-05-22 Igor Shevlyakov <igor@windriver.com>
5502 * ldmain.c (main): When deciding if ".text" section should be
5503 read-only, don't forget to reset SEC_READONLY because it
5504 could be already set.
5506 2000-05-22 Thomas de Lellis <tdel@windriver.com>
5508 * ld.1: Add documentation for new command line option:
5509 --section-start <sectionname>=<sectionorg>
5510 This is a generic version of -Ttext etc. which accepts
5511 any section name as a parameter instead of just text/data/
5513 * ld.texinfo: More docs.
5515 * lexsup.c: (parse_args): Recognize new command line option.
5516 (ld_options): Add new option.
5518 2000-05-18 H.J. Lu <hjl@gnu.org>
5520 * lexsup.c (parse_args): `i' == `r', not `q'.
5522 2000-05-18 Jeffrey A Law (law@cygnus.com)
5524 * configure.tgt (hppa*64*-*-*): Enable PA64 target.
5526 2000-05-17 S. Bharadwaj Yadavalli <sby@scrugs.lkg.dec.com>
5527 Rick Gorton <gorton@scrugs.lkg.dec.com>
5529 Add support for '-q' == '--emit-relocs' switch.
5530 * ldmain.c (main): Default to false.
5531 * lexsup.c (parse_args): Turn on emitrelocations flag if set.
5532 * NEWS: Describe the emitrelocations switch.
5533 * ld.texinfo: Describe the emitrelocations switch.
5535 2000-05-16 Charles Wilson <cwilson@ece.gatech.edu>
5537 * emultempl/pe.em (_open_dynamic_archive): New function: Search
5538 the library path for "foo.dll" and "libfoo.dll" dynamic libraries
5539 before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo'
5542 2000-05-15 David O'Brien <obrien@FreeBSD.org>
5544 * lexsup.c (parse_args): Update the year in the copyright notice.
5546 2000-05-13 Alan Modra <alan@linuxcare.com.au>
5548 * ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain):
5549 Replace defines with those from intl/libgettext.h to quieten gcc
5552 2000-05-10 H.J. Lu <hjl@gnu.org>
5554 * ldlang.c (open_input_bfds): Don't load the same file within
5555 a group again if the whole archive has been loaded already.
5557 2000-05-03 Alan Modra <alan@linuxcare.com.au>
5559 From Ulf Carlsson <ulfc@engr.sgi.com> and Andreas Jaeger <aj@suse.de>
5560 * lexsup.c (set_section_start): Use bfd_scan_vma rather than
5563 2000-05-01 Jim Wilson <wilson@cygnus.com>
5565 * configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}.
5567 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
5568 host "ia64-*-linux-gnu*".
5570 2000-04-29 Andreas Jaeger <aj@suse.de>
5572 * ld.h: Correctly check GCC version.
5574 2000-04-25 Jeffrey A Law (law@cygnus.com)
5576 * Makefile.am: Add PA64 support. Add missing dependencies for
5578 * Makefile.in: Rebuilt.
5579 * configure.tgt: Add PA64 support (currently disabled).
5581 2000-04-25 Alan Modra <alan@linuxcare.com.au>
5583 * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete.
5584 (output_rel_find): New function.
5585 (hold_section, hold_use): Delete.
5586 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
5587 hold_interp): Make local to place_orphan.
5588 (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find
5589 rather than place_section to find possible previous use of orphan.
5590 Similarly find the place-holder output sections. Use returned
5591 value from lang_enter_output_section_statement rather than calling
5592 lang_output_section_statement_lookup.
5593 * emultempl/armelf.em: Same here.
5594 * emultempl/pe.em: Similar to above, but no need for output_rel_find.
5596 * ldlang.c (lang_enter_output_section_statement): Return output
5598 * ldlang.h (lang_enter_output_section_statement): Change
5601 * ldlang.h (lang_output_section_statement): Export it.
5602 * ldlang.c (lang_output_section_statement): Ditto.
5604 2000-04-24 Nick Clifton <nickc@cygnus.com>
5606 * ld.texinfo (Output Section Data): Add note that section data
5607 commands cannot appear outside of section directives.
5609 2000-04-2 Matthew Green <mrg@cygnus.com>
5611 * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support.
5613 2000-04-21 Richard Henderson <rth@cygnus.com>
5614 David Mosberger <davidm@hpl.hp.com>
5616 * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o.
5617 (eelf64_ia64.c): New rule.
5618 * Makefile.in: Rebuild.
5619 * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets.
5620 * emulparams/elf64_ia64.sh: New file.
5622 2000-04-21 Richard Henderson <rth@cygnus.com>
5624 * scripttempl/elfd30v.sc: Place .gcc_except_table.
5626 2000-04-19 Alan Modra <alan@linuxcare.com.au>
5628 * dep-in.sed: Match space at start of file name, not at end.
5630 2000-04-18 H.J. Lu <hjl@gnu.org>
5632 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
5633 lang_leave_output_section_statement () after calling
5634 lang_enter_output_section_statement ().
5635 * emultempl/armelf.em: Likewise.
5637 2000-04-18 Alan Modra <alan@linuxcare.com.au>
5639 * emultempl/elf32.em (struct orphan_save): Add section field.
5640 (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in
5641 better order, and place first orphan section as we did before the
5642 2000-04-12 patch. Ignore ~SEC_ALLOC sections when choosing place.
5643 Don't call make_bfd_section here, let wild_doit do the job for us.
5644 Don't build a statement list when we'll only throw it away.
5645 * emultempl/armelf.em: Ditto.
5646 * emultempl/pe.em: Similarly.
5648 2000-04-14 Geoff Keating <geoffk@cygnus.com>
5650 * scripttempl/elfppc.sc: Remove.
5651 * emulparams/elf32ppc.sh: Use elf.sc.
5652 * emulparams/elf32lppc.sh: Use elf.sc.
5653 * emulparams/elf32ppclinux.sh: Use elf.sc.
5654 * emulparams/elf32ppcsim.sh: New file.
5655 * emulparams/elf32lppcsim.sh: New file.
5656 * Makefile.am: Update dependencies. Add elf32ppcsim ad elf32lppcsim.
5657 (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim.
5658 * Makefile.in: Regenerate.
5659 * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim.
5661 2000-04-14 Alan Modra <alan@linuxcare.com.au>
5663 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process
5664 ~SEC_ALLOC sections too. Init start address of debug sections.
5665 * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto.
5666 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto.
5667 Also set all relocateable section start addresses.
5669 2000-04-13 Geoff Keating <geoffk@cygnus.com>
5671 * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections.
5672 Add new BSS_PLT variable for when .plt need not be contained in
5673 the file. Move _etext so that it is also after .fini, and provide
5674 both etext and _etext with a leading underscore. Mark the start
5677 2000-04-12 Alan Modra <alan@linuxcare.com.au>
5679 * emultempl/elf32.em (struct orphan_save): New.
5680 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
5681 hold_interp): Make them struct orphan_save.
5682 (gld${EMULATION_NAME}_place_section): Modify for new hold_*.
5683 (gld${EMULATION_NAME}_place_orphan): Add new orphan sections to
5684 the end of the relevant section list. Also add associated section
5685 statements to the end of any previous orphan statements.
5686 * emultempl/armelf.em: Similarly.
5687 * emultempl/pe.em: Similarly.
5689 2000-04-11 Alan Modra <alan@linuxcare.com.au>
5691 * ld.texinfo (Simple Example): Remove extraneous paragraph.
5693 2000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
5695 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
5696 --enable-build-warnings option.
5697 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
5698 * Makefile.in, configure: Re-generate.
5700 2000-04-04 Alan Modra <alan@linuxcare.com.au>
5702 * po/ld.pot: Regenerate.
5704 * lexsup.c (help): Restore translated part of bug string.
5706 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
5707 (DEP): Quote when passing vars to sub-make. Add warning message
5709 (DEP1): Rewrite for "gcc -MM".
5710 (CLEANFILES): Add DEP2.
5711 Update dependencies.
5712 * Makefile.in: Regenerate.
5714 2000-04-03 Alan Modra <alan@linuxcare.com.au>
5716 * ld.h: #include "bin-bugs.h"
5717 * lexsup.c (help): Use REPORT_BUGS_TO.
5719 2000-03-27 Denis Chertykov <denisc@overta.ru>
5721 * configure.tgt (avr-*-*): New target support.
5722 * Makefile.am: Likewise.
5723 * scripttempl/elf32avr.sc: New script file.
5724 * emulparams/avr1200.sh: New file.
5725 * emulparams/avr23xx.sh: New file.
5726 * emulparams/avr4433.sh New file.
5727 * emulparams/avr44x4.sh New file.
5728 * emulparams/avr85xx.sh New file.
5729 * emulparams/avrmega103.sh New file.
5730 * emulparams/avrmega161.sh New file.
5731 * emulparams/avrmega603.sh New file.
5732 * Makefile.in: Regenerate.
5734 2000-03-09 Andreas Jaeger <aj@suse.de>
5736 * Makefile.am (check-DEJAGNU): Also unset LANG.
5737 * Makefile.in: Rebuild.
5739 2000-03-06 Ian Lance Taylor <ian@zembu.com>
5741 * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty
5744 2000-03-02 H.J. Lu <hjl@gnu.org>
5746 * emulparams/elf32mcore.sh: Include "getopt.h".
5748 2000-03-01 Ian Lance Taylor <ian@zembu.com>
5750 * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware.
5752 2000-03-01 H.J. Lu <hjl@gnu.org>
5754 * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR.
5755 * emulparams/shpe.sh: Likewise.
5757 2000-03-01 Nick Clifton <nickc@cygnus.com>
5759 * pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED
5760 to unused parameters.
5762 * emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static
5763 functions only used by DLL code.
5764 (_place_orphan): Initialise 'dollar'.
5766 2000-03-01 H.J. Lu <hjl@gnu.org>
5768 * ldmain.c (undefined_symbol): Take one more arg, fatal, to
5769 indicate if the undefined symbol is a fatal error or not.
5770 Don't delete the output file if "fatal" is false.
5772 2000-02-29 H.J. Lu <hjl@gnu.org>
5774 * Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)".
5775 Set LC_COLLATE and LC_ALL to null and export them. It is for
5776 sort which expects the C locale.
5777 Add $(LIBS) to all $(HOSTING_LIBS).
5778 * Makefile.in: Rebuild.
5780 2000-02-29 Alan Modra <alan@spri.levels.unisa.edu.au>
5782 * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em,
5783 beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em,
5784 linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em}
5785 (ld_emulation_xfer_struct): Add missing NULL initialiser for
5786 find_potential_libraries.
5788 2000-02-28 Jim Blandy <jimb@redhat.com>
5790 * ldgram.y (exclude_name_list): Don't require a comma to separate
5791 list entries; the lexer considers commas to be valid part of a
5792 filename, so in something like `foo, bar' the comma is considered
5793 part of the first filename, `foo,'.
5794 * ld.texinfo: Update section on EXCLUDE_FILE lists.
5796 2000-02-27 Loren J. Rittle <ljrittle@acm.org>
5798 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
5799 host "i[3456]86-*-freebsdelf*".
5801 2000-02-27 Mark Elbrecht <snowball3@bigfoot.com>
5803 * scripttempl/i386go32.sc: Move misplaced semicolons.
5805 2000-02-25 Ian Lance Taylor <ian@zembu.com>
5807 * Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o.
5808 (ALL_64_EMULATIONS): Remove eelf64hppa.o.
5809 (eelf64hppa.c, ehppaelf.c): Remove targets.
5810 * Makefile.in: Rebuild.
5812 2000-02-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5814 * configure.tgt (targ_extra_ofiles): Enable elf64_sparc on
5815 GNU/Linux/sparc, but keep the default as 32.
5817 * configure.tgt: Enable elf64_sparc on Solaris7+/sparc. And make
5818 it default if sparcv9 or sparc64.
5820 2000-02-24 Nick Clifton <nickc@cygnus.com>
5822 * Makefile.am: Add rules to build emipspe.o and earmpe.o.
5823 * Makefile.in: Regenerate.
5824 * configure.tgt: Add targets for arm-wince, sh-pe and mips-pe.
5826 * ldemul.h (ld_emulation_xfer_struct): Add new field:
5827 find_potential_libraries.
5828 * ldemul.c (ldemul_find_potential_libraries): New function.
5830 * ldfile.c (ldfile_open_file_search): Allow function to be
5832 (ldfile_open_file): Call ldemul_find_potential_libraries.
5833 * ldfile.h: Add prototype for ldfile_open_file_search.
5835 * pe-dll.c: Add support for ARM, MIPS and SH targets.
5837 * emulparams/mipspe.sh: New file. Parameters for mips-pe target.
5838 * emulparams/shpe.sh: New file. Parameters for sh-pe target.
5840 * emultempl/pe.em: Add support for ARM, MIPS and SH DLLs.
5841 (gld_X_find_potential_libraries): New function. Search for
5842 libraries called "*.lib".
5844 * scripttempl/pe.sc: Add .pdata section.
5846 2000-02-23 Richard Henderson <rth@cygnus.com>
5848 * scripttempl/elfd10v.sc: Remove dynamic linking hooks.
5849 Add and use memory regions.
5851 2000-02-23 Linas Vepstas (linas@linas.org)
5853 * emulparams/elf32i370.sh, scripttempl/elfi370.sc: New.
5855 * Makefile.am: Add support for Linux/IBM 370.
5856 * configure.tgt: Likewise.
5858 * Makefile.in: Regenerate.
5860 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
5862 * ldlang.c (print_input_section, print_data_statement,
5863 print_reloc_statement, print_padding_statement, insert_pad,
5864 size_input_section, lang_check_section_addresses,
5865 lang_size_sections, lang_do_assignments, lang_set_startof,
5866 lang_one_common): Change `opb' to unsigned.
5867 (lang_do_assignments): Also change `size' to unsigned.
5869 2000-02-16 Richard Henderson <rth@cygnus.com>
5871 * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION.
5873 2000-02-16 Timothy Wall <twall@cygnus.com>
5875 * mri.c (mri_draw_tree): Add default LMA region argument to call
5876 to lang_leave_output_section_statement.
5877 * ldlang.h: Update prototypes with LMA region arguments.
5878 * ldlang.c (lang_size_sections): Encapsulate region bounds
5879 checking in os_check_region call.
5880 (os_check_region): New function.
5881 (lang_output_section_statement_lookup): Initialize lma_region.
5882 (lang_leave_output_section_statement): Add LMA region argument.
5883 (lang_leave_overlay): Ditto.
5884 * ldgram.y: Handle LMA region syntax.
5885 * ld.texinfo (Output Section Description): Describe LMA region usage.
5886 * emultempl/armelf.em (gld$place_orphan): Add default value for
5887 lma region in call to lang_leave_output_section_statement.
5888 * emultempl/elf32.em (gld$place_orphan): Add default value for
5889 lma region in call to lang_leave_output_section_statement.
5890 * emultempl/pe.em (gld$place_orphan): Add default value for
5891 lma region in call to lang_leave_output_section_statement.
5894 2000-02-04 Timothy Wall <twall@redhat.com>
5896 * ldlang.c (lang_check_section_addresses): Use bytes instead of
5897 octets when calculating section end addresses.
5899 2000-02-04 Timothy Wall <twall@redhat.com>
5901 * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation.
5903 2000-02-03 Timothy Wall <twall@redhat.com>
5905 * ldexp.c (fold_name): Make SIZEOF operator return byte count, not
5907 * ldlang.c (print_input_section, print_data_statement,
5908 print_reloc_statement, print_padding_statement): Print target
5909 address values and section sizes as bytes, not octets.
5910 (insert_pad) Calculate padding size in octets, and adjust "dot"
5912 (size_input_section) Always adjust "dot" by bytes, not octets.
5913 (lang_check_section_addresses, lang_do_assignments) Adjust
5914 "dot" by bytes, not octets. Use the larger of the directive size
5915 or octets_per_byte for the number of octets actually allocated in
5917 (lang_set_startof) Make sure STARTOF returns a target address.
5918 (lang_one_common) Record size changes in octets.
5919 (lang_abs_symbol_at_end_of) Section end symbol's value is
5920 recorded in target bytes.
5921 * ld.texinfo: Updated description of BYTE, SHORT, LONG, etc.
5922 to be clear about behavior when an octet is smaller than one byte.
5924 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
5926 * ldcref.c (output_cref): Don't pass message strings to printf
5930 * ldmisc.c (vfinfo): Same here.
5933 2000-01-23 Alan Modra <alan@spri.levels.unisa.edu.au>
5935 * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em,
5936 generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em,
5937 mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct):
5938 Add missing NULL initialisers, and comments.
5940 2000-01-21 Nick Clifton <nickc@cygnus.com>
5942 * ldlang.c (lang_size_sections): Fix typo in comment.
5944 2000-01-18 H.J. Lu <hjl@gnu.org>
5946 * ldlang.c (lang_size_sections): Also update the current
5947 address of a region if the SEC_NEVER_LOAD bit is not set.
5949 2000-01-10 Philip Blundell <pb@futuretv.com>
5951 * configure.tgt (arm*-*-conix*): New target.
5953 2000-01-07 Nick Clifton <nickc@cygnus.com>
5955 * ld.texinfo (Options): Remind users to preceed linker command
5956 line switches with -Wl, (or whatever is appropriate) if it is
5957 being invoked by a comnpiler driver program.
5958 Fix description of the behaviour of the -n command line switch.
5960 2000-01-05 Catherine Moore <clm@cygnus.com>
5962 * ld.h (wildcard_spec): Change exclude_name to exclude_name_list.
5964 * ld.texinfo (EXCLUDE_FILE): Update documentation.
5965 * ldgram.y (wildcard_spec): Support a list of excluded_files.
5966 (exclude_name_list): New.
5967 ldlang.c (walk_wild_section): Support list of excluded files.
5968 (print_wild_statement): Likewise.
5969 (lang_add_wild): Likewise.
5970 * ldlang.h (lang_wild_statement_type): Likewise.
5971 * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support.
5973 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
5975 * pe-dll.c (pe_dll_warn_dup_exports): New variable.
5976 (process_def_file): Use.
5977 (pe_dll_compat_implib): New variable.
5980 * pe-dll.h: Add exports of pe_dll_warn_dup_exports and
5981 pe_dll_compat_implib.
5983 * emultempl/pe.em (longopts): Add warn-duplicate-exports and
5984 compat-implib options.
5985 (gld_${EMULATION_NAME}_list_options): List new options.
5986 (gld_${EMULATION_NAME}_parse_args): Handle.
5988 * pe-dll.c (pe_dll_generate_implib): Use the correct name for output
5991 * deffilep.y (opt_name): Allow "." in name.
5993 For older changes see ChangeLog-9899
5999 version-control: never