Age | Commit message (Collapse) | Author | Files | Lines |
|
handling --force-exe-suffix.
|
|
* 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.
|
|
<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.
|
|
|
|
* emultempl/pe.em (sort_by_file_name): Sort by archive name
first.
(sort_sections): Sort all sections, not just sections in the same
archive.
|
|
* configure.tgt, configure.host: cope with '*-*-linux-gnuaout'
targets.
|
|
|
|
|
|
|
|
* 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.
|
|
appropriately.
|
|
(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.
|
|
* configure.in: Use ${CONFIG_SHELL} when running $ac_config_sub.
* configure: Rebuild.
|
|
(sort_sections_1): Use xmalloc rather than alloca.
|
|
* 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.
|
|
|
|
* mpw-elfmips.c: Rename from mpw-emipself.c.
* mpw-config.in: Update accordingly.
|
|
opening the input files, rather than at the end of the link.
|
|
* configure.tgt (hppa*-*-rtems*): New target, like hppa-*-*elf*.
|
|
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.
|
|
* configure.tgt: Set targ_extra_emuls for mips*el-*-linux* and
mips*-*-linux*. Use elf32bmip and elf32lmip, not elf32ebmip and
elf32elmip.
|
|
|
|
message.
|
|
|
|
|
|
* emulparams/delta68.sh (OUTPUT_FORMAT): Set to "m68k-coff-sysv".
|
|
|
|
|
|
|
|
* 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.
|
|
generating a shared library to not skip a large block of memory.
From Per Fogelstrom <pefo@cvs.openbsd.org>.
|
|
* ld-elfvers/vers.exp, *: New tests for symbol versioning.
* config/default.exp: Set ar and strip.
|
|
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.
|
|
* ldgram.y (vers_node): Correct typo of '(' for '{'.
|
|
rather than _start.
(__edata): Define this rather than "edata".
(__end): Define this rather than "end".
|
|
scripts.
|
|
|
|
* Makefile.in (ldmain.o): Define TARGET when compiling.
|
|
* emulparams/m88kbcs.sh (TEMPLATE_NAME): Don't set.
* Makefile.in (em88kbcs.c): Depend upon generic.em rather than
m88kbcs.em.
|
|
link_info.lprefix_len.
* emultempl/hppaelf.em (hppaelf_before_parse): Likewise.
|
|
to lang_enter_output_section_statement. From Mark Rasin
<mark.rasin@telrad.co.il>.
|
|
|
|
|
|
|
|
section.
PR 11749.
|
|
* Makefile.in (emipslnews.c): New target.
* emulparams/mipslnews.sh: New file.
|
|
* 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.
|
|
* Makefile.in (ed30velf.c): New target.
* configure.tgt (d30v-*-*): New target.
* emulparams/d30velf.sh: New file.
* scripttempl/elfd30v.sc: New file.
|
|
|
|
* 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.
|