diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2020-01-21 05:43:59 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2020-01-21 05:43:59 -0800 |
commit | b4654b109bd023d0a22f445db7d4e27f769593f4 (patch) | |
tree | 36836a0f84d57f6a357478978eb2e80d57492727 /ld | |
parent | e3ed17f3930f014c24d8445682b46d329461fc2f (diff) | |
download | gdb-b4654b109bd023d0a22f445db7d4e27f769593f4.zip gdb-b4654b109bd023d0a22f445db7d4e27f769593f4.tar.gz gdb-b4654b109bd023d0a22f445db7d4e27f769593f4.tar.bz2 |
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.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 4 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/pr23900-1.d | 10 |
2 files changed, 13 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index bcd6d63..a686c18 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2020-01-21 H.J. Lu <hongjiu.lu@intel.com> + + * testsuite/ld-elf/pr23900-1.d: Also pass -l to readelf. + 2020-01-20 Nick Clifton <nickc@redhat.com> * 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 2079c93..8f8c7cc 100644 --- a/ld/testsuite/ld-elf/pr23900-1.d +++ b/ld/testsuite/ld-elf/pr23900-1.d @@ -1,8 +1,16 @@ #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 [ ]+GNU[ ]+0x0+..[ ]+NT_GNU_PROPERTY_TYPE_0[ ]+Properties: no copy on protected |