aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/ELF/undef2.s
blob: 67010132abdba3a5a7f5b5e857550558e2b8ab0c (plain)
1
2
3
4
5
6
7
8
9
10
// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | elf-dump  | FileCheck %s

// Test that this produces an undefined reference to .Lfoo

        je	.Lfoo

// CHECK: ('_symbols', [
// CHECK:      (('st_name', 0x00000001) # '.Lfoo'
// CHECK-NEXT:  ('st_bind', 0x00000001)
// CHECK: (('sh_name', 0x0000002f) # '.strtab'