aboutsummaryrefslogtreecommitdiffstats
path: root/support/ld/common_rom.inc
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-09-08 22:45:37 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2011-09-09 15:33:11 -0400
commit6e434eac0a66e83b328da7271d25b27f48e6e84e (patch)
tree68d6367f0f763741d67db17def51f1ec2fa01c01 /support/ld/common_rom.inc
parent0b7c5419a6825ac411cd8534358d0862e8ab01a5 (diff)
downloadlibrambutan-6e434eac0a66e83b328da7271d25b27f48e6e84e.tar.gz
librambutan-6e434eac0a66e83b328da7271d25b27f48e6e84e.zip
Linker scripts: Remove useless junk.
Diffstat (limited to 'support/ld/common_rom.inc')
-rw-r--r--support/ld/common_rom.inc12
1 files changed, 0 insertions, 12 deletions
diff --git a/support/ld/common_rom.inc b/support/ld/common_rom.inc
index d0dcd6f..accea44 100644
--- a/support/ld/common_rom.inc
+++ b/support/ld/common_rom.inc
@@ -10,9 +10,6 @@ SECTIONS
{
.text :
{
- CREATE_OBJECT_SYMBOLS
- __cs3_region_start_rom = .;
-
/*
* STM32 vector table
*/
@@ -107,11 +104,6 @@ SECTIONS
*(.USER_FLASH)
} > rom
- /* __cs3_region_end_rom is deprecated */
- __cs3_region_end_rom = __cs3_region_start_rom + LENGTH(rom);
- __cs3_region_size_rom = LENGTH(rom);
- __cs3_region_num = 1;
-
/*
* Start of data
*/
@@ -136,12 +128,8 @@ SECTIONS
*(.ram.b)
. = ALIGN (8);
_end = .;
- __end = .;
} > REGION_BSS AT> REGION_TEXT
- /* __cs3_region_end_ram is deprecated */
- __cs3_region_end_ram = __cs3_region_start_ram + LENGTH(ram);
- __cs3_region_size_ram = LENGTH(ram);
__cs3_region_init_ram = LOADADDR (.data);
__cs3_region_init_size_ram = _edata - ADDR (.data);
__cs3_region_zero_size_ram = _end - _edata;