|
|
DOGCC86 = $(GCC86) $(CPP86INCS) $(GCC86FLAGS) -S | DOGCC86 = $(GCC86) $(CPP86INCS) $(GCC86FLAGS) -S |
| |
%.t86:: %.c86 | %.t86:: %.c86 |
$(DOGCC86) $($(<:%.c86=%)_FLAGS) -o $@ $< |
$(DOGCC86) -fno-pie -fno-stack-protector $($(<:%.c86=%)_FLAGS) -o $@ $< |
| |
| |
%-debug.t86:: %.c86 | %-debug.t86:: %.c86 |
|
|
.INTERMEDIATE: $(STROBJS:%.o86=%.t86) | .INTERMEDIATE: $(STROBJS:%.o86=%.t86) |
| |
$(STROBJS:%.o86=%.t86): cstrings.c86 $(INCDIR)/i386/string.h86 | $(STROBJS:%.o86=%.t86): cstrings.c86 $(INCDIR)/i386/string.h86 |
$(DOGCC86) -DL_$(@:%.t86=%) -o $@ $< |
$(DOGCC86) -fno-pie -fno-stack-protector -DL_$(@:%.t86=%) -o $@ $< |
| |
| |
# distrib generates all files which are not removed by distclean | # distrib generates all files which are not removed by distclean |
|
|
*/ | */ |
__nb_inline__ short movemem(__lptr src, __lptr dest, __long n) | __nb_inline__ short movemem(__lptr src, __lptr dest, __long n) |
{ | { |
__u32 d0, d1, d2; |
__u32 d0, d1; |
register __u16 __res; | register __u16 __res; |
| |
__asm__ __volatile__( | __asm__ __volatile__( |
"call movmem\n\t" | "call movmem\n\t" |
"setnc %b0\n\t" | "setnc %b0\n\t" |
"cbtw" | "cbtw" |
: "=&a" (__res), "=&b" (d0), "=&c" (d1), "=&S" (d2) |
: "=&a" (__res), "=&b" (d0), "=&c" (d1) |
: "0" ((__u32)src), "1" ((__u32)dest), "2" ((__u32)n) | : "0" ((__u32)src), "1" ((__u32)dest), "2" ((__u32)n) |
: "memory", "cc"); |
: "memory", "cc", "%esi"); |
return((short)__res); | return((short)__res); |
} | } |
| |