blob: dfd88b652fbe5ee638e81ffee241de18e4a6a90e [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001# Copyright 2003 - 2004 Pathscale, Inc
2# Released under the GPL
3
Al Virode2fe5e2006-03-31 02:30:11 -08004core-y += arch/um/sys-x86_64/
Linus Torvalds1da177e2005-04-16 15:20:36 -07005START := 0x60000000
6
Paolo 'Blaisorblade' Giarrusso20d00212005-07-14 00:33:43 -07007#We #undef __x86_64__ for kernelspace, not for userspace where
8#it's needed for headers to work!
Al Viro30f7dab2005-09-03 15:57:43 -07009CFLAGS += -U__$(SUBARCH)__ -fno-builtin
Paolo 'Blaisorblade' Giarrusso20d00212005-07-14 00:33:43 -070010USER_CFLAGS += -fno-builtin
viro@ZenIV.linux.org.uk2624f122005-09-09 17:14:12 +010011CHECKFLAGS += -m64
Linus Torvalds1da177e2005-04-16 15:20:36 -070012
13ELF_ARCH := i386:x86-64
14ELF_FORMAT := elf64-x86-64
Rob Landley53c0b592005-12-18 17:50:35 +010015
16# Not on all 64-bit distros /lib is a symlink to /lib64. PLD is an example.
17
18LINK-$(CONFIG_LD_SCRIPT_DYN) += -Wl,-rpath,/lib64