ABI question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

for 2.6 kernels, arch/mips/Makefile contains the following lines:

ifdef CONFIG_MIPS64
gcc-abi			= 64
gas-abi			= 32
tool-prefix		= $(64bit-tool-prefix)
UTS_MACHINE		:= mips64
endif

Is it intentional that gcc-abi and gas-abi are different? This
results in '-Wa,-32' appearing on gcc's command line, causing
the asembler to complain:

Error: -mgp64 used with a 32-bit ABI

If I change gas-abi to 64, this error goes away.

tk
-- 
--------------------------------------------------

Thomas Koeller, Software Development
Basler Vision Technologies

thomas dot koeller at baslerweb dot com
http://www.baslerweb.com

==============================


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux