Update tests for ARMNT/ARM64 reloc names

After ObjectYAML learnt the proper enum names for ARMNT/ARM64
relocations, it no longer accepts the numerical values.

This fixes LLD tests after SVN r317459 in LLVM.

llvm-svn: 317460
This commit is contained in:
Martin Storsjo 2017-11-06 07:22:17 +00:00
parent bed0c519c3
commit e2e8e08ec3
10 changed files with 43 additions and 43 deletions

View File

@ -47,10 +47,10 @@ sections:
Relocations:
- VirtualAddress: 0
SymbolName: function
Type: 3
Type: IMAGE_REL_ARM64_BRANCH26
- VirtualAddress: 4
SymbolName: function2
Type: 3
Type: IMAGE_REL_ARM64_BRANCH26
symbols:
- Name: .text
Value: 0

View File

@ -86,82 +86,82 @@ sections:
Relocations:
- VirtualAddress: 4
SymbolName: .Lstr
Type: 4
Type: IMAGE_REL_ARM64_PAGEBASE_REL21
- VirtualAddress: 8
SymbolName: .Lstr
Type: 6
Type: IMAGE_REL_ARM64_PAGEOFFSET_12A
- VirtualAddress: 12
SymbolName: function
Type: 3
Type: IMAGE_REL_ARM64_BRANCH26
- VirtualAddress: 16
SymbolName: .Lglobal
Type: 7
Type: IMAGE_REL_ARM64_PAGEOFFSET_12L
- VirtualAddress: 20
SymbolName: .Lglobal
Type: 7
Type: IMAGE_REL_ARM64_PAGEOFFSET_12L
- VirtualAddress: 24
SymbolName: .Lglobal
Type: 7
Type: IMAGE_REL_ARM64_PAGEOFFSET_12L
- VirtualAddress: 28
SymbolName: .Lglobal
Type: 7
Type: IMAGE_REL_ARM64_PAGEOFFSET_12L
- VirtualAddress: 32
SymbolName: .Lglobal
Type: 7
Type: IMAGE_REL_ARM64_PAGEOFFSET_12L
- VirtualAddress: 36
SymbolName: .Lglobal
Type: 7
Type: IMAGE_REL_ARM64_PAGEOFFSET_12L
- VirtualAddress: 40
SymbolName: .Lglobal
Type: 7
Type: IMAGE_REL_ARM64_PAGEOFFSET_12L
- VirtualAddress: 44
SymbolName: .Lglobal
Type: 7
Type: IMAGE_REL_ARM64_PAGEOFFSET_12L
- VirtualAddress: 48
SymbolName: .Lglobal16
Type: 7
Type: IMAGE_REL_ARM64_PAGEOFFSET_12L
- VirtualAddress: 52
SymbolName: .Lglobal16
Type: 7
Type: IMAGE_REL_ARM64_PAGEOFFSET_12L
- VirtualAddress: 56
SymbolName: .Lglobal16
Type: 7
Type: IMAGE_REL_ARM64_PAGEOFFSET_12L
- VirtualAddress: 60
SymbolName: .Lglobal16
Type: 7
Type: IMAGE_REL_ARM64_PAGEOFFSET_12L
- VirtualAddress: 64
SymbolName: .Lglobal16
Type: 7
Type: IMAGE_REL_ARM64_PAGEOFFSET_12L
- VirtualAddress: 68
SymbolName: .Lglobal16
Type: 7
Type: IMAGE_REL_ARM64_PAGEOFFSET_12L
- VirtualAddress: 72
SymbolName: .Lglobal16
Type: 7
Type: IMAGE_REL_ARM64_PAGEOFFSET_12L
- VirtualAddress: 76
SymbolName: .Lglobal16
Type: 7
Type: IMAGE_REL_ARM64_PAGEOFFSET_12L
- VirtualAddress: 80
SymbolName: .Lglobal16
Type: 7
Type: IMAGE_REL_ARM64_PAGEOFFSET_12L
- VirtualAddress: 84
SymbolName: .Lglobal16
Type: 7
Type: IMAGE_REL_ARM64_PAGEOFFSET_12L
- VirtualAddress: 88
SymbolName: .Lglobal
Type: 7
Type: IMAGE_REL_ARM64_PAGEOFFSET_12L
- VirtualAddress: 92
SymbolName: .Lglobal16
Type: 4
Type: IMAGE_REL_ARM64_PAGEBASE_REL21
- VirtualAddress: 96
SymbolName: .Lglobal0
Type: 7
Type: IMAGE_REL_ARM64_PAGEOFFSET_12L
- VirtualAddress: 112
SymbolName: .Lglobal
Type: 14
Type: IMAGE_REL_ARM64_ADDR64
- VirtualAddress: 120
SymbolName: .Lglobal
Type: 2
Type: IMAGE_REL_ARM64_ADDR32NB
- Name: .data
Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ, IMAGE_SCN_MEM_WRITE ]
Alignment: 4

View File

@ -37,7 +37,7 @@ sections:
Relocations:
- VirtualAddress: 12
SymbolName: identity
Type: 21
Type: IMAGE_REL_ARM_BLX23T
symbols:
- Name: .text
Value: 0

View File

@ -30,7 +30,7 @@ sections:
Relocations:
- VirtualAddress: 6
SymbolName: identity
Type: 20
Type: IMAGE_REL_ARM_BRANCH24T
symbols:
- Name: .text
Value: 0

View File

@ -22,7 +22,7 @@ sections:
Relocations:
- VirtualAddress: 0
SymbolName: __imp_function
Type: 17
Type: IMAGE_REL_ARM_MOV32T
symbols:
- Name: .text
Value: 0

View File

@ -31,7 +31,7 @@ sections:
Relocations:
- VirtualAddress: 4
SymbolName: function
Type: 17
Type: IMAGE_REL_ARM_MOV32T
symbols:
- Name: .text
Value: 0

View File

@ -27,7 +27,7 @@ sections:
Relocations:
- VirtualAddress: 0
SymbolName: buffer
Type: 17
Type: IMAGE_REL_ARM_MOV32T
- Name: .rdata
Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ ]
Alignment: 1

View File

@ -77,7 +77,7 @@ sections:
Relocations:
- VirtualAddress: 0
SymbolName: __imp_function
Type: 17
Type: IMAGE_REL_ARM_MOV32T
symbols:
- Name: .text
Value: 0

View File

@ -31,7 +31,7 @@ sections:
Relocations:
- VirtualAddress: 0
SymbolName: __imp_main
Type: 2
Type: IMAGE_REL_ARM64_ADDR32NB
symbols:
- Name: .text
Value: 0

View File

@ -28,28 +28,28 @@ sections:
Relocations:
- VirtualAddress: 0
SymbolName: foo
Type: 1 # IMAGE_REL_ARM_ADDR32
Type: IMAGE_REL_ARM_ADDR32
- VirtualAddress: 16
SymbolName: foo
Type: 2 # IMAGE_REL_ARM_ADDR32NB
Type: IMAGE_REL_ARM_ADDR32NB
- VirtualAddress: 32
SymbolName: foo
Type: 17 # IMAGE_REL_ARM_MOV32T
Type: IMAGE_REL_ARM_MOV32T
- VirtualAddress: 48
SymbolName: foo
Type: 20 # IMAGE_REL_ARM_BRANCH24T
Type: IMAGE_REL_ARM_BRANCH24T
- VirtualAddress: 64
SymbolName: foo
Type: 18 # IMAGE_REL_ARM_BRANCH20T
Type: IMAGE_REL_ARM_BRANCH20T
- VirtualAddress: 80
SymbolName: foo
Type: 21 # IMAGE_REL_ARM_BLX23T
Type: IMAGE_REL_ARM_BLX23T
- VirtualAddress: 96
SymbolName: bar
Type: 20 # IMAGE_REL_ARM_BRANCH24T
Type: IMAGE_REL_ARM_BRANCH24T
- VirtualAddress: 112
SymbolName: bar
Type: 15 # IMAGE_REL_ARM_SECREL
Type: IMAGE_REL_ARM_SECREL
symbols:
- Name: .aaa
Value: 0