aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/testsuite/ld-elf/pr23900-1.d10
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