Makefile (5373ae67c3aad1ab306cc722b5a80b831eb4d4d1) | Makefile (e258958945c6e1f682bf6d1f3b2bbf93895ae884) |
---|---|
1# 2# This file is subject to the terms and conditions of the GNU General Public 3# License. See the file "COPYING" in the main directory of this archive 4# for more details. 5# 6# Copyright (C) 1994, 95, 96, 2003 by Ralf Baechle 7# DECStation modifications by Paul M. Antoine, 1996 8# Copyright (C) 2002, 2003, 2004 Maciej W. Rozycki --- 122 unchanged lines hidden (view full) --- 131# lead to a NULL pointer dereference in _raw_spin_lock_irq. 132# 133# In disassembly, this stack probe appears at the top of a function as: 134# sd zero,<offset>(sp) 135# Where <offset> is a negative value. 136# 137cflags-y += -fno-stack-check 138 | 1# 2# This file is subject to the terms and conditions of the GNU General Public 3# License. See the file "COPYING" in the main directory of this archive 4# for more details. 5# 6# Copyright (C) 1994, 95, 96, 2003 by Ralf Baechle 7# DECStation modifications by Paul M. Antoine, 1996 8# Copyright (C) 2002, 2003, 2004 Maciej W. Rozycki --- 122 unchanged lines hidden (view full) --- 131# lead to a NULL pointer dereference in _raw_spin_lock_irq. 132# 133# In disassembly, this stack probe appears at the top of a function as: 134# sd zero,<offset>(sp) 135# Where <offset> is a negative value. 136# 137cflags-y += -fno-stack-check 138 |
139# binutils from v2.35 when built with --enable-mips-fix-loongson3-llsc=yes, 140# supports an -mfix-loongson3-llsc flag which emits a sync prior to each ll 141# instruction to work around a CPU bug (see __SYNC_loongson3_war in asm/sync.h 142# for a description). | |
143# | 139# |
144# We disable this in order to prevent the assembler meddling with the 145# instruction that labels refer to, ie. if we label an ll instruction: 146# 147# 1: ll v0, 0(a0) 148# 149# ...then with the assembler fix applied the label may actually point at a sync 150# instruction inserted by the assembler, and if we were using the label in an 151# exception table the table would no longer contain the address of the ll 152# instruction. 153# 154# Avoid this by explicitly disabling that assembler behaviour. 155# 156cflags-y += $(call as-option,-Wa$(comma)-mno-fix-loongson3-llsc,) 157 158# | |
159# CPU-dependent compiler/assembler options for optimization. 160# 161cflags-$(CONFIG_CPU_R3000) += -march=r3000 162cflags-$(CONFIG_CPU_TX39XX) += -march=r3900 163cflags-$(CONFIG_CPU_VR41XX) += -march=r4100 -Wa,--trap 164cflags-$(CONFIG_CPU_R4X00) += -march=r4600 -Wa,--trap 165cflags-$(CONFIG_CPU_TX49XX) += -march=r4600 -Wa,--trap 166cflags-$(CONFIG_CPU_MIPS32_R1) += -march=mips32 -Wa,--trap --- 163 unchanged lines hidden (view full) --- 330 331libs-y += arch/mips/lib/ 332libs-$(CONFIG_MIPS_FP_SUPPORT) += arch/mips/math-emu/ 333 334# See arch/mips/Kbuild for content of core part of the kernel 335core-y += arch/mips/ 336 337drivers-y += arch/mips/crypto/ | 140# CPU-dependent compiler/assembler options for optimization. 141# 142cflags-$(CONFIG_CPU_R3000) += -march=r3000 143cflags-$(CONFIG_CPU_TX39XX) += -march=r3900 144cflags-$(CONFIG_CPU_VR41XX) += -march=r4100 -Wa,--trap 145cflags-$(CONFIG_CPU_R4X00) += -march=r4600 -Wa,--trap 146cflags-$(CONFIG_CPU_TX49XX) += -march=r4600 -Wa,--trap 147cflags-$(CONFIG_CPU_MIPS32_R1) += -march=mips32 -Wa,--trap --- 163 unchanged lines hidden (view full) --- 311 312libs-y += arch/mips/lib/ 313libs-$(CONFIG_MIPS_FP_SUPPORT) += arch/mips/math-emu/ 314 315# See arch/mips/Kbuild for content of core part of the kernel 316core-y += arch/mips/ 317 318drivers-y += arch/mips/crypto/ |
338drivers-$(CONFIG_OPROFILE) += arch/mips/oprofile/ | |
339 340# suspend and hibernation support 341drivers-$(CONFIG_PM) += arch/mips/power/ 342 343# boot image targets (arch/mips/boot/) 344boot-y := vmlinux.bin 345boot-y += vmlinux.ecoff 346boot-y += vmlinux.srec --- 222 unchanged lines hidden --- | 319 320# suspend and hibernation support 321drivers-$(CONFIG_PM) += arch/mips/power/ 322 323# boot image targets (arch/mips/boot/) 324boot-y := vmlinux.bin 325boot-y += vmlinux.ecoff 326boot-y += vmlinux.srec --- 222 unchanged lines hidden --- |