From e3814f7df63f9d3cf4630bcb537235d00a2abd38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Fr=C3=B6schle?= Date: Mon, 6 May 2013 16:00:53 +0000 Subject: [PATCH] added -mshort to xhdi_interface.c compilation --- BaS_gcc/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BaS_gcc/Makefile b/BaS_gcc/Makefile index 727b9ff..37982bf 100644 --- a/BaS_gcc/Makefile +++ b/BaS_gcc/Makefile @@ -142,6 +142,8 @@ $(LIBBAS): $(OBJS) # compile init_fpga with -mbitfield for testing purposes #$(OBJDIR)/init_fpga.o: CFLAGS += -mbitfield +# compile xhdi_interface -mshort to make it callable from (-mshort-compiled) EmuTOS +$(OBJDIR)/xhdi_interface.o: CFLAGS += -mshort # compile printf pc-relative so it can be used as well before and after copy of BaS $(OBJDIR)/bas_printf.o: CFLAGS += -mpcrel # the same for flush_and_invalidate_cache()