From 79254a5260cf49887b4017700bd75b27f483b322 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 14 Sep 2017 12:45:18 -0700 Subject: [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 857f4c9856e..0a83cf5a988 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +2017-09-14 H.J. Lu + + PR ld/22139 + * testsuite/ld-elf/globalaudit.rd: Allow additional bits in + DT_FLAGS_1. + 2017-09-14 H.J. Lu PR ld/22135 diff --git a/ld/testsuite/ld-elf/globalaudit.rd b/ld/testsuite/ld-elf/globalaudit.rd index fc5de09164f..41dcaad694d 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.30.2