
On Tue, Sep 27, 2005 at 04:06:22PM -0500, Tim Braun wrote:
I have been using mipsel-linux-uclibc-gcc 3.4.2 with binutils 2.15.91.0.2, and I have no -allow_branch_to_undefined in this toolchain. I patched cpu/mips/start.S to set up the GOT gp earlier, and used jal instructions to get to memsetup and the other subroutines called there.
I suppose you mean the attached patch... the problem is that even if using that patch I still get:
mipsel-linux-gcc -Wa,-gstabs -D__ASSEMBLY__ -g -Os -D__KERNEL__ -DTEXT_BASE=0xbfc00000 -I/home/giometti/Projects/exadron/wwpc/uboot-mips-exadron/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/local/mipsel/lib/gcc/mipsel-linux/3.4.3/include -pipe -DCONFIG_MIPS -D__MIPS__ -march=4kc -mtune=4kc -mabicalls -c -o cpu/mips/start.o /home/giometti/Projects/exadron/wwpc/uboot-mips-exadron/cpu/mips/start.S /home/giometti/Projects/exadron/wwpc/uboot-mips-exadron/cpu/mips/start.S: Assembler messages: /home/giometti/Projects/exadron/wwpc/uboot-mips-exadron/cpu/mips/start.S:241: Error: can't resolve `_GLOBAL_OFFSET_TABLE_' {*UND* section} - `L11' {.text section} make: *** [cpu/mips/start.o] Error 1
Ciao,
Rodolfo