Changes in kernel/arch/amd64/Makefile.inc [0aee9b4:2689a0b] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/Makefile.inc
r0aee9b4 r2689a0b 30 30 BFD_ARCH = i386:x86-64 31 31 BFD = binary 32 CLANG_ARCH = x86_64 32 33 33 34 FPU_NO_CFLAGS = -mno-sse -mno-sse2 34 CMN1 = -m64 -mcmodel=kernel -mno-red-zone -fno-unwind-tables -fno-omit-frame-pointer 35 36 # 37 # FIXME: 38 # 39 # The -fno-optimize-sibling-calls should be removed as soon as a bug 40 # in GCC concerning the "large" memory model and tail call optimization 41 # is fixed. 42 # 43 # When GCC generates a code for tail call, instead of generating .. 44 # 45 # jmp *fnc 46 # 47 # it generates an assembly code with an illegal immediate prefix: 48 # 49 # jmp *$fnc 50 # 51 # See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48385 for reference. 52 # 53 54 CMN1 = -m64 -mcmodel=large -mno-red-zone -fno-unwind-tables -fno-omit-frame-pointer -fno-optimize-sibling-calls 35 55 GCC_CFLAGS += $(CMN1) 36 56 ICC_CFLAGS += $(CMN1) 37 CLANG_CFLAGS += $(CMN1)38 57 39 58 BITS = 64 … … 76 95 arch/$(KARCH)/src/proc/thread.c \ 77 96 arch/$(KARCH)/src/userspace.c \ 78 arch/$(KARCH)/src/syscall.c 97 arch/$(KARCH)/src/syscall.c \ 98 arch/$(KARCH)/src/debugger.c 79 99 80 100 ifeq ($(CONFIG_SMP),y) … … 86 106 arch/$(KARCH)/src/smp/smp.c 87 107 endif 88 89 ARCH_AUTOGENS_AG = \90 arch/$(KARCH)/include/arch/istate_struct.ag \91 arch/$(KARCH)/include/arch/context_struct.ag92
Note:
See TracChangeset
for help on using the changeset viewer.