From 52e05b1b493f1c22bee291d3dc2eaeb7f428b2da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Fr=C3=B6schle?= Date: Sun, 3 Nov 2013 19:13:33 +0000 Subject: [PATCH] rearrange USB memory buffer --- BaS_gcc/bas.lk.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/BaS_gcc/bas.lk.in b/BaS_gcc/bas.lk.in index 0181b2a..a83aa0a 100644 --- a/BaS_gcc/bas.lk.in +++ b/BaS_gcc/bas.lk.in @@ -70,14 +70,14 @@ SECTIONS __BAS_DATA_END = .; *(.bss) #endif /* TARGET_ADDRESS */ +#if (TARGET_ADDRESS < 0x1FFFFFFF && TARGET_ADDRESS > 0) + . = ALIGN(16); + _usb_buffer = .; +#endif #if (FORMAT == elf32-m68k) *(.rodata) *(.rodata.*) -#endif -#if (TARGET_ADDRESS < 0x1FFFFFFF && TARGET_ADDRESS > 0) - . = ALIGN(16); - _usb_buffer = .; #endif } > bas_rom