aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/note-2.d
blob: ed81703dc2de2893b9ccf0933af1d838984a2ae5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ld: -Tnote-2.t --no-warn-rwx-segments
#objcopy_linked_file: -R .foo 
#readelf: -l --wide

#...
Program Headers:
  Type.*
  LOAD +0x[0-9a-f]+ .*
  NOTE +0x[0-9a-f]+ .*

#...
  Segment Sections...
   00[ \t]+.text *
   01[ \t]+.note *
#pass