aboutsummaryrefslogtreecommitdiff
path: root/ld/emulparams
AgeCommit message (Collapse)AuthorFilesLines
2003-06-10include/elf/Richard Sandiford2-0/+7
* h8.h (E_H8_MACH_H8300SXN): New flag. bfd/ * archures.c (bfd_mach_h8300sxn): New architecture. * bfd-in2.h: Regenerate. * cpu-h8300.c (h8300_scan): Check for 'sxn'. (h8300sxn_info_struct): New. (h8300sx_info_struct): Link to it. * elf32-h8300.c (elf32_h8_mach): Add h8300sxn case. (elf32_h8_final_write_processing): Likewise. gas/ * config/tc-h8300.c (h8300sxnmode): New. (md_pseudo_table): Add .h8300sxn entry. Sync others with FSF version. ld/ * configure.tgt (h8300*): Add h8300sxn emulations. * Makefile.am (ALL_EMULATIONS): Add eh8300sxn.o and eh8300sxnelf.o. (eh8300sxn.c, eh8300sxnelf.c): New rules. * Makefile.in: Regenerate. * emulparams/h8300sxnelf.sh, emulparams/h8300sxn.sh: New files.
2003-06-10 * emulparams/elf64ppc.sh (EXECUTABLE_SYMBOLS, OTHER_BSS_END_SYMBOLS,Alan Modra1-6/+0
CTOR_START, CTOR_END, DTOR_START, DTOR_END): Don't define.
2003-06-032003-06-03 Michael Snyder <msnyder@redhat.com>Michael Snyder2-0/+8
and Bernd Schmidt <bernds@redhat.com> and Alexandre Oliva <aoliva@redhat.com> * Makefile.am: Add new emulations for h8300sx. * Makefile.in: Regenerate. * configure.tgt: Add new emulations. * emulparams/h8300sx.sh: New emulation. * emulparams/h8300sxelf.sh: Ditto. * scripttempl/h8300sx.sc: Ditto.
2003-06-03 * emulparams/shlelf_linux.sh (GENERATE_PIE_SCRIPT): Set to yes.Kaz Kojima2-0/+2
* emulparams/shlelf32_linux.sh (GENERATE_PIE_SCRIPT): Likewize.
2003-05-30bfd/Jakub Jelinek10-0/+10
* elflink.h (elf_link_add_object_symbols): Use !info->executable instead of info->shared where appropriate. (bfd_elfNN_size_dynamic_sections, elf_link_output_extsym): Likewise. * elflink.c (_bfd_elf_create_got_section): Likewise. (_bfd_elf_link_create_dynamic_sections): Likewise. (_bfd_elf_link_assign_sym_version): Likewise. * elf32-i386.c (elf_i386_size_dynamic_sections): Create .interp section and DT_DEBUG dynamic tag even for position independent executables. * elf32-ppc.c (ppc_elf_size_dynamic_sections): Likewise. * elf32-s390.c (elf_s390_size_dynamic_sections: Likewise. * elf64-ppc.c (ppc64_elf_size_dynamic_sections: Likewise. * elf64-s390.c (elf_s390_size_dynamic_sections: Likewise. * elf64-x86-64.c (elf64_x86_64_size_dynamic_sections: Likewise. * elfxx-ia64.c (elfNN_ia64_size_dynamic_sections: Likewise. * elf32-sparc.c (elf32_sparc_size_dynamic_sections: Likewise. * elf64-alpha.c (elf64_alpha_size_dynamic_sections: Likewise. * elf64-sparc.c (sparc64_elf_size_dynamic_sections: Likewise. include/ * bfdlink.h (struct bfd_link_info): Add pie and executable bits. ld/ * lexsup.c (OPTION_PIE): Define. (ld_options): Add -pie and --pic-executable options. (parse_args): Handle OPTION_PIE. * ldmain.c (main): Initialize link_info.pie and link_info.executable. * genscripts.sh: Generate PIE scripts. * ld.texinfo: Document -pie and --pic-executable options. * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): (gld${EMULATION_NAME}_place_orphan): Likewise. (gld${EMULATION_NAME}_get_script): Include PIE scripts. * scripttempl/elf.sc: In PIE scripts set . the same way as in shared scripts. * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Set to yes. * emulparams/elf64_ia64.sh (GENERATE_PIE_SCRIPT): Likewise. * emulparams/elf32ppc.sh (GENERATE_PIE_SCRIPT): Likewise. * emulparams/elf64ppc.sh (GENERATE_PIE_SCRIPT): Likewise. * emulparams/elf_x86_64.sh (GENERATE_PIE_SCRIPT): Likewise. * emulparams/elf_s390.sh (GENERATE_PIE_SCRIPT): Likewise. * emulparams/elf32_sparc.sh (GENERATE_PIE_SCRIPT): Likewise. * emulparams/elf64_sparc.sh (GENERATE_PIE_SCRIPT): Likewise. * emulparams/elf64alpha.sh (GENERATE_PIE_SCRIPT): Likewise. * emulparams/elf64_s390.sh (GENERATE_PIE_SCRIPT): Likewise. * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Likewise.
2003-05-26* emulparams/elf64btsmip.sh: Set TEXT_START_ADDR to 0x120000000 toMaciej W. Rozycki1-0/+1
trap on pointer crops.
2003-05-152003-05-15 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-1/+3
* emulparams/elf64_ia64.sh: Don't set COMMONPAGESIZE for now.
2003-05-09 * Makefile.am (ALL_EMULATIONS): Add earmelfb.o and earmelfb_linux.o.Daniel Jacobowitz2-0/+4
(earmelfb.c, earmelfb_linux.c): New rules. * Makefile.in: Regenerated. * emulparams/armelfb.sh, emulparams/armelfb_linux.sh: New files.
2003-04-24oops - omitted from previous deltaNick Clifton4-0/+14
2003-04-21 * emulparams/m68hc11elf.sh: Use m68hc1xelf.em extra.Stephane Carrez4-0/+8
* emulparams/m68hc11elfb.sh: Likewise. * emulparams/m68hc12elf.sh: Likewise. * emulparams/m68hc12elfb.sh: Likewise.
2003-04-04Namespace cleanup for the tic4x target. Replace s/c4x/tic4x/ and ↵Svein Seldal3-9/+9
s/c3x/tic3x/. 2003 copyright update
2003-04-02 * emulparams/xtensa-config.sh: Remove comment indicating that this isBob Wilson1-5/+0
a generated file.
2003-04-01Add Xtensa portNick Clifton2-0/+40
2003-04-01Fixes for iWMMXt contribution.Nick Clifton2-2/+2
2003-03-25Add iWMMXt supportNick Clifton2-0/+2
2003-03-04Add new devices x1122 x1132 emulation.Nick Clifton2-0/+28
2003-03-02 * emulparams/elf64alpha.sh (EXTRA_EM_FILE): Define.Alan Modra1-51/+1
(PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES, PARSE_AND_LIST_EPILOGUE): Don't define. * emultempl/alphaelf.em: New file.
2003-02-18 * emultempl/ppc32elf.em: New file.Alan Modra1-0/+1
* emulparams/elf32ppc.sh (EXTRA_EM_FILE): Define. * Makefile.am (eelf32lppc.c): Depend on emultempl/ppc32elf.em. (eelf32lppcnto.c): Likewise. (eelf32lppcsim.c): Likewise. (eelf32ppcnto.c): Likewise. (eelf32ppc.c): Likewise. (eelf32ppc_fbsd.c): Likewise. (eelf32ppcsim.c): Likewise. (eelf32ppclinux.c): Likewise.
2003-02-06 * emulparams/elf64_s390.sh (LIBPATH_SUFFIX): Set to 64.Jakub Jelinek3-4/+4
* emulparams/elf_x86_64.sh (LIBPATH_SUFFIX): Likewise. * emulparams/elf64_sparc.sh (LIBPATH_SUFFIX): Set instead of suffix.
2003-01-21Fix generation of tic3xcoff_onchip.cNick Clifton1-0/+0
2003-01-20Updates for fixing tic4x arch tagging of its object files.Svein Seldal3-6/+8
* bfd/coffcode.h (coff_set_flags): Added get/set arch hooks. * include/coff/tic4x.h (TICOFF_TARGET_MACHINE_GET): Fixed define bug * include/coff/ti.h (TICOFF_TARGET_MACHINE_GET): Added macros * ld/Makefile.am: Added etic3xcoff.o and etic4xcoff_onchip.o * ld/Makefile.in: Regenerate * ld/configure.tgt: Added extra target emulations * ld/emulparams/tic3xcoff.sh: Remove old settings * ld/emulparams/tic4xcoff.sh: Ditto * ld/emulparams/tic3xcoff-onchip.sh: Added new * ld/scripttempl/tic4xcoff.sc: Revise and combine both c3x and c4x * ld/scripttempl/tic3xcoff.sc: Remove
2003-01-06 * Makefile.am (eelf32iq10.c): Fix tab/whitespace mixup.Daniel Jacobowitz8-110/+68
* Makefile.am (ldmain.o): Add @TARGET_SYSTEM_ROOT_DEFINE@. (GENSCRIPTS): Add @use_sysroot@. * Makefile.in: Regenerated. * configure.host: Move setting of NATIVE_LIB_DIRS to... * configure.tgt: ... here. Use ${target} instead of ${host} for NATIVE_LIB_DIRS. * configure.in: Add --with-sysroot. * configure: Regenerated. * genscripts.sh: Accept use_sysroot option. Set new variables NATIVE and USE_LIBPATH. Prepend "=" to directory names if $use_sysroot. Don't search $tool_lib if $use_sysroot. * ldfile.c (ldfile_add_library_path): Handle leading '='. * ldmain.c (TARGET_SYSTEM_ROOT): Define if not defined. (ld_sysroot): New variable. (main): Initialize ld_sysroot. * ldmain.h (ld_sysroot): New extern. * emultempl/elf32.em: Use NATIVE and USE_LIBPATH instead of searching $EMULATION_LIBPATH. (gld${EMULATION_NAME}_add_sysroot): New function. (gld${EMULATION_NAME}_check_ld_so_conf): Use it. Honor ld_sysroot. (gld${EMULATION_NAME}_after_open): Likewise. Only search environment variables if $NATIVE. * ld.texinfo (Options): Mention "=" prefix in the description of -L. * NEWS: Mention --with-sysroot. * emulparams/elf32bmipn32-defs.sh: Set NATIVE and LIBPATH_SUFFIX instead of setting LIB_PATH. * emulparams/elf32ppc.sh: Likewise. * emulparams/elf64_s390.sh: Likewise. * emulparams/elf64_sparc.sh: Likewise. * emulparams/elf64ppc.sh: Likewise. * emulparams/elf_x86_64.sh: Likewise. * emulparams/elf64_aix.sh: Add "=" prefixes to LIB_PATH. * emulparams/elf64hppa.sh: Add "=" prefixes to LIB_PATH.
2003-01-04 * Makefile.am (ALL_EMULATIONS): Add eelf32iq2000.o.Stan Cox2-0/+25
(eelf32iq2000.c): New target. * Makefile.in: Regenerate. * configure.tgt: Handle iq2000-*-elf. * emulparams/elf32iq10.sh: New file. * emulparams/elf32iq2000.sh: New file. * scripttempl/iq2000.sc: New file.
2002-12-30Add support for msp430.Nick Clifton39-0/+546
2002-11-30s/boolean/bfd_boolean/ s/true/TRUE/ s/false/FALSE/. SimplifyAlan Modra1-1/+1
comparisons of bfd_boolean vars with TRUE/FALSE. Formatting.
2002-11-20 * emulparams/elf64ppc.sh (SEGMENT_SIZE): Don't define.Alan Modra1-1/+1
Also move some changelog entries to where they belong.
2002-11-07* emulparams/elf32btsmipn32.sh (TEXT_DYNAMIC): Define.Alexandre Oliva2-0/+4
* emulparams/elf64btsmip.sh (TEXT_DYNAMIC): Likewise.
2002-10-22* emulparams/elf32bmipn32-defs.sh: Set ELFSIZE according toAlexandre Oliva5-14/+25
emulation name. Set LIB_PATH only for native tools, and search the ABI-specific versions of NATIVE_LIB_DIRS before the .../lib variants, not instead of them. Mostly copied from... * emulparams/elf32ppc.sh: ... here. Fixed typo. * emulparams/elf64bmip-defs.sh: Backed out. * emulparams/elf64bmip.sh: Import elf32bmipn32-defs.sh again. * emulparams/elf64btsmip.sh: Likewise. (DATA_ADDR, NONPAGED_TEXT_START_ADDR, SHLIB_TEXT_START_ADDR, TEXT_DYNAMIC): Removed.
2002-10-17* emulparams/elf32bmipn32-defs.sh (LIB_PATH): Set to /usr/lib32.Alexandre Oliva6-28/+32
(GENERATE_SHLIB_SCRIPT): Set to yes. (EXECUTABLE_SYMBOLS, WRITABLE_RODATA): Moved to... * emulparams/elf32bmipn32.sh: here. (GENERATE_SHLIB_SCRIPT): Deleted as redundant. * emulparams/elf32btsmipn32.sh: Delete redundant unsets. * emulparams/elf64bmip-defs.sh: New file. Extend elf32bmipn32-defs.sh by overiding ELFSIZE and LIB_PATH. * emulparams/elf64bmip.sh: Bring in definitions from elf64bmip-defs.sh. (ELFSIZE, GENERATE_SHLIB_SCRIPT, LIB_PATH): Delete redundant settings. (WRITABLE_RODATA): Moved from elf32bmipn32-defs.sh. * emulparams/elf64btsmip.sh: Bring in definitions from elf64bmip-defs.sh. (ELFSIZE, GENERATE_SHLIB_SCRIPT): Delete, redundant. (EXECUTABLE_SYMBOLS, WRITABLE_RODATA): Delete redundant unsets.
2002-10-16 * config.bfd (s390-*-linux*): Add targ64_selvecs.Jakub Jelinek3-41/+69
(s390x-*-linux*): Add targ_selvecs. * config.table: Use mh-s390pic for s390x too. * configure.tgt (s390x-*-linux*): Add elf_s390 emulation. (s390-*-linux*): Add elf64_s390 emulation if want64. * emulparams/elf64_sparc.sh (LIB_PATH): Update to match 2002-05-22 genscript.sh changes. * emulparams/elf_x86_64.sh (LIB_PATH): Likewise. * emulparams/elf64_s390.sh (LIB_PATH): Set up native 64 bit dirs.
2002-10-09* Makefile.am: Add eshelf32_linux.o andStephen Clarke2-0/+43
eshlelf32_linux.o, new emulations for sh64 Linux. * Makefile.in: Regenerate. * configure.tgt: Add sh64eb-*-linux* and sh64-*-linux* emulations. * emulparams/shelf32_linux.sh: New file. * emulparams/shlelf32_linux.sh: New file.
2002-10-02 * emulparams/elf64ppc.sh (MAXPAGESIZE): Set to 0x10000.Alan Modra1-1/+1
2002-09-30No need to set OTHER_GOT_RELOC_SECTIONS in emulparams/elf32ppclinux.sh.H.J. Lu1-3/+0
2002-09-292002-09-29 H.J. Lu <hjl@gnu.org>H.J. Lu2-0/+7
* ld/emulparams/elf32ppc.sh (OTHER_GOT_RELOC_SECTIONS): New. * ld/emulparams/elf32ppclinux.sh (OTHER_GOT_RELOC_SECTIONS): New.
2002-09-25 * genscripts.sh (SEGMENT_SIZE): Use MAXPAGESIZE beforeAlan Modra1-1/+1
TARGET_PAGE_SIZE. * scripttempl/elf.sc (DATA_SEGMENT_ALIGN): Incorporate SEGMENT_SIZE alignment. * emulparams/elf64ppc.sh (DATA_ADDR): Delete. (SEGMENT_SIZE): Define.
2002-09-24 * emulparams/elf64ppc.sh (DATA_ADDR): Define.Alan Modra2-1/+2
* emulparams/elf64_aix.sh (DATA_ADDR): Don't use a fixed address for start of .data, instead align up to 256M boundary. * scripttempl/aix.sc: Likewise.
2002-09-18 * emulparams/elf32bmipn32-defs.sh: New file.Stan Cox5-74/+83
* emulparams/elf32bmipn32.sh: Use elf32bmipn32-defs.sh. * emulparams/elf32btsmipn32.sh: Likewise. * emulparams/elf64bmip.sh: Likewise. * emulparams/elf64btsmip.sh: Likewise.
2002-09-172002-09-16 Bruno Haible <bruno@clisp.org>David O'Brien2-0/+2
* elf32-i386.c: Don't defined ELF_ARCH etc. if this file is included by a target variant implementation. * elf64-alpha.c: Likewise. * elf32-i386-fbsd.c: New file. * elf64-alpha-fbsd.c: New file. * targets.c: Support bfd_elf32_i386_freebsd_vec and bfd_elf64_alpha_freebsd_vec. * configure.in: Accept the vectors bfd_elf32_i386_freebsd_vec, bfd_elf64_alpha_freebsd_vec. * Makefile.am (BFD32_BACKENDS): Add elf32-i386-fbsd.lo. (BFD32_BACKENDS_CFILES): Add elf32-i386-fbsd.c. (BFD64_BACKENDS): Add elf64-alpha-fbsd.lo. (BFD64_BACKENDS_CFILES): Add elf64-alpha-fbsd.c. (elf32-i386-fbsd.lo, elf64-alpha-fbsd.lo): Add dependencies. * config.bfd: For FreeBSD targets, set targ_defvec to a FreeBSD specific targets. Define OLD_FREEBSD_ABI_LABEL if appropriate. * config/tc-i386.h (ELF_TARGET_FORMAT): New macro. (TARGET_FORMAT): Use ELF_TARGET_FORMAT instead of "elf32-i386". * config/tc-i386.c (i386_target_format): Likewise. * config/tc-alpha.h (ELF_TARGET_FORMAT): New macro. (TARGET_FORMAT): Use ELF_TARGET_FORMAT instead of "elf64-alpha". * emulparams/elf_i386_fbsd.sh: Set OUTPUT_FORMAT to elf32-i386-freebsd. * emulparams/elf64alpha_fbsd.sh: Set OUTPUT_FORMAT to elf64-alpha-freebsd. Approved by: Alan Modra <amodra@bigpond.net.au> Message-ID: <20020715021113.GJ30362@bubble.sa.bigpond.net.au>
2002-09-02Add EXTERN references to __ctbpm __gp and __ep.Nick Clifton1-0/+1
Define TEMPLATE_NAME. Revert bogus change to ldexp.c
2002-08-30 * emulparams/elf32ppc.sh (ARCH): Set to "powerpc:common".Alan Modra1-1/+1
2002-08-28Add TMS320C4x supportNick Clifton2-0/+18
2002-08-22Add sh-nto supportNick Clifton2-0/+20
2002-08-13 * emulparams/elf32_dlx.sh (TARGET_PAGE_SIZE): Set to 1.Alan Modra1-2/+2
(MAXPAGESIZE): Set to 1. * ld.h (ALIGN_N): Delete. * ldexp.h (align_n): Declare. * ldexp.c (align_n): New function. (fold_binary): Use align_n instead of ALIGN_N. (exp_fold_tree): Likewise. * ldlang.c (lang_size_sections_1): Likewise. (lang_one_common): Likewise.
2002-08-09Add QNX Neutrino PowerPC support and common up QNX functionsNick Clifton2-0/+9
2002-08-01Revert Adam Nemet's THUMB PLT patchNick Clifton1-1/+0
2002-07-31Add new field to bfd_link structure and use it to control how common symbolsNick Clifton1-0/+1
are extracted from archives.
2002-07-31Add support for Thumb PLT entries with interworkingNick Clifton1-0/+1
2002-07-30 * Makefile.am (eelf32btsmipn32.o, eelf32ltsmipn32.o): New emulationsThiemo Seufer3-1/+22
for n32 ABI support. * Makefile.in: Regenerate. * configure.tgt (mips64*el-*-linux-gnu*,mips64*-*-linux-gnu*): Add n32 ABI emulations for these 64 bit targets. * emulparams/elf32bmipn32.sh: Expand comment. * emulparams/elf32btsmipn32.sh: New file, for traditional big endian n32 ABI. * emulparams/elf32ltsmipn32.sh: Likewise for little endian.
2002-07-30Add arm-*-nto port.Nick Clifton1-0/+24
2002-07-26Change from OTHER_RELOCATING_SECTIONS to STACK_ADDR in elf32frv.shBernd Schmidt1-3/+1