GCC arguments
Posted: Mon Dec 23, 2002 9:18 am
Please, if you are using gcc to compile your kernel, could you give me the command-line arguments you're using ?
Code: Select all
OUTPUT_FORMAT("elf32-i386") /* we use ELF */
ENTRY(start)
physical_load_addr = 0x100000; /* GRUB can't load below 1MB */
SECTIONS
{
. = physical_load_addr;
.text :
{
*(.text)
}
.rodata :
{
*(.rodata) /* need this! */
}
.data :
{
*(.data)
}
.bss :
{
bss = .;
*(COMMON)
*(.bss)
}
end = .;
}