* 2.6 64bit kernels
@ 2003-12-28 19:54 Guido Guenther
2003-12-28 20:01 ` ilya
2003-12-29 2:29 ` Daniel Jacobowitz
0 siblings, 2 replies; 3+ messages in thread
From: Guido Guenther @ 2003-12-28 19:54 UTC (permalink / raw)
To: linux-mips
Hi,
could anybody explain to me how one builds 2.6 (current CVS) 64bit
kernel resulting in a 32bit ELF executable with a current (gcc >= 3.3,
bintuils >= 2.14.90.0.5) toolchain.
Major showstopper is that -Wa,-mabi=o64 doesn't work anymore, but
-Wa,-mabi=32 -Wa,-mgp64 doesn't either since the assembler doesn't
accept it.
Thanks for any help,
-- Guido
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 2.6 64bit kernels
2003-12-28 19:54 2.6 64bit kernels Guido Guenther
@ 2003-12-28 20:01 ` ilya
2003-12-29 2:29 ` Daniel Jacobowitz
1 sibling, 0 replies; 3+ messages in thread
From: ilya @ 2003-12-28 20:01 UTC (permalink / raw)
To: Guido Guenther, linux-mips
See arch/mips/Makefile part of my minimal patchset:
http://www.selfsoft.com/progs/mips/patches/
in shor, to get things to work, one needs to play with
-mabi=o64/-64/-32 options.
On Sun, Dec 28, 2003 at 08:54:34PM +0100, Guido Guenther wrote:
> Hi,
> could anybody explain to me how one builds 2.6 (current CVS) 64bit
> kernel resulting in a 32bit ELF executable with a current (gcc >= 3.3,
> bintuils >= 2.14.90.0.5) toolchain.
> Major showstopper is that -Wa,-mabi=o64 doesn't work anymore, but
> -Wa,-mabi=32 -Wa,-mgp64 doesn't either since the assembler doesn't
> accept it.
> Thanks for any help,
> -- Guido
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 2.6 64bit kernels
2003-12-28 19:54 2.6 64bit kernels Guido Guenther
2003-12-28 20:01 ` ilya
@ 2003-12-29 2:29 ` Daniel Jacobowitz
1 sibling, 0 replies; 3+ messages in thread
From: Daniel Jacobowitz @ 2003-12-29 2:29 UTC (permalink / raw)
To: Guido Guenther, linux-mips
On Sun, Dec 28, 2003 at 08:54:34PM +0100, Guido Guenther wrote:
> Hi,
> could anybody explain to me how one builds 2.6 (current CVS) 64bit
> kernel resulting in a 32bit ELF executable with a current (gcc >= 3.3,
> bintuils >= 2.14.90.0.5) toolchain.
> Major showstopper is that -Wa,-mabi=o64 doesn't work anymore, but
> -Wa,-mabi=32 -Wa,-mgp64 doesn't either since the assembler doesn't
> accept it.
> Thanks for any help,
I have found that the best way is to build a 64-bit ELF executable.
Then, use:
mips64_fp_le-objcopy -O elf32-ntradlittlemips vmlinux vmlinux.32bit
or the equivalent command.
You lose some space (lots) on wasted addressing calculations; no one
has found a good solution AFAIK.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-12-29 2:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-28 19:54 2.6 64bit kernels Guido Guenther
2003-12-28 20:01 ` ilya
2003-12-29 2:29 ` Daniel Jacobowitz
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.