From 6b1e97867b359a16cca79f9b404f49c8c6c0c771 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Fr=C3=B6schle?= Date: Fri, 5 Jul 2013 16:13:32 +0000 Subject: [PATCH] removed pc-relative quirks since not needed anymore --- BaS_gcc/bas.lk.in | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/BaS_gcc/bas.lk.in b/BaS_gcc/bas.lk.in index 0420f2a..58ec480 100644 --- a/BaS_gcc/bas.lk.in +++ b/BaS_gcc/bas.lk.in @@ -56,16 +56,6 @@ SECTIONS . = ALIGN(16); } > bas_ram - /* The following labels are BaS routines in the flash, - * before they are copied to their final location in the RAM. - * This is to allow using them before and after the actual copy. - * Hence they must contain only pc-relative code (compiled with -mpcrel). - */ -#define BAS_LABEL_LMA(x) ((x) + (__BAS_LMA - __BAS_IN_RAM)) - _xprintf_before_copy = BAS_LABEL_LMA(_xprintf); - _display_progress_before_copy = BAS_LABEL_LMA(_display_progress); - _flush_and_invalidate_caches_before_copy = BAS_LABEL_LMA(_flush_and_invalidate_caches); - /* * Global memory map */