public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] pr23900-1.d: Also check PT_GNU_PROPERTY program header
@ 2020-01-21 13:47 H.J. Lu
  0 siblings, 0 replies; only message in thread
From: H.J. Lu @ 2020-01-21 13:47 UTC (permalink / raw)
  To: binutils

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  <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 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
-- 
2.24.1

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-01-21 13:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-21 13:47 [PATCH] pr23900-1.d: Also check PT_GNU_PROPERTY program header H.J. Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).