mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-15 11:00:04 +08:00
e6e56f7c72
Reduce the memory consumption of variable argument functions for SPU (cell): * libc/machine/spu/Makefile.am: Replace printf/scanf family C sources to assembler sources. * libc/machine/spu/Makefile.in: Regenerated. * libc/machine/spu/stdio.c: Add __check_init function wrapping CHECK_INIT macro to use from assembler routines. * libc/machine/spu/c99ppe.h: Add definitions for assembler code. * libc/machine/spu/fiprintf.S: New file. * libc/machine/spu/fiscanf.S: Ditto. * libc/machine/spu/fprintf.S: Ditto. * libc/machine/spu/fscanf.S: Ditto. * libc/machine/spu/iprintf.S: Ditto. * libc/machine/spu/iscanf.S: Ditto. * libc/machine/spu/printf.S: Ditto. * libc/machine/spu/scanf.S: Ditto. * libc/machine/spu/siprintf.S: Ditto. * libc/machine/spu/siscanf.S: Ditto. * libc/machine/spu/sniprintf.S: Ditto. * libc/machine/spu/snprintf.S: Ditto. * libc/machine/spu/sprintf.S: Ditto. * libc/machine/spu/sscanf.S: Ditto. * libc/machine/spu/stack_reg_va.S: Ditto. * libc/machine/spu/syscall.def: Ditto. (for maintenance) * libc/machine/spu/mk_syscalls: Ditto. (for maintenance) * libc/machine/spu/fiprintf.c: Removed. (Replaced by .S) * libc/machine/spu/fiscanf.c: Ditto. * libc/machine/spu/fprintf.c: Ditto. * libc/machine/spu/fscanf.c: Ditto. * libc/machine/spu/iprintf.c: Ditto. * libc/machine/spu/iscanf.c: Ditto. * libc/machine/spu/printf.c: Ditto. * libc/machine/spu/scanf.c: Ditto. * libc/machine/spu/siprintf.c: Ditto. * libc/machine/spu/siscanf.c: Ditto. * libc/machine/spu/sniprintf.c: Ditto. * libc/machine/spu/snprintf.c: Ditto. * libc/machine/spu/sprintf.c: Ditto. * libc/machine/spu/sscanf.c: Ditto.
31 lines
1.2 KiB
Makefile
31 lines
1.2 KiB
Makefile
## Process this file with automake to generate Makefile.in
|
|
|
|
AUTOMAKE_OPTIONS = cygnus
|
|
|
|
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
|
|
|
|
noinst_LIBRARIES = lib.a
|
|
|
|
AM_CCASFLAGS = $(INCLUDES)
|
|
|
|
lib_a_SOURCES = setjmp.S clearerr.c creat.c fclose.c feof.c ferror.c fflush.c \
|
|
fgetc.c fgetpos.c fgets.c fileno.c fiprintf.S fiscanf.S fopen.c \
|
|
fprintf.S fputc.c fputs.c fread.c freopen.c fscanf.S fseek.c \
|
|
fsetpos.c ftell.c fwrite.c getc.c getchar.c gets.c iprintf.S \
|
|
iscanf.S memcpy.c memmove.c memset.c perror.c printf.S \
|
|
putc.c putchar.c puts.c remove.c rename.c rewind.c scanf.S \
|
|
setbuf.c setvbuf.c siprintf.S siscanf.S sleep.c sniprintf.S \
|
|
snprintf.S sprintf.S sscanf.S stdio.c strcat.c strchr.c strcmp.c \
|
|
strcpy.c strcspn.c strlen.c strncat.c strncmp.c strncpy.c strpbrk.c \
|
|
strrchr.c strspn.c strxfrm.c tmpfile.c tmpnam.c ungetc.c usleep.c \
|
|
vfiprintf.c vfiscanf.c vfprintf.c vfscanf.c viprintf.c viscanf.c \
|
|
vprintf.c vscanf.c vsiprintf.c vsiscanf.c vsniprintf.c vsnprintf.c \
|
|
vsprintf.c vsscanf.c stack_reg_va.S
|
|
|
|
lib_a_CCASFLAGS = $(AM_CCASFLAGS)
|
|
lib_a_CFLAGS = $(AM_CFLAGS)
|
|
|
|
ACLOCAL_AMFLAGS = -I ../../.. -I ../../../..
|
|
CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
|
|
|