![]() ![]() | ![]() |
File: [local] / prex-old / dev / arm / gba / dev.ld (download)
Revision 1.1, Tue Jun 3 09:38:41 2008 UTC (16 years, 2 months ago) by nbrk
Initial revision |
/* Linker script for driver */ OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm", "elf32-littlearm") OUTPUT_ARCH(arm) ENTRY(driver_start) PHDRS { text PT_LOAD FILEHDR PHDRS; data PT_LOAD; } SECTIONS { . = SIZEOF_HEADERS ; .text : { *(.text) *(.glue_7) *(.glue_7t) } : text = 0xff . = ALIGN(4); .rodata : { *(.rodata) *(.rodata.*) } : text . = ALIGN(4); .data : { *(.data) } : data . = ALIGN(4); .bss . : { *(.bss) *(COMMON) } /DISCARD/ : { *(.comment .note) } }