From 28036be06b22b3ea7b584dfd6a20d91dde84de7f 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.lk.in | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/bas.lk.in b/bas.lk.in index 0420f2a..58ec480 100644 --- a/bas.lk.in +++ b/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 */