mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-28 05:51:04 +00:00
24 lines
394 B
Perl
24 lines
394 B
Perl
PHDRS
|
|
{
|
|
Foo PT_LOAD ;
|
|
Bar PT_LOAD ;
|
|
}
|
|
|
|
SECTIONS
|
|
{
|
|
. = 0x800000 - 1;
|
|
/* The PHDRS generated should start at the aligned .foo section
|
|
address, not the unaligned .empty section address */
|
|
.empty : {
|
|
EMPTY_START = ABSOLUTE(.) ;
|
|
*(.empty)
|
|
EMPTY_END = ABSOLUTE(.) ;
|
|
} : Foo
|
|
.foo : { *(.foo) } : Foo
|
|
.bar : { *(.bar)
|
|
LONG(EMPTY_START) ;
|
|
} : Bar
|
|
|
|
/DISCARD/ : { *(.*) }
|
|
}
|