4 * _ROMBASE : start of ROM
5 * _RESET : reset vector (may be at top of ROM)
6 * _EXCEPTIONS_VECTORS : exception table
8 * _ROMSTART : linuxbios text
11 * _RAMBASE : address to copy payload
15 * Written by Johan Rydberg, based on work by Daniel Kahlin.
16 * Rewritten by Eric Biederman
17 * Re-rewritten by Greg Watson for PPC
21 * We use ELF as output format. So that we can
22 * debug the code in some form.
25 OUTPUT_FORMAT("elf32-powerpc")
29 INPUT(linuxbios_ram.rom)
33 * Absolute location of base of ROM
38 * Absolute location of reset vector. This may actually be at the
48 * Absolute location of exception vector table.
50 . = _EXCEPTION_VECTORS;
51 .exception_vectors . : {
52 *(.rom.exception_vectors);
57 * Absolute location of LinuxBIOS initialization code in ROM.
66 *(EXCLUDE_FILE(linuxbios_ram.rom) .data);
70 _lrom = LOADADDR(.rom);
71 _elrom = LOADADDR(.rom) + SIZEOF(.rom);
74 * Ram is the LinuxBIOS code that runs from RAM.
83 * Absolute location of where LinuxBIOS will be relocated in RAM.
86 _eiseg = _iseg + SIZEOF(.ram);