aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2020-01-21 05:43:59 -0800
committerH.J. Lu <hjl.tools@gmail.com>2020-01-21 05:43:59 -0800
commitb4654b109bd023d0a22f445db7d4e27f769593f4 (patch)
tree36836a0f84d57f6a357478978eb2e80d57492727 /ld/testsuite
parente3ed17f3930f014c24d8445682b46d329461fc2f (diff)
downloadgdb-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/testsuite')
-rw-r--r--ld/testsuite/ld-elf/pr23900-1.d10
1 files changed, 9 insertions, 1 deletions
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