1 2001-10-18 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
3 * pe-dll.c (autofilter_objectlist): Add startup objects
5 (auto-export): Constify char * p.
6 Extract file basename and use strcmp rather than ststr
9 2001-10-18 Chris Demetriou <cgd@broadcom.com>
11 * ldmain.c (get_emulation): Improve comment about the handling
14 2001-10-17 Alan Modra <amodra@bigpond.net.au>
16 * po/POTFILES.in: Regenerate.
18 2001-10-16 Vassili Karpov <malc@pulsesoft.com>
20 * emultempl/elf32.em (gld*_list_options): Remove extra '\t' from
21 -z nocopyreloc and -z nocombreloc usage strings.
23 2001-10-12 Vassili Karpov <malc@pulsesoft.com>
25 * emultempl/elf32.em (gld*_list_options): Include -z nocopyreloc
28 2001-10-11 Aleksey Romanov <aromanov@ennovatenetworks.com>
30 * scripttempl/armaout.sc: Place .bss section after end of aligned
31 data section to match behaviour of aout code in constructrion of
34 2001-10-11 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
36 * pe-dll.c (autofilter_entry_type autofilter_liblist: Add
37 startup files for mingw32 dlls to list.
39 2001-10-10 Chris Demetriou <cgd@broadcom.com>
41 * emultempl/elf32.em: Fix shell 'if' usage for portability.
43 2001-10-08 Aldy Hernandez <aldyh@redhat.com>
45 * configure.tgt (targ): Add arm9e-*-elf.
47 2001-10-05 H.J. Lu <hjl@gnu.org>
49 * genscripts.sh: Fix a typo in the last change.
51 2001-10-05 Jakub Jelinek <jakub@redhat.com>
53 * emultempl/elf32.em (gld_*_list_options): Include -z combreloc and
54 -z nocombreloc in usage.
56 2001-10-03 Jim Blandy <jimb@redhat.com>
58 * genscripts.sh: Include a comment at the top of each generated
59 script, explaining its purpose.
61 2001-10-03 Vassili Karpov <malc@pulsesoft.com>
63 * emultempl/elf32.em (parse_args): Handle -z nocopyreloc.
64 * NEWS: Mention -z nocopyreloc.
65 * ld.texinfo (Options): Describe nocopyreloc.
67 2001-10-03 Alan Modra <amodra@bigpond.net.au>
69 * configure: Regenerate.
71 2001-10-02 Alan Modra <amodra@bigpond.net.au>
73 * ldver.h (ld_program_version): Remove declaration.
74 * lexsup.c (parse_args): Move printing of copyright message..
75 * ldver.c (ldversion): .. to here.
76 Use BFD_VERSION_STRING in place of BFD_VERSION.
77 (ld_program_version): Remove.
78 * Makefile.am (Makefile): Depend on bfd/configure.in.
80 * Makefile.in: Regenerate.
82 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
84 * Makefile.am: Update dependencies with "make dep-am".
85 * Makefile.in: Regenerate.
87 2001-09-29 John Reiser <jreiser@BitWagon.com>
89 * ldlang.c (lang_common): Conditionally inhibit Common allocation.
90 * lexsup.c: Add --no-define-common commandline option.
91 * ldgram.y: Add INHIBIT_COMMON_ALLOCATION script command.
93 * ld.h: Add command_line.inhibit_common_definition.
94 * ldmain.c (main): Initialize.
95 * ld.texinfo: Document.
97 2001-09-26 Alan Modra <amodra@bigpond.net.au>
99 * ldmisc.c (USE_STDARG): Remove.
100 (info_msg): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE.
105 * ldmisc.h: Remove #ifdef ANSI_PROTOTYPES and non-ansi
106 declarations. Update copyright.
108 2001-09-24 Charles Wilson <cwilson@ece.gatech.edu>
110 * pe-dll.c: Remove obsoleted declaration of
111 pe_get_data_import_dll_name.
112 (pe_create_import_fixup): Fix thinko.
114 * ld.texinfo(enable-auto-import): Clarify the explanation.
116 2001-09-24 Nick Clifton <nickc@cambridge.redhat.com>
118 * pe-dll.c (pe_create_import_fixup): Revert previous patch.
119 * emultemp/pe.em (pe_data_import_dll): Move definition outside of
120 DLL_SUPPORT controlled code.
122 2001-09-24 Charles Wilson <cwilson@ece.gatech.edu>
124 * emultempl/pe.em(pe_data_import_dll): Make static.
125 (pe_get_data_import_dll_name): New accessor function.
126 * pe-dll.c(pe_create_import_fixup): call
127 pe_get_data_import_dll_name() from pe.em, instead of
128 directly accessing pe_data_import_dll variable from pe.em.
130 2001-09-18 Bruno Haible <haible@clisp.cons.org>
132 * deffilep.y: Include "safe-ctype.h" instead of <ctype.h>.
133 (def_file_add_directive): Use ISSPACE instead of isspace.
134 (def_lex): Use ISDIGIT/ISXDIGIT/ISALPHA/ISALNUM instead of
135 isdigit/isxdigit/isalpha/isalnum.
136 * emultempl/aix.em: Include "safe-ctype.h" instead of <ctype.h>.
137 (gld${EMULATION_NAME}_read_file): Use ISSPACE instead of isspace.
138 * emultempl/elf32.em: Include "safe-ctype.h" instead of <ctype.h>.
139 (gld${EMULATION_NAME}_place_orphan): Use ISALNUM instead of
141 * emultempl/gld960c.em: Include "safe-ctype.h" instead of <ctype.h>.
142 (gld960_set_output_arch): Use ISUPPER/TOLOWER instead of
144 * emultempl/sunos.em: Include "safe-ctype.h" instead of <ctype.h>.
145 (gld${EMULATION_NAME}_search_dir): Use ISDIGIT instead of isdigit.
146 * ldctor.c: Include "safe-ctype.h" instead of <ctype.h>.
147 (ctor_prio): Use ISDIGIT instead of isdigit.
148 * ldfile.c: Include "safe-ctype.h" instead of <ctype.h>.
149 (ldfile_open_file_search): Use ISALPHA instead of isalpha.
150 (ldfile_add_arch): Use ISUPPER/TOLOWER instead of
152 * ldlang.c: Include "safe-ctype.h" instead of <ctype.h>.
153 (stricpy): Use TOLOWER instead of isupper/tolower.
154 (lang_leave_overlay_section): Use ISALNUM instead of isalnum.
155 * ldlex.l: Include "safe-ctype.h" instead of <ctype.h>.
156 (lex_warn_invalid): Use ISPRINT instead of isprint.
157 * ldmain.c: Include "safe-ctype.h" instead of <ctype.h>.
158 (main): For gettext, also set the LC_CTYPE locate facet.
159 (add_keepsyms_file): Use ISSPACE instead of isspace.
160 * lexsup.c: Include "safe-ctype.h" instead of <ctype.h>.
161 (is_num, parse_args): Use ISDIGIT instead of isdigit.
162 * mpw-elfmips.c: Include "safe-ctype.h" instead of <ctype.h>.
163 (gldelf32ebmip_place_orphan): Use ISALNUM instead of isalnum.
164 * mpw-eppcmac.c: Include "safe-ctype.h" instead of <ctype.h>.
165 (gldppcmacos_read_file): Use ISSPACE instead of isspace.
166 * pe-dll.c: Include "safe-ctype.h" instead of <ctype.h>.
167 (quoteput): Use ISSPACE instead of isspace.
168 (pe_dll_generate_implib, pe_process_import_defs): Use ISALNUM
171 2001-09-18 Alan Modra <amodra@bigpond.net.au>
173 * deffilep.y (def_stash_module): Constify "name" param.
175 * pe-dll.c: Replace CONST with const throughout.
176 (quick_symbol): Constify "n1", "n2", "n3" params.
177 (make_singleton_name_thunk): Constify "import" param. Make
178 "buffer_len" a size_t.
179 (make_import_fixup_entry): Constify "name", "fixup_name",
180 "dll_symname" params.
181 (pe_get16): Cast args of bfd_seek. Replace bfd_read with bfd_bread.
182 (pe_get32): Likewise.
183 (pe_implied_import_dll): Likewise.
185 * emultempl/beos.em (sort_by_file_name): Constify "ra", "rb".
186 (sort_by_section_name): Likewise.
188 * emultempl/pe.em: Move defines for arm_epoc_pe before bfd.h included.
189 (make_import_fixup): Cast printf arg, rel->address to long rather
191 (gld_${EMULATION_NAME}_after_open): Don't compare NULL against int.
193 2001-09-15 Alan Modra <amodra@bigpond.net.au>
195 * ldmain.c (main): Rename BufferSize to ld_bufsz because HPUX
196 defines BufferSize. Increase buffer size by one.
198 2001-09-14 Ralf Habacker <Ralf.Habacker@freenet.de>
200 * pe-dll.c (pe_walk_relocs_of_symbol): Fix memory leak.
202 2001-09-14 Kevin Lo <kevlo@openbsd.org>
204 * configure.tgt: Add arm-openbsd target.
206 2001-09-12 H.J. Lu <hjl@gnu.org>
208 * Makefile.am (ALL_EMULATIONS): Move eelf64ppc.o and
210 (ALL_64_EMULATIONS): Here.
211 * Makefile.in: Regenerated.
213 2001-09-12 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
215 * emultempl/pe.em(make_import_fixup): change signature to
216 take asection as well as arelec; we need this for proper
217 error reporting. Only call pe_create_import_fixup() if
218 there is no attempt to add a constant addend to the reloc;
219 otherwise, report error condition.
220 * pe-dll.c(pe_walk_relocs_of_symbol): change signature,
221 since final argument is a pointer to make_import_fixup().
222 Change call to cb() to match make_import_fixup() signature.
223 (make_import_fixup_mark): make buffer_len unsigned.
224 * pe-dll.h: change signature of pe_walk_relocs_of_symbol.
226 2001-09-12 Charles Wilson <cwilson@ece.gatech.edu>
228 * ld.texinfo: add verbose documentation for auto-import
229 direct-addressing workaround, to compliment the terse
232 2001-09-12 Andrew MacLeod <amacleod@redhat.com>
234 * scripttempl/v850.sc: Add gcc_except_table sections.
236 Fri Sep 7 11:34:24 2001 Jeffrey A Law (law@cygnus.com)
238 * emulparams/h8300helf.sh: Move stack to a much higher memory address.
239 * emulparams/h8300self.sh: Similarly.
241 2001-09-05 Danny Smith <dannysmith@users.souceforge.net>
243 * ld.texinfo (Options, --stack): Correct default value for stack
246 2001-09-05 Tom Rix <trix@redhat.com>
248 * emultempl/aix.em : Handle import file XMC_XO and syscall symbols.
250 2001-09-03 Andreas Jaeger <aj@suse.de>
252 * emultempl/beos.em: Declare prototypes for comparions functions,
255 2001-09-02 Andreas Jaeger <aj@suse.de>
257 * emultempl/aix.em: Add missing prototype.
258 * emultempl/lnk960.em: Likewise.
259 * emultempl/vanilla.em: Likewise.
260 * emultempl/armcoff.em: Likewise.
261 * emultempl/armelf_oabi.em: Likewise.
262 * emultempl/beos.em: Likewise.
263 * emultempl/gld960c.em: Likewise.
264 * emultempl/gld960.em: Likewise.
266 * emulparams/elf64alpha.sh (PARSE_AND_LIST_PROLOGUE): Add parameter
267 for prototype declaration.
269 2001-08-31 Eric Christopher <echristo@redhat.com>
270 Jason Eckhardt <jle@redhat.com>
272 * ldmain.c (get_emulation): Add support for -mips32 and -mips64.
274 2001-08-31 Andreas Jaeger <aj@suse.de>
276 * emultempl/pe.em: Add missing prototypes.
277 (gld_${EMULATION_NAME}_after_open): Remove extra args to
278 pe_find_data_imports.
279 (pr_sym): Add unused attribute.
281 2001-08-29 Joel Sherrill <joel@OARcorp.com>
283 * configure.tgt (i[3456]86-*-rtems*, m68*-*-rtems*): Change
284 default from coff to elf.
286 2001-08-29 Jeff Law <law@redhat.com>
288 * emulparams/h8300helf.sh: Resync with h8300elf.sh. Update
290 * emulparams/h8300self.sh: Similarly.
292 Wed Aug 28 13:37:20 2001 J"orn Rennecke <amylaar@redhat.com>
294 * Makefile.am (ALL_EMULATIONS): Add eh8300elf.o, eh8300elf.o and
296 (eh8300elf.c, eh8300helf.c, eh8300self.c): New targets.
297 * configure.tgt (h8300-*-elf*): New case.
298 * emulparams/h8300elf.sh, emulparams/h8300helf.sh: New files.
299 * emulparams/h8300self.sh: New file.
300 * Makefile.in: Regenerated.
302 2001-08-28 Nick Clifton <nickc@cambridge.redhat.com>
304 * ldmain.c (main): Rename BSIZE to BufferSize to avoid collision
307 2001-08-27 Linus Nordberg <linus@swox.com>
308 Alan Modra <amodra@bigpond.net.au>
310 * Makefile.am (ALL_EMULATIONS): Add eelf64ppc.o and eelf64lppc.o.
311 (eelf64ppc.c, eelf64lppc.c): Add make targets.
313 * Makefile.in: Regenerate.
314 * configure.tgt: Add powerpc64 support. Move pdp11, pjl, pj
315 entries to correct alphabetical position.
316 * emulparams/elf64ppc.sh: New.
317 * emulparams/elf64lppc.sh: New.
319 2001-08-27 Nick Clifton <nickc@cambridge.redhat.com>
321 * ldmain.c (main): Declare BSIZE as static.
323 2001-08-23 Jakub Jelinek <jakub@redhat.com>
325 * emultempl/elf32.em (place_orphan): Place orphan .rel* sections
326 into .rel.dyn resp. .rela.dyn if combreloc.
327 (get_script): If .x linker script is equal to .xn, only put it
328 once into the binary.
329 Add .xc and .xsc scripts.
330 (parse_args): Handle -z combreloc and -z nocombreloc.
331 * scripttempl/elf.sc (.rela.sbss): Fix a typo.
332 For .xc and .xsc scripts put all .rel* or .rela* input sections
333 but .rel*.plt and PLT-like sections into .rel.dyn resp. .rela.dyn.
334 * genscripts.sh (GENERATE_COMBRELOC_SCRIPT): Set if SCRIPT_NAME
336 Strip trailing whitespace from script.
337 Generate .xc and .xsc scripts if requested.
338 * ldmain.c (main): Initialize link_info.combreloc and
339 link_info.spare_dynamic_tags.
340 * lexsup.c (OPTION_SPARE_DYNAMIC_TAGS): Define.
341 (ld_options): Add --spare-dynamic-tags option.
342 (parse_args): Likewise.
343 * ld.texinfo: Document -z combreloc and -z nocombreloc.
344 * ldint.texinfo: Document .xc and .xsc linker scripts.
345 * NEWS: Add notes about -z combreloc and SHF_MERGE.
347 2001-08-22 H.J. Lu <hjl@gnu.org>
349 * emulparams/elf32fr30.sh: Add a newline.
351 2001-08-21 Andreas Jaeger <aj@suse.de>
353 * deffilep.y: Add missing prototypes.
354 * pe-dll.c: Likewise.
356 2001-08-20 Alan Modra <amodra@bigpond.net.au>
358 * ldlang.c (insert_pad): Fix typos in last patch.
360 * ldlang.c: When traversing lang_statement_union_type lists,
361 consistently use "header.next" rather than "next".
362 * mpw-eppcmac.c: Likewise.
363 * emultempl/beos.em: Likewise.
364 * emultempl/hppaelf.em: Likewise.
365 * emultempl/pe.em: Likewise.
366 * ldlang.h (union lang_statement_union): Remove "next" field.
368 * ldlang.c (insert_pad): Use offsetof macro.
369 (lang_size_sections): Always neuter padding statements.
370 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Delete.
372 * pe-dll.c (pe_dll_fill_sections): Correct type of "relax" param
373 passed to lang_size_sections.
374 (pe_exe_fill_sections): Likewise.
375 * emultempl/pe.em (output_prev_sec_find): Copied from elf32.em.
376 (gld_${EMULATION_NAME}_place_orphan): Merge from elf32.em.
378 2001-08-18 Alan Modra <amodra@bigpond.net.au>
380 * emultempl/aix.em: Formatting fixes.
382 2001-08-18 Alan Modra <amodra@bigpond.net.au>
384 * ldlang.c (insert_pad): Make use of an existing pad statement if
385 available. Move code calculating alignment, adjusting section
386 alignment power, and adjusting dot to ..
387 (size_input_section): .. here. Remove unused relax param.
388 (lang_size_sections): Change boolean `relax' param to boolean *.
389 Adjust call to size_input_section. Make use of insert_pad to
390 place pad after the assignment statement. If relaxing, zap
392 (reset_memory_regions): Reset output_bfd section sizes too.
393 (relax_again): Move to..
394 (lang_process): ..here. Adjust call to lang_size_sections, and
395 remove duplicated code.
396 * ldlang.h (lang_size_sections): Change `relax' param to boolean *.
398 2001-08-17 Alan Modra <amodra@bigpond.net.au>
400 * ld.texinfo: Document that fill values now use the four least
402 * emulparams/elf32fr30.sh (NOP): Update.
403 * emulparams/elf32mcore.sh: Likewise.
404 * emulparams/elf64_s390.sh: Likewise.
405 * emulparams/elf_i386.sh: Likewise.
406 * emulparams/elf_i386_be.sh: Likewise.
407 * emulparams/elf_i386_chaos.sh: Likewise.
408 * emulparams/elf_i386_ldso.sh: Likewise.
409 * emulparams/elf_s390.sh: Likewise.
410 * emulparams/elf_x86_64.sh: Likewise.
411 * emulparams/i386moss.sh: Likewise.
412 * emulparams/i386nw.sh: Likewise.
413 * emulparams/m68kelf.sh: Likewise.
414 * scripttempl/elf.sc: Update NOP comment.
415 * scripttempl/elfi370.sc: Likewise.
416 * scripttempl/elfm68hc11.sc: Likewise.
417 * scripttempl/elfm68hc12.sc: Likewise.
418 * scripttempl/nw.sc: Likewise.
420 2001-08-15 Tom Rix <trix@redhat.com>
422 * ldgram.y (saved_script_handle): Initialize to NULL.
423 * ldmain.c (main): Change check on saved_script_handle.
425 2001-08-14 Alan Modra <amodra@bigpond.net.au>
427 * emultempl/elf32.em: Formatting fixes.
428 (output_prev_sec_find): Test for bfd_ind_section too; do so by
429 looking at sec->owner.
430 (output_rel_find): Move function inside LDEMUL_PLACE_ORPHAN test.
431 (gld${EMULATION_NAME}_place_orphan): Add a few comments. Remove
432 unused code, and reorganize orphan section placement code.
434 * ldlang.c (wild_doit): Rename to lang_add_section.
435 * ldlang.h: Here too.
436 * mpw-elfmips.c: And here.
437 * emultempl/beos.em: And here.
438 * emultempl/elf32.em: And here.
439 * emultempl/hppaelf.em: And here.
440 * emultempl/pe.em: And here.
442 2001-08-13 Richard Henderson <rth@redhat.com>
444 * emultempl/needrelax.em: New file.
445 * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Reference it.
446 * Makefile.am (eelf64_ia64.c): Depend on it.
447 * Makefile.in: Rebuild.
449 2001-08-13 Alan Modra <amodra@bigpond.net.au>
451 * emultempl/elf32.em: For SEC_EXCLUDE sections, ensure that
452 output_section is set non-NULL.
454 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Return
455 `true' for SEC_EXCLUDE sections so that the generic code doesn't
456 needlessly create an output_section_statement. Treat a correctly
457 named output_section_statement with NULL bfd_section as compatible.
459 2001-08-13 Hans-Peter Nilsson <hp@bitrange.com>
461 * emultempl/generic.em: Support EXTRA_EM_FILE.
462 (ld_${EMULATION_NAME}_emulation): Support emulation parameters
463 LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
464 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
465 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
466 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
467 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
468 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
469 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
470 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
471 LDEMUL_FIND_POTENTIAL_LIBRARIES.
473 2001-08-12 Richard Henderson <rth@redhat.com>
475 * scripttempl/elf.sc, scripttempl/elfd30v.sc,
476 scripttempl/elfm68hc11.sc, scripttempl/elfm68hc12.sc,
477 scripttempl/v850.sc: Keep .jcr data.
479 2001-08-12 H.J. Lu <hjl@gnu.org>
480 Andrew Haley <aph@cambridge.redhat.com>
481 Nick Clifton <nickc@redhat.com>
483 * ldgram.y (had_script): Change name to saved_script_handle.
484 Change type to file handle.
485 * ld.h (had_script): Rename and retype.
486 * ldfile.c (ldfile_open_command_file): Save the file handle
487 used in saved_script_handle.
488 * lexsup.c (parse_args): Do not allow -c option to alter
490 * ldmain.c (main): Print out the linker script used if
491 --verbose is given. Check saved_script_handle to obtain the
492 external linker script used, or if NULL, dump the builtin
494 * ld.texinfo: Document that --verbose now dumps the linker
495 script used, regardless of whether it was an internal or an
498 2001-08-10 Andreas Jaeger <aj@suse.de>
500 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
502 * configure: Regenerate.
504 2001-08-09 Alan Modra <amodra@bigpond.net.au>
506 * emultempl/elf32.em (output_prev_sec_find): Add missing prototype.
508 * scripttempl/elf.sc: Move non-text .dynamic section before
509 .plt/.got/.sdata* group.
510 (OTHER_GOT_SECTIONS): Move to immediately after .got.
511 (OTHER_SDATA_SECTIONS): Add.
512 * emulparams/criself.sh: Use OTHER_SDATA_SECTIONS rather than
514 * emulparams/crislinux.sh: Likewise.
515 * emulparams/elf32b4300.sh: Likewise.
516 * emulparams/elf32bmip.sh: Likewise.
517 * emulparams/elf32bmipn32.sh: Likewise.
518 * emulparams/elf32bsmip.sh: Likewise.
519 * emulparams/elf32btsmip.sh: Likewise.
520 * emulparams/elf32ebmip.sh: Likewise.
521 * emulparams/elf32elmip.sh: Likewise.
522 * emulparams/elf32l4300.sh: Likewise.
523 * emulparams/elf32lmip.sh: Likewise.
524 * emulparams/elf32lsmip.sh: Likewise.
525 * emulparams/elf32ltsmip.sh: Likewise.
526 * emulparams/elf64bmip.sh: Likewise.
527 * emulparams/elf64btsmip.sh: Likewise.
528 * emulparams/elf64ltsmip.sh: Likewise.
530 2001-08-08 Alan Modra <amodra@bigpond.net.au>
532 * genscripts.sh: Source the emulparams script before each output
533 script is generated so that variables like `RELOCATING' may affect
534 variables defined in the emulparams script.
536 2001-08-04 Alan Modra <amodra@bigpond.net.au>
538 * emultempl/aix.em: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this
541 * emultempl/beos.em (sort_sections): Modify for 2001-08-03 change,
542 ie. iterate over wild_statement.section_list.
543 (gld${EMULATION_NAME}_place_orphan): Likewise.
545 2001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
547 * scripttempl/elfm68hc12.sc (FINISH_CODE, FINISH_RELOC): New to handle
548 .fini[0-4] sections used by _exit
549 (CTOR, DTOR): Export ctor/dtor symbols; move them to ROM.
550 (*.text,*.data,*.bss): Take into account .text.*, .data.*, .bss.*.
551 * scripttempl/elfm68hc11.sc: Likewise.
553 2001-08-03 H.J. Lu <hjl@gnu.org>
555 * emultempl/beos.em (init): Add the missing initialization.
557 2001-08-03 Alan Modra <amodra@bigpond.net.au>
559 * ld.texinfo (Input Section Basics): Clarify ordering of output
561 * ldlang.c (callback_t): Add wildcard_list param.
562 (walk_wild_section): Remove "section" param. Rewrite for
563 lang_wild_statement_type change. Remove unique_section_p test.
564 (walk_wild_file): Remove "section" param.
565 (walk_wild): Remove "section" and "file" params.
566 (lang_gc_wild): Likewise.
567 (wild): Likewise. Modify for lang_wild_statement_type change.
568 (wild_sort): Likewise. Add "sec" param.
569 (gc_section_callback): Likewise.
570 (output_section_callback): Likewise. Do unique_section_p test.
571 (map_input_to_output_sections): Modify call to wild.
572 (lang_gc_sections_1): Likewise.
573 (print_wild_statement): Modify for lang_wild_statement_type
575 (lang_add_wild): Replace filename, filenames_sorted param with
576 filespec. Replace section_name, sections_sorted,
577 exclude_filename_list with section_list.
578 * ldlang.h (lang_add_wild): Here too.
579 (lang_wild_statement_type): Replace section_name, sections_sorted,
580 and exclude_filename_list with section_list.
581 * ldgram.y (current_file): Delete.
582 (%union): Add wildcard_list.
583 (file_NAME_list): Set type to wildcard_list. Build a linked list
584 rather than calling lang_add_wild for each entry.
585 (input_section_spec_no_keep): Call lang_add_wild here instead.
586 * ld.h (struct wildcard_list): Declare.
587 * mri.c (mri_draw_tree): Modify to suit new lang_add_wild.
589 2001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
591 * ldmain.c (main): initialize link_info.pei386_auto_import
592 * pe-dll.c: new tables for auto-export filtering
593 (auto_export): change API, pass abfd for contextual filtering.
594 Loop thru tables of excluded symbols instead of comparing
597 2001-08-02 Paul Sokolovsky <paul.sokolovsky@technologist.com>
599 * pe-dll.c: new variable pe_dll_enable_extra_debug. New
600 static variable current_sec (static struct sec *). Add
601 forward declaration for add_bfd_to_link.
602 (process_def_file): Don't export undefined symbols. Do not
603 export symbols starting with "_imp__". Call auto_export()
605 (pe_walk_relocs_of_symbol): New function.
606 (generate_reloc): add optional extra debugging
607 (pe_dll_generate_def_file): eliminate extraneous initial blank
609 (make_one): enlarge symtab to make room for __nm__ symbols
610 (DATA auto-import support).
611 (make_singleton_name_thunk): New function.
612 (make_import_fixup_mark): New function.
613 (make_import_fixup_entry): New function.
614 (pe_create_import_fixup): New function.
615 (add_bfd_to_link): Specify that 'name' argument is a CONST
617 * pe-dll.h: declare new variable pe_dll_extra_pe_debug;
618 declare new functions pe_walk_relocs_of_symbol and
619 pe_create_import_fixup.
620 * emultempl/pe.em: add new options --enable-auto-import,
621 --disable-auto-import, and --enable-extra-pe-debug.
622 (make_import_fixup): New function.
623 (pe_find_data_imports): New function.
624 (pr_sym): New function.
625 (gld_${EMULATION_NAME}_after_open): Add optional extra pe
626 debugging. Call pe_find_data_imports. Mark .idata as DATA, not
629 2001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
631 * ld.texinfo: add additional documentation for
632 --export-all-symbols. Document --out-implib,
633 --enable-auto-image-base, --disable-auto-image-base,
634 --dll-search-prefix, --enable-auto-import, and
635 --disable-auto-import.
636 * ldint.texinfo: Add detailed documentation on auto-import
639 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
641 * ld.texinfo (Simple Assignments): Fix computation in SECTIONS
644 2001-07-24 Alan Modra <amodra@bigpond.net.au>
646 * Makefile.am: Update dependencies with "make dep-am".
647 * Makefile.in: Regenerate
649 2001-07-23 Alan Modra <amodra@bigpond.net.au>
651 * ldcref.c (check_section_sym_xref): New function.
652 (check_nocrossrefs): Call it.
653 (check_nocrossref): Interate over h->refs here instead of..
654 (check_refs): ..here. Pass in the symbol name, section, and bfd
655 rather than hash_entry pointers.
656 (struct check_refs_info): Keep symbol name rather than hash entry.
658 (check_reloc_refs): Tweak for above changes in check_refs_info.
659 Only report references to section syms when symname is NULL to
660 prevent duplicate messages for the same reloc.
662 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
664 * ldexp.c (exp_print_tree): Use stderr if config.map_file is not
665 available. Do not print NULL trees.
666 (exp_print_token): Print unknown tokens with values > 126 as
667 decimal values not ASCII characters.
669 * ldlang.c (lang_leave_overlay): If a region is specified assign
670 it to all sections inside the overlay unless they have been
671 assigned to the own, non-default, memory region.
673 * README: Add header for consistency with other README files.
675 2001-07-14 H.J. Lu <hjl@gnu.org>
677 * emultempl/elf32.em (output_prev_sec_find): Never return
678 bfd_abs_section_ptr, bfd_com_section_ptr nor
681 2001-07-14 Nick Clifton <nickc@cambridge.redhat.com>
683 * Makefile.am (em32relf.c): Change dependency from generic.em to
685 * Makefile.in: Regenerate.
687 2001-07-14 matthew green <mrg@eterna.com.au>
689 * configure.tgt (i386-*-netbsdelf*): New target.
690 (i386-*-netbsd*): Set targ_extra_emuls to `elf_i386'
692 2001-07-13 Jakub Jelinek <jakub@redhat.com>
694 * emultempl/elf32.em (output_prev_sec_find): New.
695 (place_orphan): Use it.
697 2001-07-11 H.J. Lu <hjl@gnu.org>
699 * ldmain.c (main): Fix typos in the last change.
701 2001-07-11 Jakub Jelinek <jakub@redhat.com>
703 * ldmain.c (main): Disallow -F and -f without -shared.
705 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
707 * emultempl/pe.em (after_open): Check for the output_bfd not
708 having any coff_data structure allocated to it.
710 2001-07-09 David O'Brien <obrien@FreeBSD.org>
712 * emultempl/elf32.em: Do not assuming that contents of the buffer
713 returned from basename function will remain unchanged accross other
716 2001-07-03 H.J. Lu <hjl@gnu.org>
718 * scripttempl/elf.sc (DYNAMIC_PAD): Revert the change made on
719 2001-07-03. It creates dynamic entries even for static binaries.
721 2001-07-03 Jakub Jelinek <jakub@redhat.com>
723 * scripttempl/elf.sc (DYNAMIC_PAD): New variable.
724 (DYNAMIC): Use it to reserve few dynamic entries for
727 2001-06-27 Alan Modra <amodra@bigpond.net.au>
729 * emulparams/hppa64linux.sh: New file.
730 * configure.tgt: hppa*64*-*-linux* uses hppa64linux.sh
731 * Makefile.am (ALL_64_EMULATIONS): Add ehppa64linux.o
732 (ehppa64linux.c): Add rule to make it.
734 * Makefile.in: Regenerate.
736 2001-06-21 Hans-Peter Nilsson <hp@axis.com>
738 * ld.texinfo (Options, -r): Mention restrictions when using
739 different object formats.
741 2001-06-19 Hans-Peter Nilsson <hp@axis.com>
743 * ldlang.c (lang_check): Emit fatal error if relocatable link
744 between different object flavours with relocations in input.
746 2001-06-19 H.J. Lu <hjl@gnu.org>
748 * ld.texinfo (-E, --export-dynamic): Mention --version-script.
749 (--version-script): Mention the language support.
751 2001-06-19 H.J. Lu <hjl@gnu.org>
753 * ldlang.c (lang_check): Revert the change mode on 2001-06-15.
755 2001-06-18 H.J. Lu <hjl@gnu.org>
757 * Makefile.am (ld.1): Remove the prefix `$(srcdir)/'.
758 (diststuff): Add $(MANS).
759 * Makefile.in: Regenerated.
763 2001-06-18 Hans-Peter Nilsson <hp@axis.com>
765 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
766 Update for API change in bfd_elf${ELFSIZE}_size_dynamic_sections.
767 * mpw-elfmips.c (gldelf32ebmip_before_allocation): Ditto.
768 * ld.h (args_type): Remove member export_dynamic. All users
769 changed to use struct bfd_link_info member.
771 * Makefile.am (ecriself.c, ed10velf.c, ei386moss.c): Depend on
772 $(srcdir)/emultempl/elf32.em, not $(srcdir)/emultempl/generic.em.
773 * Makefile.in: Regenerate.
775 2001-06-18 H.J. Lu <hjl@gnu.org>
777 * ldlang.c (init_os): Add the newline to the einfo call.
778 (lang_check): Likewise.
779 (lang_do_version_exports_section): Likewise.
781 2001-06-15 H.J. Lu <hjl@gnu.org>
783 * lexsup.c (parse_args); Save optind to report unrecognized
786 2001-06-15 Hans-Peter Nilsson <hp@axis.com>
788 * ldlang.c (lang_check): Emit fatal error if relocatable link
789 between different object flavours.
791 * lexsup.c (parse_args) <case OPTION_EXPORT_DYNAMIC, case 'E'>:
792 Set new link_info member export_dynamic.
793 * ldmain.c (main): Initialize new link_info member export_dynamic.
795 2001-06-12 Nick Clifton <nickc@cambridge.redhat.com>
797 * ldlang.c (walk_wild): Only call walk_wild_file if
798 lookup_name returns something.
799 (lookup_name): If load_symbols fails, return NULL.
800 (load_symbols): Change to a boolean function.
801 (open_input_bfds): If load_symbols fails then do not make the
804 2001-06-08 Alan Modra <amodra@bigpond.net.au>
806 * ldlang.c (record_bfd_errors): Remove.
808 * emultempl/aix.em: Fix copyright dates.
810 2001-06-07 Andreas Jaeger <aj@suse.de>
812 * elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase.
813 (TEXT_START_ADDR): Likewise.
815 2001-06-06 Martin Schwidefsky <schwidefsky@de.ibm.com>
817 * configure.host: Set HOSTING_CRT0/HOSTING_LIBS correctly for s/390.
819 2001-06-05 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
821 * emultempl/pe.em (init): Reduce default stack reserve to 0x200000.
823 2001-05-31 H.J. Lu <hjl@gnu.org>
825 * ldlang.c (open_input_bfds): Don't change the bfd error
826 handler whilst loading symbols.
828 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
830 * configure.tgt: Remove i370-mvs architecture, it is not currently
833 2001-05-25 H.J. Lu <hjl@gnu.org>
835 * emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
836 like emulparams/aixppc.sh.
838 2001-05-25 H.J. Lu <hjl@gnu.org>
840 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move
841 setting of output_filename after bfd_scan_arch.
842 * emultempl/pe.em: Likewise.
844 2001-05-25 H.J. Lu <hjl@gnu.org>
846 * emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
847 like emulparams/aixppc.sh.
849 * emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed
850 instead of ${srcdir}/emultempl/stringify.sed.
852 2001-05-25 Timothy Wall <twall@oculustech.com>
854 * emulparams/elf64_aix.sh: Change settings to match IBM linker
857 2001-05-25 Alan Modra <amodra@one.net.au>
859 * configure.host: Replace linuxoldld with linux*oldld.
860 * configure.tgt: Likewise.
862 2001-05-24 H.J. Lu <hjl@gnu.org>
864 * emultempl/stringify.sed: Removed again.
866 2001-05-24 H.J. Lu <hjl@gnu.org>
868 * emultempl/aix.em (OUTPUT_ARCH): Defined.
869 (gld${EMULATION_NAME}_before_parse): Initialize
870 ldfile_output_architecture, ldfile_output_machine and
871 ldfile_output_machine_name from ${OUTPUT_ARCH} if possible.
872 * emultempl/beos.em: Likewise.
873 * emultempl/elf32.em: Likewise.
874 * emultempl/linux.em: Likewise.
875 * emultempl/mipsecoff.em: Likewise.
876 * emultempl/pe.em: Likewise.
877 * emultempl/sunos.em: Likewise.
879 2001-05-24 Tom Rix <trix@redhat.com>
881 * emultempl/aix.em : (gld${EMULATION_NAME}_read_file)
882 udate import file format.
883 (change_symbol_mode) New, same
884 (is_syscall) New, same
885 * emulparams/aixppc.sh : add SYSCALL_MASK and SYMBOL_MODE_MASK
886 * emulparams/aixppc64.sh : same
887 * emulparams/aixrs6.sh : same
888 * emulparams/ppcmacos.sh : same
889 * emultempl/aix.em : use strtoull to parse options
890 * Makefile.am : add eaixppc64 emulation for xcoff64
892 * configure.tgt : same
894 * scripttempl/aix.sc : default text section offset to 0x10000000
895 default data section offset to 0x20000000
896 add .sv3264 and .sv64 pseudo sections
897 loader and debug sections use the currect section offset.
899 * emultempl/aix.em : Add xcoff64 support
900 Add -binitfini support
901 (gld${EMULATION_NAME}_before_parse) -binitfini
902 (gld${EMULATION_NAME}_parse_args) same
903 (gld${EMULATION_NAME}_before_allocation) format change for special
906 * emulparams/aixppc64.sh : New file for xcoff64 support
908 2001-05-23 Alexandre Oliva <aoliva@redhat.com>
910 * emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new
911 variable to avoid non-portable shell construct.
913 2001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
915 * ldmain.c (get_emulation): Add -mips5 command line argument.
917 2001-05-22 Alexandre Oliva <aoliva@redhat.com>
919 * emulparams/elf_i386_ldso.sh: New, copied from elf_i386.sh.
920 (ELF_INTERPRETER_NAME): Define it.
921 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use
923 * configure.tgt (targ_emul, targ_extra_emuls)
924 [i[3456]86-*-solaris2*, i[3456]86-*-solaris*]: Use elf_i386_ldso
925 as primary, elf_i386 as extra.
926 * Makefile.am (ALL_EMULATIONS): Added eelf_i386_ldso.o.
927 (eelf_i386_ldso.c): New rule.
928 * Makefile.in: Rebuilt.
930 2001-05-22 Nick Clifton <nickc@redhat.com>
932 * lexsup.c (ld_options): Allow -I to be an alias for
933 --dynamic-linker. This is for Solaris compatability.
934 * ld.texinfo: Document that -I can be used.
937 2001-05-16 Alan Modra <amodra@one.net.au>
939 * ldlang.c (wild_doit): Use linker_has_input to reliably determine
940 whether an input section is the first one assigned to an output
942 Assorted formatting fixes.
944 2001-05-14 DJ Delorie <dj@delorie.com>
946 * Makefile.am (ld.dvi): Search bfd/doc for texinfo files.
947 * Makefile.in: Ditto.
949 2001-05-11 Jakub Jelinek <jakub@redhat.com>
951 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put
952 .gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind*
954 * emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise.
956 2001-05-11 Jakub Jelinek <jakub@redhat.com>
958 * ldlang.c (lang_process): Call bfd_merge_sections.
960 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
962 * ldgram.y: Fix typo.
964 2001-05-03 H.J. Lu <hjl@gnu.org>
966 * emultempl/elf32.em: Include "libiberty.h".
967 (gld${EMULATION_NAME}_vercheck): Call basename () to get the
968 basename of the bfd filename.
969 (gld${EMULATION_NAME}_stat_needed): Likewise.
970 (gld${EMULATION_NAME}_try_needed): Likewise.
971 (gld${EMULATION_NAME}_open_dynamic_archive): Likewise.
973 2001-05-02 H.J. Lu <hjl@gnu.org>
975 * emultempl/pe.em: Include <ctype.h>.
977 2001-05-02 Johan Rydberg <jrydberg@opencores.org>
979 * emulparams/elf32openrisc.sh: New file.
981 * Makefile.am: Add OpenRISC target.
982 * Makefile.in: Regenerated.
984 * configure.tgt: Add openrisc-*-* mapping.
986 2001-05-02 Nick Clifton <nickc@redhat.com>
988 * emultempl/aix.em: Replace buystring with xstrdup.
989 * emultempl/beos.em: Replace buystring with xstrdup.
991 2001-05-02 H.J. Lu <hjl@gnu.org>
993 * ldfile.c: Include "libiberty.h".
996 * ldmisc.c (buystring): Removed.
997 * ldmisc.h: Likewise.
999 * ldfile.c: Replace buystring with xstrdup.
1000 * ldlang.c: Likewise.
1001 * ldlex.l: Likewise.
1002 * ldmain.c: Likewise.
1003 * ldmisc.c: Likewise.
1004 * lexsup.c: Likewise.
1005 * mpw-eppcmac.c: Likewise.
1007 2001-04-30 Andreas Jaeger <aj@suse.de>
1009 * emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value.
1011 2001-04-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
1013 * ldlang.c (load_symbols): Give emulation a chance
1014 to process unrecognized file before fatal error is
1015 reported, not after.
1017 2001-04-27 Sean McNeil <sean@mcneil.com>
1019 * configure.tgt: Add arm-vxworks target.
1020 * scripttempl/armcoff.sc: Support .text or .data as a section name
1024 2001-04-13 J.T. Conklin <jtc@redback.com>
1026 * ld.texinfo: Document --fatal-warnings.
1029 * ldmisc.c (vfinfo): Set flag to inhibit making executable if
1030 warnings have been turned into errors.
1031 * lexsup.c (OPTION_WARN_FATAL): Define.
1032 (ld_options): Entry for --fatal-warnings.
1033 (parse_args): Handle OPTION_WARN_FATAL.
1034 * ld.h (ld_config_type): Add fatal_warnings field.
1036 2001-04-13 Jakub Jelinek <jakub@redhat.com>
1038 * ldmain.c (main): Default to discard_sec_merge.
1039 * lexsup.c (OPTION_DISCARD_NONE): Define.
1040 (ld_options): Add --discard-none.
1041 (parse_args): Handle OPTION_DISCARD_NONE.
1042 * ldlang.c (wild_doit): SEC_MERGE should be set in the output
1043 section only if SEC_MERGE and SEC_STRINGS flags and entsize of
1044 all its input sections match.
1046 2001-04-05 Steven J. Hill <sjhill@cotw.com>
1048 * Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o.
1049 (ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o.
1050 (eelf32ltsmip.c): New target.
1051 (eelf64btsmip.c): Likewise.
1052 (eelf64ltsmip.c): Likewise.
1053 * Makefile.in: Regenerated.
1055 * configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS
1057 (mips*-*-linux-gnu*): Likewise.
1059 * emulparams/elf32ltsmip.sh: New. Traditional little endian
1061 * emulparams/elf64btsmip.sh: New. Traditional 64bit big endian
1063 * emulparams/elf64ltsmip.sh: New. Traditional 64bit little
1066 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
1068 * emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide
1069 correct value of __Stext here.
1070 (TEXT_START_SYMBOLS): Define; always define __Stext, to start of
1073 * emulparams/crislinux.sh: Remove FIXME.
1075 2001-04-02 Alan Modra <alan@linuxcare.com.au>
1077 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k.
1078 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Likewise.
1080 2001-03-27 Hans-Peter Nilsson <hp@axis.com>
1082 * configure.tgt (cris-*-*): Change default emulation to criself.
1083 (cris-*-*aout*): New rule.
1085 2001-03-27 Matthew Wilcox <willy@ldl.fc.hp.com>
1087 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 0x4000.
1088 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
1090 2001-03-26 Andreas Jaeger <aj@suse.de>
1092 * ld.texinfo (Overview): Fix syntax in texi code.
1094 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1096 * ld.texinfo: Put @c man indications to generate the ld man page.
1097 When generating man, define all the variables. Define SEEALSO
1098 and SYNOPSIS. Re-organize some lines to avoid the cross references.
1099 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variables.
1100 (ld.1): Generate from ld.texinfo.
1101 * Makefile.in: Regenerate.
1103 2001-03-23 Mark Elbrecht <snowball3@bigfoot.com>
1105 * scripttempl/i386go32.sc: Support the GCC flags '-ffunction-sections'
1106 and '-fdata-sections'. Set the VMA of STABS sections to zero.
1108 2001-03-17 Ulrich Drepper <drepper@redhat.com>
1110 * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME
1111 is an absolute path look only for this file and not along the path.
1113 2001-03-17 Ulrich Drepper <drepper@redhat.com>
1115 * emultempl/elf32.em (OPTION_GROUP): New macro.
1116 Add new option Bgroup to longopts.
1117 (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs.
1118 (gld*_list_options): Add -Bgroup and -z defs.
1119 * ld.1: Document -Bgroup and -z defs.
1120 * ld.texinfo: Likewise.
1122 2001-03-07 Michael Meissner <meissner@redhat.com>
1124 * scripttempl/elfd10v.sc (.rodata,.rodata1,.data1,.sdata): Deal
1125 with sections created by -fdata-sections.
1126 (.dynbss,.bss): Ditto.
1128 2001-03-05 Alan Modra <alan@linuxcare.com.au>
1130 * emultempl/m68kelf.em (m68k_elf_after_allocation): Call
1131 after_allocation_default, not gld..._before_allocation.
1133 2001-02-27 Alan Modra <alan@linuxcare.com.au>
1135 * configure.in (BFD_VERSION): New.
1136 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
1137 * configure: Regenerate.
1138 * Makefile.am: Run "make dep-am"
1139 * Makefile.in: Regenerate.
1141 2001-02-26 Timothy Wall <twall@cygnus.com>
1143 * emulparams/elf64_aix.sh: Add additional read-only sections;
1144 uncomment lines which are now required.
1146 2001-02-26 H.J. Lu <hjl@gnu.org>
1148 * ldlang.c (open_input_bfds): Set the bfd error handler so
1149 that problems can be caught whilst loading symbols.
1150 (record_bfd_errors): New function: Report BFD errors and mark
1151 the executable output as being invalid.
1153 2001-02-22 Timothy Wall <twall@cygnus.com>
1155 * configure.host: Add configuration for ia64-*-aix*.
1156 * Makefile.am (ALL_64_EMULATIONS): Add emulation for ia64-*-aix*.
1157 Add dependencies for eelf64_aix.c.
1158 * Makefile.in: Regenerate.
1159 * configure.tgt: Add ia64-*-aix* mapping.
1160 * emulparams/elf64_aix.sh: Add settings for elf64 on aix5.
1161 * testsuite/ld-bootstrap/bootstrap.exp: Exclude ia64 flavor from
1164 2001-02-20 H.J. Lu <hjl@gnu.org>
1166 * ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to
1167 false if we found the file.
1169 2001-02-18 David O'Brien <obrien@FreeBSD.org>
1171 * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64,
1172 FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries.
1174 2001-02-18 lars brinkhoff <lars@nocrew.org>
1176 * Makefile.am: Add PDP-11 target.
1177 * configure.tgt: Likewise.
1178 * emulparams/pdp11.sh: New file.
1180 2001-02-17 David O'Brien <obrien@FreeBSD.org>
1182 * configure.host: Add a generic FreeBSD configuration entry such that
1183 all [modern] FreeBSD systems on all platforms will look the same.
1185 2001-02-14 H.J. Lu <hjl@gnu.org>
1187 * configure.tgt: Remove mention of earmelf_linux26.
1189 2001-02-13 Richard Henderson <rth@redhat.com>
1191 * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove.
1193 2001-02-13 H.J. Lu <hjl@gnu.org>
1195 * ldexp.h (node_type): Add etree_provided.
1196 * ldexp.c (exp_fold_tree): Handle etree_provided. Set the node
1197 type to etree_provided if defined by PROVIDE. Allow updating
1199 (exp_print_tree): Handle etree_provided.
1200 * mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle
1203 2001-02-09 David Mosberger <davidm@hpl.hp.com>
1205 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add
1206 .IA_64.unwind.* pattern to unwind table section and
1207 .IA_64.unwind_info* pattern to unwind info section.
1209 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
1211 * Makefile.am: Add linux target for S/390.
1212 * Makefile.in: Likewise.
1213 * configure.host: Likewise.
1214 * configure.tgt: Likewise.
1215 * emulparams/elf64_s390.sh: New file.
1216 * emulparams/elf_s390.sh: New file.
1218 2001-02-09 Jakub Jelinek <jakub@redhat.com>
1220 * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into
1222 (sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath.
1224 2001-02-06 Philip Blundell <philb@gnu.org>
1226 * Makefile.am: Remove mention of earmelf_linux26.
1227 * Makefile.in: Regenerate.
1229 2001-02-04 Philip Blundell <philb@gnu.org>
1231 * emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000.
1232 * emulparams/armelf_linux26.sh: Delete.
1233 * configure.tgt: Remove mention of armelf_linux26 emulation.
1235 2001-02-01 Nick Clifton <nickc@redhat.com>
1237 * ld.1: Replace occurances of -oformat with --oformat.
1239 2001-01-25 Jim Driftmyer <jdrift@stny.rr.com>
1241 * ldlang.c (lang_leave_overlay): Don't set lma_region when
1242 load_base is specified.
1244 2001-01-24 Hans-Peter Nilsson <hp@axis.com>
1246 * emultempl/elf32.em: Correct spelling in comments and listed
1249 2001-01-23 Alan Modra <alan@linuxcare.com.au>
1251 * ldlang.c (lang_leave_overlay): Only set lma_region from the
1252 default for the first section of a group of overlay sections.
1254 2001-01-22 Alan Modra <alan@linuxcare.com.au>
1256 * Makefile.am (GENSCRIPTS): Pass exec_prefix.
1257 * Makefile.in: Regenerate.
1258 * genscripts.sh: Use exec_prefix parameter to specify tool lib.
1259 Check for null tool_dir.
1261 2001-01-16 Jim Wilson <wilson@redhat.com>
1263 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind
1264 and IA_64.unwind.info.
1266 2001-01-16 H.J. Lu <hjl@gnu.org>
1268 * ldlang.c (lang_check): Merge the private data only if the
1269 input file has contents.
1271 2001-01-14 Alan Modra <alan@linuxcare.com.au>
1273 * emulparams/hppalinux.sh (OUTPUT_FORMAT): Set to elf32-hppa-linux.
1275 * emultempl/hppaelf.em (hppaelf_after_parse): New function,
1276 enabling search for libmilli. On a relocatable link, make .text
1278 (LDEMUL_AFTER_PARSE): Define.
1279 (hppaelf_finish): Correct spelling of relocatable in comments.
1281 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
1282 rummage through the script for sections on the unique list.
1283 Correct length of strncmp for ".note".
1284 (gld${EMULATION_NAME}_check_needed): Rearrange function.
1286 * ldlang.c (unique_section_list): New var.
1287 (unique_section_p): New function.
1288 (walk_wild_section): Don't match sections on unique_section_list.
1289 (lang_add_unique): New function.
1290 Correct spelling of relocatable in comments.
1292 * ldlang.h (struct unique_sections): Declare.
1293 (unique_section_list): Declare.
1294 (unique_section_p): Declare.
1295 (lang_add_unique): Declare.
1297 * lexsup.c (ld_options): Allow --unique to take an optional arg.
1298 (parse_args [OPTION_UNIQUE]): Call lang_add_unique.
1300 * ld.texinfo (--unique): Update.
1302 2001-01-13 Nick Clifton <nickc@redhat.com>
1304 * lexsup.c (parse_args): Remove spurious white space.
1306 2001-01-12 Nick Clifton <nickc@redhat.com>
1308 * lexsup.c (parse_args): Update copyright date.
1310 2001-01-12 Philip Blundell <pb@futuretv.com>
1312 * configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin.
1314 2001-01-10 Kazu Hirata <kazu@hxi.com>
1316 * scripttempl/h8300.sc: Fix formatting. Fix a comment typo.
1317 * scripttempl/h8300h.sc: Fix formatting.
1318 * scripttempl/h8300s.sc: Likewise.
1319 * scripttempl/h8500.sc: Likewise.
1320 * scripttempl/h8500b.sc: Likewise.
1321 * scripttempl/h8500c.sc: Likewise.
1322 * scripttempl/h8500m.sc: Likewise.
1323 * scripttempl/h8500s.sc: Likewise.
1325 2000-01-07 David O'Brien <obrien@BSDi.com>
1327 * emultempl/elf32.em: Only perform Linux ld hints processing when
1330 2001-01-07 Philip Blundell <philb@gnu.org>
1332 * ld.texinfo (Bug Reporting): Update email address for reports.
1334 2000-12-31 Nick Clifton <nickc@redhat.com>
1336 * lexsup.c (parse_args): Set opterr to 0 and detect unparsed long
1337 options by checking for a return value of '?' not -1.
1339 2000-12-28 Nick Clifton <nickc@redhat.com>
1341 * lexsup.c (struct ld_option): Add new enum value:
1343 (ld_options[]): Change -omagic, -output and -oformat options
1344 to be EXACTLY_TWO_DASHES.
1345 (OUTPUT_COUNT): Use ARRAY_SIZE.
1346 (parse_args): Change parameter 'argc' to unsigned.
1347 Place EXACTLY_TWO_DASHES options into new really_longopts
1349 If getopt_long_only fails, try calling getopt_long using the
1350 really_longopts array.
1351 (help): Print a double dash for both EXACTLY_TWO_DASHES and
1354 * ldlex.h: Fix prototype of parse_args.
1356 * ld.texinfo: Document that long options starting with 'o'
1357 must be preceeded by two dashes. Change example of a single
1358 dashed long option from -oformat to -trace-symbol.
1360 2000-12-26 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
1362 * emultempl/pe.em (OPTION_NO_DEFAULT_EXCLUDES): Define.
1363 (longopts[]): New --no-default-excludes option.
1364 (gld_${EMULATION_NAME}_list_options): Document.
1365 (gld_${EMULATION_NAME}_parse_args): Handle.
1367 2000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1369 * ldlang.c (new_stat): Revert the last beautification with "innocent"
1370 whitespace, it breaks the K&R C preprocessor.
1372 2000-12-11 DJ Delorie <dj@redhat.com>
1374 * ld.texinfo: Add notes about --whole-archive and gcc.
1376 2000-11-18 Fred Fish <fnf@be.com>
1378 * lexsup.c (OPTION_ALLOW_SHLIB_UNDEFINED): Define.
1379 (ld_options): Entry for --allow-shlib-undefined.
1380 (parse_args): Handle OPTION_ALLOW_SHLIB_UNDEFINED.
1381 * ldmain.c (main): Initialize link_info.allow_shlib_undefined
1383 * ld.texinfo: Document new command line switch.
1385 2000-12-12 Geoffrey Keating <geoffk@redhat.com>
1387 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS):
1388 .fixup is actually read/write.
1389 * emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
1390 * emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
1391 * emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
1393 Mon Dec 11 14:50:33 MET 2000 Jan Hubicka <jh@suse.cz>
1395 * NEWS: Add note about x86_64 architecture.
1397 2000-12-06 Mark Elbrecht <snowball3@bigfoot.com>
1399 * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end.
1400 Set DWARF2 sections to a VMA of zero.
1402 2000-12-01 Joel Sherrill <joel@OARcorp.com>
1404 * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
1406 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
1407 (sparc*-*-rtems*): Switched from a.out to ELF.
1409 2000-11-30 Jan Hubicka <jh@suse.cz>
1411 * Makefile.am (ALL_EMULATIONS): Add eelf_x86_64.o
1412 (eelf_x86_64.c): New.
1413 * Makefile.in: Regenerate.
1414 * configure.tgt: Add support for x86_64-*-linux-gnu*.
1415 * emulparams/elf_x86_64.sh: New.
1417 2000-11-30 Hans-Peter Nilsson <hp@axis.com>
1419 * emulparams/crislinux.sh (ENTRY): Change back to _start.
1420 (TEXT_START_SYMBOLS): Remove conditional setting of __start.
1422 * scripttempl/crisaout.sc: Change all RELOCATING not related to
1423 merging non-a.out sections into CONSTRUCTING.
1425 2000-11-28 Nick Clifton <nickc@redhat.com>
1427 * ld.1 (COPYING): Mention that the GNU Free Documentation
1428 License is present in the sources, but not the output, and
1429 also available from the GNU website.
1430 (GNU Free Documentation License): Comment out this section.
1432 2000-11-28 David O'Brien <obrien@dragon.nuxi.com>
1434 * emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF
1437 2000-11-25 David O'Brien <obrien@FreeBSD.org>
1439 * ld.1: Remove old date so it does not give the impression the manpage
1442 2000-11-24 Nick Clifton <nickc@redhat.com>
1444 * configure.tgt (xscale-coff): Add target.
1445 (xscale-elf): Add target.
1447 2000-11-24 Fred Fish <fnf@be.com>
1449 * ldmain.c (main): Remove redundant init of config.make_executable
1452 2000-11-15 Richard Henderson <rth@redhat.com>
1454 * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M.
1456 2000-11-14 Kazu Hirata <kazu@hxi.com>
1458 * scripttempl/h8300.sc: Fix formatting.
1459 * scripttempl/h8300h.sc: Likewise.
1460 * scripttempl/h8300s.sc: Likewise.
1462 Tue Nov 14 00:59:19 2000 Denis Chertykov <denisc@overta.ru>
1464 * scripttempl/elf32avr.sc: Fix bug in .eeprom segment.
1466 2000-11-09 Philip Blundell <pb@futuretv.com>
1468 * emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME
1469 around orphan sections whose names can be represented in C.
1471 2000-11-07 Jim Wilson <wilson@redhat.com>
1473 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local
1474 hold_sdata. If SEC_SMALL_DATA set, set place to hold_sdata.
1476 2000-11-06 Nick Clifton <nickc@redhat.com>
1478 * ld.texinfo: Add GNU Free Documentation License.
1479 * ldint.texinfo: Add GNU Free Documentation License.
1480 * ld.1: Add GNU Free Documentation License.
1482 2000-11-05 Alan Modra <alan@linuxcare.com.au>
1484 * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer,
1485 yy_is_interactive, yy_at_bol, and yy_fill_buffer.
1487 * Makefile.am (DISTCLEANFILES): Add stringify.sed.
1488 Move 2000-11-02 Makefile.in changes to this file.
1489 * Makefile.in: Regenerate.
1491 2000-11-03 Nick Clifton <nickc@redhat.com>
1493 * scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose
1494 constructors and destructors.
1495 * scripttempl/h8300h.sc: Ditto.
1496 * scripttempl/h8300s.sc: Ditto.
1497 * scripttempl/h8500.sc: Ditto.
1498 * scripttempl/h8500b.sc: Ditto.
1499 * scripttempl/h8500c.sc: Ditto.
1500 * scripttempl/h8500m.sc: Ditto.
1501 * scripttempl/h8500s.sc: Ditto.
1502 * scripttempl/v850.sc: Ditto.
1503 * scripttempl/w65.sc: Ditto.
1504 * scripttempl/z8000.sc: Ditto.
1506 2000-11-02 Per Lundberg <plundis@chaosdev.org>
1508 * Makefile.in (e_i386_chaos.c): New rule.
1509 (ALL_EMULATIONS): Added e_i386_chaos.o.
1510 * emulparams/elf_i386_chaos.sh: New file.
1511 * configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos.
1513 2000-10-20 Jakub Jelinek <jakub@redhat.com>
1515 * emulparams/elf64_sparc.sh (TEXT_START_ADDR,
1516 NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets.
1517 Fix sed invocation, so that it coped with '/' in Solaris 64bit
1518 library path suffix.
1519 Based on patch by Andrew Macleod <amacleod@cygnus.com>.
1521 2000-10-18 Hans-Peter Nilsson <hp@axis.com>
1523 * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),
1524 for consecutive sections.
1526 2000-10-17 Chandrakala Chavva <cchavva@redhat.com>
1528 * lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific
1530 * ld.texinfo: Added notes about this new option.
1532 2000-10-16 Nick Clifton <nickc@redhat.com>
1534 * emultempl/pe.em (_after_open): Add tests of return values from
1535 bfd functions. Emit appropriate error messages if necessary.
1537 2000-10-13 Nick Clifton <nickc@redhat.com>
1539 * emultempl/pe.em (_after_open): Delete 'is2' and 'nsyms'
1540 local variables - they are not used, but leave in the call to
1541 bfd_canonicalize_symtab.
1542 (_open_dynamic_archive): Add #ifdef DLL_SUPPORT around use of
1543 pe_dll_search_prefix.
1545 2000-10-12 Charles Wilson <cwilson@ece.gatech.edu>
1547 * emultempl/pe.em (pe_dll_search_prefix): New variable,
1548 (longopts): New --dll-search-prefix option.
1549 (gld_${EMULATION_NAME}_list_options): Document.
1550 (gld_${EMULATION_NAME}_parse_args): Handle.
1551 (gld_${EMULATION_NAME}_open_dynamic_archive): When linking
1552 dynamically, search for a dll named '<prefix><basename>.dll'
1553 in preference to 'lib<basename>.dll' if --dll-search-prefix
1556 2000-10-12 Alan Modra <alan@linuxcare.com.au>
1558 * ldlang.c (section_already_linked): Set kept_section instead of
1561 2000-10-10 Kazu Hirata <kazu@hxi.com>
1563 * deffile.h: Fix formatting.
1564 * lexsup.c: Likewise.
1567 2000-10-09 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
1569 * pe-dll.c (make_one): Do not generate code thunk for DATA
1571 (process_def_file): deduce DATA flag for auto-export sumbols.
1573 2000-10-09 Kazu Hirata <kazu@hxi.com>
1575 * ld.h: Fix formatting.
1576 * ldcref.c: Likewise.
1577 * ldctor.h: Likewise.
1578 * ldemul.c: Likewise.
1579 * ldemul.h: Likewise.
1580 * ldexp.c: Likewise.
1581 * ldexp.h: Likewise.
1582 * ldfile.c: Likewise.
1583 * ldfile.h: Likewise.
1584 * ldlang.c: Likewise.
1585 * ldlang.h: Likewise.
1586 * ldmain.c: Likewise.
1587 * pe-dll.c: Likewise.
1589 * pe-dll.c: Revert some formatting fixes.
1591 2000-10-08 Kazu Hirata <kazu@hxi.com>
1593 * pe-dll.c: Fix formatting.
1595 2000-10-05 Kazu Hirata <kazu@hxi.com>
1597 * ldlang.c: Fix formatting.
1599 2000-10-03 DJ Delorie <dj@redhat.com>
1601 * pe-dll.c (fill_edata): initialize entire block
1602 (make_one): fill in correct section.
1604 2000-10-03 Kazu Hirata <kazu@hxi.com>
1606 * ldexp.c: Fix formatting.
1608 2000-10-02 DJ Delorie <dj@redhat.com>
1610 * emultempl/pe.em (gld_*_after_open): detect case where there two
1611 import libraries for same dll; rename one to ensure proper link
1614 * pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix
1616 (generate_edata): fix typo
1618 2000-09-29 Hans-Peter Nilsson <hp@axis.com>
1620 * scripttempl/crisaout.sc (ENTRY): Now __start.
1621 (.text): Add default setting for __start.
1622 Remove CONSTRUCTORS handling.
1623 (/DISCARD/): Add .gnu.warning.*.
1624 * emulparams/crislinux.sh (ENTRY): Now __start.
1625 (TEXT_START_SYMBOLS): New; provide __Stext and __start default.
1626 * emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris.
1627 (ENTRY): Now __start.
1628 (INITIAL_READONLY_SECTIONS): Add KEEP for .startup.
1629 (EXECUTABLE_SYMBOLS): Add default setting for __start.
1631 2000-09-29 Kazu Hirata <kazu@hxi.com>
1633 * deffile.h: Fix formatting.
1635 * ldcref.c: Likewise.
1636 * ldctor.c: Likewise.
1637 * ldctor.h: Likewise.
1638 * ldemul.c: Likewise.
1639 * ldemul.h: Likewise.
1640 * ldexp.c: Likewise.
1641 * ldexp.h: Likewise.
1642 * ldfile.c: Likewise.
1643 * ldfile.h: Likewise.
1644 * ldlang.c: Likewise.
1645 * ldlang.h: Likewise.
1646 * lexsup.c: Likewise.
1648 * pe-dll.c: Likewise.
1650 2000-09-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
1652 * pe-dll.c (process_def_file): Uninitialized data wasn't
1653 exported with --export-all-symbols switch.
1655 2000-09-28 DJ Delorie <dj@redhat.com>
1657 * pe-dll.c (fill_edata): rearrange the data so that ordinals and
1658 noname work properly.
1660 2000-09-28 Alan Modra <alan@linuxcare.com.au>
1662 * ld.texinfo (HPPA ELF32): New section.
1664 * emultempl/hppaelf.em (group_size): New.
1665 (hppaelf_finish): Pass group_size to elf32_hppa_size_stubs.
1666 (PARSE_AND_LIST_PROLOGUE): Add OPTION_STUBGROUP_SIZE.
1667 (PARSE_AND_LIST_LONGOPTS): Add --stub-group-size. Duplicate
1668 options to prevent abbreviations matching.
1669 (PARSE_AND_LIST_OPTIONS): Describe the above. Reformat.
1670 (PARSE_AND_LIST_ARGS_CASES): Handle it.
1672 2000-09-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1674 * emultempl/m68kelf.em: Conditionalise the embedded relocs feature
1675 on the m68*-*-elf target. Make it support COFF input objects.
1677 2000-09-21 Kazu Hirata <kazu@hxi.com>
1679 * ldmain.c: Fix formatting.
1680 * ldmisc.c: Likewise.
1681 * ldver.c: Likewise.
1682 * ldwrite.c: Likewise.
1684 2000-09-21 Alan Modra <alan@linuxcare.com.au>
1686 * ldwrite.c (clone_section): Silence gcc warnings.
1688 2000-09-20 Alan Modra <alan@linuxcare.com.au>
1690 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Handle
1691 out of memory failure.
1693 * ldwrite.c (ldwrite): Remove unnecessary einfo arg.
1694 (clone_section): Handle out of memory failures. Rename var to
1695 avoid c++ reserved word.
1697 2000-09-18 Alan Modra <alan@linuxcare.com.au>
1699 * emultempl/hppaelf.em (hppaelf_add_stub_section): Rename
1700 stub_name param to stub_sec_name.
1701 (hppaelf_finish): Modify call to elf32_hppa_size_stubs.
1703 2000-09-10 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1705 * emultempl/m68kelf.em: New file.
1706 * emulparams/m68kelf.sh (EXTRA_EM_FILE): Use it.
1707 * Makefile.am (em68kelf.c): Add dependency on m68kelf.em.
1708 * Makefile.in: Regenerate.
1710 2000-09-15 Alan Modra <alan@linuxcare.com.au>
1712 * emulparams/hppalinux.sh (DATA_START_SYMBOLS): Provide $global$
1715 2000-09-13 Nick Clifton <nickc@redhat.com>
1717 * ldmain.c (multiple_definition): Disable relaxation if
1718 multiple symbol definitions are encountered - otherwise the
1719 linker could abort with an assertion failure.
1721 2000-09-10 Nick Clifton <nickc@redhat.com>
1723 * mri.c: Fix formatting.
1725 2000-09-07 H.J. Lu <hjl@gnu.org>
1727 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
1728 * configure: Rebuild.
1730 2000-09-07 H.J. Lu <hjl@gnu.org>
1732 * Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h.
1733 * Makefile.in: Rebuild.
1735 2000-09-07 Alan Modra <alan@linuxcare.com.au>
1737 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Fix
1738 broken list handling. Create __start_SECNAME and __stop_SECNAME
1739 when no place-holder. Add some comments. Test both SEC_CODE and
1740 SEC_READONLY for hold_text to prevent .rodata orphan poisoning.
1741 Handle case where no output section statement created.
1743 2000-09-07 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
1745 * configure.tgt (sh-*-linux*): Added.
1746 * Makefile.am: Added eshelf_linux and eshlelf_linux.
1747 * Makefile.in: Rebuilt.
1748 * emulparams/shelf_linux.sh: New file.
1749 * emulparams/shlelf_linux.sh: New file.
1751 2000-09-06 Alan Modra <alan@linuxcare.com.au>
1753 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
1754 try shuffling sections when the orphan happens to be the place
1755 holder. Keep count of unique section names generated so we speed
1756 the search for a new name.
1758 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
1760 * configure: Rebuilt with new libtool.m4.
1762 2000-09-05 Nick Clifton <nickc@redhat.com>
1764 * Makefile.in: Regenerate.
1765 * aclocal.m4: Regenerate.
1766 * configure: Regenerate.
1767 * config.in: Regenerate.
1768 * po/ld.pot: Regenerate.
1770 * ldint.texinfo: Remove CVS revision marker - it foils local
1773 * emultempl/ticoff.em: Remove extraneous comma.
1775 2000-09-05 Alan Modra <alan@linuxcare.com.au>
1777 * emultempl/hppaelf.em (hppaelf_add_stub_section): Add SEC_RELOC
1778 to stub section flags.
1779 (hppa_for_each_input_file_wrapper): New.
1780 (hppa_lang_for_each_input_file): New.
1781 (lang_for_each_input_file): Define to call above.
1782 (multi_subspace): New.
1783 (hppaelf_finish): Pass multi_subspace to elf32_hppa_size_stubs.
1784 (PARSE_AND_LIST_PROLOGUE): Define.
1785 (PARSE_AND_LIST_LONGOPTS): Define.
1786 (PARSE_AND_LIST_OPTIONS): Define.
1787 (PARSE_AND_LIST_ARGS_CASES): Define.
1788 (hppaelf_finish): Call elf32_hppa_set_gp.
1789 (hppaelf_set_output_arch): Remove.
1790 (LDEMUL_SET_OUTPUT_ARCH): Remove.
1792 * emulparams/hppalinux.sh (ELFSIZE): Define.
1794 (OTHER_READONLY_SECTIONS): Define.
1796 (GENERATE_SHLIB_SCRIPT): Define.
1798 * ldlang.c: Add missing prototypes, and tidy others. Change CONST
1799 to const throughout. Change `void *' to `PTR' throughout.
1800 (lang_memory_default): Function is local to file, add `static'.
1802 * Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em.
1803 (ehppalinux.c): Likewise.
1804 (earmelf.c): Likewise.
1805 (earmelf_linux.c): Likewise.
1806 (earmelf_linux26.c): Likewise.
1807 * Makefile.in: Regenerate.
1809 * ld.h (ld_config_type): Add unique_orphan_sections.
1810 * lexsup.c (OPTION_UNIQUE): Define.
1811 (ld_options): Add "--unique".
1812 (parse_args): Handle it.
1813 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
1814 search for an existing output section if unique_orphan_sections is
1815 set. Make use of bfd_get_unique_section_name rather than
1816 duplicating code here.
1817 * ld.texinfo: Describe --unique.
1819 * lexsup.c (ld_options): Make split-by-reloc arg optional. Add
1820 optional arg to split-by-file.
1821 (parse_args): Handle them.
1822 * ld.texinfo: Update description of these options.
1823 * ldwrite.c (clone_section): Pass in the section name. Replace
1824 local code with bfd_get_unique_section_name.
1825 (split_sections): Tidy code and comments. Use a list traversal
1826 more appropriate to the list construction. Handle cooked section
1827 sizes. Split when split_by_reloc reached rather than exceeded.
1828 Track section size and split when split_by_file reached. Fix
1829 link_order_tail (even though it's not used).
1830 (ldwrite): Modify condition for calling split_sections to suit
1831 changed split_by_reloc and split_by_file.
1832 * ldmain.c (main): Init config.split_by_reloc and
1833 config.split_by_file to -1.
1834 * ld.h (ld_config_type): Change split_by_reloc to unsigned.
1835 Change split_by_file to bfd_size_type.
1837 2000-09-02 Nick Clifton <nickc@redhat.com>
1839 * configure.in: Increase version number to 2.10.91.
1840 * NEWS: Mention new ability to support removal of duplicate DWARF2
1842 * configure: Regenerate.
1843 * aclocal.m4: Regenerate.
1844 * config.in: Regenerate.
1846 2000-09-02 Daniel Berlin <dberlin@redhat.com>
1848 * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info
1850 * scripttempl/elf32avr.sc: Ditto.
1851 * scripttempl/elfd10v.sc: Ditto.
1852 * scripttempl/elfd30v.sc: Ditto.
1853 * scripttempl/elfi370.sc: Ditto.
1854 * scripttempl/elfm68hc11.sc: Ditto.
1855 * scripttempl/elfm68hc12.sc: Ditto.
1856 * scripttempl/elfi386beos.sc: Ditto.
1857 * scripttempl/v850.sc: Ditto.
1859 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
1861 * acinclude.m4: Include libtool and gettext macros from the
1863 * aclocal.m4, configure: Rebuilt.
1865 2000-08-25 Nick Clifton <nickc@redhat.com>
1867 * ldlang.c (open_output): When choosing the target for a
1868 particular endianness, do nothing if the target is not
1871 2000-08-25 H.J. Lu <hjl@gnu.org>
1873 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
1874 check -rpath nor LD_RUN_PATH for cross link.
1875 * ld.texinfo: Document the change.
1877 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
1879 * NEWS: Mention support for CRIS.
1881 2000-08-23 H.J. Lu <hjl@gnu.org>
1883 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get
1884 the current runpath list from bfd_elf_get_runpath_list ()
1887 2000-08-22 H.J. Lu <hjl@gnu.org>
1889 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search
1890 the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after
1891 LD_LIBRARY_PATH for native linker. Display the needed DSO if
1892 trace_file_tries is non-zero.
1893 (gld${EMULATION_NAME}_try_needed): Report the needed DSO found
1894 if trace_file_tries is non-zero.
1896 * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH.
1899 2000-08-14 Jason Eckhardt <jle@cygnus.com>
1901 * NEWS: Mention i860 support.
1903 2000-08-14 Andreas Schwab <schwab@suse.de>
1905 * scripttempl/elf.sc: Fix last change to use correct comment
1908 2000-08-10 Geoff Keating <geoffk@cygnus.com>
1910 * scripttempl/elf.sc: Add a comment giving the correspondence
1911 between sections, per-datum sections, and linkonce sections. Make
1912 the comment true even for .bss, .sdata, .sdata2, .sbss, and
1915 2000-08-10 Jason Eckhardt <jle@cygnus.com>
1917 * emulparams/elf32_i860.sh: New file.
1918 * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}.
1919 * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o.
1920 (eelf32_i860.c): New rule.
1921 * Makefile.in: Regenerate.
1923 2000-08-10 Nick Clifton <nickc@cygnus.com>
1925 * emulparams/mipspe.sh (ENTRY): Add definition.
1927 2000-08-08 Peter Jeremy <peter.jeremy@alcatel.com.au>
1929 * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath
1932 2000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1934 * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate
1935 the final size of .bss section.
1936 * scripttempl/elfm68hc12.sc: Likewise.
1938 2000-08-04 Alan Modra <alan@linuxcare.com.au>
1940 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to
1941 gld${EMULATION_NAME}_parse_args for consistency. Combine
1942 lastoptind and prevoptind vars, and keep track of last optind.
1943 (gld_${EMULATION_NAME}_list_options): Rename to
1944 gld${EMULATION_NAME}_list_options.
1946 2000-08-03 Rodney Brown <RodneyBrown@pmsc.com>
1948 * configure.tgt: Select targ_emul=elf_i386 for Unixware 7
1949 (i586-sco-sysv5uw7.1.0).
1951 2000-07-27 H.J. Lu <hjl@gnu.org>
1953 * emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed.
1954 (PARSE_AND_LIST_PROLOGUE): New.
1955 (PARSE_AND_LIST_LONGOPTS): Likewise.
1956 (PARSE_AND_LIST_OPTIONS): Likewise.
1957 (PARSE_AND_LIST_ARGS_CASES): Likewise.
1958 (PARSE_AND_LIST_EPILOGUE): Likewise.
1960 2000-07-28 Alan Modra <alan@linuxcare.com.au>
1962 * emultempl/armelf.em: Elide functions common to elf32.em,
1963 ie. most of the file.
1964 (arm_elf_after_open): New. Do arm specific things then call
1965 gld${EMULATION_NAME}_after_open.
1966 (arm_elf_before_allocation): New. Call
1967 gld${EMULATION_NAME}_before_allocation then do arm specifics.
1968 (PARSE_AND_LIST_PROLOGUE): Define.
1969 (PARSE_AND_LIST_SHORTOPTS): Define.
1970 (PARSE_AND_LIST_LONGOPTS): Define.
1971 (PARSE_AND_LIST_OPTIONS): Define.
1972 (PARSE_AND_LIST_ARGS_CASES): Define.
1973 (LDEMUL_AFTER_OPEN): Define.
1974 (LDEMUL_BEFORE_ALLOCATION): Define.
1975 (LDEMUL_BEFORE_PARSE): Define.
1976 (LDEMUL_FINISH): Define.
1978 * emultempl/hppaelf.em: Similarly zap most of this file.
1979 (hppaelf_add_stub_section): Prototype.
1980 (hppaelf_layaout_sections_again): Prototype.
1981 (hook_in_stub): Prototype.
1982 (LDEMUL_SET_OUTPUT_ARCH): Define.
1983 (LDEMUL_FINISH): Define.
1984 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
1986 * emulparams/armelf.sh (TEMPLATE_NAME): Use elf32.
1987 (EXTRA_EM_FILE): New.
1988 * emulparams/armelf_linux.sh: Likewise.
1989 * emulparams/armelf_linux26.sh: Likewise.
1990 * emulparams/hppalinux.sh: Likewise.
1991 * emulparams/hppaelf.sh: Likewise.
1994 * emultempl/elf32.em: Fix formatting.
1995 (EXTRA_EM_FILE): Source it.
1996 (LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
1997 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
1998 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
1999 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
2000 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
2001 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
2002 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
2003 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
2004 LDEMUL_FIND_POTENTIAL_LIBRARIES): New shell vars. Add code to
2005 allow functions in this file to be overridden.
2006 (PARSE_AND_LIST_SHORTOPTS): Handle it.
2008 * emultempl/m68kcoff.em: Include ldfile.h before ldemul.h.
2010 * emultempl/elf32.em: Reorganize file.
2012 2000-07-27 Ivan Kokshaysky <ink@jurassic.park.msu.ru>
2014 * emulparams/elf64alpha.sh: Implement "-taso" emulation
2015 specific option to fit 64-bit executable in the lower
2016 31-bit address range. This is done by changing start
2017 address of .interp (the very first section of executable)
2018 and then setting EF_ALPHA_32BIT elf header flag.
2020 2000-07-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2022 * emultempl/m68kcoff.em: New file.
2023 * emulparams/m68kcoff.sh (TEMPLATE_NAME): Use m68kcoff template.
2024 * Makefile.am (em68kcoff.c): Depend on m68kcoff.em rather than
2026 * Makefile.in: Regenerate.
2028 2000-07-20 H.J. Lu <hjl@gnu.org>
2030 * emultempl/elf32.em (longopts): Duplicate "disable-new-dtags"
2031 and "disable-new-dtags" to stop getopt from treating -d/-e as
2032 abbreviations for these options.
2034 2000-07-20 H.J. Lu <hjl@gnu.org>
2036 * ld.texinfo: Add documentation for --disable-new-dtags and
2039 * ldmain.c (main): Initialize link_info.new_dtags to false.
2041 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add
2042 --disable-new-dtags and --enable-new-dtags.
2043 (gld_${EMULATION_NAME}_list_options): Likewise.
2045 2000-07-05 Kenneth Block <krblock@computer.org>
2047 * lexsup.c: Add optional style to demangle switch
2048 * ld.texinfo: Document optional style to demangle switch.
2050 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
2052 * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o,
2054 (ecrisaout.c, ecriself.c, ecrislinux.c): New rules.
2055 Regenerate dependencies.
2056 * Makefile.in: Rebuild.
2057 * configure.tgt (cris-*-*): New target.
2058 * emulparams/crisaout.sh, emulparams/criself.sh,
2059 emulparams/crislinux.sh, scripttempl/crisaout.sc: New files.
2060 * po/POTFILES.in, po/ld.pot: Regenerate.
2062 2000-07-20 H.J. Lu <hjl@gnu.org>
2064 * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options):
2065 Print out ignored -z options.
2067 2000-07-19 H.J. Lu <hjl@gnu.org>
2069 * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed.
2070 (PARSE_AND_LIST_PROLOGUE): New.
2071 (PARSE_AND_LIST_LONGOPTS): Likewise.
2072 (PARSE_AND_LIST_OPTIONS): Likewise.
2073 (PARSE_AND_LIST_ARGS_CASES): Likewise.
2075 * ldmain.c (main): Clear link_info.flags and link_info.flags_1.
2077 * lexsup.c (ld_options): Comment out 'z'.
2078 (parse_args): Likewise.
2080 * emultempl/elf32.em: Include "elf/common.h".
2081 (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z
2083 (gld_${EMULATION_NAME}_list_options): Likewise.
2085 * ld.texinfo: Add documentation for the recognized -z options.
2087 2000-07-19 H.J. Lu <hjl@gnu.org>
2089 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call
2090 bfd_elf_set_dt_needed_soname ().
2092 2000-07-18 DJ Delorie <dj@cygnus.com>
2094 * pe-dll.c (pe_dll_id_target): check object target name also
2096 2000-07-18 Hans-Peter Nilsson <hp@axis.com>
2098 * scripttempl/elf.sc (.init): Only do ${INIT_START} and
2099 ${INIT_END} if relocating.
2100 (.fini): Likewise ${FINI_START} and ${FINI_END}.
2102 2000-07-16 Charles Wilson <cwilson@ece.gatech.edu>
2104 * emultempl/pe.em (gld_*_open_dynamic_archive): New search
2105 order for dynamic library '-lfoo' on pei386: libfoo.dll.a,
2106 foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility
2107 errors introduced by the old dynamic lib search order.
2109 2000-07-17 DJ Delorie <dj@cygnus.com>
2111 * pe-dll.c (process_def_file): auto-export data items also
2112 (pe_process_import_defs): also see if _imp_ form needed
2114 2000-07-12 Charles Wilson <cwilson@ece.gatech.edu>
2116 * pe-dll.c (make_one): fix a typo in the __imp_ name decoration
2117 for dll import libraries
2119 2000-07-12 Mark Elbrecht <snowball3@bigfoot.com>
2121 * scripttempl/i386go32.sc: Support the g++ attribute init_priority in
2122 gcc 2.95.2 and later.
2124 2000-07-11 Kazu Hirata <kazu@hxi.com>
2126 * ldfile.c (ldfile_try_open_bfd): Output '\n' after an error
2129 2000-07-10 Alan Modra <alan@linuxcare.com.au>
2131 * ldemul.h (struct lang_input_statement_struct): Remove forward
2133 (struct search_dirs): Likewise.
2134 * ldfile.h (struct lang_input_statement_struct): Likewise.
2135 Protect file from multiple inclusion.
2136 * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Move file_chain
2137 declaration from macro to file scope.
2139 * ldemul.c: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this order.
2140 * ldgram.y: Likewise here.
2141 * ldlang.c: And here.
2142 * ldmain.c: And here.
2143 * mpw-elfmips.c: And here.
2144 * mpw-eppcmac.c: And here.
2145 * emultempl/aix.em: And here.
2146 * emultempl/armcoff.em: And here.
2147 * emultempl/armelf.em: And here.
2148 * emultempl/armelf_oabi.em: And here.
2149 * emultempl/beos.em: And here.
2150 * emultempl/elf32.em: And here.
2151 * emultempl/hppaelf.em: And here.
2152 * emultempl/linux.em: And here.
2153 * emultempl/lnk960.em: And here.
2154 * emultempl/pe.em: And here.
2155 * emultempl/sunos.em: And here.
2156 * mpw-esh.c: And here. Include ldexp.h and ldlang.h too.
2157 * mpw-idtmips.c: Ditto.
2158 * emultempl/generic.em: Ditto.
2159 * emultempl/gld960.em: Ditto.
2160 * emultempl/gld960c.em: Ditto.
2161 * emultempl/mipsecoff.em: Ditto.
2162 * emultempl/ticoff.em: Ditto.
2163 * emultempl/vanilla.em: Ditto.
2165 * pe-dll.c: Include ldfile.h
2166 * ldver.c: Include ldexp.h, ldlang.h, ldfile.h
2168 * mpw-elfmips.c: (gldelf32ebmip_before_allocation): Add missing
2169 arguments to bfd_elf32_size_dynamic_sections call.
2170 (gldelf32ebmip_place_orphan): Add missing arguments to
2171 lang_leave_output_section_statement call.
2173 2000-07-10 H.J. Lu <hjl@gnu.org>
2175 * emultempl/pe.em (pe_enable_stdcall_fixup): Protect with
2177 (strhash): Likewise.
2178 (compute_dll_image_base): Likewise.
2179 (pe_undef_found_sym): Likewise.
2180 (pe_undef_cdecl_match): Likewise.
2181 (gld_${EMULATION_NAME}_open_dynamic_archive): Mark the
2182 argument "arch" with ATTRIBUTE_UNUSED.
2184 2000-07-10 Alan Modra <alan@linuxcare.com.au>
2186 * configure.tgt: Remove extraneous hppa*-*-linux-gnu*.
2188 From Ryan Bradetich <rbradetich@uswest.net>
2189 * ldwrite.c (SSIZE): Remove to cure macro redefinition warning.
2191 2000-07-09 Alan Modra <alan@linuxcare.com.au>
2193 Changes to create multiple linker stubs, positioned immediately
2194 before the section where they are required.
2195 * emultempl/hppaelf.em: Include elf32-hppa.h.
2196 (stub_sec, file_chain): Delete.
2197 (hppaelf_create_output_section_statements): Don't make a stub
2199 (hook_stub_info): New struct.
2200 (hook_in_stub): New function.
2201 (hppaelf_add_stub_section): New function.
2202 (hppaelf_finish): Do nothing for relocateable links. Modify the
2203 call to elf32_hppa_size_stubs. Move code for updating section
2205 (hppaelf_layaout_sections_again): ..to here, a new function.
2207 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Fix
2208 broken list handling. Pass in a pointer to the list.
2209 (hppaelf_finish): Update call to hppaelf_delete_padding_statements
2211 (hppaelf_before_parse): Prototype.
2212 (hppaelf_set_output_arch): Prototype.
2213 (hppaelf_create_output_section_statements): Prototype.
2214 (hppaelf_delete_padding_statements): Prototype.
2215 (hppaelf_finish): Prototype.
2218 * emultempl/hppaelf.em: Include ctype.h.
2219 (struct orphan_save): New.
2220 (gld${EMULATION_NAME}_place_orphan): New.
2221 (output_rel_find): New.
2222 (hppaelf_get_script): Update from elf32.em.
2223 (ld_hppaelf_emulation): Rename to ld_${EMULATION_NAME}_emulation.
2224 Change emulation_name field to "${EMULATION_NAME}". Add
2225 gld${EMULATION_NAME}_place_orphan.
2227 * Makefile.am (ALL_EMULATIONS): Reinstate ehppaelf.o, add
2228 ehppalinux.o, sort it. Regenerate dependencies.
2229 (ehppalinux.c): Depend on hppaelf.em
2230 * Makefile.in: Regenerate.
2232 * configure.tgt: targ_emul=hppalinux for hppa*linux
2234 * emulparams/hppalinux.sh: New.
2235 * emulparams/hppaelf.sh (TARGET_PAGE_SIZE): Write in hex.
2237 2000-07-08 Alan Modra <alan@linuxcare.com.au>
2239 * lexsup.c (parse_args): Copy section name.
2241 2000-07-07 Charles Wilson <cwilson@ece.gatech.edu>
2243 * emultempl/pe.em: institute the following search order for
2244 dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import
2245 libs), libfoo.dll, foo.dll (link direct to dll). Fall back to
2246 static lib (libfoo.a) if none of the above are found.
2248 2000-07-07 Mumit Khan <khan@xraylith.wisc.edu>
2250 * emultempl/pe.em (pe_enable_auto_image_base): New variable.
2251 (longopts): New --{enable,disable}-auto-image-base options.
2252 (gld_${EMULATION_NAME}_list_options): Document.
2253 (gld_${EMULATION_NAME}_parse): Handle.
2254 (strhash): New static function.
2255 (compute_dll_image_base): New static function.
2256 (gld_${EMULATION_NAME}_set_symbols): Use.
2258 2000-07-05 DJ Delorie <dj@redhat.com>
2262 2000-07-01 Koundinya K <kk@ddeorg.soft.net>
2264 * configure.tgt: Add traditional mips (mips*-*-sysv4*) target.
2265 * emulparams/elf32btsmip.sh: New file.
2266 * Makefile.am: Add traditional mips target.
2267 * Makefile.in: Rebuild.
2269 2000-07-01 H.J. Lu <hjl@gnu.org>
2271 * Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for
2272 automake to use YLWRAP.
2273 * Makefile.in: Rebuild.
2275 2000-07-01 Alan Modra <alan@linuxcare.com.au>
2277 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
2278 (CLEANFILES): Add DEPA.
2279 * Makefile.in: Regenerate.
2281 2000-06-30 Timothy Wall <twall@ppc>
2283 * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode
2284 the page in the upper octet of the address.
2286 2000-06-26 Marek Michalkiewicz <marekm@linux.org.pl>
2288 * emulparams/avrmega161.sh (ARCH): Change to avr:5.
2290 2000-06-24 Alan Modra <alan@linuxcare.com.au>
2292 * NEWS: arm-elf does --gc-sections too.
2294 2000-06-22 Alan Modra <alan@linuxcare.com.au>
2296 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
2298 * Makefile.in: Regenerate.
2300 2000-06-21 H.J. Lu <hjl@gnu.org>
2302 * Makefile.am: Rebuild dependency.
2303 * Makefile.in: Rebuild.
2305 2000-06-20 H.J. Lu <hjl@gnu.org>
2307 * Makefile.am: Rebuild dependency.
2308 * Makefile.in: Rebuild.
2310 2000-06-20 Timothy Wall <twall@cygnus.com>
2312 * scripttempl/tic54xcoff.sc: New.
2313 * ldlang.c (wild_doit): Propagate SEC_BLOCK flag.
2314 * gen-doc.texi: Add flag for TI COFF.
2315 * ld.texinfo: Add documentation for TI COFF handling switches.
2316 * emultempl/ticoff.em: New. TI COFF handling.
2317 * configure.tgt: Add tic54x target.
2318 * Makefile.am: Add tic54x target.
2319 * Makefile.in: Ditto.
2321 2000-06-20 Alan Modra <alan@linuxcare.com.au>
2323 * ldmain.c (set_scripts_dir): Correct pointer comparison when
2324 checking for backslashes.
2326 2000-06-19 Alan Modra <alan@linuxcare.com.au>
2328 * NEWS: Move entries not in 2.10 above "Changes in version 2.10".
2330 2000-06-18 Alan Modra <alan@linuxcare.com.au>
2332 * NEWS: Update list of targets supporting --gc-sections.
2334 * scripttempl/elf.sc: KEEP .eh_frame contents.
2335 * scripttempl/elfd30v.sc: Same here.
2337 2000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
2339 * Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12
2341 * Makefile.in: Rebuild.
2342 * configure.tgt: Recognize m68hc12 and m68hc11.
2343 * scripttempl/elfm68hc12.sc: New file.
2344 * emulparams/m68hc12elfb: New emulation.
2345 * emulparams/m68hc12elf: New emulation.
2346 * emulparams/m68hc11elfb.sh: New file. User configurable emulation
2347 (includes a memory.x script to define the ROM and RAM banks).
2348 * scripttempl/elfm68hc11.sc, emulparams/m68hc11elf.sh:
2349 New configuration files for support of Motorola 68hc11
2351 2000-06-15 Alan Modra <alan@linuxcare.com.au>
2353 * ldmain.c (main): Only change SEC_READONLY for final link.
2355 2000-06-13 H.J. Lu <hjl@gnu.org>
2357 * configure: Regenerate.
2359 2000-06-08 David O'Brien <obrien@FreeBSD.org>
2361 * configure.in (VERSION): Update to show this is the CVS mainline.
2363 2000-06-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2365 * emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all
2366 input objects to be ECOFF.
2367 (check_sections): einfo takes %B, not %P, to print a BFD name.
2369 2000-06-05 Michael Matz <matz@ifh.de>
2371 * ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in
2374 * ldlex.l (V_IDENTIFIER): Accept `::' in symbols.
2376 2000-05-23 Marek Michalkiewicz <marekm@linux.org.pl>
2378 * emulparams/avr1200.sh (STACK): Define as 0.
2379 * emulparams/avr23xx.sh (STACK): Define as last internal SRAM address.
2380 * emulparams/avr4433.sh (STACK): Likewise.
2381 * emulparams/avr44x4.sh (STACK): Likewise.
2382 * emulparams/avr85xx.sh (STACK): Likewise.
2383 * emulparams/avrmega103.sh (STACK): Likewise.
2384 * emulparams/avrmega161.sh (STACK): Likewise.
2385 * emulparams/avrmega603.sh (STACK): Likewise.
2386 * scripttempl/elf32avr.sc (__data_start): Define for gcrt1.
2387 (__stack): Define from ${STACK} for main().
2389 2000-05-26 Alan Modra <alan@linuxcare.com.au>
2391 * Makefile.am: Update dependencies with "make dep-am"
2392 * Makefile.in: Regenerate.
2394 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
2396 * ldmain.c: Include filenames.h.
2397 (set_scripts_dir): Support backslashes in program name.
2399 2000-05-22 Igor Shevlyakov <igor@windriver.com>
2401 * ldmain.c (main): When deciding if ".text" section should be
2402 read-only, don't forget to reset SEC_READONLY because it
2403 could be already set.
2405 2000-05-22 Thomas de Lellis <tdel@windriver.com>
2407 * ld.1: Add documentation for new command line option:
2408 --section-start <sectionname>=<sectionorg>
2409 This is a generic version of -Ttext etc. which accepts
2410 any section name as a parameter instead of just text/data/
2412 * ld.texinfo: More docs.
2414 * lexsup.c: (parse_args): Recognize new command line option.
2415 (ld_options): Add new option.
2417 2000-05-18 H.J. Lu <hjl@gnu.org>
2419 * lexsup.c (parse_args): `i' == `r', not `q'.
2421 Thu May 18 10:47:57 2000 Jeffrey A Law (law@cygnus.com)
2423 * configure.tgt (hppa*64*-*-*): Enable PA64 target.
2425 2000-05-17 S. Bharadwaj Yadavalli <sby@scrugs.lkg.dec.com>
2426 Rick Gorton <gorton@scrugs.lkg.dec.com>
2428 Add support for '-q' == '--emit-relocs' switch.
2429 * ldmain.c (main): Default to false.
2430 * lexsup.c (parse_args): Turn on emitrelocations flag if set.
2431 * NEWS: Describe the emitrelocations switch.
2432 * ld.texinfo: Describe the emitrelocations switch.
2434 2000-05-16 Charles Wilson <cwilson@ece.gatech.edu>
2436 * emultempl/pe.em (_open_dynamic_archive): New function: Search
2437 the library path for "foo.dll" and "libfoo.dll" dynamic libraries
2438 before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo'
2441 2000-05-15 David O'Brien <obrien@FreeBSD.org>
2443 * lexsup.c (parse_args): Update the year in the copyright notice.
2445 2000-05-13 Alan Modra <alan@linuxcare.com.au>
2447 * ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain):
2448 Replace defines with those from intl/libgettext.h to quieten gcc
2451 2000-05-10 H.J. Lu <hjl@gnu.org>
2453 * ldlang.c (open_input_bfds): Don't load the same file within
2454 a group again if the whole archive has been loaded already.
2456 2000-05-03 Alan Modra <alan@linuxcare.com.au>
2458 From Ulf Carlsson <ulfc@engr.sgi.com> and Andreas Jaeger <aj@suse.de>
2459 * lexsup.c (set_section_start): Use bfd_scan_vma rather than
2462 Mon May 1 17:34:34 2000 Jim Wilson <wilson@cygnus.com>
2464 * configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}.
2466 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
2467 host "ia64-*-linux-gnu*".
2469 2000-04-29 Andreas Jaeger <aj@suse.de>
2471 * ld.h: Correctly check GCC version.
2473 Tue Apr 25 11:20:43 2000 Jeffrey A Law (law@cygnus.com)
2475 * Makefile.am: Add PA64 support. Add missing dependencies for
2477 * Makefile.in: Rebuilt.
2478 * configure.tgt: Add PA64 support (currently disabled).
2480 2000-04-25 Alan Modra <alan@linuxcare.com.au>
2482 * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete.
2483 (output_rel_find): New function.
2484 (hold_section, hold_use): Delete.
2485 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
2486 hold_interp): Make local to place_orphan.
2487 (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find
2488 rather than place_section to find possible previous use of orphan.
2489 Similarly find the place-holder output sections. Use returned
2490 value from lang_enter_output_section_statement rather than calling
2491 lang_output_section_statement_lookup.
2492 * emultempl/armelf.em: Same here.
2493 * emultempl/pe.em: Similar to above, but no need for output_rel_find.
2495 * ldlang.c (lang_enter_output_section_statement): Return output
2497 * ldlang.h (lang_enter_output_section_statement): Change
2500 * ldlang.h (lang_output_section_statement): Export it.
2501 * ldlang.c (lang_output_section_statement): Ditto.
2503 2000-04-24 Nick Clifton <nickc@cygnus.com>
2505 * ld.texinfo (Output Section Data): Add note that section data
2506 commands cannot appear outside of section directives.
2508 2000-04-2 Matthew Green <mrg@cygnus.com>
2510 * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support.
2512 Fri Apr 21 13:20:53 2000 Richard Henderson <rth@cygnus.com>
2513 David Mosberger <davidm@hpl.hp.com>
2515 * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o.
2516 (eelf64_ia64.c): New rule.
2517 * Makefile.in: Rebuild.
2518 * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets.
2519 * emulparams/elf64_ia64.sh: New file.
2521 2000-04-21 Richard Henderson <rth@cygnus.com>
2523 * scripttempl/elfd30v.sc: Place .gcc_except_table.
2525 2000-04-19 Alan Modra <alan@linuxcare.com.au>
2527 * dep-in.sed: Match space at start of file name, not at end.
2529 2000-04-18 H.J. Lu <hjl@gnu.org>
2531 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
2532 lang_leave_output_section_statement () after calling
2533 lang_enter_output_section_statement ().
2534 * emultempl/armelf.em: Likewise.
2536 2000-04-18 Alan Modra <alan@linuxcare.com.au>
2538 * emultempl/elf32.em (struct orphan_save): Add section field.
2539 (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in
2540 better order, and place first orphan section as we did before the
2541 2000-04-12 patch. Ignore ~SEC_ALLOC sections when choosing place.
2542 Don't call make_bfd_section here, let wild_doit do the job for us.
2543 Don't build a statement list when we'll only throw it away.
2544 * emultempl/armelf.em: Ditto.
2545 * emultempl/pe.em: Similarly.
2547 2000-04-14 Geoff Keating <geoffk@cygnus.com>
2549 * scripttempl/elfppc.sc: Remove.
2550 * emulparams/elf32ppc.sh: Use elf.sc.
2551 * emulparams/elf32lppc.sh: Use elf.sc.
2552 * emulparams/elf32ppclinux.sh: Use elf.sc.
2553 * emulparams/elf32ppcsim.sh: New file.
2554 * emulparams/elf32lppcsim.sh: New file.
2555 * Makefile.am: Update dependencies. Add elf32ppcsim ad elf32lppcsim.
2556 (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim.
2557 * Makefile.in: Regenerate.
2558 * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim.
2560 2000-04-14 Alan Modra <alan@linuxcare.com.au>
2562 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process
2563 ~SEC_ALLOC sections too. Init start address of debug sections.
2564 * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto.
2565 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto.
2566 Also set all relocateable section start addresses.
2568 2000-04-13 Geoff Keating <geoffk@cygnus.com>
2570 * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections.
2571 Add new BSS_PLT variable for when .plt need not be contained in
2572 the file. Move _etext so that it is also after .fini, and provide
2573 both etext and _etext with a leading underscore. Mark the start
2576 2000-04-12 Alan Modra <alan@linuxcare.com.au>
2578 * emultempl/elf32.em (struct orphan_save): New.
2579 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
2580 hold_interp): Make them struct orphan_save.
2581 (gld${EMULATION_NAME}_place_section): Modify for new hold_*.
2582 (gld${EMULATION_NAME}_place_orphan): Add new orphan sections to
2583 the end of the relevant section list. Also add associated section
2584 statements to the end of any previous orphan statements.
2585 * emultempl/armelf.em: Similarly.
2586 * emultempl/pe.em: Similarly.
2588 2000-04-11 Alan Modra <alan@linuxcare.com.au>
2590 * ld.texinfo (Simple Example): Remove extraneous paragraph.
2592 Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
2594 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
2595 --enable-build-warnings option.
2596 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
2597 * Makefile.in, configure: Re-generate.
2599 2000-04-04 Alan Modra <alan@linuxcare.com.au>
2601 * po/ld.pot: Regenerate.
2603 * lexsup.c (help): Restore translated part of bug string.
2605 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
2606 (DEP): Quote when passing vars to sub-make. Add warning message
2608 (DEP1): Rewrite for "gcc -MM".
2609 (CLEANFILES): Add DEP2.
2610 Update dependencies.
2611 * Makefile.in: Regenerate.
2613 2000-04-03 Alan Modra <alan@linuxcare.com.au>
2615 * ld.h: #include "bin-bugs.h"
2616 * lexsup.c (help): Use REPORT_BUGS_TO.
2618 2000-03-27 Denis Chertykov <denisc@overta.ru>
2620 * configure.tgt (avr-*-*): New target support.
2621 * Makefile.am: Likewise.
2622 * scripttempl/elf32avr.sc: New script file.
2623 * emulparams/avr1200.sh: New file.
2624 * emulparams/avr23xx.sh: New file.
2625 * emulparams/avr4433.sh New file.
2626 * emulparams/avr44x4.sh New file.
2627 * emulparams/avr85xx.sh New file.
2628 * emulparams/avrmega103.sh New file.
2629 * emulparams/avrmega161.sh New file.
2630 * emulparams/avrmega603.sh New file.
2631 * Makefile.in: Regenerate.
2633 2000-03-09 Andreas Jaeger <aj@suse.de>
2635 * Makefile.am (check-DEJAGNU): Also unset LANG.
2636 * Makefile.in: Rebuild.
2638 2000-03-06 Ian Lance Taylor <ian@zembu.com>
2640 * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty
2643 2000-03-02 H.J. Lu <hjl@gnu.org>
2645 * emulparams/elf32mcore.sh: Include "getopt.h".
2647 2000-03-01 Ian Lance Taylor <ian@zembu.com>
2649 * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware.
2651 2000-03-01 H.J. Lu <hjl@gnu.org>
2653 * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR.
2654 * emulparams/shpe.sh: Likewise.
2656 2000-03-01 Nick Clifton <nickc@cygnus.com>
2658 * pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED
2659 to unused parameters.
2661 * emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static
2662 functions only used by DLL code.
2663 (_place_orphan): Initialise 'dollar'.
2665 2000-03-01 H.J. Lu <hjl@gnu.org>
2667 * ldmain.c (undefined_symbol): Take one more arg, fatal, to
2668 indicate if the undefined symbol is a fatal error or not.
2669 Don't delete the output file if "fatal" is false.
2671 2000-02-29 H.J. Lu <hjl@gnu.org>
2673 * Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)".
2674 Set LC_COLLATE and LC_ALL to null and export them. It is for
2675 sort which expects the C locale.
2676 Add $(LIBS) to all $(HOSTING_LIBS).
2677 * Makefile.in: Rebuild.
2679 2000-02-29 Alan Modra <alan@spri.levels.unisa.edu.au>
2681 * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em,
2682 beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em,
2683 linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em}
2684 (ld_emulation_xfer_struct): Add missing NULL initialiser for
2685 find_potential_libraries.
2687 2000-02-28 Jim Blandy <jimb@redhat.com>
2689 * ldgram.y (exclude_name_list): Don't require a comma to separate
2690 list entries; the lexer considers commas to be valid part of a
2691 filename, so in something like `foo, bar' the comma is considered
2692 part of the first filename, `foo,'.
2693 * ld.texinfo: Update section on EXCLUDE_FILE lists.
2695 2000-02-27 Loren J. Rittle <ljrittle@acm.org>
2697 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
2698 host "i[3456]86-*-freebsdelf*".
2700 2000-02-27 Mark Elbrecht <snowball3@bigfoot.com>
2702 * scripttempl/i386go32.sc: Move misplaced semicolons.
2704 2000-02-25 Ian Lance Taylor <ian@zembu.com>
2706 * Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o.
2707 (ALL_64_EMULATIONS): Remove eelf64hppa.o.
2708 (eelf64hppa.c, ehppaelf.c): Remove targets.
2709 * Makefile.in: Rebuild.
2711 2000-02-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2713 * configure.tgt (targ_extra_ofiles): Enable elf64_sparc on
2714 GNU/Linux/sparc, but keep the default as 32.
2716 * configure.tgt: Enable elf64_sparc on Solaris7+/sparc. And make
2717 it default if sparcv9 or sparc64.
2719 2000-02-24 Nick Clifton <nickc@cygnus.com>
2721 * Makefile.am: Add rules to build emipspe.o and earmpe.o.
2722 * Makefile.in: Regenerate.
2723 * configure.tgt: Add targets for arm-wince, sh-pe and mips-pe.
2725 * ldemul.h (ld_emulation_xfer_struct): Add new field:
2726 find_potential_libraries.
2727 * ldemul.c (ldemul_find_potential_libraries): New function.
2729 * ldfile.c (ldfile_open_file_search): Allow function to be
2731 (ldfile_open_file): Call ldemul_find_potential_libraries.
2732 * ldfile.h: Add prototype for ldfile_open_file_search.
2734 * pe-dll.c: Add support for ARM, MIPS and SH targets.
2736 * emulparams/mipspe.sh: New file. Parameters for mips-pe target.
2737 * emulparams/shpe.sh: New file. Parameters for sh-pe target.
2739 * emultempl/pe.em: Add support for ARM, MIPS and SH DLLs.
2740 (gld_X_find_potential_libraries): New function. Search for
2741 libraries called "*.lib".
2743 * scripttempl/pe.sc: Add .pdata section.
2745 2000-02-23 Richard Henderson <rth@cygnus.com>
2747 * scripttempl/elfd10v.sc: Remove dynamic linking hooks.
2748 Add and use memory regions.
2750 2000-02-23 Linas Vepstas (linas@linas.org)
2752 * emulparams/elf32i370.sh, scripttempl/elfi370.sc: New.
2754 * Makefile.am: Add support for Linux/IBM 370.
2755 * configure.tgt: Likewise.
2757 * Makefile.in: Regenerate.
2759 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
2761 * ldlang.c (print_input_section, print_data_statement,
2762 print_reloc_statement, print_padding_statement, insert_pad,
2763 size_input_section, lang_check_section_addresses,
2764 lang_size_sections, lang_do_assignments, lang_set_startof,
2765 lang_one_common): Change `opb' to unsigned.
2766 (lang_do_assignments): Also change `size' to unsigned.
2768 2000-02-16 Richard Henderson <rth@cygnus.com>
2770 * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION.
2772 2000-02-16 Timothy Wall <twall@cygnus.com>
2774 * mri.c (mri_draw_tree): Add default LMA region argument to call
2775 to lang_leave_output_section_statement.
2776 * ldlang.h: Update prototypes with LMA region arguments.
2777 * ldlang.c (lang_size_sections): Encapsulate region bounds
2778 checking in os_check_region call.
2779 (os_check_region): New function.
2780 (lang_output_section_statement_lookup): Initialize lma_region.
2781 (lang_leave_output_section_statement): Add LMA region argument.
2782 (lang_leave_overlay): Ditto.
2783 * ldgram.y: Handle LMA region syntax.
2784 * ld.texinfo (Output Section Description): Describe LMA region usage.
2785 * emultempl/armelf.em (gld$place_orphan): Add default value for
2786 lma region in call to lang_leave_output_section_statement.
2787 * emultempl/elf32.em (gld$place_orphan): Add default value for
2788 lma region in call to lang_leave_output_section_statement.
2789 * emultempl/pe.em (gld$place_orphan): Add default value for
2790 lma region in call to lang_leave_output_section_statement.
2793 2000-02-04 Timothy Wall <twall@redhat.com>
2795 * ldlang.c (lang_check_section_addresses): Use bytes instead of
2796 octets when calculating section end addresses.
2798 2000-02-04 Timothy Wall <twall@redhat.com>
2800 * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation.
2802 2000-02-03 Timothy Wall <twall@redhat.com>
2804 * ldexp.c (fold_name): Make SIZEOF operator return byte count, not
2806 * ldlang.c (print_input_section, print_data_statement,
2807 print_reloc_statement, print_padding_statement): Print target
2808 address values and section sizes as bytes, not octets.
2809 (insert_pad) Calculate padding size in octets, and adjust "dot"
2811 (size_input_section) Always adjust "dot" by bytes, not octets.
2812 (lang_check_section_addresses, lang_do_assignments) Adjust
2813 "dot" by bytes, not octets. Use the larger of the directive size
2814 or octets_per_byte for the number of octets actually allocated in
2816 (lang_set_startof) Make sure STARTOF returns a target address.
2817 (lang_one_common) Record size changes in octets.
2818 (lang_abs_symbol_at_end_of) Section end symbol's value is
2819 recorded in target bytes.
2820 * ld.texinfo: Updated description of BYTE, SHORT, LONG, etc.
2821 to be clear about behavior when an octet is smaller than one byte.
2823 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
2825 * ldcref.c (output_cref): Don't pass message strings to printf
2829 * ldmisc.c (vfinfo): Same here.
2832 2000-01-23 Alan Modra <alan@spri.levels.unisa.edu.au>
2834 * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em,
2835 generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em,
2836 mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct):
2837 Add missing NULL initialisers, and comments.
2839 * testsuite/ld-srec/sr3.cc (__rethrow): New.
2841 2000-01-21 Nick Clifton <nickc@cygnus.com>
2843 * ldlang.c (lang_size_sections): Fix typo in comment.
2845 2000-01-18 H.J. Lu <hjl@gnu.org>
2847 * ldlang.c (lang_size_sections): Also update the current
2848 address of a region if the SEC_NEVER_LOAD bit is not set.
2850 2000-01-10 Philip Blundell <pb@futuretv.com>
2852 * configure.tgt (arm*-*-conix*): New target.
2854 2000-01-07 Nick Clifton <nickc@cygnus.com>
2856 * ld.texinfo (Options): Remind users to preceed linker command
2857 line switches with -Wl, (or whatever is appropriate) if it is
2858 being invoked by a comnpiler driver program.
2859 Fix description of the behaviour of the -n command line switch.
2861 Wed Jan 5 08:02:12 2000 Catherine Moore <clm@cygnus.com>
2863 * ld.h (wildcard_spec): Change exclude_name to exclude_name_list.
2865 * ld.texinfo (EXCLUDE_FILE): Update documentation.
2866 * ldgram.y (wildcard_spec): Support a list of excluded_files.
2867 (exclude_name_list): New.
2868 ldlang.c (walk_wild_section): Support list of excluded files.
2869 (print_wild_statement): Likewise.
2870 (lang_add_wild): Likewise.
2871 * ldlang.h (lang_wild_statement_type): Likewise.
2872 * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support.
2874 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
2876 * pe-dll.c (pe_dll_warn_dup_exports): New variable.
2877 (process_def_file): Use.
2878 (pe_dll_compat_implib): New variable.
2881 * pe-dll.h: Add exports of pe_dll_warn_dup_exports and
2882 pe_dll_compat_implib.
2884 * emultempl/pe.em (longopts): Add warn-duplicate-exports and
2885 compat-implib options.
2886 (gld_${EMULATION_NAME}_list_options): List new options.
2887 (gld_${EMULATION_NAME}_parse_args): Handle.
2889 * pe-dll.c (pe_dll_generate_implib): Use the correct name for output
2892 * deffilep.y (opt_name): Allow "." in name.
2894 For older changes see ChangeLog-9899
2900 version-control: never