aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-10-12 01:52:33 -0700
committerH.J. Lu <hjl.tools@gmail.com>2017-10-12 01:52:33 -0700
commit359987e21867b730564ff46ddceaafdc93d0fb49 (patch)
tree8144663dedbe4e1250df1c1b2bd36f7645593b86 /ld/testsuite/ld-i386
parent22b1ee183d19a92cc57859c04307d31c06792d13 (diff)
downloadgdb-359987e21867b730564ff46ddceaafdc93d0fb49.zip
gdb-359987e21867b730564ff46ddceaafdc93d0fb49.tar.gz
gdb-359987e21867b730564ff46ddceaafdc93d0fb49.tar.bz2
ld: Update tests for warning of "-z dynamic-undefined-weak ignored"
Update tests to expect warning of "-z dynamic-undefined-weak ignored" from commit 22b1ee183d19a92cc57859c04307d31c06792d13 Author: Alan Modra <amodra@gmail.com> Date: Thu Oct 12 13:19:10 2017 +1030 Set dynamic_undefined_weak to zero for static PIEs * testsuite/ld-elf/pr22269b.d: Expect warning of "-z dynamic-undefined-weak ignored". * testsuite/ld-i386/pr19636-1j.d: Likewise. * testsuite/ld-i386/pr19636-1k.d: Likewise. * testsuite/ld-i386/pr19636-1l.d: Likewise. * testsuite/ld-x86-64/pr19636-2j.d: Likewise. * testsuite/ld-x86-64/pr19636-2k.d: Likewise. * testsuite/ld-x86-64/pr19636-2l.d: Likewise. * testsuite/ld-x86-64/pr19636-2m.d: Likewise.
Diffstat (limited to 'ld/testsuite/ld-i386')
-rw-r--r--ld/testsuite/ld-i386/pr19636-1j.d1
-rw-r--r--ld/testsuite/ld-i386/pr19636-1k.d1
-rw-r--r--ld/testsuite/ld-i386/pr19636-1l.d1
3 files changed, 3 insertions, 0 deletions
diff --git a/ld/testsuite/ld-i386/pr19636-1j.d b/ld/testsuite/ld-i386/pr19636-1j.d
index 0fb183d..f7d5ee5 100644
--- a/ld/testsuite/ld-i386/pr19636-1j.d
+++ b/ld/testsuite/ld-i386/pr19636-1j.d
@@ -2,6 +2,7 @@
#as: --32 -mrelax-relocations=no
#ld: -pie -m elf_i386 --no-dynamic-linker -z dynamic-undefined-weak
#readelf : -r --wide -x .got -x .got.plt
+#warning: -z dynamic-undefined-weak ignored
There are no relocations in this file.
diff --git a/ld/testsuite/ld-i386/pr19636-1k.d b/ld/testsuite/ld-i386/pr19636-1k.d
index 9f42699..a1a5475 100644
--- a/ld/testsuite/ld-i386/pr19636-1k.d
+++ b/ld/testsuite/ld-i386/pr19636-1k.d
@@ -2,6 +2,7 @@
#as: --32 -mrelax-relocations=no
#ld: -pie -E -m elf_i386 --no-dynamic-linker -z dynamic-undefined-weak
#readelf : -r --wide -x .got -x .got.plt --dyn-syms
+#warning: -z dynamic-undefined-weak ignored
There are no relocations in this file.
diff --git a/ld/testsuite/ld-i386/pr19636-1l.d b/ld/testsuite/ld-i386/pr19636-1l.d
index c02908c..6198c0f 100644
--- a/ld/testsuite/ld-i386/pr19636-1l.d
+++ b/ld/testsuite/ld-i386/pr19636-1l.d
@@ -2,6 +2,7 @@
#as: --32 -mrelax-relocations=no
#ld: -pie -m elf_i386 --no-dynamic-linker -z dynamic-undefined-weak
#objdump: -dw
+#warning: -z dynamic-undefined-weak ignored
#notarget: i?86-*-nacl* x86_64-*-nacl*
.*: +file format .*