aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/loadaddr1.t
blob: 5037b4f69b9b53f3019d817c3669085d169cab26 (plain)
1
2
3
4
5
6
7
SECTIONS
{
  .bar -0xa00000 : AT ((LOADADDR(.foo) + SIZEOF(.foo) + 4095) & ~(4095))
    { *(.bar) }
  . = LOADADDR(.bar) + 4096;
}
INSERT AFTER .foo;