exosphere: fix neon regs being used => don't link against newlib, use -mgeneral-regs-only

This commit is contained in:
TuxSH 2018-09-27 23:56:01 +02:00
parent 210c6425c3
commit 06088d4c60
3 changed files with 1143 additions and 5 deletions

View file

@ -25,7 +25,7 @@ INCLUDES := include
#---------------------------------------------------------------------------------
# options for code generation
#---------------------------------------------------------------------------------
ARCH := -march=armv8-a -mtune=cortex-a57
ARCH := -march=armv8-a -mtune=cortex-a57 -mgeneral-regs-only #<- important
DEFINES := -D__CCPLEX__
CFLAGS := \
-g \
@ -45,7 +45,7 @@ CFLAGS += $(INCLUDE)
CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11
ASFLAGS := -g $(ARCH)
LDFLAGS = -specs=$(TOPDIR)/linker.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map)
LDFLAGS = -specs=$(TOPDIR)/linker.specs -nostartfiles -nostdlib -g $(ARCH) -Wl,-Map,$(notdir $*.map)
LIBS :=

View file

@ -2,6 +2,3 @@
*link:
%(old_link) -T %:getenv(TOPDIR /linker.ld) --nmagic --gc-sections
*startfile:
crti%O%s crtbegin%O%s

1141
exosphere/src/my_libc.c Normal file

File diff suppressed because it is too large Load diff