Hi Mikulas,
I see but gas should at least write error and not generate incorrect code.
In which case please could you create a bugzilla entry for this so that we
can track this problem properly.
I did.
Mikulas
Cheers
Nick
___
bug-binutils
There are errors with expressions with @GOT suffix. They can be
manifested in this example:
#include
__asm__ (".global number; number = 0x12345678");
extern void number;
int main()
{
printf("%p\n", &number);
return 0;
}
--- when this program is compiled with -fPIC, it crashes, wi
--- Additional Comments From tiamat at komi dot mts dot ru 2007-02-19
12:35 ---
I have the same problem:
binutils 2.17 build on sparc-sun-solaris2.9 with gcc 4.1.2
Host: SunOS samba 5.9 Generic_118558-11 sun4u sparc SUNW,Sun-Fire-V210
GNU strip corrupts any binaies builded with Sun Stu
--
What|Removed |Added
CC||tiamat at komi dot mts dot
||ru
http://sourceware.org/bugzilla/