Failed cross: Alpha->ARM
Nick Clifton
nickc@cygnus.com
Mon Dec 15 17:19:00 GMT 1997
: Date: Mon, 15 Dec 1997 21:38:19 +0000 (GMT)
: From: Dave Gilbert <gilbertd@treblig.org>
:
: Hi,
: Host: Alpha Linux RedHat 5.0
: Target: ARM Linux
: Problem: Constant greater than 2^32 generated in assembler file
: Suspected cause: Converting a -1 to 2^32 and then propogating the value.
: ----------------------------------------------------
: Duff output:
:
: @ GNU C version egcs-2.91.02 971206 (gcc-2.8.0) (arm-unknown-linuxaout) compiled by GNU C version 2.7.2.3.
[snip]
: L6:
: .word _x
: .word _y+4294972376 < Bzzt!!!!!!!!!!
: L3:
: L1:
Hmm, I get the right output from the coff toolchain:
[snip]
.L6:
.word _x
.word _y+5080
.L3:
.L1:
This is from:
@ GNU C version cygnus-2.91.00 971101 (gcc2-971021 experimental) (arm-acorn-coff) compiled by GNU C version 2.7-97r1.
so maybe it is a problem with the linux part of the egcs backend. I
will try creating such a toolchain and see if I can reproduce the
problem.
Cheers
Nick
More information about the Gcc
mailing list