Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 31400
b: refs/heads/master
c: ff23db5
h: refs/heads/master
v: v3
  • Loading branch information
Jeff Dike authored and Linus Torvalds committed Jun 30, 2006
1 parent 7389726 commit 8a817c3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d115ec0f0f094683dc2588818cb28134dd75e6d1
refs/heads/master: ff23db5373f66a818c296f4d58adaaa10f515fd3
7 changes: 5 additions & 2 deletions trunk/arch/um/Makefile-x86_64
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,16 @@ START := 0x60000000

#We #undef __x86_64__ for kernelspace, not for userspace where
#it's needed for headers to work!
CFLAGS += -U__$(SUBARCH)__ -fno-builtin
USER_CFLAGS += -fno-builtin
CFLAGS += -U__$(SUBARCH)__ -fno-builtin -m64
USER_CFLAGS += -fno-builtin -m64
CHECKFLAGS += -m64
AFLAGS += -m64
LDFLAGS += -m elf_x86_64

ELF_ARCH := i386:x86-64
ELF_FORMAT := elf64-x86-64

# Not on all 64-bit distros /lib is a symlink to /lib64. PLD is an example.

LINK-$(CONFIG_LD_SCRIPT_DYN) += -Wl,-rpath,/lib64
LINK-y += -m64
2 changes: 2 additions & 0 deletions trunk/arch/um/kernel/vmlinux.lds.S
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#include <linux/config.h>
/* in case the preprocessor is a 32bit one */
#undef i386
#ifdef CONFIG_LD_SCRIPT_STATIC
#include "uml.lds.S"
#else
Expand Down

0 comments on commit 8a817c3

Please sign in to comment.