[U-Boot-Users] RE: -allow_branch_to_undefined on mipsel-linux-as > 2.15
tim.braun at librestream.com
Wed Sep 28 00:07:56 CEST 2005
> -----Original Message-----
> Sent: September 27, 2005 4:47 PM
> To: Tim Braun
> Cc: u-boot-users at lists.sourceforge.net
> Subject: Re: [U-Boot-Users] RE: -allow_branch_to_undefined on
> mipsel-linux-as > 2.15
> 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
> > 188.8.131.52.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:
Like that, but you need to calculate the GOT offset at runtime. Here's
a patch from our code, which
is very similar to yours, ignoring a few low-level debug routines.
Tim Braun, Sr. Des. Eng.
200-55 Rothwell Rd.
Winnipeg R3P 2M5
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2169 bytes
Url : http://lists.denx.de/pipermail/u-boot/attachments/20050927/ab1645a1/attachment.obj
More information about the U-Boot