binutils-gdb/ld/emulparams
Mihailo Stojanovic f16a9783c5 Add support for a MIPS specific .MIPS.xhash section.
This patch is a reimplementation of [1] which was submitted in 2015 by
Neil Schellenberger. Copyright issue was sorted out [2] last year.
It proposed a new section (.gnu.xhash) and related dynamic tag
(DT_GNU_XHASH). The new section would be virtually identical to the
existing .gnu.hash except for the translation table (xlat) which would
contain correct MIPS .dynsym indexes corresponding to the hashvals in
chains. This is because MIPS ABI imposes a different ordering on the
dynsyms than the one expected by the .gnu.hash section. Another addition
would be a leading word (ngnusyms) which would contain the number of
entries in the translation table.

  In this patch, the new section name and dynamic tag are changed to
reflect the fact that the section should be treated as MIPS-specific
(.MIPS.xhash and DT_MIPS_XHASH).

  This patch addresses the alignment issue as reported in [3], which is
caused by the leading word added to the .MIPS.xhash section. Leading word
is removed in this patch, and the number of entries in the translation
table is now calculated using DT_MIPS_SYMTABNO dynamic tag (this is
addressed by the corresponding glibc patch).

  Suggestions on coding style in [4] were taken into account. Existing
GNU hash testcase was covered, and another one was added in the MIPS
part of the testsuite.

  The other major change is reserving MIPS ABI version 5 for .MIPS.xhash,
marking the need of support for .MIPS.xhash in the dynamic linker (again,
addressed in the corresponding glibc patch). This is something which I
am not sure of, especially after reading [5]. I am confused on whether
this ABI version is reserved for IFUNC, or it can be used for this
purpose.

Already mentioned glibc patch is submitted at:
https://sourceware.org/ml/libc-alpha/2019-06/msg00456.html

[1] https://sourceware.org/ml/binutils/2015-10/msg00057.html
[2] https://sourceware.org/ml/binutils/2018-03/msg00025.html
[3] https://sourceware.org/ml/binutils/2016-01/msg00006.html
[4] https://sourceware.org/ml/binutils/2016-02/msg00097.html
[5] https://sourceware.org/ml/libc-alpha/2016-12/msg00853.html

ld      * emulparams/elf32bmip.sh: Add .MIPS.xhash section.
        * emulparams/elf32bmipn32-defs.sh: Add .MIPS.xhash section.
        * emulparams/elf64bmip-defs.sh: Add .MIPS.xhash section.
        * emultempl/mipself.em: Remove mips_after_parse function.
        * testsuite/ld-elf/hash.d: Update comment.
        * testsuite/ld-mips-elf/hash1.d: New test.
        * testsuite/ld-mips-elf/hash1.s: Ditto.
        * testsuite/ld-mips-elf/hash1a.d: Remove.
        * testsuite/ld-mips-elf/hash1b.d: Ditto.
        * testsuite/ld-mips-elf/hash1c.d: Ditto
        * testsuite/ld-mips-elf/hash2.d: New test.
        * testsuite/ld-mips-elf/mips-elf.exp: New tests.
        * testsuite/ld-mips-elf/start.s: New test.

bfd     * elf-bfd.h (struct elf_backend_data): New members.
        * elflink.c (_bfd_elf_link_create_dynamic_sections): Create
        .gnu.hash section if necessary.
        (struct collect_gnu_hash_codes): New member.
        (elf_gnu_hash_process_symidx): New function name.
        (elf_renumber_gnu_hash_syms): Ignore local and undefined
        symbols. Record xlat location for every symbol which should have
        a .MIPS.xhash entry.
        (bfd_elf_size_dynamic_sections): Add DT_GNU_HASH dynamic tag to
        dynamic section if necessary.
        (GNU_HASH_SECTION_NAME): New define.
        (bfd_elf_size_dynsym_hash_dynstr): Get .MIPS.xhash section.
        Update the section size info.
        * elfxx-mips.c (struct mips_elf_hash_sort_data): New members.
        (struct mips_elf_link_hash_entry): New member.
        (mips_elf_link_hash_newfunc): Initialize .MIPS.xhash translation
        table location.
        (mips_elf_sort_hash_table): Initialize the pointer to the
        .MIPS.xhash section.
        (mips_elf_sort_hash_table_f): Populate the .MIPS.xhash
        translation table entry with the symbol dynindx.
        (_bfd_mips_elf_section_from_shdr): Add SHT_MIPS_XHASH.
        (_bfd_mips_elf_fake_sections): Initialize .MIPS.xhash section
        info.
        (_bfd_mips_elf_create_dynamic_sections): Create .MIPS.xhash
        section.
        (_bfd_mips_elf_size_dynamic_sections): Add DT_MIPS_XHASH tag to
        dynamic section.
        (_bfd_mips_elf_finish_synamic_sections): Add DT_MIPS_XHASH.
        (_bfd_mips_elf_final_write_processing): Set .MIPS.xhash section
        sh_link info.
        (_bfd_mips_elf_get_target_dtag): Get DT_MIPS_XHASH tag.
        (MIPS_LIBC_ABI_XHASH): New ABI version enum value.
        (_bfd_mips_post_process_headers): Mark the ABI version as
        MIPS_LIBC_ABI_XHASH if there exists a .MIPS.xhash section,
        but not a .hash section.
        (_bfd_mips_elf_record_xhash_symbol): New function. Record a
        position in the translation table, associated with the hash
        entry.
        * elfxx-mips.h (literal_reloc_p): Define
        elf_backend_record_xhash_symbol backend hook.
        * elfxx-target.h: Initialize elf_backend_record_xhash_symbol
        backend hook.

include * elf/mips.h (SHT_GNU_XHASH): New define.
        (DT_GNU_XHASH): New define.

binutils * readelf.c (get_mips_dynamic_type): Return MIPS_XHASH dynamic type.
        (get_mips_section_type_name): Return MI{S_XHASH name string.
        (dynamic_section_mips_val): Initialize the .MIPS.xhash dynamic
        info.
        (process_symbol_table): Initialize the .MIPS.xhash section
        pointer. Adjust the readelf output to support the new section.
        (process_object): Set the .MIPS.xhash dynamic info to zero.
2019-08-09 11:06:37 +01:00
..
aarch64cloudabi.sh ELF ld -r scripts 2018-10-13 20:33:23 +10:30
aarch64cloudabib.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
aarch64elf32.sh Define various symbols conditionally in shared libraries 2018-06-08 20:17:34 +09:30
aarch64elf32b.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
aarch64elf.sh Fix syntax error in AArch64 default linker scripts when invoked with -shared. 2018-06-12 12:45:49 +01:00
aarch64elfb.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
aarch64fbsd.sh ELF ld -r scripts 2018-10-13 20:33:23 +10:30
aarch64fbsdb.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
aarch64linux32.sh ELF ld -r scripts 2018-10-13 20:33:23 +10:30
aarch64linux32b.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
aarch64linux.sh ELF ld -r scripts 2018-10-13 20:33:23 +10:30
aarch64linuxb.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
aix5ppc.sh
aix5rs6.sh
aixppc.sh
aixrs6.sh
alpha.sh
alphavms.sh 2010-04-14 Tristan Gingold <gingold@adacore.com> 2010-04-14 09:27:27 +00:00
arc-endianness.sh ld whitespace fixes 2017-10-12 23:30:43 +10:30
arc-nps.sh ELF ld -r scripts 2018-10-13 20:33:23 +10:30
arcelf_prof.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
arcelf.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
arclinux_nps.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
arclinux_prof.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
arclinux.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
arcv2elf.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
arcv2elfx.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
arm_wince_pe.sh 2009-11-04 Kai Tietz <kai.tietz@onevision.com> 2009-11-04 18:13:05 +00:00
armelf_fbsd.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
armelf_fuchsia.sh Define various symbols conditionally in shared libraries 2018-06-08 20:17:34 +09:30
armelf_linux_eabi.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
armelf_linux_fdpiceabi.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
armelf_linux.sh Define various symbols conditionally in shared libraries 2018-06-08 20:17:34 +09:30
armelf_nacl.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
armelf_nbsd.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
armelf_phoenix.sh Define various symbols conditionally in shared libraries 2018-06-08 20:17:34 +09:30
armelf_vxworks.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
armelf.sh Define various symbols conditionally in shared libraries 2018-06-08 20:17:34 +09:30
armelfb_fbsd.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
armelfb_fuchsia.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
armelfb_linux_eabi.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
armelfb_linux_fdpiceabi.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
armelfb_linux.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
armelfb_nacl.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
armelfb_nbsd.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
armelfb.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
armnto.sh Define various symbols conditionally in shared libraries 2018-06-08 20:17:34 +09:30
armpe.sh 2009-11-04 Kai Tietz <kai.tietz@onevision.com> 2009-11-04 18:13:05 +00:00
armsymbian.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
avr1.sh Replace multiple AVR scripts with a single, customizable linker script. 2017-06-13 16:50:26 +01:00
avr2.sh Replace multiple AVR scripts with a single, customizable linker script. 2017-06-13 16:50:26 +01:00
avr3.sh Replace multiple AVR scripts with a single, customizable linker script. 2017-06-13 16:50:26 +01:00
avr4.sh Replace multiple AVR scripts with a single, customizable linker script. 2017-06-13 16:50:26 +01:00
avr5.sh Replace multiple AVR scripts with a single, customizable linker script. 2017-06-13 16:50:26 +01:00
avr6.sh Replace multiple AVR scripts with a single, customizable linker script. 2017-06-13 16:50:26 +01:00
avr25.sh Replace multiple AVR scripts with a single, customizable linker script. 2017-06-13 16:50:26 +01:00
avr31.sh Replace multiple AVR scripts with a single, customizable linker script. 2017-06-13 16:50:26 +01:00
avr35.sh Replace multiple AVR scripts with a single, customizable linker script. 2017-06-13 16:50:26 +01:00
avr51.sh Replace multiple AVR scripts with a single, customizable linker script. 2017-06-13 16:50:26 +01:00
avrtiny.sh Replace multiple AVR scripts with a single, customizable linker script. 2017-06-13 16:50:26 +01:00
avrxmega1.sh Replace multiple AVR scripts with a single, customizable linker script. 2017-06-13 16:50:26 +01:00
avrxmega2.sh Replace multiple AVR scripts with a single, customizable linker script. 2017-06-13 16:50:26 +01:00
avrxmega3.sh Replace multiple AVR scripts with a single, customizable linker script. 2017-06-13 16:50:26 +01:00
avrxmega4.sh Replace multiple AVR scripts with a single, customizable linker script. 2017-06-13 16:50:26 +01:00
avrxmega5.sh Replace multiple AVR scripts with a single, customizable linker script. 2017-06-13 16:50:26 +01:00
avrxmega6.sh Replace multiple AVR scripts with a single, customizable linker script. 2017-06-13 16:50:26 +01:00
avrxmega7.sh Replace multiple AVR scripts with a single, customizable linker script. 2017-06-13 16:50:26 +01:00
call_nop.sh x86: Move x86-specific linker options to elf_linker_x86_params 2019-04-06 07:25:31 -07:00
cet.sh x86: Add -z cet-report=[none|warning|error] 2019-04-11 08:21:30 -07:00
crisaout.sh PR 4515 2007-08-09 11:02:24 +00:00
criself.sh Fix long-standing buglet and fallout from now-default initfini-array. 2017-01-29 13:53:58 +01:00
crislinux.sh * emulparams/crislinux.sh (COMMONPAGESIZE): Define. 2014-01-10 01:25:26 +01:00
cskyelf_linux.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
cskyelf.sh Fix some ld dependencies 2019-04-10 13:30:32 +09:30
d10velf.sh
d30v_e.sh bfd/ 2006-06-20 02:22:16 +00:00
d30v_o.sh bfd/ 2006-06-20 02:22:16 +00:00
d30velf.sh bfd/ 2006-06-20 02:22:16 +00:00
dynamic_undefined_weak.sh Implement -z dynamic-undefined-weak 2017-04-19 20:39:52 +09:30
elf32_dlx.sh bfd/ 2006-06-20 02:22:16 +00:00
elf32_sparc_sol2.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf32_sparc_vxworks.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf32_sparc.sh * emulparams/elf32_sparc.sh: Set NOP to 0x01000000 2010-09-20 18:41:15 +00:00
elf32_spu.sh ELF ld -r scripts 2018-10-13 20:33:23 +10:30
elf32_tic6x_be.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf32_tic6x_elf_be.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf32_tic6x_elf_le.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf32_tic6x_le.sh ELF ld -r scripts 2018-10-13 20:33:23 +10:30
elf32_tic6x_linux_be.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf32_tic6x_linux_le.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf32_x86_64_nacl.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf32_x86_64.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf32am33lin.sh * scripttempl/elf.sc (NO_REL_RELOCS, NO_RELA_RELOCS, NON_ALLOC_DYN): 2008-10-22 05:20:44 +00:00
elf32b4300.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf32bfin.sh fix 2014-05-28 ld Makefile.am changes 2014-06-02 14:52:52 +09:30
elf32bfinfd.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf32bmip.sh Add support for a MIPS specific .MIPS.xhash section. 2019-08-09 11:06:37 +01:00
elf32bmipn32-defs.sh Add support for a MIPS specific .MIPS.xhash section. 2019-08-09 11:06:37 +01:00
elf32bmipn32.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf32bsmip.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf32btsmip_fbsd.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf32btsmip.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf32btsmipn32_fbsd.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf32btsmipn32.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf32cr16.sh * emultempl/cr16elf.em (cr16_after_open): New function to handle 2008-11-27 12:41:14 +00:00
elf32cr16c.sh
elf32crx.sh
elf32ebmip.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf32ebmipvxworks.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf32elmip.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf32elmipvxworks.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf32epiphany_4x4.sh * scripttempl/epiphany_4x4.sc, emulparams/elf32epiphany_4x4.sh: Add. 2012-11-30 18:28:38 +00:00
elf32epiphany.sh bfd: 2011-10-25 11:18:16 +00:00
elf32fr30.sh strip off +x bits on non-executable/script files 2013-12-07 02:03:03 -05:00
elf32frv.sh Define various symbols conditionally in shared libraries 2018-06-08 20:17:34 +09:30
elf32frvfd.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf32ft32.sh FT32 initial support 2015-01-28 16:25:18 +10:30
elf32ip2k.sh * scripttempl/elf.sc (NO_REL_RELOCS, NO_RELA_RELOCS, NON_ALLOC_DYN): 2008-10-22 05:20:44 +00:00
elf32iq10.sh strip off +x bits on non-executable/script files 2013-12-07 02:03:03 -05:00
elf32iq2000.sh strip off +x bits on non-executable/script files 2013-12-07 02:03:03 -05:00
elf32l4300.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf32lm32.sh Add LM32 port. 2008-12-23 19:10:25 +00:00
elf32lm32fd.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf32lmip.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf32lppc.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf32lppclinux.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf32lppcnto.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf32lppcsim.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf32lr5900.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf32lr5900n32.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf32lriscv_ilp32.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf32lriscv_ilp32f.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf32lriscv-defs.sh RISC-V: Adjust __global_pointer$ value to reduce code size. 2018-10-15 16:00:28 -07:00
elf32lriscv.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf32lsmip.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf32ltsmip_fbsd.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf32ltsmip.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf32ltsmipn32_fbsd.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf32ltsmipn32.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf32m32c.sh Move .stack before debug sections 2017-02-20 19:33:28 +10:30
elf32mb_linux.sh Remove trailing white spaces in ld 2013-01-10 20:08:03 +00:00
elf32mbel_linux.sh Files missing from previous commit. 2012-11-09 22:43:28 +00:00
elf32mcore.sh Fix some ld dependencies 2019-04-10 13:30:32 +09:30
elf32mep.sh ELF ld -r scripts 2018-10-13 20:33:23 +10:30
elf32metag.sh ELF ld -r scripts 2018-10-13 20:33:23 +10:30
elf32microblaze.sh Fix some ld dependencies 2019-04-10 13:30:32 +09:30
elf32microblazeel.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf32mipswindiss.sh MIPS/LD: Correct `mips-*-windiss' target emulation configuration 2018-01-26 23:05:06 +00:00
elf32moxie.sh Bi-endian patches for moxie 2012-09-13 22:24:51 +00:00
elf32mt.sh Move .stack before debug sections 2017-02-20 19:33:28 +10:30
elf32or1k_linux.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf32or1k.sh Remove support for the (deprecated) openrisc and or32 configurations and replace 2014-04-22 15:57:47 +01:00
elf32ppc_fbsd.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf32ppc.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf32ppccommon.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf32ppclinux.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf32ppcnto.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf32ppcsim.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf32ppcvxworks.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf32ppcwindiss.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf32rl78.sh Define various symbols conditionally in shared libraries 2018-06-08 20:17:34 +09:30
elf32rx.sh Move .stack before debug sections 2017-02-20 19:33:28 +10:30
elf32tilegx_be.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf32tilegx.sh Don't hardcode .got.plt into DATA_SEGMENT_RELRO_END evaluation 2012-06-11 13:23:51 +00:00
elf32tilepro.sh Don't hardcode .got.plt into DATA_SEGMENT_RELRO_END evaluation 2012-06-11 13:23:51 +00:00
elf32vax.sh * scripttempl/elf.sc (NO_REL_RELOCS, NO_RELA_RELOCS, NON_ALLOC_DYN): 2008-10-22 05:20:44 +00:00
elf32visium.sh Add Visium support to ld 2014-12-06 16:45:22 +01:00
elf32xc16x.sh bfd/ 2006-05-30 16:45:32 +00:00
elf32xc16xl.sh bfd/ 2006-05-30 16:45:32 +00:00
elf32xc16xs.sh bfd/ 2006-05-30 16:45:32 +00:00
elf32xstormy16.sh
elf32xtensa.sh xtensa: ld: support -z relro 2018-03-07 13:05:12 -08:00
elf64_aix.sh bfd/ 2006-05-30 16:45:32 +00:00
elf64_ia64_fbsd.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf64_ia64_vms.sh * configure.ac (ia64*-*-*vms*): Add support for ld. 2012-04-12 07:35:07 +00:00
elf64_ia64.sh Stop the IA64 linker from removing unwind tables when garbage collecting. 2018-04-05 14:44:05 +01:00
elf64_s390.sh Revert "Add support to GNU ld to separate got related plt entries" 2019-03-01 15:35:00 +01:00
elf64_sparc_fbsd.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf64_sparc_sol2.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf64_sparc.sh * scripttempl/elf.sc (NO_REL_RELOCS, NO_RELA_RELOCS, NON_ALLOC_DYN): 2008-10-22 05:20:44 +00:00
elf64alpha_fbsd.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf64alpha_nbsd.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf64alpha.sh Remove trailing white spaces in ld 2013-01-10 20:08:03 +00:00
elf64bmip-defs.sh Add support for a MIPS specific .MIPS.xhash section. 2019-08-09 11:06:37 +01:00
elf64bmip.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf64bpf.sh ld: use a specific linker script in BPF targets 2019-08-07 13:57:30 +02:00
elf64btsmip_fbsd.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf64btsmip.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf64hppa.sh EXECUTABLE_SYMBOLS -> OTHER_SYMBOLS 2018-06-07 09:10:15 +09:30
elf64lppc.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf64lriscv_lp64.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf64lriscv_lp64f.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf64lriscv-defs.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf64lriscv.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf64ltsmip_fbsd.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf64ltsmip.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf64mmix.sh ld whitespace fixes 2017-10-12 23:30:43 +10:30
elf64ppc_fbsd.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf64ppc.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf64rdos.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf64tilegx_be.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf64tilegx.sh Don't hardcode .got.plt into DATA_SEGMENT_RELRO_END evaluation 2012-06-11 13:23:51 +00:00
elf_fbsd.sh
elf_i386_be.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf_i386_fbsd.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf_i386_ldso.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf_i386_nacl.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf_i386_sol2.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf_i386_vxworks.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf_i386.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf_iamcu.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf_k1om_fbsd.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf_k1om.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf_l1om_fbsd.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf_l1om.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf_nacl.sh ld/ 2013-08-23 22:38:42 +00:00
elf_s390.sh Revert "Add support to GNU ld to separate got related plt entries" 2019-03-01 15:35:00 +01:00
elf_x86_64_cloudabi.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf_x86_64_fbsd.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf_x86_64_nacl.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf_x86_64_sol2.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
elf_x86_64.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
extern_protected_data.sh [x86] Resolve non-PIC undefweak symbols in executable 2016-02-26 04:55:57 -08:00
h8300elf_linux.sh ld whitespace fixes 2017-10-12 23:30:43 +10:30
h8300elf.sh ld whitespace fixes 2017-10-12 23:30:43 +10:30
h8300helf_linux.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
h8300helf.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
h8300hnelf.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
h8300self_linux.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
h8300self.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
h8300snelf.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
h8300sxelf_linux.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
h8300sxelf.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
h8300sxnelf.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
hppa64linux.sh * configure.tgt: Only use elf64hppa target emulation for hpux. 2009-03-01 22:10:36 +00:00
hppaelf.sh
hppalinux.sh Support -z relro on hppa 2017-01-02 22:42:45 +10:30
hppanbsd.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
hppaobsd.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
i386aout.sh PR 4515 2007-08-09 11:02:24 +00:00
i386beos.sh strip off +x bits on non-executable/script files 2013-12-07 02:03:03 -05:00
i386bsd.sh PR 4515 2007-08-09 11:02:24 +00:00
i386go32.sh PR 4515 2007-08-09 11:02:24 +00:00
i386lynx.sh Fix i386-lynxos and other runtime linker fails 2019-04-08 14:11:57 +09:30
i386moss.sh Use elf-x86.em for i386-moss and i386-beos 2019-04-08 11:27:57 -07:00
i386msdos.sh PR 4515 2007-08-09 11:02:24 +00:00
i386nto.sh Fix i386-lynxos and other runtime linker fails 2019-04-08 14:11:57 +09:30
i386pe_posix.sh 2009-11-04 Kai Tietz <kai.tietz@onevision.com> 2009-11-04 18:13:05 +00:00
i386pe.sh Remove remaining default manifest support. 2014-04-09 17:12:30 +01:00
i386pep.sh Remove remaining default manifest support. 2014-04-09 17:12:30 +01:00
m9s12zelf.sh s12z genelf.em 2019-05-30 01:01:42 +09:30
m32relf_linux.sh bfd/ 2006-05-30 16:45:32 +00:00
m32relf.sh
m32rlelf_linux.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
m32rlelf.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
m68hc11elf.sh
m68hc11elfb.sh
m68hc12elf.sh
m68hc12elfb.sh
m68kelf.sh * emulparams/m68kelf.sh (NOP): Use 0x4e71 (nop) rather than 0x4e75 2009-09-29 16:28:52 +00:00
m68kelfnbsd.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
mcorepe.sh 2009-11-04 Kai Tietz <kai.tietz@onevision.com> 2009-11-04 18:13:05 +00:00
mmo.sh * scripttempl/mmo.sc: For relocateable links, set $OUTPUT_FORMAT to 2009-07-29 00:25:22 +00:00
mn10200.sh * scripttempl/elf.sc (NO_REL_RELOCS, NO_RELA_RELOCS, NON_ALLOC_DYN): 2008-10-22 05:20:44 +00:00
mn10300.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
moxiebox.sh Add moxiebox target 2014-07-27 08:51:20 -04:00
msp430elf.sh Fix the execution of the MSP430 simulator testsuite. 2016-01-05 16:43:58 +00:00
msp430X.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
nds32belf16m.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
nds32belf_linux.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
nds32belf.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
nds32elf16m.sh Allow ld target customiser script to force on disk scripts. 2014-01-17 10:41:49 +10:30
nds32elf_linux.sh Allow ld target customiser script to force on disk scripts. 2014-01-17 10:41:49 +10:30
nds32elf.sh Allow ld target customiser script to force on disk scripts. 2014-01-17 10:41:49 +10:30
nios2elf.sh Disable -shared support in nios2-elf-ld. 2018-02-02 23:00:02 -08:00
nios2linux.sh 2014-05-11 Chung-Lin Tang <cltang@codesourcery.com> 2014-05-11 10:04:45 -07:00
ns32knbsd.sh PR 4515 2007-08-09 11:02:24 +00:00
pc532macha.sh PR 4515 2007-08-09 11:02:24 +00:00
pdp11.sh
pjelf.sh * scripttempl/elf.sc (NO_REL_RELOCS, NO_RELA_RELOCS, NON_ALLOC_DYN): 2008-10-22 05:20:44 +00:00
pjlelf.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
plt_unwind.sh Add ld_list_options 2015-04-08 04:55:23 -07:00
ppclynx.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
ppcmacos.sh
ppcpe.sh 2009-11-04 Kai Tietz <kai.tietz@onevision.com> 2009-11-04 18:13:05 +00:00
pruelf.sh PRU LD Port 2016-12-31 12:04:11 +10:30
README Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
reloc_overflow.sh x86: Move x86-specific linker options to elf_linker_x86_params 2019-04-06 07:25:31 -07:00
score3_elf.sh Define various symbols conditionally in shared libraries 2018-06-08 20:17:34 +09:30
score7_elf.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
sh.sh
shelf_fd.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
shelf_linux.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
shelf_nbsd.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
shelf_nto.sh Define various symbols conditionally in shared libraries 2018-06-08 20:17:34 +09:30
shelf_uclinux.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
shelf_vxworks.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
shelf.sh ELF: Call check_relocs after opening all inputs 2017-10-16 03:50:13 -07:00
shl.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
shlelf_fd.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
shlelf_linux.sh ELF: Call check_relocs after opening all inputs 2017-10-16 03:50:13 -07:00
shlelf_nbsd.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
shlelf_nto.sh Define various symbols conditionally in shared libraries 2018-06-08 20:17:34 +09:30
shlelf_vxworks.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
shlelf.sh Automatic makefile dependencies for generated ld/e*.c 2019-04-13 12:13:22 +09:30
shpe.sh 2009-11-04 Kai Tietz <kai.tietz@onevision.com> 2009-11-04 18:13:05 +00:00
solaris2.sh Solaris PIE support 2015-09-22 11:12:51 +02:00
tic3xcoff_onchip.sh
tic3xcoff.sh
tic4xcoff.sh
tic30aout.sh
tic30coff.sh
tic54xcoff.sh
tic80coff.sh Remove trailing white spaces in ld 2013-01-10 20:08:03 +00:00
v850_rh850.sh Adds support for generating notes in V850 binaries. 2015-02-24 17:54:09 +00:00
v850.sh Adds support for generating notes in V850 binaries. 2015-02-24 17:54:09 +00:00
vanilla.sh
vaxnbsd.sh PR 4515 2007-08-09 11:02:24 +00:00
vxworks.sh ld whitespace fixes 2017-10-12 23:30:43 +10:30
xgateelf.sh xgate cleanup 2018-07-10 23:59:07 +09:30
z80.sh
z8001.sh
z8002.sh

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

The files in this directory are read by genscripts.sh as shell commands.
They set parameters for the emulations.

Copyright (C) 2012-2019 Free Software Foundation, Inc.

Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.