pr23900-1.d: Adjusted

Linux program headers may look like

Section to Segment mapping:
  Segment Sections...
   00     .note.gnu.property .text
   01     .note.gnu.property
   02     .note.gnu.property

or

Section to Segment mapping:
  Segment Sections...
   00     .note.gnu.property
   01     .text
   02     .note.gnu.property
   03     .note.gnu.property

Update pr23900-1.d to accept both.

	* testsuite/ld-elf/pr23900-1.d: Adjusted.
This commit is contained in:
H.J. Lu
2020-01-21 16:20:38 -08:00
parent ea91954d07
commit 1e1613647f
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2020-01-21 H.J. Lu <hongjiu.lu@intel.com>
* testsuite/ld-elf/pr23900-1.d: Adjusted.
2020-01-21 H.J. Lu <hongjiu.lu@intel.com>
* testsuite/ld-elf/pr23900-1.d: Also pass -l to readelf.

View File

@ -5,7 +5,7 @@
#...
GNU_PROPERTY .*
#...
+[0-9]+ +\.note\.gnu\.property
+[0-9]+ +.*\.note\.gnu\.property.*
#...
+[0-9]+ +\.note\.gnu\.property
#...