Fix arm build for GCC, noassert, -Os

Change-Id: I706fdfc8fc9a5e0c9076e3657ac1a6ef0745bd14
This commit is contained in:
Lionel Sambuc 2015-03-05 14:39:41 +01:00
parent f912036bae
commit 3d0f2c86c4
2 changed files with 11 additions and 2 deletions

View file

@ -18,8 +18,8 @@ MINC_OBJS_UNPAGED= atoi.o \
printf.o subr_prf.o \ printf.o subr_prf.o \
strcmp.o strcpy.o strlen.o strncmp.o \ strcmp.o strcpy.o strlen.o strncmp.o \
memcpy.o memmove.o memset.o memcpy.o memmove.o memset.o
MINC_OBJS_UNPAGED+= divsi3.o udivsi3.o umodsi3.o \ MINC_OBJS_UNPAGED+= divmodsi4.o divsi3.o udivsi3.o umodsi3.o \
umoddi3.o udivmoddi4.o aeabi_uidivmod.o \ umoddi3.o udivmoddi4.o aeabi_idivmod.o aeabi_uidivmod.o \
udivmodsi4.o aeabi_uldivmod.o udivmodsi4.o aeabi_uldivmod.o
atoi.o: ${NETBSDSRCDIR}/minix/lib/libminc/atoi.c atoi.o: ${NETBSDSRCDIR}/minix/lib/libminc/atoi.c
printf.o: ${NETBSDSRCDIR}/sys/lib/libsa/printf.c printf.o: ${NETBSDSRCDIR}/sys/lib/libsa/printf.c
@ -36,7 +36,9 @@ udivsi3.o: ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist/lib/udivsi3.c
umodsi3.o: ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist/lib/umodsi3.c umodsi3.o: ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist/lib/umodsi3.c
umoddi3.o: ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist/lib/umoddi3.c umoddi3.o: ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist/lib/umoddi3.c
udivmoddi4.o: ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist/lib/udivmoddi4.c udivmoddi4.o: ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist/lib/udivmoddi4.c
divmodsi4.o: ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist/lib/arm/divmodsi4.S
udivmodsi4.o: ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist/lib/arm/udivmodsi4.S udivmodsi4.o: ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist/lib/arm/udivmodsi4.S
aeabi_idivmod.o: ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist/lib/arm/aeabi_idivmod.S
aeabi_uidivmod.o: ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist/lib/arm/aeabi_uidivmod.S aeabi_uidivmod.o: ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist/lib/arm/aeabi_uidivmod.S
aeabi_uldivmod.o: ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist/lib/arm/aeabi_uldivmod.S aeabi_uldivmod.o: ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist/lib/arm/aeabi_uldivmod.S

View file

@ -10,6 +10,13 @@ OBJS+= ${f}
CLEANFILES+= ${f} CLEANFILES+= ${f}
.endfor .endfor
.for f in \
lshldi3.o
${f}: ${LIBCOMMONCDIR}/quad/${f:C/\.o/.c/}
OBJS+= ${f}
CLEANFILES+= ${f}
.endfor
.for f in \ .for f in \
byte_swap_2.o byte_swap_4.o byte_swap_2.o byte_swap_4.o
${f}: ${LIBCOMMONCARCHDIR}/gen/${f:C/\.o/.S/} ${f}: ${LIBCOMMONCARCHDIR}/gen/${f:C/\.o/.S/}