[PATCH 7/16] Early serial debug support for PPC44x
Alan Modra
amodra at bigpond.net.au
Wed Feb 14 13:00:12 EST 2007
On Wed, Feb 14, 2007 at 12:00:44PM +1100, David Gibson wrote:
> On Tue, Feb 13, 2007 at 07:02:36PM -0600, Josh Boyer wrote:
> > On Wed, Feb 14, 2007 at 11:16:22AM +1100, David Gibson wrote:
> > > I'm using a 64-bit constant there, but for me at least the assembler
> > > is able to handle manipulating it in constant expressions.
> >
> > [jwboyer at zod ~]$ powerpc-440-linux-gnu-as --version
> > GNU assembler 2.15
> >
> > This is a crosstool built toolchain with binutils 2.15 and gcc 3.4.1.
> > Which versions are you using?
>
> Hmm.. I appear to have binutils-2.17. That could be it.
>
> It would be nice to support the older binutils too, but I'm not sure
> how to get around this without considerable inconvenience.
I would guess that this isn't a matter of how old the assembler is,
but how the assembler was built. If built on a 32-bit host with no
64-bit targets supported, then most internal assembler variables
are 32-bit and 64-bit constants are not handled very well.
You probably should avoid 64-bit expressions on a 32-bit target.
--
Alan Modra
IBM OzLabs - Linux Technology Centre
More information about the Linuxppc-dev
mailing list