aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/pr30907-2.d
blob: 7312da967b41125752bd8fdab220b8fb818f0152 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#name: --rosegment (pr30907-2) (has at least one RX, one R and one RW segments)
#source: pr22393-1.s
#ld: -shared -z separate-code -z relro --rosegment
#readelf: -l --wide
#target: *-*-linux-gnu *-*-gnu* *-*-nacl* arm*-*-uclinuxfdpiceabi
#xfail: ![check_shared_lib_support] 
#xfail: ![check_relro_support]

#...
[ ]+LOAD[ 	]+0x[0-9a-f x]+R E[ ]+0x.*
#...
[ ]+LOAD[ 	]+0x[0-9a-f x]+R[ ]+0x.*
#...
[ ]+LOAD[ 	]+0x[0-9a-f x]+RW[ ]+0x.*
#...