source: mainline/boot/arch/arm32/_link.ld.in@ 239e32b8

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since 239e32b8 was 4646710, checked in by Martin Decky <martin@…>, 8 years ago

replace objcopy with mkarray.py
(objcopy is notoriously problematic due to the uncontrolable way how it generates the object files, with what flags, etc.)

  • Property mode set to 100644
File size: 608 bytes
RevLine 
[d969a9a]1#include <arch/arch.h>
2
[fa024ce]3ENTRY(start)
4
[960f8476]5SECTIONS {
[d969a9a]6 . = BOOT_BASE;
[4872160]7 .text : {
[e19d667]8 *(BOOTSTRAP);
9 *(.text);
[4872160]10 }
[d969a9a]11 . = BOOT_BASE + 0x8000;
[4872160]12 .data : {
[bfb6576]13 bdata_start = .;
[4872160]14 *(BOOTPT); /* bootstrap page table */
15 *(BOOTSTACK); /* bootstrap stack */
16 *(.data); /* initialized data */
[e19d667]17 *(.rodata);
18 *(.rodata.*);
19 *(.sdata);
[4872160]20 *(.reginfo);
[e19d667]21 *(.sbss);
[4872160]22 *(.scommon);
[fa024ce]23 *(.bss); /* uninitialized static variables */
24 *(COMMON); /* global variables */
[4646710]25 *(.components);
[960f8476]26 }
[bfb6576]27 bdata_end = .;
28
[e731b0d]29 /DISCARD/ : {
[4872160]30 *(.gnu.*);
31 *(.ARM.*);
32 *(.mdebug*);
33 *(.pdr);
[e731b0d]34 *(.comment);
[4872160]35 *(.note.*);
[e731b0d]36 }
[960f8476]37}
Note: See TracBrowser for help on using the repository browser.