binutils-gdb/ld/testsuite/ld-elf/pr23900-1.d
H.J. Lu 1e1613647f 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.
2020-01-21 16:20:38 -08:00

17 lines
393 B
Makefile

#ld:
#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