Changeset 6ab8697 in mainline
- Timestamp:
- 2009-10-07T14:03:35Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2088dfc
- Parents:
- 7a53208
- Files:
-
- 11 deleted
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/Makefile
r7a53208 r6ab8697 49 49 GCC_CFLAGS = -I$(INCLUDES) -O$(OPTIMIZATION) -imacros ../config.h \ 50 50 -fexec-charset=UTF-8 -fwide-exec-charset=UTF-32$(ENDIANESS) \ 51 -finput-charset=UTF-8 -fno-builtin -Wall -Wextra -Wno-unused-parameter \ 52 -Wmissing-prototypes -Werror -nostdlib -nostdinc -pipe 51 -finput-charset=UTF-8 -ffreestanding -fno-builtin -nostdlib -nostdinc \ 52 -Wall -Wextra -Wno-unused-parameter -Wmissing-prototypes -Werror \ 53 -pipe 53 54 54 55 ICC_CFLAGS = -I$(INCLUDES) -O$(OPTIMIZATION) -imacros ../config.h \ 55 -f no-builtin -Wall -Wmissing-prototypes -Werror\56 - nostdlib -nostdinc-wd17056 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wmissing-prototypes \ 57 -Werror -wd170 57 58 58 59 SUNCC_CFLAGS = -I$(INCLUDES) -xO$(OPTIMIZATION) \ … … 62 63 CLANG_CFLAGS = -I$(INCLUDES) -O$(OPTIMIZATION) -imacros ../config.h \ 63 64 -fexec-charset=UTF-8 -fwide-exec-charset=UTF-32$(ENDIANESS) \ 64 -finput-charset=UTF-8 -fno-builtin -Wall -Wextra -Wno-unused-parameter \ 65 -Wmissing-prototypes -nostdlib -nostdinc -pipe 65 -finput-charset=UTF-8 -ffreestanding -fno-builtin -nostdlib -nostdinc \ 66 -Wall -Wextra -Wno-unused-parameter -Wmissing-prototypes -pipe \ 67 -arch $(CLANG_ARCH) 66 68 67 69 LFLAGS = -M -
kernel/arch/amd64/Makefile.inc
r7a53208 r6ab8697 34 34 BFD = binary 35 35 TARGET = amd64-linux-gnu 36 CLANG_ARCH = x86_64 36 37 TOOLCHAIN_DIR = $(CROSS_PREFIX)/amd64 37 38 -
kernel/arch/ia32/Makefile.inc
r7a53208 r6ab8697 34 34 BFD = binary 35 35 TARGET = i686-pc-linux-gnu 36 CLANG_ARCH = i386 36 37 TOOLCHAIN_DIR = $(CROSS_PREFIX)/ia32 37 38 -
kernel/generic/include/print.h
r7a53208 r6ab8697 37 37 38 38 #include <arch/types.h> 39 #include < arch/arg.h>39 #include <stdarg.h> 40 40 41 41 #define EOF (-1) -
kernel/generic/include/printf/printf_core.h
r7a53208 r6ab8697 37 37 38 38 #include <typedefs.h> 39 #include < arch/arg.h>39 #include <stdarg.h> 40 40 41 41 /** Structure for specifying output methods for different printf clones. */ -
kernel/generic/include/stdarg.h
r7a53208 r6ab8697 27 27 */ 28 28 29 /** @addtogroup generic 29 /** @addtogroup generic 30 30 * @{ 31 31 */ … … 37 37 * for all architectures with compiler support for __builtin_va_*. 38 38 */ 39 39 40 40 #ifndef KERN_STDARG_H_ 41 41 #define KERN_STDARG_H_ … … 43 43 typedef __builtin_va_list va_list; 44 44 45 #define va_start(ap, last) 46 #define va_arg(ap, type) 47 #define va_end(ap) 48 #define va_copy(dst, src) 45 #define va_start(ap, last) __builtin_va_start(ap, last) 46 #define va_arg(ap, type) __builtin_va_arg(ap, type) 47 #define va_end(ap) __builtin_va_end(ap) 48 #define va_copy(dst, src) __builtin_va_copy(dst, src) 49 49 50 50 #endif -
kernel/generic/src/printf/printf_core.c
r7a53208 r6ab8697 39 39 #include <printf/printf_core.h> 40 40 #include <print.h> 41 #include < arch/arg.h>41 #include <stdarg.h> 42 42 #include <macros.h> 43 43 #include <string.h> -
uspace/lib/libc/Makefile.toolchain
r7a53208 r6ab8697 27 27 # 28 28 29 CFLAGS = -I$(LIBC_PREFIX)/include -O3 -imacros $(LIBC_PREFIX)/../../../config.h \29 GCC_CFLAGS = -I$(LIBC_PREFIX)/include -O3 -imacros $(LIBC_PREFIX)/../../../config.h \ 30 30 -fexec-charset=UTF-8 -fwide-exec-charset=UTF-32$(ENDIANESS) \ 31 -finput-charset=UTF-8 -fno-builtin -Wall -Wextra -Wno-unused-parameter \ 32 -Wmissing-prototypes -Werror-implicit-function-declaration -nostdlib \ 33 -nostdinc -pipe -g -D__$(ENDIANESS)__ 31 -finput-charset=UTF-8 -ffreestanding -fno-builtin -nostdlib -nostdinc \ 32 -Wall -Wextra -Wno-unused-parameter -Wmissing-prototypes \ 33 -Werror-implicit-function-declaration -pipe -g -D__$(ENDIANESS)__ 34 35 ICC_CFLAGS = -I$(LIBC_PREFIX)/include -O3 -imacros $(LIBC_PREFIX)/../../../config.h \ 36 -fexec-charset=UTF-8 -fwide-exec-charset=UTF-32$(ENDIANESS) \ 37 -finput-charset=UTF-8 -ffreestanding -fno-builtin -nostdlib -nostdinc \ 38 -Wall -Wextra -Wno-unused-parameter -Wmissing-prototypes \ 39 -Werror-implicit-function-declaration -pipe -g -D__$(ENDIANESS)__ 40 41 CLANG_CFLAGS = -I$(LIBC_PREFIX)/include -O3 -imacros $(LIBC_PREFIX)/../../../config.h \ 42 -fexec-charset=UTF-8 -fwide-exec-charset=UTF-32$(ENDIANESS) \ 43 -finput-charset=UTF-8 -ffreestanding -fno-builtin -nostdlib -nostdinc \ 44 -Wall -Wextra -Wno-unused-parameter -Wmissing-prototypes \ 45 -Werror-implicit-function-declaration -pipe -g -arch $(CLANG_ARCH) \ 46 -D__$(ENDIANESS)__ 47 34 48 LFLAGS = -M -N $(SOFTINT_PREFIX)/libsoftint.a 35 49 AFLAGS = … … 72 86 OBJCOPY = $(TOOLCHAIN_DIR)/$(TARGET)-objcopy 73 87 OBJDUMP = $(TOOLCHAIN_DIR)/$(TARGET)-objdump 88 CFLAGS = $(GCC_CFLAGS) 74 89 DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS) 75 90 endif … … 83 98 OBJCOPY = $(BINUTILS_PREFIX)objcopy 84 99 OBJDUMP = $(BINUTILS_PREFIX)objdump 100 CFLAGS = $(GCC_CFLAGS) 85 101 DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS) 86 102 endif … … 94 110 OBJCOPY = objcopy 95 111 OBJDUMP = objdump 112 CFLAGS = $(ICC_CFLAGS) 96 113 DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS) 97 114 endif … … 105 122 OBJCOPY = $(BINUTILS_PREFIX)objcopy 106 123 OBJDUMP = $(BINUTILS_PREFIX)objdump 124 CFLAGS = $(CLANG_CFLAGS) 107 125 DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS) 108 126 endif -
uspace/lib/libc/arch/amd64/Makefile.inc
r7a53208 r6ab8697 31 31 32 32 TARGET = amd64-linux-gnu 33 CLANG_ARCH = x86_64 33 34 TOOLCHAIN_DIR = $(CROSS_PREFIX)/amd64/bin 34 35 -
uspace/lib/libc/arch/arm32/Makefile.inc
r7a53208 r6ab8697 39 39 arch/$(UARCH)/src/eabi.S 40 40 41 CFLAGS += -ffixed-r9 -mtp=soft41 GCC_CFLAGS += -ffixed-r9 -mtp=soft 42 42 LFLAGS += -N $(SOFTINT_PREFIX)/libsoftint.a 43 43 -
uspace/lib/libc/arch/ia32/Makefile.inc
r7a53208 r6ab8697 31 31 32 32 TARGET = i686-pc-linux-gnu 33 CLANG_ARCH = i386 33 34 TOOLCHAIN_DIR = $(CROSS_PREFIX)/ia32/bin 34 35 -
uspace/lib/libc/arch/ia64/Makefile.inc
r7a53208 r6ab8697 38 38 arch/$(UARCH)/src/ddi.c 39 39 40 CFLAGS += -fno-unwind-tables40 GCC_CFLAGS += -fno-unwind-tables 41 41 LFLAGS += -N $(SOFTINT_PREFIX)/libsoftint.a 42 42 -
uspace/lib/libc/arch/mips32/Makefile.inc
r7a53208 r6ab8697 37 37 arch/$(UARCH)/src/tls.c 38 38 39 CFLAGS += -mips339 GCC_CFLAGS += -mips3 40 40 41 41 ENDIANESS = LE -
uspace/lib/libc/arch/mips32eb/Makefile.inc
r7a53208 r6ab8697 34 34 35 35 ARCH_SOURCES += arch/$(UARCH)/src/syscall.c \ 36 37 36 arch/$(UARCH)/src/fibril.S \ 37 arch/$(UARCH)/src/tls.c 38 38 39 CFLAGS += -mips339 GCC_CFLAGS += -mips3 40 40 LFLAGS += -N 41 41 -
uspace/lib/libc/arch/ppc32/Makefile.inc
r7a53208 r6ab8697 37 37 arch/$(UARCH)/src/tls.c 38 38 39 CFLAGS += -mcpu=powerpc -msoft-float -m3239 GCC_CFLAGS += -mcpu=powerpc -msoft-float -m32 40 40 AFLAGS += -a32 41 41 LFLAGS += -N -
uspace/lib/libc/arch/sparc64/Makefile.inc
r7a53208 r6ab8697 36 36 arch/$(UARCH)/src/tls.c 37 37 38 CFLAGS += -mcpu=ultrasparc -m6438 GCC_CFLAGS += -mcpu=ultrasparc -m64 39 39 LFLAGS += -no-check-sections -N 40 40 -
uspace/lib/libc/include/stdarg.h
r7a53208 r6ab8697 37 37 38 38 #include <sys/types.h> 39 #include <libarch/stackarg.h>40 41 #ifndef __VARARGS_DEFINED42 # define __VARARGS_DEFINED43 39 44 40 typedef __builtin_va_list va_list; 45 41 46 # define va_start(ap, last) __builtin_va_start(ap, last) 47 # define va_arg(ap, type) __builtin_va_arg(ap, type) 48 # define va_end(ap) __builtin_va_end(ap) 49 50 # endif 42 #define va_start(ap, last) __builtin_va_start(ap, last) 43 #define va_arg(ap, type) __builtin_va_arg(ap, type) 44 #define va_end(ap) __builtin_va_end(ap) 51 45 52 46 #endif
Note:
See TracChangeset
for help on using the changeset viewer.