Print this page
10367 ld(1) tests should be a real test suite
10368 want an ld(1) regression test for i386 LD tls transition (10267)

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/sgs/test/ld/x64/tls/ie/style1-func-with-r12.s
          +++ new/usr/src/test/elf-tests/tests/tls/amd64/ie/style1-func-with-r12.s
↓ open down ↓ 21 lines elided ↑ open up ↑
  22   22  func:
  23   23  .LFB0:
  24   24          pushq   %rbp
  25   25  .LCFI0:
  26   26          movq    %rsp, %rbp
  27   27  .LCFI1:
  28   28          movq    %fs:0, %r12
  29   29          movq    %r12, %rdx
  30   30          addq    bar@GOTTPOFF(%rip), %rdx
  31   31          addq    foo@GOTTPOFF(%rip), %r12
  32      -        movq    %r12, %rsi     
       32 +        movq    %r12, %rsi
  33   33          movl    $.LC0, %edi
  34   34          movl    $0, %eax
  35   35          call    printf
  36   36          leave
  37   37          ret
  38   38  .LFE0:
  39   39          .size   func, .-func
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX