------- Comment #11 from hjl dot tools at gmail dot com  2010-03-09 18:45 
-------
Sun linker changes

   4:   64 48 8b 14 25 00 00 00 00      mov    %fs:0x0,%rdx
   d:   48 8b 05 00 00 00 00    mov    0x0(%rip),%rax        # 14 <main+0x14>  
10: R_X86_64_GOTTPOFF   cnt-0x4

to

  400e0c:       64 48 8b 04 25 00 00 00 00      mov    %fs:0x0,%rax
  400e15:       48 8d 80 f0 ff ff ff    lea    -0x10(%rax),%rax

Nowhere in TLS spec allows the linker to change

   d:   48 8b 05 00 00 00 00    mov    0x0(%rip),%rax        # 14 <main+0x14>  
10: R_X86_64_GOTTPOFF   cnt-0x4

to

 400e15:       48 8d 80 f0 ff ff ff    lea    -0x10(%rax),%rax

It is Sun linker bug. Please report it to them.


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43309

Reply via email to