This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[committed, PATCH] globalaudit.rd: Allow additional bits in DT_FLAGS_1
- From: "H.J. Lu" <hongjiu dot lu at intel dot com>
- To: binutils at sourceware dot org
- Date: Thu, 14 Sep 2017 12:47:36 -0700
- Subject: [committed, PATCH] globalaudit.rd: Allow additional bits in DT_FLAGS_1
- Authentication-results: sourceware.org; auth=none
- Reply-to: "H.J. Lu" <hjl dot tools at gmail dot com>
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.
---
ld/ChangeLog | 6 ++++++
ld/testsuite/ld-elf/globalaudit.rd | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 857f4c9856..0a83cf5a98 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 fc5de09164..41dcaad694 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
--
2.13.5