Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 17956
b: refs/heads/master
c: bb33421
h: refs/heads/master
v: v3
  • Loading branch information
Andi Kleen authored and Linus Torvalds committed Jan 12, 2006
1 parent fd13e74 commit e73d676
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 79c62cf1789f935280138b412bb750be84aec747
refs/heads/master: bb33421dde79f9a36d5485c56335ff178ac7d268
3 changes: 3 additions & 0 deletions trunk/arch/x86_64/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ cflags-$(CONFIG_MK8) += $(call cc-option,-march=k8)
cflags-$(CONFIG_MPSC) += $(call cc-option,-march=nocona)
CFLAGS += $(cflags-y)

CFLAGS += -m64
CFLAGS += -mno-red-zone
CFLAGS += -mcmodel=kernel
CFLAGS += -pipe
Expand All @@ -52,6 +53,8 @@ CFLAGS += $(call cc-option,-funit-at-a-time)
# prevent gcc from generating any FP code by mistake
CFLAGS += $(call cc-option,-mno-sse -mno-mmx -mno-sse2 -mno-3dnow,)

AFLAGS += -m64

head-y := arch/x86_64/kernel/head.o arch/x86_64/kernel/head64.o arch/x86_64/kernel/init_task.o

libs-y += arch/x86_64/lib/
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/x86_64/ia32/vsyscall-sigreturn.S
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* by doing ".balign 32" must match in both versions of the page.
*/

.code32
.section .text.sigreturn,"ax"
.balign 32
.globl __kernel_sigreturn
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/x86_64/ia32/vsyscall-syscall.S
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include <asm/asm-offsets.h>
#include <asm/segment.h>

.code32
.text
.section .text.vsyscall,"ax"
.globl __kernel_vsyscall
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/x86_64/ia32/vsyscall-sysenter.S
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include <asm/ia32_unistd.h>
#include <asm/asm-offsets.h>

.code32
.text
.section .text.vsyscall,"ax"
.globl __kernel_vsyscall
Expand Down
2 changes: 2 additions & 0 deletions trunk/arch/x86_64/kernel/vmlinux.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
#include <asm/page.h>
#include <linux/config.h>

#undef i386 /* in case the preprocessor is a 32bit one */

OUTPUT_FORMAT("elf64-x86-64", "elf64-x86-64", "elf64-x86-64")
OUTPUT_ARCH(i386:x86-64)
ENTRY(phys_startup_64)
Expand Down

0 comments on commit e73d676

Please sign in to comment.