linux-mips
[Top] [All Lists]

Re: me vs gas mips64 relocation

To: binutils@sources.redhat.com, linux-mips@oss.sgi.com
Subject: Re: me vs gas mips64 relocation
From: d p chang <weasel@meer.net>
Date: 01 Feb 2002 12:52:59 -0800
In-reply-to: <m2vgdh5n9s.fsf@meer.net>
References: <m2vgdh5n9s.fsf@meer.net>
Reply-to: weasel@cs.stanford.edu
Sender: owner-linux-mips@oss.sgi.com
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7
d p chang <weasel@meer.net> writes:

> i compile this w/ (i only just added all the verbosity flags).
> 
>     mips64-linux-gcc  -I 
> /Volumes/Homey/dpc/Devel/linux-2.4.17/include/asm/gcc -D__KERNEL__ 
> -I/Volumes/Homey/dpc/Devel/linux-2.4.17/include -Wall -Wstrict-prototypes 
> -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -G 0 
> -mno-abicalls -fno-pic -Wa,--trap -pipe -mips4 -mmad -Wa,-march=r5231 
> -mlong64 -mgp64 -mfp64 -ffreestanding -mabi=n32 reloc.S -c -o reloc.o 
> -Wa,-acdhls -v -Wa,-v -Wa,-O0 

Looking at this some more I realize that my problem is probably that
I'm lying to the compiler/assembler by claiming n32 and long64. We
would like to have 64 bit registers available to us in user space, but
enabling -mabi=64 gives an assertion in ld when it is trying to output
relocations for a .pdr section.

ideas? (other than for me to take the crack pipe out of my ass)

\p
---
I feel discomfort, therefore I am alive. --- Graham Greene


<Prev in Thread] Current Thread [Next in Thread>