From b4654b109bd023d0a22f445db7d4e27f769593f4 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Tue, 21 Jan 2020 05:43:59 -0800 Subject: [PATCH] pr23900-1.d: Also check PT_GNU_PROPERTY program header Also pass -l to readelf to check PT_GNU_PROPERTY program header. PR ld/23900 * testsuite/ld-elf/pr23900-1.d: Also pass -l to readelf. --- ld/ChangeLog | 4 ++++ ld/testsuite/ld-elf/pr23900-1.d | 10 +++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index bcd6d63319..a686c187cb 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2020-01-21 H.J. Lu + + * testsuite/ld-elf/pr23900-1.d: Also pass -l to readelf. + 2020-01-20 Nick Clifton * po/pt_BR.po: Updated Brazilian Portuguese translation. diff --git a/ld/testsuite/ld-elf/pr23900-1.d b/ld/testsuite/ld-elf/pr23900-1.d index 2079c93f25..8f8c7ccf03 100644 --- a/ld/testsuite/ld-elf/pr23900-1.d +++ b/ld/testsuite/ld-elf/pr23900-1.d @@ -1,7 +1,15 @@ #ld: -#readelf: --notes --wide +#readelf: --notes --wide -l #target: *-*-linux* *-*-gnu* *-*-nacl* +#... + GNU_PROPERTY .* +#... + +[0-9]+ +\.note\.gnu\.property +#... + +[0-9]+ +\.note\.gnu\.property +#... + +[0-9]+ +\.note\.gnu\.property #... Displaying notes found in: \.note\.gnu\.property [ ]+Owner[ ]+Data size[ ]+Description