8ee35d562f
* ld-elf/loadaddr1.t: ..here. Use insert. * ld-elf/loadaddr2.t: Likewise. * ld-elf/loadaddr1.d: Update. * ld-elf/loadaddr2.d: Update.
7 lines
150 B
Raku
7 lines
150 B
Raku
SECTIONS
|
|
{
|
|
.bar -0xa00000 : AT ((LOADADDR(.foo) + SIZEOF(.foo) + 4095) & ~(4095))
|
|
{ *(.bar) }
|
|
. = LOADADDR(.bar) + 4096;
|
|
}
|
|
INSERT AFTER .foo;
|