aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/flags1.d
blob: 6cd8b3f3832bea949992a6a031af562c5fac04ff (plain)
1
2
3
4
5
6
7
8
9
10
11
#name: --set-section-flags test 1 (sections)
#ld: -Tflags1.ld
#objcopy_linked_file: --set-section-flags .post_text_reserve=contents,alloc,load,readonly,code
#readelf: -S --wide

#...
Section Headers:
#...
  \[[ 0-9]+\] \.text.*[ \t]+PROGBITS[ \t0-9a-f]+AX.*
  \[[ 0-9]+\] \.post_text_reserve.*[ \t]+PROGBITS[ \t0-9a-f]+AX.*
#pass