![]() ![]() | ![]() |
File: [local] / prex / dev / i386 / pc / dev.ld (download)
Revision 1.1.1.1 (vendor branch), Tue Aug 19 12:46:47 2008 UTC (16 years ago) by nbrk
Initial import of Prex, Portable Real-time Embedded POSIX microkernel system. I have totally new directions in my development (more focused on real hardware, not virtual one). Old hacks are available in prex-old module. They will be carefully re-designed and merged soon. |
/* 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) } }