brintos

brintos / llvm-project-archived public Read only

0
0
Text · 575 B · 116ff21 Raw
20 lines · plain
1# REQUIRES: x862# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t1.o3# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %p/Inputs/x86-64-tls-gd-got.s -o %t2.o4# RUN: ld.lld %t1.o %t2.o -o %t5# RUN: llvm-objdump --no-print-imm-hex -d %t | FileCheck %s6 7        .globl  _start8_start:9        .byte   0x6610        leaq    bar@tlsgd(%rip), %rdi11        .byte   0x6612        rex6413        call    *__tls_get_addr@GOTPCREL(%rip)14        ret15 16// CHECK:      <_start>:17// CHECK-NEXT:   movq    %fs:0, %rax18// CHECK-NEXT:   leaq    -4(%rax), %rax19// CHECK-NEXT:   retq20