All of lore.kernel.org
 help / color / mirror / Atom feed
* ABI question
@ 2004-07-27  8:57 Thomas Koeller
  2004-07-27 13:05 ` Maciej W. Rozycki
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Koeller @ 2004-07-27  8:57 UTC (permalink / raw)
  To: linux-mips

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

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-07-27 13:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-27  8:57 ABI question Thomas Koeller
2004-07-27 13:05 ` Maciej W. Rozycki

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.