diff options
| author | Michael Brown | 2005-03-08 19:53:11 +0100 |
|---|---|---|
| committer | Michael Brown | 2005-03-08 19:53:11 +0100 |
| commit | 3d6123e69ab879c72ff489afc5bf93ef0b7a94ce (patch) | |
| tree | 9f3277569153a550fa8d81ebd61bd88f266eb8da /src/arch/armnommu/core/etherboot.lds | |
| download | ipxe-3d6123e69ab879c72ff489afc5bf93ef0b7a94ce.tar.gz ipxe-3d6123e69ab879c72ff489afc5bf93ef0b7a94ce.tar.xz ipxe-3d6123e69ab879c72ff489afc5bf93ef0b7a94ce.zip | |
Initial revision
Diffstat (limited to 'src/arch/armnommu/core/etherboot.lds')
| -rw-r--r-- | src/arch/armnommu/core/etherboot.lds | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/src/arch/armnommu/core/etherboot.lds b/src/arch/armnommu/core/etherboot.lds new file mode 100644 index 000000000..0901a2f9b --- /dev/null +++ b/src/arch/armnommu/core/etherboot.lds @@ -0,0 +1,55 @@ +/* + * Copyright (C) 2004 Tobias Lorenz + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ +OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm") +OUTPUT_ARCH(arm) +ENTRY(_start) +SECTIONS +{ + /*. = 0x00000000;*/ /* PIC */ + /*. = 0x00000400;*/ /* ROM Bootloader */ + . = 0x40000000; /* SDRAM */ + + . = ALIGN(4); + _text = . ; + .text : + { + _start = .; + _virt_start = .; + bin/start.o (.text) + *(.text) + + . = ALIGN(16); + isa_drivers = . ; + *(.drivers.isa); + isa_drivers_end = . ; + } + + . = ALIGN(4); + .rodata : { *(.rodata) } + + . = ALIGN(4); + .data : { *(.data) } + + . = ALIGN(4); + .got : { *(.got) } + + . = ALIGN(4); + _bss = . ; + .bss : { *(.bss) } + + . = ALIGN(4); + _ebss = .; + _end = .; + + . = ALIGN(16); + .text : + { + *(.dma.desc); + *(.dma.buffer); + } +} |
