diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2006-02-22 18:06:55 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2006-03-21 08:27:46 -0500 |
commit | 8145095cd8fd466980ea6401f26a52e462275222 (patch) | |
tree | c6f8642c2137f5fb053f018185cfd15ff7a34c00 /arch/mips/Makefile | |
parent | 219ac73a7ad17a3ae3d5c07b4fc8c280645a073a (diff) |
[MIPS] Remove CONFIG_BUILD_ELF64.
This option is no longer usable with supported compilers. It will be
replaced by usage of -msym32 in a separate patch.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/Makefile')
-rw-r--r-- | arch/mips/Makefile | 27 |
1 files changed, 9 insertions, 18 deletions
diff --git a/arch/mips/Makefile b/arch/mips/Makefile index 3d8dac681c63..c626dd5942f6 100644 --- a/arch/mips/Makefile +++ b/arch/mips/Makefile | |||
@@ -70,18 +70,20 @@ CHECKFLAGS-$(CONFIG_CPU_LITTLE_ENDIAN) += -D__MIPSEL__ | |||
70 | 70 | ||
71 | CHECKFLAGS = $(CHECKFLAGS-y) | 71 | CHECKFLAGS = $(CHECKFLAGS-y) |
72 | 72 | ||
73 | ifdef CONFIG_BUILD_ELF64 | 73 | ifdef CONFIG_32BIT |
74 | gas-abi = 64 | ||
75 | ld-emul = $(64bit-emul) | ||
76 | vmlinux-32 = vmlinux.32 | ||
77 | vmlinux-64 = vmlinux | ||
78 | else | ||
79 | gas-abi = 32 | 74 | gas-abi = 32 |
80 | ld-emul = $(32bit-emul) | 75 | ld-emul = $(32bit-emul) |
81 | vmlinux-32 = vmlinux | 76 | vmlinux-32 = vmlinux |
82 | vmlinux-64 = vmlinux.64 | 77 | vmlinux-64 = vmlinux.64 |
78 | endif | ||
83 | 79 | ||
84 | cflags-$(CONFIG_64BIT) += $(call cc-option,-mno-explicit-relocs) | 80 | ifdef CONFIG_64BIT |
81 | gas-abi = 64 | ||
82 | ld-emul = $(64bit-emul) | ||
83 | vmlinux-32 = vmlinux.32 | ||
84 | vmlinux-64 = vmlinux | ||
85 | |||
86 | cflags-y += $(call cc-option,-mno-explicit-relocs) | ||
85 | endif | 87 | endif |
86 | 88 | ||
87 | # | 89 | # |
@@ -630,7 +632,6 @@ endif | |||
630 | ifdef CONFIG_SGI_IP27 | 632 | ifdef CONFIG_SGI_IP27 |
631 | core-$(CONFIG_SGI_IP27) += arch/mips/sgi-ip27/ | 633 | core-$(CONFIG_SGI_IP27) += arch/mips/sgi-ip27/ |
632 | cflags-$(CONFIG_SGI_IP27) += -Iinclude/asm-mips/mach-ip27 | 634 | cflags-$(CONFIG_SGI_IP27) += -Iinclude/asm-mips/mach-ip27 |
633 | ifdef CONFIG_BUILD_ELF64 | ||
634 | ifdef CONFIG_MAPPED_KERNEL | 635 | ifdef CONFIG_MAPPED_KERNEL |
635 | load-$(CONFIG_SGI_IP27) += 0xc00000004001c000 | 636 | load-$(CONFIG_SGI_IP27) += 0xc00000004001c000 |
636 | OBJCOPYFLAGS := --change-addresses=0x3fffffff80000000 | 637 | OBJCOPYFLAGS := --change-addresses=0x3fffffff80000000 |
@@ -639,16 +640,6 @@ else | |||
639 | load-$(CONFIG_SGI_IP27) += 0xa80000000001c000 | 640 | load-$(CONFIG_SGI_IP27) += 0xa80000000001c000 |
640 | OBJCOPYFLAGS := --change-addresses=0x57ffffff80000000 | 641 | OBJCOPYFLAGS := --change-addresses=0x57ffffff80000000 |
641 | endif | 642 | endif |
642 | else | ||
643 | ifdef CONFIG_MAPPED_KERNEL | ||
644 | load-$(CONFIG_SGI_IP27) += 0xffffffffc001c000 | ||
645 | OBJCOPYFLAGS := --change-addresses=0xc000000080000000 | ||
646 | dataoffset-$(CONFIG_SGI_IP27) += 0x01000000 | ||
647 | else | ||
648 | load-$(CONFIG_SGI_IP27) += 0xffffffff8001c000 | ||
649 | OBJCOPYFLAGS := --change-addresses=0xa800000080000000 | ||
650 | endif | ||
651 | endif | ||
652 | endif | 643 | endif |
653 | 644 | ||
654 | # | 645 | # |