Re: GOT error in gas

2007-02-19 Thread Mikulas Patocka
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

[Bug gas/4079] New: Errors in @GOT

2007-02-19 Thread mikulas at artax dot karlin dot mff dot cuni dot cz
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

[Bug binutils/3535] GNU strip 2.17 corrupts Sun CC/cc binaries (ld issue?)

2007-02-19 Thread tiamat at komi dot mts dot ru
--- 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

[Bug binutils/3535] GNU strip 2.17 corrupts Sun CC/cc binaries (ld issue?)

2007-02-19 Thread tiamat at komi dot mts dot ru
-- What|Removed |Added CC||tiamat at komi dot mts dot ||ru http://sourceware.org/bugzilla/