aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/loadaddr2.d
blob: 0044b8b33d50febd26d85a642ea4a31e985bf5ea (plain)
1
2
3
4
5
6
7
8
9
10
#source: loadaddr.s
#ld: -T loadaddr2.t -z max-page-size=0x200000
#readelf: -l --wide
#target: *-*-linux*

#...
  LOAD +0x000000 0xf*80000000 0xf*80000000 0x100041 0x100041 RWE 0x200000
  LOAD +0x110000 0xf*80110000 0xf*80101000 0x0*1 0x0*1 R E 0x200000
  LOAD +0x302000 0xf*80302000 0xf*80302000 0x0*1 0x0*1 RW  0x200000
#pass