Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Sign extended 64bit address
@ 2001-03-21  0:04 Brady Brown
  2001-03-21  4:04 ` Ralf Baechle
  0 siblings, 1 reply; 5+ messages in thread
From: Brady Brown @ 2001-03-21  0:04 UTC (permalink / raw)
  To: SGI news group

I have run into the earlier mentioned problem of objcopy not correctly
dealing with the sign extended 64 bit address generated by the new
tools. Is there an update on this issue? Any good work-arounds or short
time solutions?
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Brady Brown (bbrown@ti.com)       Work:(801)619-6103
Texas Instruments: Broadband Access Group
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

* Re: Sign extended 64bit address
  2001-03-21  0:04 Sign extended 64bit address Brady Brown
@ 2001-03-21  4:04 ` Ralf Baechle
  2001-03-21 16:58   ` Brady Brown
  0 siblings, 1 reply; 5+ messages in thread
From: Ralf Baechle @ 2001-03-21  4:04 UTC (permalink / raw)
  To: Brady Brown; +Cc: SGI news group

On Tue, Mar 20, 2001 at 05:04:07PM -0700, Brady Brown wrote:

> I have run into the earlier mentioned problem of objcopy not correctly
> dealing with the sign extended 64 bit address generated by the new
> tools. Is there an update on this issue? Any good work-arounds or short
> time solutions?

I don't have your old report at hand but somewhen during the past year
binutils received a number of fixes related to signed/unsigned addresses,
so you should try a recent copy of binutils.

   Ralf

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

* Re: Sign extended 64bit address
  2001-03-21  4:04 ` Ralf Baechle
@ 2001-03-21 16:58   ` Brady Brown
  2001-03-21 17:10     ` Ralf Baechle
  0 siblings, 1 reply; 5+ messages in thread
From: Brady Brown @ 2001-03-21 16:58 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: SGI news group

Ralf Baechle wrote:

> On Tue, Mar 20, 2001 at 05:04:07PM -0700, Brady Brown wrote:
>
> > I have run into the earlier mentioned problem of objcopy not correctly
> > dealing with the sign extended 64 bit address generated by the new
> > tools. Is there an update on this issue? Any good work-arounds or short
> > time solutions?
>
> I don't have your old report at hand but somewhen during the past year
> binutils received a number of fixes related to signed/unsigned addresses,
> so you should try a recent copy of binutils.
>
>    Ralf

I'm currently using binutils-2.10.91-2 from Maciej's site. Is there a later
rev that I should look at?

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

* Re: Sign extended 64bit address
  2001-03-21 16:58   ` Brady Brown
@ 2001-03-21 17:10     ` Ralf Baechle
  2001-03-21 19:15       ` Brady Brown
  0 siblings, 1 reply; 5+ messages in thread
From: Ralf Baechle @ 2001-03-21 17:10 UTC (permalink / raw)
  To: Brady Brown; +Cc: SGI news group

On Wed, Mar 21, 2001 at 09:58:54AM -0700, Brady Brown wrote:

> > > I have run into the earlier mentioned problem of objcopy not correctly
> > > dealing with the sign extended 64 bit address generated by the new
> > > tools. Is there an update on this issue? Any good work-arounds or short
> > > time solutions?
> >
> > I don't have your old report at hand but somewhen during the past year
> > binutils received a number of fixes related to signed/unsigned addresses,
> > so you should try a recent copy of binutils.
> 
> I'm currently using binutils-2.10.91-2 from Maciej's site. Is there a later
> rev that I should look at?

I was believing that that one is good; can you resend your bugreport
about the sign extension problem?  Thanks.

  Ralf

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

* Re: Sign extended 64bit address
  2001-03-21 17:10     ` Ralf Baechle
@ 2001-03-21 19:15       ` Brady Brown
  0 siblings, 0 replies; 5+ messages in thread
From: Brady Brown @ 2001-03-21 19:15 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: SGI news group

Ralf Baechle wrote:

> On Wed, Mar 21, 2001 at 09:58:54AM -0700, Brady Brown wrote:
>
> > > > I have run into the earlier mentioned problem of objcopy not correctly
> > > > dealing with the sign extended 64 bit address generated by the new
> > > > tools. Is there an update on this issue? Any good work-arounds or short
> > > > time solutions?
> > >
> > > I don't have your old report at hand but somewhen during the past year
> > > binutils received a number of fixes related to signed/unsigned addresses,
> > > so you should try a recent copy of binutils.
> >
> > I'm currently using binutils-2.10.91-2 from Maciej's site. Is there a later
> > rev that I should look at?
>
> I was believing that that one is good; can you resend your bugreport
> about the sign extension problem?  Thanks.
>
>   Ralf

Problem solved. Sorry, my oversight. The binutils are correctly handling the
addresses. What happened was that the new tools created a couple of new code
sections "__ex_table and __dbe_table" that were not handled by the linker script
in my kernel (2.4.0-test9), hence ended up a strange low addresses. I
interpreted the warnings and the 'wrong' address in the final srec as a address
translation problem. Once I added these sections to the linker script the
warnings and 'bad' address's went away.

A second issue:
The kernel built by these new tools will not boot. Complains about illegal
instructions as soon as init is launched. The first address that traps is a sw
inside the __bzero routine.  I'll have to dig a bit here I guess. Any leads
would be appreciated.

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Brady Brown (bbrown@ti.com)       Work:(801)619-6103
Texas Instruments: Broadband Access Group
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

end of thread, other threads:[~2001-03-21 19:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-21  0:04 Sign extended 64bit address Brady Brown
2001-03-21  4:04 ` Ralf Baechle
2001-03-21 16:58   ` Brady Brown
2001-03-21 17:10     ` Ralf Baechle
2001-03-21 19:15       ` Brady Brown

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