Generate the final link linker scripts.

This commit is contained in:
Russel Winder
2009-08-10 11:30:53 +01:00
parent 52962b5b19
commit 9cb2b7470f
4 changed files with 45 additions and 21 deletions

29
loader/linker.lds.in Normal file
View File

@@ -0,0 +1,29 @@
/****
**** Template for generating a linker.lds. Edit markers have replaced some items in the original file
****
**** Copyright © 2009 B Labs Ltd
****
**** Author: Russel Winder.
****/
/*
* Simple linker script for userspace or svc tasks.
*
* Copyright (C) 2007 Bahadir Balban
*/
ENTRY(_start)
SECTIONS
{
. = 0x2000000;
.text : { *(.text) }
.rodata : { *(.rodata) }
.rodata1 : { *(.rodata1) }
.data :
{
__LINKER_ITEMS_EDIT_MARKER__
*(.data)
}
.got : { *(.got) *(.got.plt) }
.bss : { *(.bss) }
}