1 ## Show that yaml2obj is able to write relocations for an unknown e_machine properly.
3 # RUN: yaml2obj %s -o %t1
4 # RUN: llvm-readelf %t1 --relocations | FileCheck %s
6 # CHECK: Relocation section '.rela.text' at offset 0x40 contains 2 entries:
7 # CHECK: Offset Info Type Symbol's Value Symbol's Name + Addend
8 # CHECK-NEXT: 0000000000000001 0000000000000002 Unknown 0
9 # CHECK-NEXT: 0000000000000003 0000000000000004 Unknown 0