removed pc-relative quirks since not needed anymore

This commit is contained in:
Markus Fröschle
2013-07-05 16:13:32 +00:00
parent 35657980cf
commit 6b1e97867b

View File

@@ -56,16 +56,6 @@ SECTIONS
. = ALIGN(16); . = ALIGN(16);
} > bas_ram } > 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 * Global memory map
*/ */