[Bug ld/6906] TLS relocs prevent changing r19 to r27 when doing static link with PIC code on PA

2008-09-21 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca 2008-09-21 20:17 --- Subject: Re: TLS relocs prevent changing r19 to r27 when doing static link with PIC code on PA > Is this a missing piece of the TLS implementation? Yes. Thanks for looking into this. Dave --

[Bug ld/6906] TLS relocs prevent changing r19 to r27 when doing static link with PIC code on PA

2008-09-21 Thread carlos at systemhalted dot org
--- Additional Comments From carlos at systemhalted dot org 2008-09-21 20:08 --- The conversion from r19 to r27 appears to be on a reloc-to-reloc basis? I don't see that bfd/elf32-hppa.c supports converting any of the TLS GD, IE, or LDM sequences from r19 to r27. Is this a missing piec

[Bug ld/6906] New: TLS relocs prevent changing r19 to r27 when doing static link with PIC code on PA

2008-09-21 Thread danglin at gcc dot gnu dot org
In trying to debug an eh bug, I tried a static link to minimize issues wrt lazing binding. The resulting application segfaults: Program received signal SIGSEGV, Segmentation fault. 0x00021610 in __tls_get_addr () Current language: auto; currently asm (gdb) bt #0 0x00021610 in __tls_get_addr ()