brintos

brintos / llvm-project-archived public Read only

0
0
Text · 788 B · 3a7c2bb Raw
29 lines · plain
1# REQUIRES: x862# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o3# RUN: ld.lld -r %t.o -o %t4# RUN: llvm-readobj --symbols %t | FileCheck %s5 6# Test that the section symbol has st_name equal to zero. GNU objdump7# requires this to print relocations against the section.8 9# CHECK:      Symbols [10# CHECK-NEXT:   Symbol {11# CHECK-NEXT:     Name:12# CHECK-NEXT:     Value:13# CHECK-NEXT:     Size:14# CHECK-NEXT:     Binding:15# CHECK-NEXT:     Type:16# CHECK-NEXT:     Other:17# CHECK-NEXT:     Section:18# CHECK-NEXT:   }19# CHECK-NEXT:   Symbol {20# CHECK-NEXT:     Name: .text (0)21# CHECK-NEXT:     Value:22# CHECK-NEXT:     Size:23# CHECK-NEXT:     Binding:24# CHECK-NEXT:     Type: Section25# CHECK-NEXT:     Other:26# CHECK-NEXT:     Section: .text27# CHECK-NEXT:   }28# CHECK-NEXT: ]29