Files
proxmark3/bootrom/ldscript-flash-at32
T

41 lines
1.3 KiB
Plaintext

/*
-----------------------------------------------------------------------------
Copyright (C) Jonathan Westhues, Mar 2006
Copyright (C) Proxmark3 contributors. See AUTHORS.md for details.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
See LICENSE.txt for the text of the license.
-----------------------------------------------------------------------------
Bootrom linker script for AT32 microcontrollers
By DXL
-----------------------------------------------------------------------------
*/
INCLUDE ../common_arm/ldscript.defs.at32
INCLUDE ../common_arm/ldscript.common
INCLUDE ./ldscript-flash-common
PHDRS
{
stack_boot PT_LOAD;
}
SECTIONS
{
/* It is used in flash-reset-at32.s. To called some c functions for init/config. */
.stack_boot : {
__stack_boot_start__ = .;
. += stacksize;
__stack_boot_end__ = .;
} >ram AT>ram :stack_boot
}