summaryrefslogtreecommitdiffstats
path: root/sbe/image/linkotprom.cmd
blob: 2d7324ac74681657928941c025ca305486192acb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

// Need to do this so that elf32-powerpc is not modified!
#undef powerpc

#include <sbe_link.H>

OUTPUT_FORMAT(elf32-powerpc);

MEMORY
{
 sram : ORIGIN = OTPROM_ORIGIN, LENGTH = OTPROM_BLOCK_SIZE
}

SECTIONS
{
    . = OTPROM_ORIGIN;
    .text  . : { *(.text)}
    . = OTPROM_FIXED_SIZE;
    .fixed . : { *(.fixed)}
}
OpenPOWER on IntegriCloud