mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-27 14:50:23 +00:00
13 lines
343 B
Perl
13 lines
343 B
Perl
|
OUTPUT_ARCH(i386)
|
||
|
PHDRS {
|
||
|
text PT_LOAD FLAGS(5); /* R_E */
|
||
|
}
|
||
|
SECTIONS
|
||
|
{
|
||
|
. = 0xC0000000 + ((0x100000 + (0x100000 - 1)) & ~(0x100000 - 1));
|
||
|
.bar : AT(ADDR(.bar) - 0xC0000000) { *(.bar) } :text
|
||
|
.bss : AT(ADDR(.bss) - 0xC0000000) { *(.bss) }
|
||
|
.foo 0 : AT(ADDR(.bss) + SIZEOF(.bss) - 0xC0000000) { *(.foo) } :text
|
||
|
/DISCARD/ : { *(.*) }
|
||
|
}
|