This is the mail archive of the binutils-cvs@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]

[binutils-gdb] globalaudit.rd: Allow additional bits in DT_FLAGS_1


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=79254a5260cf49887b4017700bd75b27f483b322

commit 79254a5260cf49887b4017700bd75b27f483b322
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Sep 14 12:45:18 2017 -0700

    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.

Diff:
---
 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 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


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