![]() ![]() | ![]() |
File: [local] / prex / dev / i386 / nommu / dev.ld (download)
Revision 1.1, Tue Aug 19 12:46:47 2008 UTC (16 years ago) by nbrk
Initial revision |
/* Linker script for driver */ OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386") OUTPUT_ARCH(i386) ENTRY(driver_start) PHDRS { text PT_LOAD FILEHDR PHDRS; data PT_LOAD; } SECTIONS { . = SIZEOF_HEADERS ; .text : { *(.text) } : text = 0x9090 . = ALIGN(32); .rodata : { *(.rodata) *(.rodata.*) } : text . = ALIGN(32); .data : { *(.data) } : data .bss . : { *(.bss) *(COMMON) } /DISCARD/ : { *(.comment .note) } }