aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386/lea1d.d
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2016-06-03 04:10:11 -0700
committerH.J. Lu <hjl.tools@gmail.com>2016-06-03 04:10:11 -0700
commitb1058ce98878654d8c19b7b6741d84615795b9a1 (patch)
treef9c1244f95ed7b4db29d67acb48168e54f81be28 /ld/testsuite/ld-i386/lea1d.d
parente94321588dab8a50728b5c625f0045b4d1e732a3 (diff)
downloadgdb-b1058ce98878654d8c19b7b6741d84615795b9a1.zip
gdb-b1058ce98878654d8c19b7b6741d84615795b9a1.tar.gz
gdb-b1058ce98878654d8c19b7b6741d84615795b9a1.tar.bz2
Update x86 linker tests for --disable-x86-relax-relocations
Pass -mrelax-relocations=yes to x86 linker tests, which require relax relocations, to support --disable-x86-relax-relocations. * testsuite/ld-i386/i386.exp: Assemble gotpc1.o and pr19319b.o with -mrelax-relocations=yes. * testsuite/ld-i386/lea1a.d (as): Add -mrelax-relocations=yes. * testsuite/ld-i386/lea1b.d (as): Likewise. * testsuite/ld-i386/lea1d.d (as): Likewise. * testsuite/ld-i386/lea1e.d (as): Likewise. * testsuite/ld-i386/lea1f.d (as): Likewise. * testsuite/ld-i386/load7.d (as): Likewise. * testsuite/ld-i386/mov1b.d (as): Likewise. * testsuite/ld-i386/pr19175.d (as): Likewise. * testsuite/ld-ifunc/ifunc-13-i386.d (as): Likewise. * testsuite/ld-ifunc/ifunc-21-i386.d (as): Likewise. * testsuite/ld-ifunc/ifunc-22-i386.d (as): Likewise. * testsuite/ld-x86-64/x86-64.exp: Assemble gotpcrel1a.o, gotpcrel1b.o and gotpcrel1c.o with -mrelax-relocations=yes.
Diffstat (limited to 'ld/testsuite/ld-i386/lea1d.d')
-rw-r--r--ld/testsuite/ld-i386/lea1d.d2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/ld-i386/lea1d.d b/ld/testsuite/ld-i386/lea1d.d
index 7deab26..0b583d2 100644
--- a/ld/testsuite/ld-i386/lea1d.d
+++ b/ld/testsuite/ld-i386/lea1d.d
@@ -1,5 +1,5 @@
#source: lea1.s
-#as: --32
+#as: --32 -mrelax-relocations=yes
#ld: -Bsymbolic -shared -melf_i386
#readelf: -Sw