From 786e3215a41c1fb0a8a5e582f8aed939bb1aa1d9 Mon Sep 17 00:00:00 2001 From: TitanMKD Date: Mon, 25 Feb 2013 01:35:56 +0100 Subject: [PATCH] Fixed a problem with rom to ram. (which can produce error "cannot move location counter backwards") --- lib/lpc43xx/libopencm3_lpc43xx_rom_to_ram.ld | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/lpc43xx/libopencm3_lpc43xx_rom_to_ram.ld b/lib/lpc43xx/libopencm3_lpc43xx_rom_to_ram.ld index 8b4d570c..50be8d3d 100644 --- a/lib/lpc43xx/libopencm3_lpc43xx_rom_to_ram.ld +++ b/lib/lpc43xx/libopencm3_lpc43xx_rom_to_ram.ld @@ -96,7 +96,6 @@ SECTIONS _edata_rom = _data_rom + SIZEOF (.data); .bss : { - . = _edata; _bss = .; *(.bss*) /* Read-write zero initialized data */ *(COMMON) @@ -106,7 +105,6 @@ SECTIONS /* exception unwind data - required due to libgcc.a issuing /0 exceptions */ .ARM.extab : { - . = _ebss; *(.ARM.extab*) } >ram_local2