aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-09-14 12:45:18 -0700
committerH.J. Lu <hjl.tools@gmail.com>2017-09-14 12:45:18 -0700
commit79254a5260cf49887b4017700bd75b27f483b322 (patch)
tree7c9a3220a6432f8501592c393789ed2805813d53 /ld
parent5e5e02aeca4a6edccbf11b5f900d95bba59b9932 (diff)
downloadgdb-79254a5260cf49887b4017700bd75b27f483b322.zip
gdb-79254a5260cf49887b4017700bd75b27f483b322.tar.gz
gdb-79254a5260cf49887b4017700bd75b27f483b322.tar.bz2
globalaudit.rd: Allow additional bits in DT_FLAGS_1
With -PIE on x86-64, we get 0x000000006ffffffb (FLAGS_1) Flags: GLOBAUDIT PIE We should allow additional bits in DT_FLAGS_1. PR ld/22139 * testsuite/ld-elf/globalaudit.rd: Allow additional bits in DT_FLAGS_1.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog6
-rw-r--r--ld/testsuite/ld-elf/globalaudit.rd2
2 files changed, 7 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 857f4c9..0a83cf5 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,11 @@
2017-09-14 H.J. Lu <hongjiu.lu@intel.com>
+ PR ld/22139
+ * testsuite/ld-elf/globalaudit.rd: Allow additional bits in
+ DT_FLAGS_1.
+
+2017-09-14 H.J. Lu <hongjiu.lu@intel.com>
+
PR ld/22135
* testsuite/ld-i386/i386.exp: Run pr22135.
* testsuite/ld-x86-64/x86-64.exp: Likewise.
diff --git a/ld/testsuite/ld-elf/globalaudit.rd b/ld/testsuite/ld-elf/globalaudit.rd
index fc5de09..41dcaad 100644
--- a/ld/testsuite/ld-elf/globalaudit.rd
+++ b/ld/testsuite/ld-elf/globalaudit.rd
@@ -1,3 +1,3 @@
#...
-.*\(FLAGS_1\).*Flags: GLOBAUDIT
+.*\(FLAGS_1\).*Flags: .*GLOBAUDIT.*
#pass