aboutsummaryrefslogtreecommitdiff
path: root/ld
AgeCommit message (Collapse)AuthorFilesLines
1997-05-21 * ldmain.c (main): Correct check of fclose return value whenIan Lance Taylor1-0/+10
handling --force-exe-suffix.
1997-05-13 * scripttempl/elfmips.sc: Remove.Ian Lance Taylor3-208/+26
* scripttempl/elf.sc: Set ENTRY based on target. Permit TEXT_DYNAMIC to control .dynamic segment. Permit SHLIB_TEXT_START_ADDR to set start of shared object. Support INITIAL_READONLY_SECTIONS. Put .stub in .text. Only put .gnu.linkonce.t* in .text when relocating. Support OTHER_TEXT_SECTIONS. Support SHLIB_DATA_ADDR as well as DATA_ADDR. Support OTHER_GOT_SYMBOLS and OTHER_GOT_SECTIONS. * emulparams/elf32b4300.sh (SCRIPT_NAME): Set to elf. (DATA_ADDR): Don't set. (INITIAL_READONLY_SECTIONS): Rename from OTHER_READONLY_SECTIONS. (OTHER_TEXT_SECTIONS): Set. (OTHER_GOT_SECTIONS): Rename from OTHER_READWRITE_SECTIONS. (MACHINE): Set to empty string. * emulparams/elf32l4300.sh: Likewise. * emulparams/elf32ebmip.sh: Likewise. * emulparams/elf32elmip.sh: Likewise. * emulparams/elf32bmip.sh: Likewise. Also: (TEXT_DYNAMIC): Set. * emulparams/elf32lmips.sh: Likewise. * Makefile.in (eelf32bmips.c): Depend upon elf.sc rather than elfmips.sc. (eelf32ebmips.c, eelf32elmips.c, eelf32lmip.c): Likewise.
1997-05-12Mon May 12 11:11:06 1997 Andreas Schwab ↵Ian Lance Taylor2-18/+75
<schwab@issan.informatik.uni-dortmund.de> * scripttempl/elf.sc: Don't align the data segment on the next 8 byte boundary, instead let the linker use whatever the individual sections require.
1997-05-09 * configure.tgt (i[3456]86-*-gnu*): Don't include Mach support.Ian Lance Taylor1-0/+4
1997-05-06 From Sean McNeil <sean@mcneil.com>:Ian Lance Taylor1-0/+8
* emultempl/pe.em (sort_by_file_name): Sort by archive name first. (sort_sections): Sort all sections, not just sections in the same archive.
1997-05-05Mon May 5 18:19:55 1997 Philip Blundell <pjb27@cam.ac.uk>Ian Lance Taylor2-2/+18
* configure.tgt, configure.host: cope with '*-*-linux-gnuaout' targets.
1997-05-02Rework static constructors and destructorsMichael Meissner1-1/+2
1997-05-02Fix name of constructors/destructorsMichael Meissner2-0/+80
1997-04-30revert Alpha/OpenBSD patchesIan Lance Taylor4-73/+0
1997-04-18Fri Apr 18 11:54:43 1997 Niklas Hallqvist <niklas@appli.se>Ian Lance Taylor4-0/+73
* Makefile.in (ALL_EMULATIONS): Add ealphabsd.o. (ealphabsd.c): New rule. * configure.host (alpha-*-bsd): New target. * configure.tgt (alpha-*-bsd): New target. * emulparams/alphabsd.sh: New file for *BSD/alpha. * scripttempl/alphabsd.sc: New file for *BSD/alpha.
1997-04-17 * ldctor.c (ldctor_build_sets): Make sure the set is alignedIan Lance Taylor1-0/+5
appropriately.
1997-04-15 * Makefile.in (INSTALL): Set to @INSTALL@.Ian Lance Taylor2-58/+70
(INSTALL_XFORM, INSTALL_XFORM1): Remove. (install): Depend upon ld.new and installdirs. Use $(program_transform_name) directly, rather than using $(INSTALL_XFORM) and $(INSTALL_XFORM1). (installdirs): New target. (install-info): Run mkinstalldirs.
1997-04-14 From Thomas Graichen <graichen@rzpd.de>:Ian Lance Taylor1-0/+6
* configure.in: Use ${CONFIG_SHELL} when running $ac_config_sub. * configure: Rebuild.
1997-04-04 * emultempl/pe.em: Include "libiberty.h".Ian Lance Taylor1-0/+5
(sort_sections_1): Use xmalloc rather than alloca.
1997-04-04 * ldlex.l: Recognize SQUAD.Ian Lance Taylor1-0/+10
* ldgram.y (length): Add SQUAD. * ldlang.c (print_data_statement): Handle SQUAD. (lang_size_sections, lang_do_assignments): Likewise. * ldexp.c (exp_print_token): Add SQUAD to table. * ldwrite.c (build_link_order): Handle SQUAD. * ld.texinfo (Section Data Expressions): Document SQUAD.
1997-04-03 * ldver.c (ld_program_version): Set to 2.8.1.Ian Lance Taylor1-0/+6
1997-04-03 * mpw-idtmips.c: Rename from mpw-emipsidt.c.Ian Lance Taylor5-4/+8
* mpw-elfmips.c: Rename from mpw-emipself.c. * mpw-config.in: Update accordingly.
1997-04-02 * ldlang.c (lang_process): Call lang_check immediately afterIan Lance Taylor1-0/+12
opening the input files, rather than at the end of the link.
1997-03-31Mon Mar 31 16:35:51 1997 Joel Sherrill <joel@oarcorp.com>Ian Lance Taylor1-0/+13
* configure.tgt (hppa*-*-rtems*): New target, like hppa-*-*elf*.
1997-03-28Fri Mar 28 15:29:23 1997 H.J. Lu <hjl@gnu.ai.mit.edu>Ian Lance Taylor2-0/+8
Contributed by David S. Miller <davem@caip.rutgers.edu>: * configure.tgt (sparc*-*-linuxaout*): New target. (sparc*-*-linux*): New target. * emulparams/sparclinux.sh: New file. * Makefile.in (ALL_EMULATIONS): Add esparclinux.o. (esparclinux.c): New target.
1997-03-28 From Ralf Baechle <ralf@gnu.ai.mit.edu>:Ian Lance Taylor2-5/+19
* configure.tgt: Set targ_extra_emuls for mips*el-*-linux* and mips*-*-linux*. Use elf32bmip and elf32lmip, not elf32ebmip and elf32elmip.
1997-03-28fix commentIan Lance Taylor1-3/+3
1997-03-27 * lexsup.c (parse_args): Update copyright date in versionIan Lance Taylor1-8/+5
message.
1997-03-24Remove m32r sanitization.David Edelsohn2-37/+1
1997-03-21xIan Lance Taylor1-1/+1
1997-03-21Fri Mar 21 12:28:41 1997 Philippe De Muyter <phdm@info.ucl.ac.be>Ian Lance Taylor1-0/+6
* emulparams/delta68.sh (OUTPUT_FORMAT): Set to "m68k-coff-sysv".
1997-03-18 * emultempl/aix.em: Include "obstack.h".Ian Lance Taylor1-0/+4
1997-03-18 * ldlang.c: Include "obstack.h".Ian Lance Taylor1-0/+4
1997-03-16 * configure.tgt (powerpc-*-beos*): Use aixppc for targ_emul.Fred Fish1-0/+4
1997-03-15Sat Mar 15 18:10:38 1997 H.J. Lu <hjl@lucon.org>Ian Lance Taylor2-14/+199
* ldemul.h (ldemul_list_emulations): Use full prototype. * ldlang.c (print_one_symbol): Add declaration. * ldlang.h (dprint_statements): Declare. * ldmain.c (remove_output): Declare. * ldmisc.c (vfinfo): Declare. * ldwrite.c (clone_section): Declare. (split_sections): Make static. Declare. * mri.c: Include libiberty.h. (strdup): Don't declare. (mri_alias): Use xstrdup rather than strdup.
1997-03-15 * scripttempl/elfmips.sc: Change handling of data area whenIan Lance Taylor2-2/+9
generating a shared library to not skip a large block of memory. From Per Fogelstrom <pefo@cvs.openbsd.org>.
1997-03-13Wed Mar 12 21:44:19 1997 Eric Youngdale <eric@andante.jic.com>Ian Lance Taylor44-0/+1360
* ld-elfvers/vers.exp, *: New tests for symbol versioning. * config/default.exp: Set ar and strip.
1997-03-13 * ldmain.c (multiple_definition): Only skip the warning if theIan Lance Taylor2-0/+26
output section is absolute when the input section is not absolute. * ldlex.l: Accept whitespace in VERS_START state. Warn about invalid characters in VERS_* states.
1997-03-10Sun Mar 9 23:06:35 1997 Eric Youngdale <eric@andante.jic.com>Ian Lance Taylor1-0/+4
* ldgram.y (vers_node): Correct typo of '(' for '{'.
1997-03-08 * scripttempl/tic80coff.sc (ENTRY): Entry symbol is __startFred Fish1-0/+7
rather than _start. (__edata): Define this rather than "edata". (__end): Define this rather than "end".
1997-03-06 Added and updated copyright notices to testsuite expectBob Manson1-1/+1
scripts.
1997-03-04Allow --target=tic80 without the -coffMichael Meissner1-0/+17
1997-02-28 * ldmain.c (main): Call bfd_set_default_target.Ian Lance Taylor2-1/+6
* Makefile.in (ldmain.o): Define TARGET when compiling.
1997-02-28 * emultempl/m88kbcs.em: Remove.Ian Lance Taylor4-122/+20
* emulparams/m88kbcs.sh (TEMPLATE_NAME): Don't set. * Makefile.in (em88kbcs.c): Depend upon generic.em rather than m88kbcs.em.
1997-02-28 * ldmain.c (main): Don't initialize link_info.lprefix orIan Lance Taylor1-5/+10
link_info.lprefix_len. * emultempl/hppaelf.em (hppaelf_before_parse): Likewise.
1997-02-27 * mri.c (mri_draw_tree): Pass noload_section, not SEC_NEVER_LOAD,Ian Lance Taylor1-0/+6
to lang_enter_output_section_statement. From Mark Rasin <mark.rasin@telrad.co.il>.
1997-02-27oops... always keep d10v stuffAngela Marie Thomas2-8/+2
1997-02-27only keep d10velf.sh for keep-d10vAngela Marie Thomas1-0/+8
1997-02-26always keep mipslnews.shStan Shebs1-0/+1
1997-02-26 * ldlang.c (lang_one_common): Clear SEC_IS_COMMON from commonIan Lance Taylor1-0/+20
section. PR 11749.
1997-02-26 * configure.tgt (mips*-*-lnews*): New target.Stan Shebs1-0/+9
* Makefile.in (emipslnews.c): New target. * emulparams/mipslnews.sh: New file.
1997-02-24 From Eric Youngdale <eric@andante.jic.com>:Ian Lance Taylor1-0/+34
* ldlex.l (V_TAG, V_IDENTIFIER): New macros. (VERS_START, VERS_SCRIPT, VERS_NODE): New states to parse version information. (ldlex_version_script, ldlex_version_file): New functions. * ldlex.h (enum input_enum): Add input_version_script. (ldlex_version_script): Declare. (ldlex_version_file): Declare. * ldgram.y (%union): Add deflist, versyms, and versnode. (VERS_TAG, VERS_IDENTIFIER): New terminals. (GLOBAL, LOCAL, VERSION, INPUT_VERSION_SCRIPT): New terminals. (file): Accept INPUT_VERSION_SCRIPT. (ifile_p1): Accept version. (version_script_file): New nonterminal. (version, vers_nodes, vers_node): Likewise. (verdep, vers_tag, ver_defns): Likewise. * ldlang.c (lang_elf_version_info): New global variable. (lang_new_vers_regex): New function. (lang_new_vers_node): New function. (version_index): New static variable. (lang_register_vers_node): New function. (lang_add_vers_depend): New function. * ldlang.h (lang_elf_version_info): Declare. (lang_new_vers_regex, lang_new_vers_node): Declare. (lang_add_vers_depend, lang_register_vers_node): Declare. * lexsup.c (OPTION_VERSION_SCRIPT): Define. (ld_options): Add "version-script". (parse_args): Handle OPTION_VERSION_SCRIPT. * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Pass lang_elf_version_info to size_dynamic_sections. * scripttempl/elf.sc: Add .gnu.version sections.
1997-02-22Fri Feb 21 17:37:51 1997 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt4-8/+46
* Makefile.in (ed30velf.c): New target. * configure.tgt (d30v-*-*): New target. * emulparams/d30velf.sh: New file. * scripttempl/elfd30v.sc: New file.
1997-02-20Since d10v is public now, remove all sanitization statementsMichael Meissner4-52/+24
1997-02-14Thu Feb 13 20:31:37 1997 Philippe De Muyter <phdm@info.ucl.ac.be>Ian Lance Taylor1-0/+3
* configure.in: Call BFD_NEED_DECLARATION on getenv. * acconfig.h (NEED_DECLARATION_GETENV): New macro. * sysdep.h (getenv): Declare if NEED_DECLARATION_GETENV. * ldemul.c (ld_emul_default_target): Do not cast getenv return value. * ldmain.c (get_emulation): Likewise. * configure, config.in: Rebuild.