aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/loadaddr2.t
blob: 0ad16df3a2b081980d2a0d4caed9b8d679fbd989 (plain)
1
2
3
4
5
6
7
SECTIONS
{
  .bar -0x7fef0000 : AT ((LOADADDR(.foo) + SIZEOF(.foo) + 4095) & ~(4095))
    { *(.bar) }
  . = LOADADDR(.bar) + 0x200000;
}
INSERT BEFORE .data;