From 7eec989c223eb18b358c679d617bd4ec4dd1f19e Mon Sep 17 00:00:00 2001 From: Tee-Kiah Chia Date: Sat, 7 Apr 2018 22:20:37 +0800 Subject: [PATCH] ia16-elf-gcc: use ia16-elf-objcopy instead of host objcopy to process the ia16-elf object files --- mkfiles/gcc.mak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkfiles/gcc.mak b/mkfiles/gcc.mak index b5cd9be..0e167b1 100644 --- a/mkfiles/gcc.mak +++ b/mkfiles/gcc.mak @@ -67,7 +67,7 @@ ifeq ($(LOADSEG)0, 0) LOADSEG=0x60 endif -INITPATCH=objcopy --redefine-sym ___umodsi3=_init_umodsi3 --redefine-sym ___udivsi3=_init_udivsi3 --redefine-sym ___ashlsi3=_init_ashlsi3 --redefine-sym ___lshrsi3=_init_lshrsi3 +INITPATCH=ia16-elf-objcopy --redefine-sym ___umodsi3=_init_umodsi3 --redefine-sym ___udivsi3=_init_udivsi3 --redefine-sym ___ashlsi3=_init_ashlsi3 --redefine-sym ___lshrsi3=_init_lshrsi3 CLDEF=1 CLT=gcc -DDOSC_TIME_H -I../hdr -o $@ CLC=$(CLT)