aboutsummaryrefslogtreecommitdiff
path: root/binutils/testsuite/binutils-all/x86-64/large-sections-2.d
blob: 29ace42cc9ebf3bb3807aca6c781a54e5626cbd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#source: large-sections.s
#PROG: objcopy
#as: --64
#objcopy: --set-section-flags .ldata=alloc
#readelf: -S -W

#...
  \[[ 0-9]+\] \.text.*[ \t]+PROGBITS[ \t0-9a-f]+AX[ \t]+.*
#...
  \[[ 0-9]+\] \.data.*[ \t]+PROGBITS[ \t0-9a-f]+WA[ \t]+.*
#...
  \[[ 0-9]+\] \.ltext.*[ \t]+PROGBITS[ \t0-9a-f]+AXl[ \t]+.*
#...
  \[[ 0-9]+\] \.ldata.*[ \t]+PROGBITS[ \t0-9a-f]+WA[ \t]+.*
#pass