]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[MIPS] Remove '-mno-explicit-relocs' option when CONFIG_BUILD_ELF64
authorFranck Bui-Huu <fbuihuu@gmail.com>
Thu, 15 Feb 2007 11:06:47 +0000 (12:06 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 11 Oct 2007 22:45:58 +0000 (23:45 +0100)
commit8c67316e706cabc2145d6c8e97f0bd8f2a86d8a1
treefbb8bed99999f62cf66d3804df10ca148eb3a95f
parentd87d0c930a1591617e4c7c78296b4ba029150188
[MIPS] Remove '-mno-explicit-relocs' option when CONFIG_BUILD_ELF64

This patch removes '-mno-explicit-relocs' usage when
CONFIG_BUILD_ELF64 is set since this option was only required
with the old hack to truncate addresses at the assembly level
where "-mabi=64 -Wa,-mabi=32" was used.

This should yield a small code size improvement for inline
assembly, where the R constraint is used.

The idea is coming from Maciej <macro@linux-mips.org>.

Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Makefile