Changes in kernel/arch/amd64/Makefile.inc [1f5c9c96:95e370f8] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/Makefile.inc
r1f5c9c96 r95e370f8 30 30 BFD_ARCH = i386:x86-64 31 31 BFD = binary 32 CLANG_ARCH = x86_6433 32 34 33 FPU_NO_CFLAGS = -mno-sse -mno-sse2 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 34 CMN1 = -m64 -mcmodel=large -mno-red-zone -fno-unwind-tables -fno-omit-frame-pointer 55 35 GCC_CFLAGS += $(CMN1) 56 36 ICC_CFLAGS += $(CMN1) 57 SUNCC_CFLAGS += -m64 -xmodel=kernel 37 CLANG_CFLAGS += $(CMN1) 58 38 59 39 BITS = 64 … … 67 47 GCC_CFLAGS += $(CMN2) 68 48 ICC_CFLAGS += $(CMN2) 69 SUNCC_CFLAGS += -xtarget=opteron70 49 endif 71 50 … … 86 65 arch/$(KARCH)/src/bios/bios.c \ 87 66 arch/$(KARCH)/src/interrupt.c \ 67 arch/$(KARCH)/src/mm/km.c \ 88 68 arch/$(KARCH)/src/mm/as.c \ 89 69 arch/$(KARCH)/src/mm/frame.c \ … … 96 76 arch/$(KARCH)/src/proc/thread.c \ 97 77 arch/$(KARCH)/src/userspace.c \ 98 arch/$(KARCH)/src/syscall.c \ 99 arch/$(KARCH)/src/debugger.c 78 arch/$(KARCH)/src/syscall.c 100 79 101 80 ifeq ($(CONFIG_SMP),y)
Note:
See TracChangeset
for help on using the changeset viewer.