Heuristic: If the number of operands in the alias are more than the number of
[llvm/stm8.git] / test / MC / ELF / relax.s
blob2c0e285db5975477cb3268c3c6ac9d776dc70b75
1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | elf-dump --dump-section-data | FileCheck %s
3 // Test that we do not relax these.
5 bar:
6 .globl foo
7 foo:
8 .set zed,foo
10 jmp bar
11 jmp foo
12 jmp zed
14 // CHECK: ('sh_name', 0x00000001) # '.text'
15 // CHECK-NEXT: ('sh_type', 0x00000001)
16 // CHECK-NEXT: ('sh_flags', 0x00000006)
17 // CHECK-NEXT: ('sh_addr', 0x00000000)
18 // CHECK-NEXT: ('sh_offset', 0x00000040)
19 // CHECK-NEXT: ('sh_size', 0x00000006)
20 // CHECK-NEXT: ('sh_link', 0x00000000)
21 // CHECK-NEXT: ('sh_info', 0x00000000)
22 // CHECK-NEXT: ('sh_addralign', 0x00000004)
23 // CHECK-NEXT: ('sh_entsize', 0x00000000)
24 // CHECK-NEXT: ('_section_data', 'ebfeebfc ebfa')
26 // CHECK: # Symbol 0x00000006
27 // CHECK-NEXT: (('st_name', 0x00000005) # 'foo'