public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] RE: -allow_branch_to_undefined on mipsel-linux-as > 2.15
@ 2005-09-27 21:06 Tim Braun
  2005-09-27 21:47 ` Rodolfo Giometti
  0 siblings, 1 reply; 3+ messages in thread
From: Tim Braun @ 2005-09-27 21:06 UTC (permalink / raw)
  To: u-boot

> Subject: [U-Boot-Users] -allow_branch_to_undefined on mipsel-linux-as
> 2.15

> I'd like to know if someone are using mipsel-linux-as version greater
> than 2.15 to compile u-boot. This version of binutils seems not
> compatible with mipsel-linux-gcc 3.4.3 or newer.
> 
> Option "-allow_branch_to_undefined" is still needed on binutils newer
> than 2.15?

Hello, Rodolfo.

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 also had to do a runtime calculation of the GOT offset.  I don't have
a clean patch right now.

I also have a driver for the SMSC LAN911x ethernet interface to
contribute.

Tim Braun, Sr. Des. Eng.
LibreStream Technologies
200-55 Rothwell Rd.
Winnipeg R3P 2M5 

^ permalink raw reply	[flat|nested] 3+ messages in thread
* [U-Boot-Users] RE: -allow_branch_to_undefined on mipsel-linux-as > 2.15
@ 2005-09-27 22:07 Tim Braun
  0 siblings, 0 replies; 3+ messages in thread
From: Tim Braun @ 2005-09-27 22:07 UTC (permalink / raw)
  To: u-boot

> -----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
> > 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:

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.
LibreStream Technologies
200-55 Rothwell Rd.
Winnipeg R3P 2M5 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: start.S.patch
Type: application/octet-stream
Size: 2169 bytes
Desc: start.S.patch
Url : http://lists.denx.de/pipermail/u-boot/attachments/20050927/ab1645a1/attachment.obj 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-09-27 22:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-27 21:06 [U-Boot-Users] RE: -allow_branch_to_undefined on mipsel-linux-as > 2.15 Tim Braun
2005-09-27 21:47 ` Rodolfo Giometti
  -- strict thread matches above, loose matches on Subject: below --
2005-09-27 22:07 Tim Braun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox