aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-arm/arm-elf.exp
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@st.com>2018-03-20 10:56:17 +0100
committerChristophe Lyon <christophe.lyon@linaro.org>2018-04-18 12:20:27 +0000
commitf0bdd7589a225589c1fda7ce8762663ee9176746 (patch)
treed326dc9160d7b859c82d61a3a09cc1c432ea744a /ld/testsuite/ld-arm/arm-elf.exp
parente083c7263efc02ff32d2012d72f1cc433b84109b (diff)
downloadgdb-users/clyon/arm-fdpic.zip
gdb-users/clyon/arm-fdpic.tar.gz
gdb-users/clyon/arm-fdpic.tar.bz2
[ARM] FDPIC: Implement Thumb-only PLT for FDPIC.users/clyon/arm-fdpic
2018-XX-XX Christophe Lyon <christophe.lyon@st.com> Mickaël Guêné <mickael.guene@st.com> bfd/ * elf32-arm.c (elf32_arm_fdpic_thumb_plt_entry): New. (elf32_arm_plt_needs_thumb_stub_p): Handle thumb-only case. (elf32_arm_populate_plt_entry): Likewise. (elf32_arm_output_plt_map_1): Likewise. (elf32_arm_output_arch_local_syms): Likewise. ld/testsuite/ * arm-elf.exp: Execute the new FDPIC Thumb-only tests. * fdpic-main-m.d: New test. * fdpic-main-m.s: New. * fdpic-main-m.sym: New. * fdpic-shared-m.d: New test. * fdpic-shared-m.s: New. * fdpic-shared-m.sym: New.
Diffstat (limited to 'ld/testsuite/ld-arm/arm-elf.exp')
-rw-r--r--ld/testsuite/ld-arm/arm-elf.exp12
1 files changed, 12 insertions, 0 deletions
diff --git a/ld/testsuite/ld-arm/arm-elf.exp b/ld/testsuite/ld-arm/arm-elf.exp
index 30e01c5..88775bb 100644
--- a/ld/testsuite/ld-arm/arm-elf.exp
+++ b/ld/testsuite/ld-arm/arm-elf.exp
@@ -1043,6 +1043,18 @@ set armfdpiceabitests {
{{objdump -fdw fdpic-main.d} {objdump -Rw fdpic-main.r}
{readelf -Ds fdpic-main.sym}}
"fdpic-main"}
+ {"FDPIC ARM shared library little endian M profile"
+ "-shared -T fdpic-shared.ld --hash-style=sysv -EL -m armelf_linux_fdpiceabi" ""
+ "-EL -fdpic" {fdpic-shared-m.s}
+ {{objdump -fdw fdpic-shared-m.d} {objdump -Rw fdpic-shared.r}
+ {readelf -Ds fdpic-shared-m.sym}}
+ "fdpic-shared.so"}
+ {"FDPIC ARM dynamic executable little endian M profile"
+ "tmpdir/fdpic-shared.so -T fdpic-main.ld --hash-style=sysv -EL -m armelf_linux_fdpiceabi" ""
+ "-EL -fdpic" {fdpic-main-m.s}
+ {{objdump -fdw fdpic-main-m.d} {objdump -Rw fdpic-main.r}
+ {readelf -Ds fdpic-main-m.sym}}
+ "fdpic-main"}
}
# Massage the $armeabitests_common list into run_ld_link_tests standard form.