This is the mail archive of the
mailing list for the binutils project.
Re: me vs gas mips64 relocation
- From: d p chang <weasel at meer dot net>
- To: binutils at sources dot redhat dot com, linux-mips at oss dot sgi dot com
- Date: 01 Feb 2002 12:52:59 -0800
- Subject: Re: me vs gas mips64 relocation
- References: <email@example.com>
- Reply-to: weasel at cs dot stanford dot edu
d p chang <firstname.lastname@example.org> 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)
I feel discomfort, therefore I am alive. --- Graham Greene