From: H.J. Lu Date: Tue, 21 Jan 2020 13:43:59 +0000 (-0800) Subject: pr23900-1.d: Also check PT_GNU_PROPERTY program header X-Git-Tag: binutils-2_35~2286 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b4654b109bd023d0a22f445db7d4e27f769593f4;p=thirdparty%2Fbinutils-gdb.git 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. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index bcd6d633195..a686c187cbf 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 2079c93f25e..8f8c7ccf037 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