diff options
author | Sam James <sam@gentoo.org> | 2023-08-01 09:44:48 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2023-08-01 09:44:48 +0100 |
commit | 9a53bcc89d798356c5386f1341f1a85fdd7ac32a (patch) | |
tree | e9a78c7647364956786f4ee5a0371353b2a53e4e /ld | |
parent | c8e1332cc7d480f1d98867a08a76a8d4d9655220 (diff) | |
download | gdb-9a53bcc89d798356c5386f1341f1a85fdd7ac32a.zip gdb-9a53bcc89d798356c5386f1341f1a85fdd7ac32a.tar.gz gdb-9a53bcc89d798356c5386f1341f1a85fdd7ac32a.tar.bz2 |
ld: Fix test failures with --enable-textrel-check=error
Diffstat (limited to 'ld')
-rw-r--r-- | ld/testsuite/ld-i386/ifunc-textrel-1a.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-i386/ifunc-textrel-1b.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-i386/pr18801a.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-i386/pr18801b.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-x86-64/ifunc-textrel-1a.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-x86-64/ifunc-textrel-1b.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-x86-64/pr18801a.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-x86-64/pr18801b.d | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/ld/testsuite/ld-i386/ifunc-textrel-1a.d b/ld/testsuite/ld-i386/ifunc-textrel-1a.d index 15f545d..aad77e7 100644 --- a/ld/testsuite/ld-i386/ifunc-textrel-1a.d +++ b/ld/testsuite/ld-i386/ifunc-textrel-1a.d @@ -1,4 +1,4 @@ #source: ../ld-x86-64/ifunc-textrel-1.s #as: --32 -#ld: -m elf_i386 -pie +#ld: -m elf_i386 -pie -z notext #warning: GNU indirect functions with DT_TEXTREL may result in a segfault at runtime; recompile with -fPIE diff --git a/ld/testsuite/ld-i386/ifunc-textrel-1b.d b/ld/testsuite/ld-i386/ifunc-textrel-1b.d index 6e4a67c..bf0f2ac 100644 --- a/ld/testsuite/ld-i386/ifunc-textrel-1b.d +++ b/ld/testsuite/ld-i386/ifunc-textrel-1b.d @@ -1,4 +1,4 @@ #source: ../ld-x86-64/ifunc-textrel-1.s #as: --32 -#ld: -m elf_i386 -shared +#ld: -m elf_i386 -shared -z notext #warning: GNU indirect functions with DT_TEXTREL may result in a segfault at runtime; recompile with -fPIC diff --git a/ld/testsuite/ld-i386/pr18801a.d b/ld/testsuite/ld-i386/pr18801a.d index 73cb5d1..b1ef145 100644 --- a/ld/testsuite/ld-i386/pr18801a.d +++ b/ld/testsuite/ld-i386/pr18801a.d @@ -1,4 +1,4 @@ #source: pr18801.s #as: --32 -#ld: -m elf_i386 -pie +#ld: -m elf_i386 -pie -z notext #warning: GNU indirect functions with DT_TEXTREL may result in a segfault at runtime; recompile with -fPIE diff --git a/ld/testsuite/ld-i386/pr18801b.d b/ld/testsuite/ld-i386/pr18801b.d index 0bf7fb7..983346c 100644 --- a/ld/testsuite/ld-i386/pr18801b.d +++ b/ld/testsuite/ld-i386/pr18801b.d @@ -1,4 +1,4 @@ #source: pr18801.s #as: --32 -#ld: -m elf_i386 -shared +#ld: -m elf_i386 -shared -z notext #warning: GNU indirect functions with DT_TEXTREL may result in a segfault at runtime; recompile with -fPIC diff --git a/ld/testsuite/ld-x86-64/ifunc-textrel-1a.d b/ld/testsuite/ld-x86-64/ifunc-textrel-1a.d index 64a1e70..6673660 100644 --- a/ld/testsuite/ld-x86-64/ifunc-textrel-1a.d +++ b/ld/testsuite/ld-x86-64/ifunc-textrel-1a.d @@ -1,4 +1,4 @@ #source: ifunc-textrel-1.s #as: --64 -defsym __x86_64__=1 -#ld: -m elf_x86_64 -pie +#ld: -m elf_x86_64 -pie -z notext #warning: GNU indirect functions with DT_TEXTREL may result in a segfault at runtime; recompile with -fPIE diff --git a/ld/testsuite/ld-x86-64/ifunc-textrel-1b.d b/ld/testsuite/ld-x86-64/ifunc-textrel-1b.d index aeb31fd..f7b8e02 100644 --- a/ld/testsuite/ld-x86-64/ifunc-textrel-1b.d +++ b/ld/testsuite/ld-x86-64/ifunc-textrel-1b.d @@ -1,4 +1,4 @@ #source: ifunc-textrel-1.s #as: --64 -defsym __x86_64__=1 -#ld: -m elf_x86_64 -shared +#ld: -m elf_x86_64 -shared -z notext #warning: GNU indirect functions with DT_TEXTREL may result in a segfault at runtime; recompile with -fPIC diff --git a/ld/testsuite/ld-x86-64/pr18801a.d b/ld/testsuite/ld-x86-64/pr18801a.d index 2b4159d..61f9d99 100644 --- a/ld/testsuite/ld-x86-64/pr18801a.d +++ b/ld/testsuite/ld-x86-64/pr18801a.d @@ -1,4 +1,4 @@ #source: pr18801.s #as: --64 -#ld: -melf_x86_64 -pie +#ld: -melf_x86_64 -pie -z notext #warning: GNU indirect functions with DT_TEXTREL may result in a segfault at runtime; recompile with -fPIE diff --git a/ld/testsuite/ld-x86-64/pr18801b.d b/ld/testsuite/ld-x86-64/pr18801b.d index 34dab1a..967a339 100644 --- a/ld/testsuite/ld-x86-64/pr18801b.d +++ b/ld/testsuite/ld-x86-64/pr18801b.d @@ -1,4 +1,4 @@ #source: pr18801.s #as: --64 -#ld: -melf_x86_64 -shared +#ld: -melf_x86_64 -shared -z notext #warning: GNU indirect functions with DT_TEXTREL may result in a segfault at runtime; recompile with -fPIC |