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.
+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.
#...
GNU_PROPERTY .*
#...
- +[0-9]+ +\.note\.gnu\.property
+ +[0-9]+ +.*\.note\.gnu\.property.*
#...
+[0-9]+ +\.note\.gnu\.property
#...