globalaudit.rd: Allow additional bits in DT_FLAGS_1
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 14 Sep 2017 19:45:18 +0000 (12:45 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 14 Sep 2017 19:45:18 +0000 (12:45 -0700)
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
ld/testsuite/ld-elf/globalaudit.rd

index 857f4c9..0a83cf5 100644 (file)
@@ -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.
index fc5de09..41dcaad 100644 (file)
@@ -1,3 +1,3 @@
 #...
-.*\(FLAGS_1\).*Flags: GLOBAUDIT
+.*\(FLAGS_1\).*Flags: .*GLOBAUDIT.*
 #pass