Closed GoogleCodeExporter closed 8 years ago
[deleted comment]
Bad. This was working before. Will check it.
Original comment by efo...@gmail.com
on 23 Sep 2008 at 2:23
I am still using the glibc includes, but that shouldn't matter...
When I build with the GNU as I get:
{{{
bash-2.05b$ ./func
Hello, I have been compiled with GCC and I say: 2098202624
Local func says: 2098203136
Main says: 2098203648
}}}
whereas when I assemble with sxld I get:
{{{
bash-2.05b$ ./func
Hello, I have been compiled with GCC and I say: 42
Local func says: 84
Main says: 42
}}}
Original comment by efo...@gmail.com
on 23 Sep 2008 at 3:10
Fancy... when I build with GNU as and -O0, I see the messy result. But with -O2
and
GNU as thinks look good!!! ???
Original comment by efo...@gmail.com
on 23 Sep 2008 at 3:16
Attachments:
After the fixes to #13 and #14 GAS problems, this works.
{{{
bash-2.05b$ ./func
Hello, I have been compiled with GCC and I say: 42
Local func says: 84
Main says: 42
}}}
Original comment by efo...@gmail.com
on 24 Sep 2008 at 1:18
Original issue reported on code.google.com by
jmoc...@gmail.com
on 23 Sep 2008 at 12:36