mirror of
https://github.com/drasko/codezero.git
synced 2026-02-28 09:43:14 +01:00
Generate the final link linker scripts.
This commit is contained in:
29
loader/linker.lds.in
Normal file
29
loader/linker.lds.in
Normal 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) }
|
||||
}
|
||||
Reference in New Issue
Block a user