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)


  23 .LFB0:
  24         pushq   %rbp
  25 .LCFI0:
  26         movq    %rsp, %rbp
  27 .LCFI1:
  28         movq    foo@GOTTPOFF(%rip), %r12
  29         addq    %fs:0, %r12
  30         movq    %r12, %rsi
  31         movl    $.LC0, %edi
  32         movl    $0, %eax
  33         call    printf
  34         movl    $0, %eax
  35         leave
  36         ret
  37 .LFE0:
  38         .size   main, .-main
  39 .globl foo
  40         .section        .rodata.str1.1
  41 .LC1:
  42         .string "foo"

  43         .section        .tdata,"awT",@progbits
  44         .align 8
  45         .type   foo, @object
  46         .size   foo, 8
  47 foo:
  48         .quad   .LC1


  23 .LFB0:
  24         pushq   %rbp
  25 .LCFI0:
  26         movq    %rsp, %rbp
  27 .LCFI1:
  28         movq    foo@GOTTPOFF(%rip), %r12
  29         addq    %fs:0, %r12
  30         movq    %r12, %rsi
  31         movl    $.LC0, %edi
  32         movl    $0, %eax
  33         call    printf
  34         movl    $0, %eax
  35         leave
  36         ret
  37 .LFE0:
  38         .size   main, .-main
  39 .globl foo
  40         .section        .rodata.str1.1
  41 .LC1:
  42         .string "foo"
  43 
  44         .section        .tdata,"awT",@progbits
  45         .align 8
  46         .type   foo, @object
  47         .size   foo, 8
  48 foo:
  49         .quad   .LC1