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

#...
  LOAD +0x000000 0xf*80000000 0xf*80000000 0x100050 0x100050 RWE 0x200000
  LOAD +0x200000 0xf*ff600000 0xf*80101000 0x0*10 0x0*10 R E 0x200000
  LOAD +0x[35]02000 0xf*80102000 0xf*80102000 0x0*10 0x0*10 RW  0x200000
#pass