2019-04-23 15:12:27 +08:00
|
|
|
|
2019-04-23 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.am (GENDEPDIR): New var, used..
|
|
|
|
|
(GENSCRIPTS): ..here.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
* genscripts.sh: Test for $DEPDIR set before every use.
|
|
|
|
|
|
2019-04-20 05:03:18 +08:00
|
|
|
|
2019-04-22 Matthew Fortune <matthew.fortune@mips.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/ld-mips-elf/mips-elf-flags.exp: Fix expected ASEs
|
|
|
|
|
for M5100.
|
|
|
|
|
|
2019-04-19 11:03:46 +08:00
|
|
|
|
2019-04-19 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/ld-gc/skip-map-discarded.s: Add section attributes.
|
|
|
|
|
* testsuite/lib/ld-lib.exp (check_gc_sections_available): Add
|
|
|
|
|
s12z to list of targets not supporting --gc-sections.
|
|
|
|
|
|
2019-04-18 01:22:19 +08:00
|
|
|
|
2019-04-17 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/ld-i386/i386.exp: Run pr18801a and pr18801b instead
|
|
|
|
|
of pr18801.
|
|
|
|
|
* testsuite/ld-x86-64/x86-64.exp: Likewise.
|
|
|
|
|
* testsuite/ld-i386/pr18801.d: Removed.
|
|
|
|
|
* testsuite/ld-x86-64/pr18801.d: Likewise.
|
|
|
|
|
* testsuite/ld-i386/pr18801a.d: New file.
|
|
|
|
|
* testsuite/ld-i386/pr18801b.d: Likewise.
|
|
|
|
|
* testsuite/ld-x86-64/pr18801a.d: Likewise.
|
|
|
|
|
* testsuite/ld-x86-64/pr18801b.d: Likewise.
|
|
|
|
|
* testsuite/ld-x86-64/pie2.d: Suggest -fPIE instead of -fPIC.
|
|
|
|
|
* testsuite/ld-x86-64/pie2.d: Likewise.
|
|
|
|
|
* testsuite/ld-x86-64/pr19719.d: Likewise.
|
|
|
|
|
* testsuite/ld-x86-64/pr19807-2a.d: Likewise.
|
|
|
|
|
* testsuite/ld-x86-64/pr19969.d: Likewise.
|
|
|
|
|
* testsuite/ld-x86-64/pr21997-1a.err: Likewise.
|
|
|
|
|
* testsuite/ld-x86-64/pr21997-1b.err: Likewise.
|
|
|
|
|
* testsuite/ld-x86-64/pr22001-1a.err: Likewise.
|
|
|
|
|
* testsuite/ld-x86-64/pr22001-1b.err: Likewise.
|
|
|
|
|
* testsuite/ld-x86-64/pr22791-1.err: Likewise.
|
|
|
|
|
|
2019-04-18 00:08:46 +08:00
|
|
|
|
2019-04-17 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/24458
|
|
|
|
|
* testsuite/ld-x86-64/x86-64.exp: Run PR ld/24458 tests.
|
|
|
|
|
* testsuite/ld-x86-64/pr24458.s: New file.
|
|
|
|
|
* testsuite/ld-x86-64/pr24458a-x32.d: Likewise.
|
|
|
|
|
* testsuite/ld-x86-64/pr24458a.d: Likewise.
|
|
|
|
|
* testsuite/ld-x86-64/pr24458b-x32.d: Likewise.
|
|
|
|
|
* testsuite/ld-x86-64/pr24458b.d: Likewise.
|
|
|
|
|
* testsuite/ld-x86-64/pr24458c-x32.d: Likewise.
|
|
|
|
|
* testsuite/ld-x86-64/pr24458c.d: Likewise.
|
|
|
|
|
|
2019-04-17 22:05:08 +08:00
|
|
|
|
2019-04-17 Jozef Lawrynowicz <jozef.l@mittosystems.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-msp430.c (msp430_make_init_symbols): Define __crt0_init_bss
|
|
|
|
|
symbol when .lower.bss or .either.bss sections exist.
|
|
|
|
|
Define __crt0_movedata when .lower.data or .either.data sections exist.
|
|
|
|
|
* testsuite/gas/msp430/either-data-bss-sym.d: New test.
|
|
|
|
|
* testsuite/gas/msp430/low-data-bss-sym.d: New test.
|
|
|
|
|
* testsuite/gas/msp430/either-data-bss-sym.s: New test source.
|
|
|
|
|
* testsuite/gas/msp430/low-data-bss-sym.s: New test source.
|
|
|
|
|
* testsuite/gas/msp430/msp430.exp: Run new tests.
|
|
|
|
|
Enable large code model when running -mdata-region={upper,either}
|
|
|
|
|
tests.
|
|
|
|
|
|
2019-04-16 16:38:11 +08:00
|
|
|
|
2019-04-16 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/ld-scripts/pr20302.d: Don't run for ns32k-*-*.
|
|
|
|
|
* testsuite/ld-scripts/section-match-1.d: Likewise.
|
|
|
|
|
* testsuite/ld-undefined/require-defined.exp: Likewise.
|
|
|
|
|
|
2019-04-15 23:48:42 +08:00
|
|
|
|
2019-04-15 Faraz Shahbazker <fshahbazker@wavecomp.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/ld-gc/gc.exp: Skip print-map-discarded test for non-ELF
|
|
|
|
|
targets.
|
|
|
|
|
|
2019-04-15 18:53:25 +08:00
|
|
|
|
2019-04-15 Sudakshina Das <sudi.das@arm.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/ld-arm/bfcsel.s: New.
|
|
|
|
|
* testsuite/ld-arm/bfcsel.d: New.
|
|
|
|
|
* testsuite/ld-arm/arm-elf.exp: Add above test.
|
|
|
|
|
|
2019-04-15 18:42:10 +08:00
|
|
|
|
2019-04-15 Sudakshina Das <sudi.das@arm.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/ld-arm/bfl.s: New.
|
|
|
|
|
* testsuite/ld-arm/bfl.d: New.
|
|
|
|
|
* testsuite/ld-arm/arm-elf.exp: Add above test.
|
|
|
|
|
|
2019-04-15 18:25:12 +08:00
|
|
|
|
2019-04-15 Sudakshina Das <sudi.das@arm.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/ld-arm/bf.s: New.
|
|
|
|
|
* testsuite/ld-arm/bf.d: New.
|
|
|
|
|
* testsuite/ld-arm/arm-elf.exp: Add above test.
|
|
|
|
|
|
2019-04-15 17:54:42 +08:00
|
|
|
|
2019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/ld-arm/attr-merge-13.attr: New test.
|
|
|
|
|
* testsuite/ld-arm/attr-merge-13a.s: New test.
|
|
|
|
|
* testsuite/ld-arm/attr-merge-13b.s: New test.
|
|
|
|
|
|
Automatic makefile dependencies for generated ld/e*.c
This patch modifies genscripts.sh to emit dependency info along with
the generated emulation e*.c files. This is done by a new source_sh
function that records its arg to a file (.deps/e*.Tc), using the
function whenever a shell script is sourced. Entries in the file are
made unique and written to .deps/e*.Pc. These files are then
included by the Makefile.
* Makefile.am (GENSCRIPTS): Pass LIB_PATH as a parameter. Add
DEPDIR parameter.
(ELF_DEPS, ELF_GEN_DEPS, ELF_X86_DEPS): Delete.
(ALL_EMULATION_SOURCES, ALL_64_EMULATION_SOURCES): Depend on
$GEN_DEPENDS.
(e*.c): Delete all dependencies, instead include dependencies
from $DEPDIR/*.Pc.
* Makefile.in: Regenerate.
* configure.ac (source_sh): Define and use function.
* configure: Regenerate.
* emulparams/aarch64cloudabib.sh, * emulparams/aarch64elf32b.sh,
* emulparams/aarch64elfb.sh, * emulparams/aarch64fbsdb.sh,
* emulparams/aarch64linux32b.sh, * emulparams/aarch64linuxb.sh,
* emulparams/arcelf.sh, * emulparams/arcelf_prof.sh,
* emulparams/arclinux.sh, * emulparams/arclinux_nps.sh,
* emulparams/arclinux_prof.sh, * emulparams/arcv2elf.sh,
* emulparams/arcv2elfx.sh, * emulparams/armelf_fbsd.sh,
* emulparams/armelf_linux_eabi.sh,
* emulparams/armelf_linux_fdpiceabi.sh,
* emulparams/armelf_nacl.sh, * emulparams/armelf_nbsd.sh,
* emulparams/armelf_vxworks.sh, * emulparams/armelfb.sh,
* emulparams/armelfb_fbsd.sh, * emulparams/armelfb_fuchsia.sh,
* emulparams/armelfb_linux.sh, * emulparams/armelfb_linux_eabi.sh,
* emulparams/armelfb_linux_fdpiceabi.sh,
* emulparams/armelfb_nacl.sh, * emulparams/armelfb_nbsd.sh,
* emulparams/armsymbian.sh, * emulparams/cskyelf_linux.sh,
* emulparams/elf32_sparc_sol2.sh,
* emulparams/elf32_sparc_vxworks.sh, * emulparams/elf32_tic6x_be.sh,
* emulparams/elf32_tic6x_elf_be.sh,
* emulparams/elf32_tic6x_elf_le.sh,
* emulparams/elf32_tic6x_linux_be.sh,
* emulparams/elf32_tic6x_linux_le.sh,
* emulparams/elf32_x86_64.sh, * emulparams/elf32_x86_64_nacl.sh,
* emulparams/elf32b4300.sh, * emulparams/elf32bfinfd.sh,
* emulparams/elf32bmipn32.sh, * emulparams/elf32bsmip.sh,
* emulparams/elf32btsmip.sh, * emulparams/elf32btsmip_fbsd.sh,
* emulparams/elf32btsmipn32.sh, * emulparams/elf32btsmipn32_fbsd.sh,
* emulparams/elf32ebmip.sh, * emulparams/elf32ebmipvxworks.sh,
* emulparams/elf32elmip.sh, * emulparams/elf32elmipvxworks.sh,
* emulparams/elf32frvfd.sh, * emulparams/elf32l4300.sh,
* emulparams/elf32lm32fd.sh, * emulparams/elf32lmip.sh,
* emulparams/elf32lppc.sh, * emulparams/elf32lppclinux.sh,
* emulparams/elf32lppcnto.sh, * emulparams/elf32lppcsim.sh,
* emulparams/elf32lr5900.sh, * emulparams/elf32lr5900n32.sh,
* emulparams/elf32lriscv.sh, * emulparams/elf32lriscv_ilp32.sh,
* emulparams/elf32lriscv_ilp32f.sh, * emulparams/elf32lsmip.sh,
* emulparams/elf32ltsmip.sh, * emulparams/elf32ltsmip_fbsd.sh,
* emulparams/elf32ltsmipn32.sh, * emulparams/elf32ltsmipn32_fbsd.sh,
* emulparams/elf32microblazeel.sh, * emulparams/elf32or1k_linux.sh,
* emulparams/elf32ppc.sh, * emulparams/elf32ppc_fbsd.sh,
* emulparams/elf32ppccommon.sh, * emulparams/elf32ppclinux.sh,
* emulparams/elf32ppcnto.sh, * emulparams/elf32ppcsim.sh,
* emulparams/elf32ppcvxworks.sh, * emulparams/elf32ppcwindiss.sh,
* emulparams/elf32tilegx_be.sh, * emulparams/elf64_ia64_fbsd.sh,
* emulparams/elf64_sparc_fbsd.sh, * emulparams/elf64_sparc_sol2.sh,
* emulparams/elf64alpha_fbsd.sh, * emulparams/elf64alpha_nbsd.sh,
* emulparams/elf64bmip-defs.sh, * emulparams/elf64bmip.sh,
* emulparams/elf64btsmip.sh, * emulparams/elf64btsmip_fbsd.sh,
* emulparams/elf64lppc.sh, * emulparams/elf64lriscv-defs.sh,
* emulparams/elf64lriscv.sh, * emulparams/elf64lriscv_lp64.sh,
* emulparams/elf64lriscv_lp64f.sh, * emulparams/elf64ltsmip.sh,
* emulparams/elf64ltsmip_fbsd.sh, * emulparams/elf64ppc.sh,
* emulparams/elf64ppc_fbsd.sh, * emulparams/elf64rdos.sh,
* emulparams/elf64tilegx_be.sh, * emulparams/elf_i386.sh,
* emulparams/elf_i386_be.sh, * emulparams/elf_i386_fbsd.sh,
* emulparams/elf_i386_ldso.sh, * emulparams/elf_i386_nacl.sh,
* emulparams/elf_i386_sol2.sh, * emulparams/elf_i386_vxworks.sh,
* emulparams/elf_iamcu.sh, * emulparams/elf_k1om.sh,
* emulparams/elf_k1om_fbsd.sh, * emulparams/elf_l1om.sh,
* emulparams/elf_l1om_fbsd.sh, * emulparams/elf_x86_64.sh,
* emulparams/elf_x86_64_cloudabi.sh,
* emulparams/elf_x86_64_fbsd.sh, * emulparams/elf_x86_64_nacl.sh,
* emulparams/elf_x86_64_sol2.sh, * emulparams/h8300helf.sh,
* emulparams/h8300helf_linux.sh, * emulparams/h8300hnelf.sh,
* emulparams/h8300self.sh, * emulparams/h8300self_linux.sh,
* emulparams/h8300snelf.sh, * emulparams/h8300sxelf.sh,
* emulparams/h8300sxelf_linux.sh, * emulparams/h8300sxnelf.sh,
* emulparams/hppanbsd.sh, * emulparams/hppaobsd.sh,
* emulparams/m32rlelf.sh, * emulparams/m32rlelf_linux.sh,
* emulparams/m68kelfnbsd.sh, * emulparams/mn10300.sh,
* emulparams/msp430X.sh, * emulparams/nds32belf.sh,
* emulparams/nds32belf16m.sh, * emulparams/nds32belf_linux.sh,
* emulparams/pjlelf.sh, * emulparams/ppclynx.sh,
* emulparams/score7_elf.sh, * emulparams/shelf_fd.sh,
* emulparams/shelf_linux.sh, * emulparams/shelf_nbsd.sh,
* emulparams/shelf_uclinux.sh, * emulparams/shelf_vxworks.sh,
* emulparams/shl.sh, * emulparams/shlelf.sh,
* emulparams/shlelf_fd.sh, * emulparams/shlelf_nbsd.sh,
* emulparams/shlelf_vxworks.sh: Use source_sh.
* genscripts.sh: Adjust for changed parameters. Emit dependencies
for e*.c to .deps/*.Pc.
(source_sh): New function, use it throughout to source scripts.
* genscrba.sh (source_em): Use source_sh.
2019-04-12 19:02:57 +08:00
|
|
|
|
2019-04-13 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.am (GENSCRIPTS): Pass LIB_PATH as a parameter. Add
|
|
|
|
|
DEPDIR parameter.
|
|
|
|
|
(ELF_DEPS, ELF_GEN_DEPS, ELF_X86_DEPS): Delete.
|
|
|
|
|
(ALL_EMULATION_SOURCES, ALL_64_EMULATION_SOURCES): Depend on
|
|
|
|
|
$GEN_DEPENDS.
|
|
|
|
|
(e*.c): Delete all dependencies, instead include dependencies
|
|
|
|
|
from $DEPDIR/*.Pc.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
* configure.ac (source_sh): Define and use function.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* emulparams/aarch64cloudabib.sh, * emulparams/aarch64elf32b.sh,
|
|
|
|
|
* emulparams/aarch64elfb.sh, * emulparams/aarch64fbsdb.sh,
|
|
|
|
|
* emulparams/aarch64linux32b.sh, * emulparams/aarch64linuxb.sh,
|
|
|
|
|
* emulparams/arcelf.sh, * emulparams/arcelf_prof.sh,
|
|
|
|
|
* emulparams/arclinux.sh, * emulparams/arclinux_nps.sh,
|
|
|
|
|
* emulparams/arclinux_prof.sh, * emulparams/arcv2elf.sh,
|
|
|
|
|
* emulparams/arcv2elfx.sh, * emulparams/armelf_fbsd.sh,
|
|
|
|
|
* emulparams/armelf_linux_eabi.sh,
|
|
|
|
|
* emulparams/armelf_linux_fdpiceabi.sh,
|
|
|
|
|
* emulparams/armelf_nacl.sh, * emulparams/armelf_nbsd.sh,
|
|
|
|
|
* emulparams/armelf_vxworks.sh, * emulparams/armelfb.sh,
|
|
|
|
|
* emulparams/armelfb_fbsd.sh, * emulparams/armelfb_fuchsia.sh,
|
|
|
|
|
* emulparams/armelfb_linux.sh, * emulparams/armelfb_linux_eabi.sh,
|
|
|
|
|
* emulparams/armelfb_linux_fdpiceabi.sh,
|
|
|
|
|
* emulparams/armelfb_nacl.sh, * emulparams/armelfb_nbsd.sh,
|
|
|
|
|
* emulparams/armsymbian.sh, * emulparams/cskyelf_linux.sh,
|
|
|
|
|
* emulparams/elf32_sparc_sol2.sh,
|
|
|
|
|
* emulparams/elf32_sparc_vxworks.sh, * emulparams/elf32_tic6x_be.sh,
|
|
|
|
|
* emulparams/elf32_tic6x_elf_be.sh,
|
|
|
|
|
* emulparams/elf32_tic6x_elf_le.sh,
|
|
|
|
|
* emulparams/elf32_tic6x_linux_be.sh,
|
|
|
|
|
* emulparams/elf32_tic6x_linux_le.sh,
|
|
|
|
|
* emulparams/elf32_x86_64.sh, * emulparams/elf32_x86_64_nacl.sh,
|
|
|
|
|
* emulparams/elf32b4300.sh, * emulparams/elf32bfinfd.sh,
|
|
|
|
|
* emulparams/elf32bmipn32.sh, * emulparams/elf32bsmip.sh,
|
|
|
|
|
* emulparams/elf32btsmip.sh, * emulparams/elf32btsmip_fbsd.sh,
|
|
|
|
|
* emulparams/elf32btsmipn32.sh, * emulparams/elf32btsmipn32_fbsd.sh,
|
|
|
|
|
* emulparams/elf32ebmip.sh, * emulparams/elf32ebmipvxworks.sh,
|
|
|
|
|
* emulparams/elf32elmip.sh, * emulparams/elf32elmipvxworks.sh,
|
|
|
|
|
* emulparams/elf32frvfd.sh, * emulparams/elf32l4300.sh,
|
|
|
|
|
* emulparams/elf32lm32fd.sh, * emulparams/elf32lmip.sh,
|
|
|
|
|
* emulparams/elf32lppc.sh, * emulparams/elf32lppclinux.sh,
|
|
|
|
|
* emulparams/elf32lppcnto.sh, * emulparams/elf32lppcsim.sh,
|
|
|
|
|
* emulparams/elf32lr5900.sh, * emulparams/elf32lr5900n32.sh,
|
|
|
|
|
* emulparams/elf32lriscv.sh, * emulparams/elf32lriscv_ilp32.sh,
|
|
|
|
|
* emulparams/elf32lriscv_ilp32f.sh, * emulparams/elf32lsmip.sh,
|
|
|
|
|
* emulparams/elf32ltsmip.sh, * emulparams/elf32ltsmip_fbsd.sh,
|
|
|
|
|
* emulparams/elf32ltsmipn32.sh, * emulparams/elf32ltsmipn32_fbsd.sh,
|
|
|
|
|
* emulparams/elf32microblazeel.sh, * emulparams/elf32or1k_linux.sh,
|
|
|
|
|
* emulparams/elf32ppc.sh, * emulparams/elf32ppc_fbsd.sh,
|
|
|
|
|
* emulparams/elf32ppccommon.sh, * emulparams/elf32ppclinux.sh,
|
|
|
|
|
* emulparams/elf32ppcnto.sh, * emulparams/elf32ppcsim.sh,
|
|
|
|
|
* emulparams/elf32ppcvxworks.sh, * emulparams/elf32ppcwindiss.sh,
|
|
|
|
|
* emulparams/elf32tilegx_be.sh, * emulparams/elf64_ia64_fbsd.sh,
|
|
|
|
|
* emulparams/elf64_sparc_fbsd.sh, * emulparams/elf64_sparc_sol2.sh,
|
|
|
|
|
* emulparams/elf64alpha_fbsd.sh, * emulparams/elf64alpha_nbsd.sh,
|
|
|
|
|
* emulparams/elf64bmip-defs.sh, * emulparams/elf64bmip.sh,
|
|
|
|
|
* emulparams/elf64btsmip.sh, * emulparams/elf64btsmip_fbsd.sh,
|
|
|
|
|
* emulparams/elf64lppc.sh, * emulparams/elf64lriscv-defs.sh,
|
|
|
|
|
* emulparams/elf64lriscv.sh, * emulparams/elf64lriscv_lp64.sh,
|
|
|
|
|
* emulparams/elf64lriscv_lp64f.sh, * emulparams/elf64ltsmip.sh,
|
|
|
|
|
* emulparams/elf64ltsmip_fbsd.sh, * emulparams/elf64ppc.sh,
|
|
|
|
|
* emulparams/elf64ppc_fbsd.sh, * emulparams/elf64rdos.sh,
|
|
|
|
|
* emulparams/elf64tilegx_be.sh, * emulparams/elf_i386.sh,
|
|
|
|
|
* emulparams/elf_i386_be.sh, * emulparams/elf_i386_fbsd.sh,
|
|
|
|
|
* emulparams/elf_i386_ldso.sh, * emulparams/elf_i386_nacl.sh,
|
|
|
|
|
* emulparams/elf_i386_sol2.sh, * emulparams/elf_i386_vxworks.sh,
|
|
|
|
|
* emulparams/elf_iamcu.sh, * emulparams/elf_k1om.sh,
|
|
|
|
|
* emulparams/elf_k1om_fbsd.sh, * emulparams/elf_l1om.sh,
|
|
|
|
|
* emulparams/elf_l1om_fbsd.sh, * emulparams/elf_x86_64.sh,
|
|
|
|
|
* emulparams/elf_x86_64_cloudabi.sh,
|
|
|
|
|
* emulparams/elf_x86_64_fbsd.sh, * emulparams/elf_x86_64_nacl.sh,
|
|
|
|
|
* emulparams/elf_x86_64_sol2.sh, * emulparams/h8300helf.sh,
|
|
|
|
|
* emulparams/h8300helf_linux.sh, * emulparams/h8300hnelf.sh,
|
|
|
|
|
* emulparams/h8300self.sh, * emulparams/h8300self_linux.sh,
|
|
|
|
|
* emulparams/h8300snelf.sh, * emulparams/h8300sxelf.sh,
|
|
|
|
|
* emulparams/h8300sxelf_linux.sh, * emulparams/h8300sxnelf.sh,
|
|
|
|
|
* emulparams/hppanbsd.sh, * emulparams/hppaobsd.sh,
|
|
|
|
|
* emulparams/m32rlelf.sh, * emulparams/m32rlelf_linux.sh,
|
|
|
|
|
* emulparams/m68kelfnbsd.sh, * emulparams/mn10300.sh,
|
|
|
|
|
* emulparams/msp430X.sh, * emulparams/nds32belf.sh,
|
|
|
|
|
* emulparams/nds32belf16m.sh, * emulparams/nds32belf_linux.sh,
|
|
|
|
|
* emulparams/pjlelf.sh, * emulparams/ppclynx.sh,
|
|
|
|
|
* emulparams/score7_elf.sh, * emulparams/shelf_fd.sh,
|
|
|
|
|
* emulparams/shelf_linux.sh, * emulparams/shelf_nbsd.sh,
|
|
|
|
|
* emulparams/shelf_uclinux.sh, * emulparams/shelf_vxworks.sh,
|
|
|
|
|
* emulparams/shl.sh, * emulparams/shlelf.sh,
|
|
|
|
|
* emulparams/shlelf_fd.sh, * emulparams/shlelf_nbsd.sh,
|
|
|
|
|
* emulparams/shlelf_vxworks.sh: Use source_sh.
|
|
|
|
|
* genscripts.sh: Adjust for changed parameters. Emit dependencies
|
|
|
|
|
for e*.c to .deps/*.Pc.
|
|
|
|
|
(source_sh): New function, use it throughout to source scripts.
|
|
|
|
|
* genscrba.sh (source_em): Use source_sh.
|
|
|
|
|
|
2019-04-12 17:32:44 +08:00
|
|
|
|
2019-04-13 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* configure.ac (TDIRS): Build up tdirs in this variable and
|
|
|
|
|
AC_SUBST, also using AM_SUBST_NOTMAKE.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* Makefile.am (DISTCLEANFILES): Remove tdirs.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
|
2019-04-12 20:15:21 +08:00
|
|
|
|
2019-04-12 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR 24450
|
|
|
|
|
* ld.texi (Output Section Attributes): Add ALIGN_WITH_INPUT to
|
|
|
|
|
example of section attributes.
|
|
|
|
|
|
2019-04-03 04:17:16 +08:00
|
|
|
|
2019-04-11 Faraz Shahbazker <fshahbazker@wavecomp.com>
|
|
|
|
|
|
|
|
|
|
* NEWS: Mention new option --no-print-map-discarded.
|
|
|
|
|
* ld.h (ld_config_type) <print_map_discarded>: New field.
|
|
|
|
|
* ldlang.c (lang_map): Conditionally output discarded sections
|
|
|
|
|
in map files based on configuration option.
|
|
|
|
|
* ldlex.h (option_values) <OPTION_PRINT_MAP_DISCARDED,
|
|
|
|
|
OPTION_NO_PRINT_MAP_DISCARDED>: New.
|
|
|
|
|
* ldmain.c (main): Enabled print_map_discarded by default.
|
|
|
|
|
* lexsup.c (ld_options): Add new command-line options.
|
|
|
|
|
(parse_args) <OPTION_NO_PRINT_MAP_DISCARDED,
|
|
|
|
|
OPTION_PRINT_MAP_DISCARDED>: New cases.
|
|
|
|
|
* ld.texi: Document new options.
|
|
|
|
|
* testsuite/ld-gc/gc.exp: Add new test.
|
|
|
|
|
* testsuite/ld-gc/skip-map-discarded.s: New file.
|
|
|
|
|
* testsuite/ld-gc/skip-map-discarded.d: New file.
|
|
|
|
|
* testsuite/ld-gc/skip-map-discarded.map: New file.
|
|
|
|
|
|
2019-04-11 23:18:51 +08:00
|
|
|
|
2019-04-11 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld.texi: Document -z cet-report=[none|warning|error].
|
|
|
|
|
* emulparams/cet.sh: Add -z cet-report=[none|warning|error].
|
|
|
|
|
* testsuite/ld-i386/i386.exp: Run -z cet-report=[warning|error]
|
|
|
|
|
tests.
|
|
|
|
|
* testsuite/ld-x86-64/x86-64.exp: Likewise.
|
|
|
|
|
* testsuite/ld-i386/property-x86-cet1.d: New file.
|
|
|
|
|
* testsuite/ld-i386/property-x86-cet2a.d: Likewise.
|
|
|
|
|
* testsuite/ld-i386/property-x86-cet2b.d: Likewise.
|
|
|
|
|
* testsuite/ld-i386/property-x86-cet3a.d: Likewise.
|
|
|
|
|
* testsuite/ld-i386/property-x86-cet3b.d: Likewise.
|
|
|
|
|
* testsuite/ld-i386/property-x86-cet4a.d: Likewise.
|
|
|
|
|
* testsuite/ld-i386/property-x86-cet4b.d: Likewise.
|
|
|
|
|
* testsuite/ld-i386/property-x86-cet5a.d: Likewise.
|
|
|
|
|
* testsuite/ld-i386/property-x86-cet5b.d: Likewise.
|
|
|
|
|
* testsuite/ld-i386/property-x86-cet6.d: Likewise.
|
|
|
|
|
* testsuite/ld-x86-64/property-x86-cet.s: Likewise.
|
|
|
|
|
* testsuite/ld-x86-64/property-x86-cet1-x32.d: Likewise.
|
|
|
|
|
* testsuite/ld-x86-64/property-x86-cet1.d: Likewise.
|
|
|
|
|
* testsuite/ld-x86-64/property-x86-cet2a-x32.d: Likewise.
|
|
|
|
|
* testsuite/ld-x86-64/property-x86-cet2a.d: Likewise.
|
|
|
|
|
* testsuite/ld-x86-64/property-x86-cet2b-x32.d: Likewise.
|
|
|
|
|
* testsuite/ld-x86-64/property-x86-cet2b.d: Likewise.
|
|
|
|
|
* testsuite/ld-x86-64/property-x86-cet3a-x32.d: Likewise.
|
|
|
|
|
* testsuite/ld-x86-64/property-x86-cet3a.d: Likewise.
|
|
|
|
|
* testsuite/ld-x86-64/property-x86-cet3b-x32.d: Likewise.
|
|
|
|
|
* testsuite/ld-x86-64/property-x86-cet3b.d: Likewise.
|
|
|
|
|
* testsuite/ld-x86-64/property-x86-cet4a-x32.d: Likewise.
|
|
|
|
|
* testsuite/ld-x86-64/property-x86-cet4a.d: Likewise.
|
|
|
|
|
* testsuite/ld-x86-64/property-x86-cet4b-x32.d: Likewise.
|
|
|
|
|
* testsuite/ld-x86-64/property-x86-cet4b.d: Likewise.
|
|
|
|
|
* testsuite/ld-x86-64/property-x86-cet5a-x32.d: Likewise.
|
|
|
|
|
* testsuite/ld-x86-64/property-x86-cet5a.d: Likewise.
|
|
|
|
|
* testsuite/ld-x86-64/property-x86-cet5b-x32.d: Likewise.
|
|
|
|
|
* testsuite/ld-x86-64/property-x86-cet5b.d: Likewise.
|
|
|
|
|
* testsuite/ld-x86-64/property-x86-cet6-x32.d: Likewise.
|
|
|
|
|
* testsuite/ld-x86-64/property-x86-cet6.d: Likewise.
|
|
|
|
|
|
2019-04-11 21:52:03 +08:00
|
|
|
|
2019-04-11 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/config/default.exp (STATIC_PIE_LDFLAGS): New. Set
|
|
|
|
|
to "-static-pie" if target compiler supports it.
|
|
|
|
|
* testsuite/ld-elf/elf.exp: Run -static-pie tests if
|
|
|
|
|
$STATIC_PIE_LDFLAGS isn't empty.
|
|
|
|
|
* testsuite/ld-ifunc/ifunc.exp: Likewise.
|
|
|
|
|
|
2019-04-11 18:27:28 +08:00
|
|
|
|
2019-04-11 Tamar Christina <tamar.christina@arm.com>
|
|
|
|
|
|
|
|
|
|
PR ld/24302
|
|
|
|
|
* testsuite/ld-aarch64/aarch64-elf.exp: Add new test.
|
|
|
|
|
* testsuite/ld-aarch64/tls-relax-gdesc-le-now.d: New test.
|
|
|
|
|
|
2019-04-11 09:36:05 +08:00
|
|
|
|
2019-04-10 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* scripttempl/elf.sc (CREATE_PIC): New. Set for CREATE_SHLIB or
|
|
|
|
|
CREATE_PIE.
|
|
|
|
|
(__rel_iplt_start): Don't define for CREATE_PIC.
|
|
|
|
|
(__rel_iplt_end): Likewise.
|
|
|
|
|
(__rela_iplt_start): Likewise.
|
|
|
|
|
(__rela_iplt_end): Likewise.
|
|
|
|
|
|
2019-04-10 14:00:37 +08:00
|
|
|
|
2019-04-10 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/ld-elf/shared.exp: Don't xfail PR ld/20995 for
|
|
|
|
|
powerpc-nto.
|
|
|
|
|
|
2019-04-10 10:28:15 +08:00
|
|
|
|
2019-04-10 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* emultempl/cskyelf.em (csk_elf_before_parse): New function,
|
|
|
|
|
setting use_branch_stub false for linux.
|
|
|
|
|
(csky_elf_create_output_section_statements): Do emit this
|
|
|
|
|
function and all others in the file for linux, plus the branch
|
|
|
|
|
option control. Disable branch stubs when non-ELF.
|
|
|
|
|
|
2019-04-10 10:05:48 +08:00
|
|
|
|
2019-04-10 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.am (eskyelf.c, eskyelf_linux.c): Depend on cskyelf.em.
|
|
|
|
|
(ecskyelf_linux.c): Depend on cskyelf.sh.
|
|
|
|
|
(eelf32microblazeel.c): Depend on elf32microblaze.sh.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
* emulparams/cskyelf.sh: Comment regarding cskelf_linux.sh.
|
|
|
|
|
(PAGE_SIZE): Don't define.
|
|
|
|
|
* emulparams/cskyelf_linux.sh: Source sckyelf.sh, leaving just
|
|
|
|
|
the differing variable defs/undefs.
|
|
|
|
|
* emulparams/elf32mcore.sh (PAGE_SIZE): Don't define.
|
|
|
|
|
* emulparams/elf32microblaze.sh: Comment re. elf32microblazeel.sh.
|
|
|
|
|
(OUTPUT_FORMAT): Use BIG_OUTPUT_FORMAT.
|
|
|
|
|
(PAGE_SIZE): Don't define.
|
|
|
|
|
* emulparams/elf32microblazeel.sh: Source elf32microblaze.sh,
|
|
|
|
|
leaving just the differing OUTPUT_FORMAT.
|
|
|
|
|
|
2019-04-10 10:27:00 +08:00
|
|
|
|
2019-04-10 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* po/BLD-POTFILES.in: Regenerate.
|
|
|
|
|
|
2019-04-09 04:54:20 +08:00
|
|
|
|
2019-04-08 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/ld-elf/shared.exp: XFAIL PR ld/20995 tests for
|
|
|
|
|
lynxos and nto targets.
|
|
|
|
|
|
2019-04-09 02:58:51 +08:00
|
|
|
|
2019-04-08 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.am (ALL_EMULATION_SOURCES): Remove eelf_i386_chaos.c.
|
|
|
|
|
(eelf_i386_chaos.c): Removed.
|
|
|
|
|
* Makefile.in: Regenerated.
|
|
|
|
|
* configure.tgt: Remove i[3-7]86-*-kaos*.
|
|
|
|
|
* emulparams/elf_i386_chaos.sh: Removed.
|
|
|
|
|
|
2019-04-09 02:27:57 +08:00
|
|
|
|
2019-04-08 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* emulparams/elf_i386_be.sh (EXTRA_EM_FILE): New.
|
|
|
|
|
* emulparams/i386moss.sh (EXTRA_EM_FILE): Likewise.
|
|
|
|
|
|
2019-04-08 12:37:35 +08:00
|
|
|
|
2019-04-08 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* emulparams/elf64rdos.sh (EXTRA_EM_FILE): Define.
|
|
|
|
|
* emulparams/i386lynx.sh (EXTRA_EM_FILE): Define.
|
|
|
|
|
* emulparams/i386nto.sh (EXTRA_EM_FILE): Define.
|
|
|
|
|
|
2019-04-06 22:25:10 +08:00
|
|
|
|
2019-04-06 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.am (ELF_X86_DEPS): Add $(srcdir)/emultempl/elf-x86.em.
|
|
|
|
|
(eelf_i386_sol2.c): Also depend on
|
|
|
|
|
$(srcdir)/emultempl/solaris2-x86.em.
|
|
|
|
|
(eelf_x86_64_sol2.c): Likewise.
|
|
|
|
|
* Makefile.in: Regenerated.
|
|
|
|
|
* emulparams/call_nop.sh: Set x86-specific linker options via
|
|
|
|
|
params.
|
|
|
|
|
* emulparams/cet.sh: Likewise.
|
|
|
|
|
* emulparams/reloc_overflow.sh: Likewise.
|
|
|
|
|
* emulparams/elf32_x86_64.sh (EXTRA_EM_FILE): New. Set to
|
|
|
|
|
"elf-x86".
|
|
|
|
|
* emulparams/elf_i386.sh: Likewise.
|
|
|
|
|
* emulparams/elf_i386_be.sh: Likewise.
|
|
|
|
|
* emulparams/elf_i386_chaos.sh: Likewise.
|
|
|
|
|
* emulparams/elf_i386_ldso.sh: Likewise.
|
|
|
|
|
* emulparams/elf_i386_vxworks.sh: Likewise.
|
|
|
|
|
* emulparams/elf_iamcu.sh: Likewise.
|
|
|
|
|
* emulparams/elf_k1om.sh: Likewise.
|
|
|
|
|
* emulparams/elf_l1om.sh: Likewise.
|
|
|
|
|
* emulparams/elf_x86_64.sh: Likewise.
|
|
|
|
|
* emulparams/elf_i386_sol2.sh (EXTRA_EM_FILE): Changed to
|
|
|
|
|
"solaris2-x86".
|
|
|
|
|
* emulparams/elf_x86_64_sol2.sh: Likewise.
|
|
|
|
|
* emultempl/elf-x86.em: New file.
|
|
|
|
|
* emultempl/solaris2-x86.em: Likewise.
|
|
|
|
|
* emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
|
|
|
|
|
set link_info.call_nop_byte.
|
|
|
|
|
|
2019-04-05 06:50:16 +08:00
|
|
|
|
2019-04-05 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/ld-powerpc/tlsexe32.d: Remove trailing spaces.
|
|
|
|
|
* testsuite/ld-powerpc/tlsopt5.d: Likewise.
|
|
|
|
|
* testsuite/ld-powerpc/tlsopt5_32.d: Likewise.
|
|
|
|
|
|
2019-04-03 08:51:36 +08:00
|
|
|
|
2019-04-03 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR 24411
|
|
|
|
|
ldlex.l (SYMBOLNAMECHAR1): Don't match '/'.
|
|
|
|
|
(<EXPRESSION>"/DISCARD/"): New.
|
|
|
|
|
|
2019-04-03 08:58:17 +08:00
|
|
|
|
2019-04-03 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ldlex.l: Formatting.
|
|
|
|
|
(CMDFILENAMECHAR, CMDFILENAMECHAR1): Delete.
|
|
|
|
|
(FILENAMECHAR1, SYMBOLNAMECHAR1, FILENAMECHAR, WILDCHAR),
|
|
|
|
|
(NOCFILENAMECHAR): Remove duplicate chars. Reorder.
|
|
|
|
|
(SYMBOLCHARN): Likewise. Rename to SYMBOLNAMECHAR.
|
|
|
|
|
(<INPUTLIST>"$SYSROOT"..): Delete rule.
|
|
|
|
|
|
2019-03-29 08:03:57 +08:00
|
|
|
|
2019-03-29 Max Filippov <jcmvbkbc@gmail.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/ld-xtensa/relax-undef-weak-pie-export-dynamic.d: New
|
|
|
|
|
test definition.
|
|
|
|
|
* testsuite/ld-xtensa/xtensa.exp
|
|
|
|
|
(relax-undef-weak-pie-export-dynamic): Add new test.
|
|
|
|
|
|
2019-03-26 17:40:04 +08:00
|
|
|
|
2019-03-26 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* plugin.c (get_symbols): Add lto_kind_str, lto_resolution_str,
|
|
|
|
|
lto_visibility_str and use then to inform about plugin-symbols.
|
|
|
|
|
* testsuite/ld-plugin/plugin-12.d: Adjust expected pattern.
|
|
|
|
|
|
Arm: Fix Arm disassembler mapping symbol search.
Similar to the AArch64 patches the Arm disassembler has the same issues with
out of order sections but also a few short comings.
For one thing there are multiple code blocks to determine mapping symbols, and
they all work slightly different, and neither fully correct. The first thing
this patch does is centralise the mapping symbols search into one function
mapping_symbol_for_insn. This function is then updated to perform a search in
a similar way as AArch64.
Their used to be a value has_mapping_symbols which was used to determine the
default disassembly for objects that have no mapping symbols. The problem with
the approach was that it was determining this value in the same loop that needed
it, which is why this field could take on the states -1, 0, 1 where -1 means
"don't know". However this means that until you actually find a mapping symbol
or reach the end of the disassembly glob, you don't know if you did the right
action or not, and if you didn't you can't correct it anymore.
This is why the two jump-reloc-veneers-* testcases end up disassembling some
insn as data when they shouldn't.
Out of order here refers to an object file where sections are not listed in a
monotonic increasing VMA order.
The ELF ABI for Arm [1] specifies the following for mapping symbols:
1) A text section must always have a corresponding mapping symbol at it's
start.
2) Data sections do not require any mapping symbols.
3) The range of a mapping symbol extends from the address it starts on up to
the next mapping symbol (exclusive) or section end (inclusive).
However there is no defined order between a symbol and it's corresponding
mapping symbol in the symbol table. This means that while in general we look
up for a corresponding mapping symbol, we have to make at least one check of
the symbol below the address being disassembled.
When disassembling different PCs within the same section, the search for mapping
symbol can be cached somewhat. We know that the mapping symbol corresponding to
the current PC is either the previous one used, or one at the same address as
the current PC.
However this optimization and mapping symbol search must stop as soon as we
reach the end or start of the section. Furthermore if we're only disassembling
a part of a section, the search is a allowed to search further than the current
chunk, but is not allowed to search past it (The mapping symbol if there, must
be at the same address, so in practice we usually stop at PC+4).
lastly, since only data sections don't require a mapping symbol the default
mapping type should be DATA and not INSN as previously defined, however if the
binary has had all its symbols stripped than this isn't very useful. To fix
this we determine the default based on the section flags. This will allow the
disassembler to be more useful on stripped binaries. If there is no section
than we assume you to be disassembling INSN.
[1] https://developer.arm.com/docs/ihi0044/latest/elf-for-the-arm-architecture-abi-2018q4-documentation#aaelf32-table4-7
binutils/ChangeLog:
* testsuite/binutils-all/arm/in-order-all.d: New test.
* testsuite/binutils-all/arm/in-order.d: New test.
* testsuite/binutils-all/arm/objdump.exp: Support .d tests.
* testsuite/binutils-all/arm/out-of-order-all.d: New test.
* testsuite/binutils-all/arm/out-of-order.T: New test.
* testsuite/binutils-all/arm/out-of-order.d: New test.
* testsuite/binutils-all/arm/out-of-order.s: New test.
ld/ChangeLog:
* testsuite/ld-arm/jump-reloc-veneers-cond-long.d: Update disassembly.
* testsuite/ld-arm/jump-reloc-veneers-long.d: Update disassembly.
opcodes/ChangeLog:
* arm-dis.c (struct arm_private_data): Remove has_mapping_symbols.
(mapping_symbol_for_insn): Implement new algorithm.
(print_insn): Remove duplicate code.
2019-03-25 20:16:17 +08:00
|
|
|
|
2019-03-25 Tamar Christina <tamar.christina@arm.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/ld-arm/jump-reloc-veneers-cond-long.d: Update disassembly.
|
|
|
|
|
* testsuite/ld-arm/jump-reloc-veneers-long.d: Update disassembly.
|
|
|
|
|
|
2019-03-22 00:20:21 +08:00
|
|
|
|
2019-03-21 Sudakshina Das <sudi.das@arm.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/ld-aarch64/aarch64-elf.exp: Add new test.
|
|
|
|
|
* testsuite/ld-aarch64/bti-plt-1.s: Add .ifdef for PAC note section.
|
|
|
|
|
* testsuite/ld-aarch64/bti-plt-6.d: Update warning.
|
|
|
|
|
* testsuite/ld-aarch64/bti-plt-7.d: Likewise.
|
|
|
|
|
* testsuite/ld-aarch64/bti-warn.d: New test.
|
|
|
|
|
|
2019-03-21 13:31:08 +08:00
|
|
|
|
2019-03-21 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/ld-elf/fini2.s: Reduce alignment.
|
|
|
|
|
* testsuite/ld-elf/fini3.s: Likewise.
|
|
|
|
|
* testsuite/ld-elf/finin.s: Likewise.
|
|
|
|
|
* testsuite/ld-elf/init2.s: Likewise.
|
|
|
|
|
* testsuite/ld-elf/init3.s: Likewise.
|
|
|
|
|
* testsuite/ld-elf/initn.s: Likewise.
|
|
|
|
|
* testsuite/ld-elf/pr14156a.d: Don't xfail m68hc1*-* or xgate-*.
|
|
|
|
|
* testsuite/ld-elf/pr14156b.d: Don't xfail xgate-*.
|
|
|
|
|
|
Add SORT_NONE to .init and .fini in scripts
The special case for .init and .fini in update_wild_statements is
ineffective for .init or .fini wildcards inside other output sections.
The special case needs to be on the wildcard, not the output section.
This patch is belt and braces, both fixing update_wild_statements and
the scripts.
* scripttempl/alpha.sc, * scripttempl/armbpabi.sc,
* scripttempl/crisaout.sc, * scripttempl/elf32cr16.sc,
* scripttempl/elf32crx.sc, * scripttempl/elf32xc16x.sc,
* scripttempl/elf32xc16xl.sc, * scripttempl/elf32xc16xs.sc,
* scripttempl/elf64hppa.sc, * scripttempl/elf_chaos.sc,
* scripttempl/elfarc.sc, * scripttempl/elfarcv2.sc,
* scripttempl/elfd30v.sc, * scripttempl/elfm68hc11.sc,
* scripttempl/elfm68hc12.sc, * scripttempl/elfm9s12z.sc,
* scripttempl/elfmicroblaze.sc, * scripttempl/elfxgate.sc,
* scripttempl/elfxtensa.sc, * scripttempl/epiphany_4x4.sc,
* scripttempl/ft32.sc, * scripttempl/i386beos.sc,
* scripttempl/iq2000.sc, * scripttempl/mcorepe.sc,
* scripttempl/mep.sc, * scripttempl/mips.sc, * scripttempl/moxie.sc,
* scripttempl/pe.sc, * scripttempl/pep.sc, * scripttempl/ppcpe.sc,
* scripttempl/tic4xcoff.sc, * scripttempl/tic80coff.sc,
* scripttempl/v850.sc, * scripttempl/v850_rh850.sc,
* scripttempl/visium.sc, * scripttempl/xstormy16.sc: Add KEEP and
SORT_NONE to .init and .fini wildcards.
* scripttempl/elf32xc16x.sc,
* scripttempl/elf32xc16xl.sc,
* scripttempl/elf32xc16xs.sc: Add .fini wildcard.
* scripttempl/elf_chaos.sc: Add .init output section.
* scripttempl/elfd30v.sc: Remove duplicate .init.
* scripttempl/elfm68hc11.sc, * scripttempl/elfm68hc12.sc,
* scripttempl/elfm9s12z.sc, * scripttempl/elfxgate.sc: Remove
duplicate .init, and add .fini wildcard.
* scripttempl/ppcpe.sc (INIT, FINI): Delete.
* ldlang.c (update_wild_statements): Special case .init and
.fini in the wildcard, not the output section.
2019-03-21 12:28:35 +08:00
|
|
|
|
2019-03-21 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* scripttempl/alpha.sc, * scripttempl/armbpabi.sc,
|
|
|
|
|
* scripttempl/crisaout.sc, * scripttempl/elf32cr16.sc,
|
|
|
|
|
* scripttempl/elf32crx.sc, * scripttempl/elf32xc16x.sc,
|
|
|
|
|
* scripttempl/elf32xc16xl.sc, * scripttempl/elf32xc16xs.sc,
|
|
|
|
|
* scripttempl/elf64hppa.sc, * scripttempl/elf_chaos.sc,
|
|
|
|
|
* scripttempl/elfarc.sc, * scripttempl/elfarcv2.sc,
|
|
|
|
|
* scripttempl/elfd30v.sc, * scripttempl/elfm68hc11.sc,
|
|
|
|
|
* scripttempl/elfm68hc12.sc, * scripttempl/elfm9s12z.sc,
|
|
|
|
|
* scripttempl/elfmicroblaze.sc, * scripttempl/elfxgate.sc,
|
|
|
|
|
* scripttempl/elfxtensa.sc, * scripttempl/epiphany_4x4.sc,
|
|
|
|
|
* scripttempl/ft32.sc, * scripttempl/i386beos.sc,
|
|
|
|
|
* scripttempl/iq2000.sc, * scripttempl/mcorepe.sc,
|
|
|
|
|
* scripttempl/mep.sc, * scripttempl/mips.sc, * scripttempl/moxie.sc,
|
|
|
|
|
* scripttempl/pe.sc, * scripttempl/pep.sc, * scripttempl/ppcpe.sc,
|
|
|
|
|
* scripttempl/tic4xcoff.sc, * scripttempl/tic80coff.sc,
|
|
|
|
|
* scripttempl/v850.sc, * scripttempl/v850_rh850.sc,
|
|
|
|
|
* scripttempl/visium.sc, * scripttempl/xstormy16.sc: Add KEEP and
|
|
|
|
|
SORT_NONE to .init and .fini wildcards.
|
|
|
|
|
* scripttempl/elf32xc16x.sc,
|
|
|
|
|
* scripttempl/elf32xc16xl.sc,
|
|
|
|
|
* scripttempl/elf32xc16xs.sc: Add .fini wildcard.
|
|
|
|
|
* scripttempl/elf_chaos.sc: Add .init output section.
|
|
|
|
|
* scripttempl/elfd30v.sc: Remove duplicate .init.
|
|
|
|
|
* scripttempl/elfm68hc11.sc, * scripttempl/elfm68hc12.sc,
|
|
|
|
|
* scripttempl/elfm9s12z.sc, * scripttempl/elfxgate.sc: Remove
|
|
|
|
|
duplicate .init, and add .fini wildcard.
|
|
|
|
|
* scripttempl/ppcpe.sc (INIT, FINI): Delete.
|
|
|
|
|
* ldlang.c (update_wild_statements): Special case .init and
|
|
|
|
|
.fini in the wildcard, not the output section.
|
|
|
|
|
|
2019-03-21 06:09:18 +08:00
|
|
|
|
2019-03-21 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* emulparams/elf32lm32fd.sh (DYNAMIC_LINK): Undef.
|
|
|
|
|
|
2019-03-19 13:11:58 +08:00
|
|
|
|
2019-03-21 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ldlang.c (lang_size_sections_1): Set SEC_KEEP on
|
|
|
|
|
create_object_symbols_section.
|
|
|
|
|
* testsuite/ld-elf/pr22319.d: Don't xfail dlx.
|
|
|
|
|
|
2019-03-18 08:41:39 +08:00
|
|
|
|
2019-03-18 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/ld-elf/merge.d: Remove csky from xfails, add moxie.
|
|
|
|
|
* testsuite/ld-elf/pr21884.d: Remove csky from xfails.
|
|
|
|
|
* testsuite/ld-elf/shared.exp: Add csky to list not xfailing pr22374.
|
|
|
|
|
* testsuite/ld-unique/pr21529.d: Remove csky from xfails
|
|
|
|
|
|
2019-03-15 20:08:56 +08:00
|
|
|
|
2019-03-15 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR 24262
|
|
|
|
|
* ld.texi (-plugin): Correct the path used to locate linker
|
|
|
|
|
plugins.
|
|
|
|
|
|
2019-03-13 19:09:10 +08:00
|
|
|
|
2019-03-13 Sudakshina Das <sudi.das@arm.com>
|
|
|
|
|
|
|
|
|
|
* NEWS: Document --pac-plt.
|
|
|
|
|
* emultempl/aarch64elf.em (OPTION_PAC_PLT): New.
|
|
|
|
|
(PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add pac-plt.
|
|
|
|
|
(PARSE_AND_LIST_ARGS_CASES): Handle OPTION_PAC_PLT.
|
|
|
|
|
* testsuite/ld-aarch64/aarch64-elf.exp: Add the following tests.
|
|
|
|
|
* testsuite/ld-aarch64/bti-pac-plt-1.d: New test.
|
|
|
|
|
* testsuite/ld-aarch64/bti-pac-plt-2.d: New test.
|
|
|
|
|
* testsuite/ld-aarch64/pac-plt-1.d: New test.
|
|
|
|
|
* testsuite/ld-aarch64/pac-plt-2.d: New test.
|
|
|
|
|
* testsuite/ld-aarch64/bti-plt-1.s: Add .ifndef directive.
|
|
|
|
|
|
[BFD, LD, AArch64, 2/3] Add --force-bti to enable BTI and to select BTI enabled PLTs
This is part of the patch series to add support for BTI and
PAC in AArch64 linker.
1) This patch adds a new ld command line option: --force-bti.
In the presence of this option, the linker enables BTI with the
GNU_PROPERTY_AARCH64_FEATURE_1_BTI feature. This gives out warning
in case of missing gnu notes for BTI in inputs.
2) It also defines a new set of BTI enabled PLTs. These are used either
when all the inputs are marked with GNU_PROPERTY_AARCH64_FEATURE_1_BTI
or when the new --force-bti option is used. This required adding new
fields in elf_aarch64_link_hash_table so that we could make the PLT
related information more generic.
3) It also defines a dynamic tag DT_AARCH64_BTI_PLT. The linker uses
this whenever it picks BTI enabled PLTs.
All these are made according to the new AArch64 ELF ABI
https://developer.arm.com/docs/ihi0056/latest/elf-for-the-arm-64-bit-architecture-aarch64-abi-2018q4
*** bfd/ChangeLog ***
2019-03-13 Sudakshina Das <sudi.das@arm.com>
Szabolcs Nagy <szabolcs.nagy@arm.com>
* bfd-in.h (aarch64_plt_type, aarch64_enable_bti_type): New.
(aarch64_bti_pac_info): New.
(bfd_elf64_aarch64_set_options): Add aarch64_bti_pac_info argument.
(bfd_elf32_aarch64_set_options): Likewise.
* bfd-in2.h: Regenerate
* elfnn-aarch64.c (PLT_BTI_ENTRY_SIZE): New.
(PLT_BTI_SMALL_ENTRY_SIZE, PLT_BTI_TLSDESC_ENTRY_SIZE): New.
(elfNN_aarch64_small_plt0_bti_entry): New.
(elfNN_aarch64_small_plt_bti_entry): New.
(elfNN_aarch64_tlsdesc_small_plt_bti_entry): New.
(elf_aarch64_obj_tdata): Add no_bti_warn and plt_type fields.
(elf_aarch64_link_hash_table): Add plt0_entry, plt_entry and
tlsdesc_plt_entry_size fields.
(elfNN_aarch64_link_hash_table_create): Initialise the new fields.
(setup_plt_values): New helper function.
(bfd_elfNN_aarch64_set_options): Use new bp_info to set plt sizes and
bti enable type.
(elfNN_aarch64_allocate_dynrelocs): Use new size members instead of
fixed macros.
(elfNN_aarch64_size_dynamic_sections): Likewise and add checks.
(elfNN_aarch64_create_small_pltn_entry): Use new generic pointers
to plt stubs instead of fixed ones and update filling them according
to the need for bti.
(elfNN_aarch64_init_small_plt0_entry): Likewise.
(elfNN_aarch64_finish_dynamic_sections): Likewise.
(get_plt_type, elfNN_aarch64_get_synthetic_symtab): New.
(elfNN_aarch64_plt_sym_val): Update size accordingly.
(elfNN_aarch64_link_setup_gnu_properties): Set up plts if BTI GNU NOTE
is set.
(bfd_elfNN_get_synthetic_symtab): Define.
(elfNN_aarch64_merge_gnu_properties): Give out warning with --force-bti
and mising BTI NOTE SECTION.
*** binutils/ChangeLog ***
2019-03-13 Sudakshina Das <sudi.das@arm.com>
Szabolcs Nagy <szabolcs.nagy@arm.com>
* readelf.c (get_aarch64_dynamic_type): New.
(get_dynamic_type): Use above for EM_AARCH64.
(dynamic_section_aarch64_val): New.
(process_dynamic_section): Use above for EM_AARCH64.
*** include/ChangeLog ***
2019-03-13 Sudakshina Das <sudi.das@arm.com>
Szabolcs Nagy <szabolcs.nagy@arm.com>
* elf/aarch64.h (DT_AARCH64_BTI_PLT): New.
*** ld/ChangeLog ***
2019-03-13 Sudakshina Das <sudi.das@arm.com>
Szabolcs Nagy <szabolcs.nagy@arm.com>
* NEWS: Document --force-bti.
* emultempl/aarch64elf.em (plt_type, bti_type, OPTION_FORCE_BTI): New.
(PARSE_AND_LIST_SHORTOPTS, PARSE_AND_LIST_OPTIONS): Add force-bti.
(PARSE_AND_LIST_ARGS_CASES): Handle OPTION_FORCE_BTI.
* testsuite/ld-aarch64/aarch64-elf.exp: Add all the tests below.
* testsuite/ld-aarch64/bti-plt-1.d: New test.
* testsuite/ld-aarch64/bti-plt-1.s: New test.
* testsuite/ld-aarch64/bti-plt-2.s: New test.
* testsuite/ld-aarch64/bti-plt-2.d: New test.
* testsuite/ld-aarch64/bti-plt-3.d: New test.
* testsuite/ld-aarch64/bti-plt-4.d: New test.
* testsuite/ld-aarch64/bti-plt-5.d: New test.
* testsuite/ld-aarch64/bti-plt-6.d: New test.
* testsuite/ld-aarch64/bti-plt-7.d: New test.
* testsuite/ld-aarch64/bti-plt-so.s: New test.
* testsuite/ld-aarch64/bti-plt.ld: New test.
2019-03-13 18:54:30 +08:00
|
|
|
|
2019-03-13 Sudakshina Das <sudi.das@arm.com>
|
|
|
|
|
Szabolcs Nagy <szabolcs.nagy@arm.com>
|
|
|
|
|
|
|
|
|
|
* NEWS: Document --force-bti.
|
|
|
|
|
* emultempl/aarch64elf.em (plt_type, bti_type, OPTION_FORCE_BTI): New.
|
|
|
|
|
(PARSE_AND_LIST_SHORTOPTS, PARSE_AND_LIST_OPTIONS): Add force-bti.
|
|
|
|
|
(PARSE_AND_LIST_ARGS_CASES): Handle OPTION_FORCE_BTI.
|
|
|
|
|
* testsuite/ld-aarch64/aarch64-elf.exp: Add all the tests below.
|
|
|
|
|
* testsuite/ld-aarch64/bti-plt-1.d: New test.
|
|
|
|
|
* testsuite/ld-aarch64/bti-plt-1.s: New test.
|
|
|
|
|
* testsuite/ld-aarch64/bti-plt-2.d: New test.
|
|
|
|
|
* testsuite/ld-aarch64/bti-plt-3.d: New test.
|
|
|
|
|
* testsuite/ld-aarch64/bti-plt-4.d: New test.
|
|
|
|
|
* testsuite/ld-aarch64/bti-plt-5.d: New test.
|
|
|
|
|
* testsuite/ld-aarch64/bti-plt-6.d: New test.
|
|
|
|
|
* testsuite/ld-aarch64/bti-plt-7.d: New test.
|
|
|
|
|
* testsuite/ld-aarch64/bti-plt-so.s: New test.
|
|
|
|
|
* testsuite/ld-aarch64/bti-plt.ld: New test.
|
|
|
|
|
|
2019-03-13 18:42:27 +08:00
|
|
|
|
2019-03-13 Sudakshina Das <sudi.das@arm.com>
|
|
|
|
|
|
|
|
|
|
* NEWS: Document GNU_PROPERTY_AARCH64_FEATURE_1_BTI and
|
|
|
|
|
GNU_PROPERTY_AARCH64_FEATURE_1_PAC.
|
|
|
|
|
* testsuite/ld-aarch64/aarch64-elf.exp: Add run commands for new tests.
|
|
|
|
|
* testsuite/ld-aarch64/property-bti-pac1.d: New test.
|
|
|
|
|
* testsuite/ld-aarch64/property-bti-pac1.s: New test.
|
|
|
|
|
* testsuite/ld-aarch64/property-bti-pac2.d: New test.
|
|
|
|
|
* testsuite/ld-aarch64/property-bti-pac2.s: New test.
|
|
|
|
|
* testsuite/ld-aarch64/property-bti-pac3.d: New test.
|
|
|
|
|
|
2019-03-13 14:38:15 +08:00
|
|
|
|
2019-03-13 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/24322
|
|
|
|
|
* testsuite/ld-i386/i386.exp: Run PR ld/24322 tests.
|
|
|
|
|
* testsuite/ld-x86-64/x86-64.exp: Likewise.
|
|
|
|
|
* testsuite/ld-i386/pr24322a.d: New file.
|
|
|
|
|
* testsuite/ld-i386/pr24322b.d: Likewise.
|
|
|
|
|
* testsuite/ld-x86-64/pr24322a-x32.d: Likewise.
|
|
|
|
|
* testsuite/ld-x86-64/pr24322a.d: Likewise.
|
|
|
|
|
* testsuite/ld-x86-64/pr24322b-x32.d: Likewise.
|
|
|
|
|
* testsuite/ld-x86-64/pr24322b.d: Likewise.
|
|
|
|
|
* testsuite/ld-x86-64/pr24322a.s: Likewise.
|
|
|
|
|
* testsuite/ld-x86-64/pr24322b.s: Likewise.
|
|
|
|
|
* testsuite/ld-x86-64/pr24322c.s: Likewise.
|
|
|
|
|
|
2019-03-06 23:20:29 +08:00
|
|
|
|
2019-03-06 Nick Bowler <nbowler@draconx.ca>
|
|
|
|
|
|
|
|
|
|
PR 24289
|
|
|
|
|
* ldexp.c (fold_name): Allow lookups of the LENGTH and ORIGIN
|
|
|
|
|
attributes during the first phase.
|
|
|
|
|
|
2019-03-01 22:23:42 +08:00
|
|
|
|
2019-03-01 Andreas Krebbel <krebbel@linux.ibm.com>
|
|
|
|
|
|
|
|
|
|
This reverts commit 5a12586d44fa8d5dfc74cbca4f2f36a273a16335.
|
|
|
|
|
2019-01-14 Maamoun Tarsha <maamountk@hotmail.com>
|
|
|
|
|
|
|
|
|
|
PR 20113
|
|
|
|
|
* emulparams/elf64_s390.sh (SEPARATE_GOTPLT): Define.
|
|
|
|
|
* emulparams/elf_s390.sh (SEPARATE_GOTPLT): Define.
|
|
|
|
|
* testsuite/ld-s390/gotreloc_31-1.dd: Update expected output.
|
|
|
|
|
* testsuite/ld-s390/tlsbin.dd: Likewise.
|
|
|
|
|
* testsuite/ld-s390/tlsbin.rd: Likewise.
|
|
|
|
|
* testsuite/ld-s390/tlsbin.sd: Likewise.
|
|
|
|
|
* testsuite/ld-s390/tlsbin_64.dd: Likewise.
|
|
|
|
|
* testsuite/ld-s390/tlsbin_64.rd: Likewise.
|
|
|
|
|
* testsuite/ld-s390/tlsbin_64.sd: Likewise.
|
|
|
|
|
* testsuite/ld-s390/tlspic.dd: Likewise.
|
|
|
|
|
* testsuite/ld-s390/tlspic.rd: Likewise.
|
|
|
|
|
* testsuite/ld-s390/tlspic.sd: Likewise.
|
|
|
|
|
* testsuite/ld-s390/tlspic_64.dd: Likewise.
|
|
|
|
|
* testsuite/ld-s390/tlspic_64.rd: Likewise.
|
|
|
|
|
* testsuite/ld-s390/tlspic_64.sd: Likewise.
|
|
|
|
|
* testsuite/ld-s390/s390.exp: Skip s390 tests for tpf targets.
|
|
|
|
|
|
2019-02-28 03:53:16 +08:00
|
|
|
|
2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/24276
|
|
|
|
|
* testsuite/ld-i386/i386.exp: Run PR ld/24276 test.
|
|
|
|
|
* testsuite/ld-x86-64/x86-64.exp: Likewise.
|
|
|
|
|
* testsuite/ld-i386/pr24276.dso: New file.
|
|
|
|
|
* testsuite/ld-i386/pr24276.warn: Likewise.
|
|
|
|
|
* testsuite/ld-x86-64/pr24276.dso: Likewise.
|
|
|
|
|
* testsuite/ld-x86-64/pr24276.warn: Likewise.
|
|
|
|
|
|
2019-02-16 08:43:23 +08:00
|
|
|
|
2019-02-20 Eric Tsai <erictsai@cadence.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/ld-xtensa/call_overflow.d: New test definition.
|
|
|
|
|
* testsuite/ld-xtensa/call_overflow1.s: New test source.
|
|
|
|
|
* testsuite/ld-xtensa/call_overflow2.s: New test source.
|
|
|
|
|
* testsuite/ld-xtensa/call_overflow3.s: New test source.
|
|
|
|
|
* testsuite/ld-xtensa/xtensa.exp: Add call_overflow test.
|
|
|
|
|
|
2018-06-30 03:05:29 +08:00
|
|
|
|
2019-02-14 Thomas Schwinge <thomas@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/ld-elf/elf.exp: Remove Hurd XFAILs.
|
|
|
|
|
|
2019-02-12 21:22:42 +08:00
|
|
|
|
2019-02-12 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/fr.po: Updated French translation.
|
|
|
|
|
|
2019-02-09 18:07:42 +08:00
|
|
|
|
2019-02-09 Vineet Gupta <vgupta@synopsys.com>
|
|
|
|
|
|
|
|
|
|
* emultempl/arclinux.em: Delete special INIT/FINI handling.
|
|
|
|
|
|
2019-02-07 22:54:58 +08:00
|
|
|
|
2019-02-07 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR 24175
|
|
|
|
|
* ld.texi (Options): Add missing word to the description of the
|
|
|
|
|
--start-group option.
|
|
|
|
|
|
2019-02-06 14:56:23 +08:00
|
|
|
|
2019-02-06 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR ld/24008
|
|
|
|
|
* testsuite/ld-scripts/pr24008.d: Pass with extra target
|
|
|
|
|
defined symbols.
|
|
|
|
|
|
2019-02-06 10:45:23 +08:00
|
|
|
|
2019-02-05 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/24151
|
|
|
|
|
* testsuite/ld-x86-64/pr24151a-x32.d: New file.
|
|
|
|
|
* testsuite/ld-x86-64/pr24151a.d: Likewise.
|
|
|
|
|
* testsuite/ld-x86-64/pr24151a.s: Likewise.
|
|
|
|
|
* testsuite/ld-x86-64/x86-64.exp: Run pr24151a and pr24151a-x32.
|
|
|
|
|
|
2019-01-31 09:07:44 +08:00
|
|
|
|
2019-01-31 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* NEWS: Mention -t change.
|
|
|
|
|
* ld.texi (--trace/-t): Expand documentation a little.
|
|
|
|
|
|
2019-01-29 22:07:42 +08:00
|
|
|
|
2019-01-29 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/24008
|
|
|
|
|
* testsuite/ld-scripts/defined.exp: Run pr24008.
|
|
|
|
|
* testsuite/ld-scripts/pr24008.d: New file.
|
|
|
|
|
* testsuite/ld-scripts/pr24008.map: Likewise.
|
|
|
|
|
* testsuite/ld-scripts/pr24008.s: Likewise.
|
|
|
|
|
* testsuite/ld-scripts/pr24008.t: Likewise.
|
|
|
|
|
|
2019-01-29 17:11:01 +08:00
|
|
|
|
2019-01-29 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/ld-ifunc/ifunc.exp: Skip pr23169 on SPARC.
|
|
|
|
|
|
2019-01-28 07:29:29 +08:00
|
|
|
|
2019-01-28 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR 24008
|
|
|
|
|
* ldexp.h (lang_phase_type): Add lang_fixed_phase_enum.
|
|
|
|
|
* ldexp.c (fold_name): Move expld.assign_name check later to
|
|
|
|
|
avoid an extra lookup.
|
|
|
|
|
(exp_fold_tree_1): When lang_fixed_phase_enum, don't change symbol
|
|
|
|
|
values, and don't clear expld.assign_name.
|
|
|
|
|
* ldlang.c (lang_map): Set expld.phase to lang_fixed_phase_enum.
|
|
|
|
|
(print_assignment): Resolve entire assignment expression.
|
|
|
|
|
Don't access symbol u.def unless symbol is defined.
|
|
|
|
|
|
2019-01-25 19:48:55 +08:00
|
|
|
|
2019-01-25 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/bg.po: Updated Bulgarian translation.
|
|
|
|
|
|
2019-01-14 15:30:19 +08:00
|
|
|
|
2019-01-23 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
|
|
|
|
|
|
|
|
|
* ld.texi (--wrap): Add warning that LTO may make this feature
|
|
|
|
|
ineffective.
|
|
|
|
|
|
2019-01-21 20:59:20 +08:00
|
|
|
|
2019-01-21 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/uk.po: Updated Ukranian translation.
|
2019-01-21 21:05:44 +08:00
|
|
|
|
* po/pr_BR.po: Updated Brazilian Portuguese translation.
|
2019-01-21 20:59:20 +08:00
|
|
|
|
|
2019-01-21 20:39:24 +08:00
|
|
|
|
2019-01-21 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR 24108
|
|
|
|
|
* testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Update
|
|
|
|
|
expected error message.
|
|
|
|
|
|
2019-01-20 00:51:42 +08:00
|
|
|
|
2019-01-19 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* po/ld.pot: Regenerate.
|
|
|
|
|
|
2019-01-19 23:55:50 +08:00
|
|
|
|
2018-06-24 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
2.32 branch created.
|
|
|
|
|
|
2019-01-17 05:28:35 +08:00
|
|
|
|
2019-01-16 Kito Cheng <kito@andestech.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/ld-elf/orphan-region.d: XFAIL for RISC-V, because add new
|
|
|
|
|
section.
|
|
|
|
|
* testsuite/ld-riscv-elf/ld-riscv-elf.exp: Add new tests.
|
|
|
|
|
* testsuite/ld-riscv-elf/attr-merge-arch-01.d: New test.
|
|
|
|
|
* testsuite/ld-riscv-elf/attr-merge-arch-01a.s: Likewise.
|
|
|
|
|
* testsuite/ld-riscv-elf/attr-merge-arch-01b.s: Likewise.
|
|
|
|
|
* testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise.
|
|
|
|
|
* testsuite/ld-riscv-elf/attr-merge-arch-02a.s: Likewise.
|
|
|
|
|
* testsuite/ld-riscv-elf/attr-merge-arch-02b.s: Likewise.
|
|
|
|
|
* testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise.
|
|
|
|
|
* testsuite/ld-riscv-elf/attr-merge-arch-03a.s: Likewise.
|
|
|
|
|
* testsuite/ld-riscv-elf/attr-merge-arch-03b.s: Likewise.
|
|
|
|
|
* testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Likewise.
|
|
|
|
|
* testsuite/ld-riscv-elf/attr-merge-arch-failed-01a.s: Likewise.
|
|
|
|
|
* testsuite/ld-riscv-elf/attr-merge-arch-failed-01b.s: Likewise.
|
|
|
|
|
* testsuite/ld-riscv-elf/attr-merge-priv-spec-a.s: Likewise.
|
|
|
|
|
* testsuite/ld-riscv-elf/attr-merge-priv-spec-b.s: Likewise.
|
|
|
|
|
* testsuite/ld-riscv-elf/attr-merge-priv-spec.d: Likewise.
|
|
|
|
|
* testsuite/ld-riscv-elf/attr-merge-stack-align-a.s: Likewise.
|
|
|
|
|
* testsuite/ld-riscv-elf/attr-merge-stack-align-b.s: Likewise.
|
|
|
|
|
* testsuite/ld-riscv-elf/attr-merge-stack-align-failed-a.s: Likewise.
|
|
|
|
|
* testsuite/ld-riscv-elf/attr-merge-stack-align-failed-b.s: Likewise.
|
|
|
|
|
* testsuite/ld-riscv-elf/attr-merge-stack-align-failed.d: Likewise.
|
|
|
|
|
* testsuite/ld-riscv-elf/attr-merge-stack-align.d: Likewise.
|
|
|
|
|
* testsuite/ld-riscv-elf/attr-merge-strict-align-01.d: Likewise.
|
|
|
|
|
* testsuite/ld-riscv-elf/attr-merge-strict-align-01a.s: Likewise.
|
|
|
|
|
* testsuite/ld-riscv-elf/attr-merge-strict-align-01b.s: Likewise.
|
|
|
|
|
* testsuite/ld-riscv-elf/attr-merge-strict-align-02.d: Likewise.
|
|
|
|
|
* testsuite/ld-riscv-elf/attr-merge-strict-align-02a.s: Likewise.
|
|
|
|
|
* testsuite/ld-riscv-elf/attr-merge-strict-align-02b.s: Likewise.
|
|
|
|
|
* testsuite/ld-riscv-elf/attr-merge-strict-align-03.d: Likewise.
|
|
|
|
|
* testsuite/ld-riscv-elf/attr-merge-strict-align-03a.s: Likewise.
|
|
|
|
|
* testsuite/ld-riscv-elf/attr-merge-strict-align-03b.s: Likewise.
|
|
|
|
|
* testsuite/ld-riscv-elf/attr-merge-strict-align-04.d: Likewise.
|
|
|
|
|
* testsuite/ld-riscv-elf/attr-merge-strict-align-04a.s: Likewise.
|
|
|
|
|
* testsuite/ld-riscv-elf/attr-merge-strict-align-04b.s: Likewise.
|
|
|
|
|
* testsuite/ld-riscv-elf/attr-merge-strict-align-05.d: Likewise.
|
|
|
|
|
* testsuite/ld-riscv-elf/attr-merge-strict-align-05a.s: Likewise.
|
|
|
|
|
* testsuite/ld-riscv-elf/attr-merge-strict-align-05b.s: Likewise.
|
|
|
|
|
|
2019-01-15 00:00:14 +08:00
|
|
|
|
2019-01-14 Maamoun Tarsha <maamountk@hotmail.com>
|
|
|
|
|
|
2019-01-15 00:04:18 +08:00
|
|
|
|
PR 20113
|
2019-01-15 00:00:14 +08:00
|
|
|
|
* emulparams/elf64_s390.sh (SEPARATE_GOTPLT): Define.
|
|
|
|
|
* emulparams/elf_s390.sh (SEPARATE_GOTPLT): Define.
|
|
|
|
|
* testsuite/ld-s390/gotreloc_31-1.dd: Update expected output.
|
|
|
|
|
* testsuite/ld-s390/tlsbin.dd: Likewise.
|
|
|
|
|
* testsuite/ld-s390/tlsbin.rd: Likewise.
|
|
|
|
|
* testsuite/ld-s390/tlsbin.sd: Likewise.
|
|
|
|
|
* testsuite/ld-s390/tlsbin_64.dd: Likewise.
|
|
|
|
|
* testsuite/ld-s390/tlsbin_64.rd: Likewise.
|
|
|
|
|
* testsuite/ld-s390/tlsbin_64.sd: Likewise.
|
|
|
|
|
* testsuite/ld-s390/tlspic.dd: Likewise.
|
|
|
|
|
* testsuite/ld-s390/tlspic.rd: Likewise.
|
|
|
|
|
* testsuite/ld-s390/tlspic.sd: Likewise.
|
|
|
|
|
* testsuite/ld-s390/tlspic_64.dd: Likewise.
|
|
|
|
|
* testsuite/ld-s390/tlspic_64.rd: Likewise.
|
|
|
|
|
* testsuite/ld-s390/tlspic_64.sd: Likewise.
|
2019-01-15 00:04:18 +08:00
|
|
|
|
* testsuite/ld-s390/s390.exp: Skip s390 tests for tpf targets.
|
2019-01-15 00:00:14 +08:00
|
|
|
|
|
2019-01-10 22:05:19 +08:00
|
|
|
|
2019-01-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
|
|
|
|
|
|
|
|
|
* ld.texi (--wrap): Add example to emphasise that only undefined
|
|
|
|
|
references are replaced by the linker.
|
|
|
|
|
|
2019-01-09 20:34:28 +08:00
|
|
|
|
2019-01-09 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/es.po: Updated Spanish translation.
|
|
|
|
|
|
2019-01-09 11:21:08 +08:00
|
|
|
|
2019-01-09 Andrew Paprocki <andrew@ishiboo.com>
|
|
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
run_dump_test source in build directory
Some existing tests build .s and .d files for run_dump_test, using an
absolute #source: line in the .d file. This patch changes that scheme
a little to instead use "#source: ./..." in .d files rather than
"#source: $objdir/...", which is more useful in cases where the .d
file is not generated.
This allows RX gas test files to be built in the build directory,
rather than in a source directory (which might be read-only).
binutils/
* testsuite/lib/binutils-common.exp (run_dump_test): Don't prepend
$srcdir/$subdir to source file name if it starts with "./".
gas/
* testsuite/gas/rx/rx.exp: Create generated test source in
current directory.
* testsuite/gas/rx/Xtod.d, * testsuite/gas/rx/abs.d,
* testsuite/gas/rx/adc.d, * testsuite/gas/rx/add.d,
* testsuite/gas/rx/and.d, * testsuite/gas/rx/bclr.d,
* testsuite/gas/rx/bcnd.d, * testsuite/gas/rx/bfmov.d,
* testsuite/gas/rx/bmcnd.d, * testsuite/gas/rx/bnot.d,
* testsuite/gas/rx/bra.d, * testsuite/gas/rx/brk.d,
* testsuite/gas/rx/bset.d, * testsuite/gas/rx/bsr.d,
* testsuite/gas/rx/btst.d, * testsuite/gas/rx/clrpsw.d,
* testsuite/gas/rx/cmp.d, * testsuite/gas/rx/dabs.d,
* testsuite/gas/rx/dadd.d, * testsuite/gas/rx/dbt.d,
* testsuite/gas/rx/dcmp.d, * testsuite/gas/rx/ddiv.d,
* testsuite/gas/rx/div.d, * testsuite/gas/rx/divu.d,
* testsuite/gas/rx/dmov.d, * testsuite/gas/rx/dmul.d,
* testsuite/gas/rx/dneg.d, * testsuite/gas/rx/dpopm.d,
* testsuite/gas/rx/dpushm.d, * testsuite/gas/rx/dround.d,
* testsuite/gas/rx/dsqrt.d, * testsuite/gas/rx/dsub.d,
* testsuite/gas/rx/dtoX.d, * testsuite/gas/rx/emaca.d,
* testsuite/gas/rx/emsba.d, * testsuite/gas/rx/emul.d,
* testsuite/gas/rx/emula.d, * testsuite/gas/rx/emulu.d,
* testsuite/gas/rx/fadd.d, * testsuite/gas/rx/fcmp.d,
* testsuite/gas/rx/fdiv.d, * testsuite/gas/rx/fmul.d,
* testsuite/gas/rx/fsqrt.d, * testsuite/gas/rx/fsub.d,
* testsuite/gas/rx/ftoi.d, * testsuite/gas/rx/ftou.d,
* testsuite/gas/rx/gprel.d, * testsuite/gas/rx/int.d,
* testsuite/gas/rx/itof.d, * testsuite/gas/rx/jmp.d,
* testsuite/gas/rx/jsr.d, * testsuite/gas/rx/machi.d,
* testsuite/gas/rx/maclh.d, * testsuite/gas/rx/maclo.d,
* testsuite/gas/rx/max.d, * testsuite/gas/rx/min.d,
* testsuite/gas/rx/mov.d, * testsuite/gas/rx/movco.d,
* testsuite/gas/rx/movli.d, * testsuite/gas/rx/movu.d,
* testsuite/gas/rx/msbhi.d, * testsuite/gas/rx/msblh.d,
* testsuite/gas/rx/msblo.d, * testsuite/gas/rx/mul.d,
* testsuite/gas/rx/mulhi.d, * testsuite/gas/rx/mullh.d,
* testsuite/gas/rx/mullo.d, * testsuite/gas/rx/mvfacgu.d,
* testsuite/gas/rx/mvfachi.d, * testsuite/gas/rx/mvfaclo.d,
* testsuite/gas/rx/mvfacmi.d, * testsuite/gas/rx/mvfc.d,
* testsuite/gas/rx/mvfcp.d, * testsuite/gas/rx/mvfdc.d,
* testsuite/gas/rx/mvfdr.d, * testsuite/gas/rx/mvtacgu.d,
* testsuite/gas/rx/mvtachi.d, * testsuite/gas/rx/mvtaclo.d,
* testsuite/gas/rx/mvtc.d, * testsuite/gas/rx/mvtcp.d,
* testsuite/gas/rx/mvtdc.d, * testsuite/gas/rx/neg.d,
* testsuite/gas/rx/nop.d, * testsuite/gas/rx/not.d,
* testsuite/gas/rx/opecp.d, * testsuite/gas/rx/or.d,
* testsuite/gas/rx/pop.d, * testsuite/gas/rx/popc.d,
* testsuite/gas/rx/popm.d, * testsuite/gas/rx/push.d,
* testsuite/gas/rx/pushc.d, * testsuite/gas/rx/pushm.d,
* testsuite/gas/rx/r-bcc.d, * testsuite/gas/rx/r-bra.d,
* testsuite/gas/rx/racl.d, * testsuite/gas/rx/racw.d,
* testsuite/gas/rx/rdacl.d, * testsuite/gas/rx/rdacw.d,
* testsuite/gas/rx/revl.d, * testsuite/gas/rx/revw.d,
* testsuite/gas/rx/rmpa.d, * testsuite/gas/rx/rolc.d,
* testsuite/gas/rx/rorc.d, * testsuite/gas/rx/rotl.d,
* testsuite/gas/rx/rotr.d, * testsuite/gas/rx/round.d,
* testsuite/gas/rx/rstr.d, * testsuite/gas/rx/rte.d,
* testsuite/gas/rx/rtfi.d, * testsuite/gas/rx/rts.d,
* testsuite/gas/rx/rtsd.d, * testsuite/gas/rx/sat.d,
* testsuite/gas/rx/satr.d, * testsuite/gas/rx/save.d,
* testsuite/gas/rx/sbb.d, * testsuite/gas/rx/sccnd.d,
* testsuite/gas/rx/scmpu.d, * testsuite/gas/rx/setpsw.d,
* testsuite/gas/rx/shar.d, * testsuite/gas/rx/shll.d,
* testsuite/gas/rx/shlr.d, * testsuite/gas/rx/smovb.d,
* testsuite/gas/rx/smovf.d, * testsuite/gas/rx/smovu.d,
* testsuite/gas/rx/sstr.d, * testsuite/gas/rx/stnz.d,
* testsuite/gas/rx/stz.d, * testsuite/gas/rx/sub.d,
* testsuite/gas/rx/suntil.d, * testsuite/gas/rx/swhile.d,
* testsuite/gas/rx/tst.d, * testsuite/gas/rx/utof.d,
* testsuite/gas/rx/wait.d, * testsuite/gas/rx/xchg.d,
* testsuite/gas/rx/xor.d: Add #source line.
ld/
* testsuite/ld-elf/sec64k.exp: Use . rather than $objdir in
generated source file names.
* testsuite/ld-m68k/m68k-got.exp: Likewise.
2019-01-08 14:17:52 +08:00
|
|
|
|
2019-01-08 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/ld-elf/sec64k.exp: Use . rather than $objdir in
|
|
|
|
|
generated source file names.
|
|
|
|
|
* testsuite/ld-m68k/m68k-got.exp: Likewise.
|
|
|
|
|
|
2019-01-01 18:31:27 +08:00
|
|
|
|
2019-01-01 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
Update year range in copyright notice of all files.
|
|
|
|
|
|
2019-01-01 18:53:15 +08:00
|
|
|
|
For older changes see ChangeLog-2018
|
2016-01-01 18:44:31 +08:00
|
|
|
|
|
2019-01-01 18:53:15 +08:00
|
|
|
|
Copyright (C) 2019 Free Software Foundation, Inc.
|
2016-01-01 18:44:31 +08:00
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
Local Variables:
|
|
|
|
|
mode: change-log
|
|
|
|
|
left-margin: 8
|
|
|
|
|
fill-column: 74
|
|
|
|
|
version-control: never
|
|
|
|
|
End:
|