aboutsummaryrefslogtreecommitdiff
path: root/ld
AgeCommit message (Collapse)AuthorFilesLines
2001-10-20 * ldgram.y (mri_script_command): Surround processing of INCLUDEAlan Modra4-9/+31
with ldlex_script, ldlex_popstate. (ifile_p1): Likewise. * ldlex.l (EOF): Don't BEGIN(SCRIPT). Restore lineno from the correct slot. (lex_push_file): Save current lineno to lineno_stack. Set lineno to 1. Don't BEGIN(SCRIPT). (lex_redirect): Similarly. * ldmain.c (main): Set yydebug non-zero if YYDEBUG.
2001-10-20Define __EH_FRAME_{BEGIN|END}__Nick Clifton2-0/+27
2001-10-19* pe-dll.c (autofilter_objectlist): Add gcrt0.o.DJ Delorie2-5/+11
(auto-export): Fix indentation.
2001-10-19* pe-dll.c (autofilter_objectlist): Add startup objectsDJ Delorie2-6/+16
for profiling. (auto-export): Constify char * p. Extract file basename and use strcmp rather than ststr for object lookup.
2001-10-182001-10-18 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-1/+6
* ldmain.c (get_emulation): Improve comment about the handling of -mipsN options.
2001-10-17 * po/POTFILES.in: Regenerate.Alan Modra2-1/+5
2001-10-15 * emultempl/elf32.em (gld*_list_options): Remove extra '\t' fromAlan Modra2-14/+19
-z nocopyreloc and -z nocombreloc usage strings.
2001-10-15 * ld-sh/sub2l-1.d, ld-sh/shared-1.d, ld-sh/weak1.d: Only run onHans-Peter Nilsson4-2/+6
sh*-*-elf.
2001-10-14 * lib/ld-lib.exp (run_dump_test): Fix typo: asflags(), not asflags{}.Hans-Peter Nilsson2-1/+3
2001-10-14 * ld-sh/rd-sh.exp: New framework file.Hans-Peter Nilsson10-0/+183
* ld-sh/ld-r-1.d, ld-sh/ldr1.s, ld-sh/ldr2.s, ld-sh/shared-1.d, ld-sh/weak1.s, ld-sh/weak1.d, ld-sh/sub2l.s, ld-sh/sub2l-1.d: New test files.
2001-10-12Include -z nocopyreloc in usageNick Clifton2-0/+6
2001-10-11Fix arm aout placement of .bss sectionNick Clifton2-3/+9
2001-10-11* pe-dll.c (autofilter_entry_type autofilter_liblist: AddDJ Delorie2-0/+7
startup files for mingw32 dlls to list.
2001-10-102001-10-10 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-1/+5
* emultempl/elf32.em: Fix shell 'if' usage for portability.
2001-10-082001-10-08 Aldy Hernandez <aldyh@redhat.com>Aldy Hernandez2-0/+5
* configure.tgt (targ): Add arm9e-*-elf.
2001-10-052001-10-05 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+5
* genscripts.sh: Fix a typo in the last change.
2001-10-05 * doc/as.texinfo: Document M and S ELF section flags.Jakub Jelinek2-0/+7
* emultempl/elf32.em (gld_*_list_options): Include -z combreloc and -z nocombreloc in usage.
2001-10-03* genscripts.sh: Include a comment at the top of each generatedJim Blandy2-8/+22
script, explaining its purpose.
2001-10-03Add support for -z nocopyreloc.Alan Modra4-2/+15
2001-10-03Regenerate configure to include the gettext.m4 change. UpdateAlan Modra2-207/+222
opcodes/po/POTFILES.in
2001-10-02 * ldver.h (ld_program_version): Remove declaration.Alan Modra6-136/+146
* lexsup.c (parse_args): Move printing of copyright message.. * ldver.c (ldversion): .. to here. Use BFD_VERSION_STRING in place of BFD_VERSION. (ld_program_version): Remove. * Makefile.am (Makefile): Depend on bfd/configure.in Run "make dep-am" * Makefile.in: Regenerate.
2001-09-30 * Makefile.am: Update dependencies with "make dep-am".Hans-Peter Nilsson3-45/+58
* Makefile.in: Regenerate.
2001-09-29Oops - forgot to remove xfailHans-Peter Nilsson1-1/+0
2001-09-29 * ld-linkonce/linkonce.exp: New file.Hans-Peter Nilsson6-0/+123
* ld-linkonce/x.s, ld-linkonce/y.s, ld-linkonce/zeroeh.ld, ld-linkonce/zeroehl32.d: New test.
2001-09-29From John Reiser <jreiser@BitWagon.com>Alan Modra8-2/+49
* ldlang.c (lang_common): Conditionally inhibit Common allocation. * lexsup.c: Add --no-define-common commandline option. * ldgram.y: Add INHIBIT_COMMON_ALLOCATION script command. * ldlex.l: Likewise. * ld.h: Add command_line.inhibit_common_definition. * ldmain.c (main): Initialize. * ld.texinfo: Document.
2001-09-29 * section.c (struct sec): Remove kept_section.Alan Modra2-4/+5
(STD_SECTION): Remove kept_section initialisation. (bfd_make_section_anyway): Here too. * ecoff.c (bfd_debug_section): Remove kept_section initialisation. * cofflink.c (_bfd_coff_link_input_bfd): Don't test kept_section. * elflink.h (elf_link_input_bfd): Set discarded link-once section symbols to zero, and remove all code involved with kept_section and tracking section symbol values. * bfd-in2.h: Regenerate. * configure.in: Bump version number. * configure: Regenerate. * ldlang.c (section_already_linked): Remove assignment to kept_section.
2001-09-26 * ldmisc.c (USE_STDARG): Remove.Alan Modra3-86/+32
(info_msg): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE. (einfo): Likewise. (minfo): Likewise. (lfinfo): Likewise. * ldmisc.h: Remove #ifdef ANSI_PROTOTYPES and non-ansi declarations. Update copyright.
2001-09-252001-09-25 H.J. Lu <hjl@gnu.org>H.J. Lu6-8/+16
* ld-elfweak/dso.dsym: Updated for alpha. * ld-elfweak/dsodata.dsym: Likewise. * ld-elfweak/strong.sym: Likewise. * ld-elfweak/strongcomm.sym: Likewise. * ld-elfweak/strongdata.sym: Likewise.
2001-09-24Fix thinkoNick Clifton2-5/+5
2001-09-24Remove spurious prototype.Nick Clifton2-4/+4
2001-09-24oops - frag omitted from previous patch applicationNick Clifton1-0/+8
2001-09-24oops - omitted from previous deltaNick Clifton2-20/+10
2001-09-24improve documenation about auto-importNick Clifton2-3/+20
2001-09-24Define and use pe_get_data_import_dll_name().Nick Clifton3-5/+33
2001-09-19Locale changes from Bruno Haible <haible@clisp.cons.org>.H.J. Lu15-73/+103
2001-09-18 * deffilep.y (def_stash_module): Constify "name" param.Alan Modra5-44/+70
* pe-dll.c: Replace CONST with const throughout. (quick_symbol): Constify "n1", "n2", "n3" params. (make_singleton_name_thunk): Constify "import" param. Make "buffer_len" a size_t. (make_import_fixup_entry): Constify "name", "fixup_name", "dll_symname" params. (pe_get16): Cast args of bfd_seek. Replace bfd_read with bfd_bread. (pe_get32): Likewise. (pe_implied_import_dll): Likewise. * emultempl/beos.em (sort_by_file_name): Constify "ra", "rb". (sort_by_section_name): Likewise. * emultempl/pe.em: Move defines for arm_epoc_pe before bfd.h included. (make_import_fixup): Cast printf arg, rel->address to long rather than int. (gld_${EMULATION_NAME}_after_open): Don't compare NULL against int.
2001-09-16 * ldmain.c (main): Rename BufferSize to ld_bufsz because HPUXAlan Modra2-3/+8
defines BufferSize. Increase buffer size by one.
2001-09-15 * lib/ld-lib.exp (run_dump_test): Handle new optionHans-Peter Nilsson2-3/+50
"objcopy_linked_file". Return after failing, if errors were expected but none were found. (slurp_options): Support underscores in option names.
2001-09-142001-09-14 H.J. Lu <hjl@gnu.org>H.J. Lu7-25/+52
* ld-elfweak/bar.c: Updated. * ld-elfweak/bar1a.c: Likewise. * ld-elfweak/main.c: Likewise. * ld-elfweak/main1.c: Likewise. * ld-elfweak/elfweak.exp: Likewise. * ld-elfweak/weakdata.dsym: Updated.
2001-09-14Fix memory leakNick Clifton2-394/+434
2001-09-14Add support for arm-openbsd targetNick Clifton2-0/+5
2001-09-122001-09-12 H.J. Lu <hjl@gnu.org>H.J. Lu3-4/+11
* Makefile.am (ALL_EMULATIONS): Move eelf64ppc.o and eelf64lppc.o to ... (ALL_64_EMULATIONS): Here. * Makefile.in: Regenerated.
2001-09-122001-09-12 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>Charles Wilson5-14/+143
* emultempl/pe.em(make_import_fixup): change signature to take asection as well as arelec; we need this for proper error reporting. Only call pe_create_import_fixup() if there is no attempt to add a constant addend to the reloc; otherwise, report error condition. * pe-dll.c(pe_walk_relocs_of_symbol): change signature, since final argument is a pointer to make_import_fixup(). Change call to cb() to match make_import_fixup() signature. (make_import_fixup_mark): make buffer_len unsigned. * pe-dll.h: change signature of pe_walk_relocs_of_symbol. 2001-09-12 Charles Wilson <cwilson@ece.gatech.edu> * ld.texinfo: add verbose documentation for auto-import direct-addressing workaround, to compliment the terse error message.
2001-09-12 * scripttempl/v850.sc: Add gcc_except_table sections.Catherine Moore2-0/+8
2001-09-112001-09-11 H.J. Lu <hjl@gnu.org>H.J. Lu17-15/+186
* ld-elfweak/elfweak.exp (build_lib): Take a list of object files. (build_exec): Likewise. Add more tests and make some xfail. * ld-elfweak/dso.dsym: Support symbol versioning. * ld-elfweak/dsow.dsym: Likewise. * ld-elfweak/main1.c: New. * ld-elfweak/bar1a.c: Likewise. * ld-elfweak/bar1b.c: Likewise. * ld-elfweak/bar1c.c: Likewise. * ld-elfweak/foo1a.c: Likewise. * ld-elfweak/foo1b.c: Likewise. * ld-elfweak/dsodata.dsym: Likewise. * ld-elfweak/dsowdata.dsym: Likewise. * ld-elfweak/weakdata.dsym: Likewise. * ld-elfweak/strongcomm.sym: Likewise. * ld-elfweak/strongdata.sym: Likewise. * ld-elfweak/weakdata.dat: Likewise. * ld-elfweak/strongdata.dat: Likewise.
2001-09-102001-09-10 H.J. Lu <hjl@gnu.org>H.J. Lu11-0/+447
* ld-elfweak/elfweak.exp: New. * ld-elfweak/bar.c: Likewise. * ld-elfweak/foo.c: Likewise. * ld-elfweak/main.c: Likewise. * ld-elfweak/dso.dsym: Likewise. * ld-elfweak/dsow.dsym: Likewise. * ld-elfweak/strong.sym: Likewise. * ld-elfweak/strong.dat: Likewise. * ld-elfweak/weak.dat: Likewise.
2001-09-07 * emulparams/h8300helf.sh: Move stack to a much higher memory address.Jeff Law3-2/+7
* emulparams/h8300self.sh: Similarly.
2001-09-06Fix import symbols for AIX.Tom Rix2-61/+53
2001-09-05Set correct value for default (PE) stack size.Nick Clifton2-1/+6
2001-09-03 * emultempl/beos.em: Declare prototypes for comparions functions,Andreas Jaeger2-29/+32
adjust definitions.