This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[committed, PATCH] 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.
---
 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]