diff options
Diffstat (limited to 'test/elf/ARM/rel-arm-mov.test')
-rw-r--r-- | test/elf/ARM/rel-arm-mov.test | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/test/elf/ARM/rel-arm-mov.test b/test/elf/ARM/rel-arm-mov.test deleted file mode 100644 index e50aea4bb206..000000000000 --- a/test/elf/ARM/rel-arm-mov.test +++ /dev/null @@ -1,64 +0,0 @@ -# Check handling of R_ARM_MOVW_ABS_NC and R_ARM_MOVT_ABS relocation pair. -# RUN: yaml2obj -format=elf %s > %t-o.o -# RUN: lld -flavor gnu -target arm -m armelf_linux_eabi -Bstatic \ -# RUN: --noinhibit-exec %t-o.o -o %t -# RUN: llvm-objdump -s -t %t | FileCheck %s - -# CHECK: Contents of section .text: -# CHECK: 400074 04b02de5 00b08de2 003001e3 403040e3 -# addrL = 0x1000 ^^ -# addrH = 0x40 ^^ -# addrH addrL _ZL5data1 addr -# (0x40 << 16) + 0x1000 = 0x401000 -# CHECK: SYMBOL TABLE: -# CHECK: 00401000 l .bss 00000004 _ZL5data1 -# CHECK: 00400074 g F .text {{[0-9a-f]+}} main - ---- -FileHeader: - Class: ELFCLASS32 - Data: ELFDATA2LSB - Type: ET_REL - Machine: EM_ARM - Flags: [ EF_ARM_EABI_VER5 ] -Sections: - - Name: .text - Type: SHT_PROGBITS - Flags: [ SHF_ALLOC, SHF_EXECINSTR ] - AddressAlign: 0x0000000000000004 - Content: 04B02DE500B08DE2003000E3003040E30A20A0E3002083E50030A0E30300A0E100D04BE204B09DE41EFF2FE1 - - Name: .rel.text - Type: SHT_REL - Link: .symtab - AddressAlign: 0x0000000000000004 - Info: .text - Relocations: - - Offset: 0x0000000000000008 - Symbol: _ZL5data1 - Type: R_ARM_MOVW_ABS_NC - Addend: 0 - - Offset: 0x000000000000000C - Symbol: _ZL5data1 - Type: R_ARM_MOVT_ABS - Addend: 0 - - Name: .data - Type: SHT_PROGBITS - Flags: [ SHF_WRITE, SHF_ALLOC ] - AddressAlign: 0x0000000000000001 - Content: '' - - Name: .bss - Type: SHT_NOBITS - Flags: [ SHF_WRITE, SHF_ALLOC ] - AddressAlign: 0x0000000000000004 - Content: 411C0000 -Symbols: - Local: - - Name: _ZL5data1 - Type: STT_OBJECT - Section: .bss - Size: 0x0000000000000004 - Global: - - Name: main - Type: STT_FUNC - Section: .text -... |