[Bug ld/6480] tls-model global-dynamic w/o @PLT leading to binutils assertion failure

2008-05-04 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2008-05-04 14:43 --- *** This bug has been marked as a duplicate of 4918 *** -- What|Removed |Added

[Bug ld/4918] ___tls_get_addr call requires @PLT for global-dynamic even without -fpic

2008-05-04 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2008-05-04 14:43 --- *** Bug 6480 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug ld/6480] New: tls-model global-dynamic w/o @PLT leading to binutils assertion failure

2008-05-04 Thread edwintorok at gmail dot com
I get a binutils assertion failure when compiling the testcase below (with either gcc 4.2 or gcc 4.3) $ gcc gd.c /usr/bin/ld: BFD (GNU Binutils for Debian) 2.18.0.20080103 assertion fail ../../bfd/elf64-x86-64.c:2548 /usr/bin/ld: BFD (GNU Binutils for Debian) 2.18.0.20080103 assertion fail ../../b