View | Details | Raw Unified
Collapse All | Expand All

(-) ./netboot-0.10.1/include/i386/string.h86.org (-5 / +5 lines)
 Lines 162-168    Link Here 
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
 Lines 50-56    Link Here 
.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
 Lines 639-654    Link Here 
 */
 */
__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);
}
}