bsps/arm: Add thread-local storage (TLS) sections

This commit is contained in:
Sebastian Huber
2013-03-26 16:01:10 +01:00
parent c32b1efa43
commit 8ac62c4ea0

View File

@@ -7,7 +7,7 @@
*/
/*
* Copyright (c) 2008-2011 embedded brains GmbH. All rights reserved.
* Copyright (c) 2008-2013 embedded brains GmbH. All rights reserved.
*
* embedded brains GmbH
* Obere Lagerstr. 30
@@ -346,10 +346,16 @@ SECTIONS {
bsp_section_data_end = .;
} > REGION_DATA AT > REGION_DATA_LOAD
.tdata : {
*(.tdata .tdata.* .gnu.linkonce.td.*)
} > REGION_DATA AT > REGION_DATA_LOAD
bsp_section_data_size = bsp_section_data_end - bsp_section_data_begin;
bsp_section_data_load_begin = LOADADDR (.data);
bsp_section_data_load_end = bsp_section_data_load_begin + bsp_section_data_size;
.tbss : {
*(.tbss .tbss.* .gnu.linkonce.tb.*) *(.tcommon)
} > REGION_BSS AT > REGION_BSS
.bss : {
bsp_section_bss_begin = .;
*(.dynbss)