Prex Home / Browse Source - Prex Version: 0.9.0

root/bsp/boot/arm/arch/boot.ld

/* [<][>][^][v][top][bottom][index][help] */
/*
 * Linker script for boot loader
 */
INCLUDE config.ld
OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm", "elf32-littlearm")
OUTPUT_ARCH(arm)
SECTIONS {
        . = CONFIG_LOADER_TEXT ;

        .text . : {
                *(.text)
        }
        . = ALIGN(4);
        .rodata . : {
                *(.rodata)
                *(.rodata.*)
        }
        . = ALIGN(4);
        .data . : {
                *(.data)
        }
        . = ALIGN(4);
        .bss . : {
                *(.bss)
                *(COMMON)
        }
        . = CONFIG_LOADER_TEXT + 0x1fff;
        .tail : {
                *(.tail)
        }
}

/* [<][>][^][v][top][bottom][index][help] */