mirror of
https://git.code.sf.net/p/openocd/code
synced 2024-11-22 17:46:26 +00:00
d8042fbb46
Replace the BSD-3-Clause boilerplate with the SPDX tag. Add the SPDX tag and the copyright to two makefiles that were added by TI with the other files in their respective folder. The SPDX tag on files *.c is incorrect, as it should use the C99 single line comment using '//'. But current checkpatch doesn't allow C99 comments, so keep using standard C comments, by now. Change-Id: I3ad1b2dbdb6054b74dcc26e394c9223ba0427caf Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/7158 Tested-by: jenkins
107 lines
1.9 KiB
Plaintext
107 lines
1.9 KiB
Plaintext
/* SPDX-License-Identifier: BSD-3-Clause */
|
|
|
|
/****************************************************************************
|
|
* Copyright (c) 2006 by Michael Fischer. All rights reserved.
|
|
****************************************************************************
|
|
*
|
|
* History:
|
|
*
|
|
* 30.03.06 mifi First Version
|
|
****************************************************************************/
|
|
|
|
|
|
ENTRY(ResetHandler)
|
|
SEARCH_DIR(.)
|
|
|
|
/*
|
|
* Define stack size here
|
|
*/
|
|
FIQ_STACK_SIZE = 0x0100;
|
|
IRQ_STACK_SIZE = 0x0100;
|
|
ABT_STACK_SIZE = 0x0100;
|
|
UND_STACK_SIZE = 0x0100;
|
|
SVC_STACK_SIZE = 0x0100;
|
|
|
|
|
|
MEMORY
|
|
{
|
|
ram : org = 0x00200000, len = 64k
|
|
}
|
|
|
|
/*
|
|
* Do not change the next code
|
|
*/
|
|
SECTIONS
|
|
{
|
|
.text :
|
|
{
|
|
*(.vectors);
|
|
. = ALIGN(4);
|
|
*(.init);
|
|
. = ALIGN(4);
|
|
*(.text);
|
|
. = ALIGN(4);
|
|
*(.rodata);
|
|
. = ALIGN(4);
|
|
*(.rodata*);
|
|
. = ALIGN(4);
|
|
*(.glue_7t);
|
|
. = ALIGN(4);
|
|
*(.glue_7);
|
|
. = ALIGN(4);
|
|
etext = .;
|
|
} > ram
|
|
|
|
.data :
|
|
{
|
|
PROVIDE (__data_start = .);
|
|
*(.data)
|
|
. = ALIGN(4);
|
|
edata = .;
|
|
_edata = .;
|
|
PROVIDE (__data_end = .);
|
|
} > ram
|
|
|
|
.bss :
|
|
{
|
|
PROVIDE (__bss_start = .);
|
|
*(.bss)
|
|
*(COMMON)
|
|
. = ALIGN(4);
|
|
PROVIDE (__bss_end = .);
|
|
|
|
. = ALIGN(256);
|
|
|
|
PROVIDE (__stack_start = .);
|
|
|
|
PROVIDE (__stack_fiq_start = .);
|
|
. += FIQ_STACK_SIZE;
|
|
. = ALIGN(4);
|
|
PROVIDE (__stack_fiq_end = .);
|
|
|
|
PROVIDE (__stack_irq_start = .);
|
|
. += IRQ_STACK_SIZE;
|
|
. = ALIGN(4);
|
|
PROVIDE (__stack_irq_end = .);
|
|
|
|
PROVIDE (__stack_abt_start = .);
|
|
. += ABT_STACK_SIZE;
|
|
. = ALIGN(4);
|
|
PROVIDE (__stack_abt_end = .);
|
|
|
|
PROVIDE (__stack_und_start = .);
|
|
. += UND_STACK_SIZE;
|
|
. = ALIGN(4);
|
|
PROVIDE (__stack_und_end = .);
|
|
|
|
PROVIDE (__stack_svc_start = .);
|
|
. += SVC_STACK_SIZE;
|
|
. = ALIGN(4);
|
|
PROVIDE (__stack_svc_end = .);
|
|
PROVIDE (__stack_end = .);
|
|
PROVIDE (__heap_start = .);
|
|
} > ram
|
|
|
|
}
|
|
/*** EOF ***/
|