[lld] r357596 - [LLD] - Update the test cases after yaml2obj change.
George Rimar via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 3 07:54:22 PDT 2019
Author: grimar
Date: Wed Apr 3 07:54:22 2019
New Revision: 357596
URL: http://llvm.org/viewvc/llvm-project?rev=357596&view=rev
Log:
[LLD] - Update the test cases after yaml2obj change.
https://reviews.llvm.org/D60122 (r357595) changed the
symbols description format.
This change updates the LLD tests.
Modified:
lld/trunk/test/ELF/Inputs/bad-reloc-target.test
lld/trunk/test/ELF/Inputs/shf-info-link.test
lld/trunk/test/ELF/arm-thumb-undefined-weak-narrow.test
lld/trunk/test/ELF/arm-v4bx.test
lld/trunk/test/ELF/bad-reloc-target.test
lld/trunk/test/ELF/debug-relocation-none.test
lld/trunk/test/ELF/i386-debug-noabs.test
lld/trunk/test/ELF/i386-pc16.test
lld/trunk/test/ELF/icf11.test
lld/trunk/test/ELF/invalid-relocations.test
lld/trunk/test/ELF/invalid-undef-section-symbol.test
lld/trunk/test/ELF/invalid/broken-relaxation-x64.test
lld/trunk/test/ELF/invalid/comdat-broken.test
lld/trunk/test/ELF/invalid/common-symbol-alignment.test
lld/trunk/test/ELF/invalid/ehframe-broken-relocation.test
lld/trunk/test/ELF/invalid/invalid-debug-relocations.test
lld/trunk/test/ELF/invalid/invalid-relocation-x64.test
lld/trunk/test/ELF/invalid/reloc-section-reordered.test
lld/trunk/test/ELF/invalid/sht-group-wrong-section.test
lld/trunk/test/ELF/invalid/symtab-sh-info.s
lld/trunk/test/ELF/invalid/symtab-symbols.test
lld/trunk/test/ELF/invalid/tls-symbol.s
lld/trunk/test/ELF/invalid/undefined-local-symbol-in-dso.test
lld/trunk/test/ELF/mips-jalr.test
lld/trunk/test/ELF/relocation-b-aarch64.test
lld/trunk/test/ELF/relocation-group.test
lld/trunk/test/ELF/riscv-branch.test
lld/trunk/test/ELF/riscv-call.test
lld/trunk/test/ELF/riscv-hi20-lo12.test
lld/trunk/test/ELF/riscv-jal-error.test
lld/trunk/test/ELF/riscv-jal.test
lld/trunk/test/ELF/riscv-pcrel-hilo.test
lld/trunk/test/ELF/section-align-0.test
lld/trunk/test/ELF/section-symbols.test
lld/trunk/test/ELF/shf-info-link.test
lld/trunk/test/ELF/sht-group-empty.test
lld/trunk/test/ELF/undef-broken-debug.test
Modified: lld/trunk/test/ELF/Inputs/bad-reloc-target.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/Inputs/bad-reloc-target.test?rev=357596&r1=357595&r2=357596&view=diff
==============================================================================
--- lld/trunk/test/ELF/Inputs/bad-reloc-target.test (original)
+++ lld/trunk/test/ELF/Inputs/bad-reloc-target.test Wed Apr 3 07:54:22 2019
@@ -17,5 +17,5 @@ Sections:
Symbol: foo
Type: R_X86_64_64
Symbols:
- Global:
- - Name: foo
\ No newline at end of file
+ - Name: foo
+ Binding: STB_GLOBAL
Modified: lld/trunk/test/ELF/Inputs/shf-info-link.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/Inputs/shf-info-link.test?rev=357596&r1=357595&r2=357596&view=diff
==============================================================================
--- lld/trunk/test/ELF/Inputs/shf-info-link.test (original)
+++ lld/trunk/test/ELF/Inputs/shf-info-link.test Wed Apr 3 07:54:22 2019
@@ -17,5 +17,5 @@ Sections:
Symbol: foo
Type: R_X86_64_64
Symbols:
- Global:
- - Name: foo
+ - Name: foo
+ Binding: STB_GLOBAL
Modified: lld/trunk/test/ELF/arm-thumb-undefined-weak-narrow.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-thumb-undefined-weak-narrow.test?rev=357596&r1=357595&r2=357596&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-thumb-undefined-weak-narrow.test (original)
+++ lld/trunk/test/ELF/arm-thumb-undefined-weak-narrow.test Wed Apr 3 07:54:22 2019
@@ -33,18 +33,16 @@ Sections:
Type: R_ARM_THM_JUMP11
Symbols:
- Global:
- - Type: STT_FUNC
- Name: _start
- Value: 1
- Section: .text
- Local:
- - Type: STT_NOTYPE
- Name: "$t"
- Section: .text
- Value: 0
- Weak:
- - Type: STT_NOTYPE
- Name: undefined_weak
- Value: 0
-
+ - Type: STT_NOTYPE
+ Name: "$t"
+ Section: .text
+ Value: 0
+ - Type: STT_FUNC
+ Name: _start
+ Value: 1
+ Section: .text
+ Binding: STB_GLOBAL
+ - Type: STT_NOTYPE
+ Name: undefined_weak
+ Value: 0
+ Binding: STB_WEAK
Modified: lld/trunk/test/ELF/arm-v4bx.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-v4bx.test?rev=357596&r1=357595&r2=357596&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-v4bx.test (original)
+++ lld/trunk/test/ELF/arm-v4bx.test Wed Apr 3 07:54:22 2019
@@ -29,11 +29,9 @@ Sections:
- Offset: 0x0000000000000000
Type: R_ARM_V4BX
Symbols:
- Global:
- - Name: _start
- Section: .text
- Local:
- - Name: .text
- Type: STT_SECTION
- Section: .text
-DynamicSymbols:
+ - Name: .text
+ Type: STT_SECTION
+ Section: .text
+ - Name: _start
+ Section: .text
+ Binding: STB_GLOBAL
Modified: lld/trunk/test/ELF/bad-reloc-target.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/bad-reloc-target.test?rev=357596&r1=357595&r2=357596&view=diff
==============================================================================
--- lld/trunk/test/ELF/bad-reloc-target.test (original)
+++ lld/trunk/test/ELF/bad-reloc-target.test Wed Apr 3 07:54:22 2019
@@ -25,5 +25,5 @@ Sections:
Symbol: foo
Type: R_X86_64_64
Symbols:
- Global:
- - Name: foo
\ No newline at end of file
+ - Name: foo
+ Binding: STB_GLOBAL
Modified: lld/trunk/test/ELF/debug-relocation-none.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/debug-relocation-none.test?rev=357596&r1=357595&r2=357596&view=diff
==============================================================================
--- lld/trunk/test/ELF/debug-relocation-none.test (original)
+++ lld/trunk/test/ELF/debug-relocation-none.test Wed Apr 3 07:54:22 2019
@@ -52,7 +52,8 @@ Sections:
Content: '0111001017000000'
Symbols:
- Global:
- - Name: _start
- Section: .text
- - Name: bar
+ - Name: _start
+ Section: .text
+ Binding: STB_GLOBAL
+ - Name: bar
+ Binding: STB_GLOBAL
Modified: lld/trunk/test/ELF/i386-debug-noabs.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/i386-debug-noabs.test?rev=357596&r1=357595&r2=357596&view=diff
==============================================================================
--- lld/trunk/test/ELF/i386-debug-noabs.test (original)
+++ lld/trunk/test/ELF/i386-debug-noabs.test Wed Apr 3 07:54:22 2019
@@ -29,5 +29,5 @@ Sections:
Symbol: _GLOBAL_OFFSET_TABLE_
Type: R_386_GOTPC
Symbols:
- Global:
- - Name: _GLOBAL_OFFSET_TABLE_
+ - Name: _GLOBAL_OFFSET_TABLE_
+ Binding: STB_GLOBAL
Modified: lld/trunk/test/ELF/i386-pc16.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/i386-pc16.test?rev=357596&r1=357595&r2=357596&view=diff
==============================================================================
--- lld/trunk/test/ELF/i386-pc16.test (original)
+++ lld/trunk/test/ELF/i386-pc16.test Wed Apr 3 07:54:22 2019
@@ -32,9 +32,9 @@ Sections:
Symbol: _start
Type: R_386_PC16
Symbols:
- Global:
- - Name: _start
- Type: STT_FUNC
- Section: .text
- Value: 0x1234
- Size: 4
+ - Name: _start
+ Type: STT_FUNC
+ Section: .text
+ Value: 0x1234
+ Size: 4
+ Binding: STB_GLOBAL
Modified: lld/trunk/test/ELF/icf11.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/icf11.test?rev=357596&r1=357595&r2=357596&view=diff
==============================================================================
--- lld/trunk/test/ELF/icf11.test (original)
+++ lld/trunk/test/ELF/icf11.test Wed Apr 3 07:54:22 2019
@@ -43,9 +43,9 @@ Sections:
Symbol: zed
Type: R_X86_64_64
Symbols:
- Global:
- - Name: zed
- Type: STT_FUNC
- Section: .text
- Value: 0x0
- Size: 8
+ - Name: zed
+ Type: STT_FUNC
+ Section: .text
+ Value: 0x0
+ Size: 8
+ Binding: STB_GLOBAL
Modified: lld/trunk/test/ELF/invalid-relocations.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/invalid-relocations.test?rev=357596&r1=357595&r2=357596&view=diff
==============================================================================
--- lld/trunk/test/ELF/invalid-relocations.test (original)
+++ lld/trunk/test/ELF/invalid-relocations.test Wed Apr 3 07:54:22 2019
@@ -17,7 +17,7 @@ Sections:
Symbol: lulz
Type: R_X86_64_PC32
Symbols:
- Global:
- - Name: lulz
+ - Name: lulz
+ Binding: STB_GLOBAL
# CHECK: invalid relocated section index
Modified: lld/trunk/test/ELF/invalid-undef-section-symbol.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/invalid-undef-section-symbol.test?rev=357596&r1=357595&r2=357596&view=diff
==============================================================================
--- lld/trunk/test/ELF/invalid-undef-section-symbol.test (original)
+++ lld/trunk/test/ELF/invalid-undef-section-symbol.test Wed Apr 3 07:54:22 2019
@@ -22,6 +22,5 @@ Sections:
Symbol: .text
Type: R_X86_64_NONE
Symbols:
- Local:
- - Name: .text
- Type: STT_SECTION
+ - Name: .text
+ Type: STT_SECTION
Modified: lld/trunk/test/ELF/invalid/broken-relaxation-x64.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/invalid/broken-relaxation-x64.test?rev=357596&r1=357595&r2=357596&view=diff
==============================================================================
--- lld/trunk/test/ELF/invalid/broken-relaxation-x64.test (original)
+++ lld/trunk/test/ELF/invalid/broken-relaxation-x64.test Wed Apr 3 07:54:22 2019
@@ -38,9 +38,10 @@ Sections:
Symbol: foo
Type: R_X86_64_GOTTPOFF
Symbols:
- Global:
- - Name: foo
- Type: STT_TLS
- Section: .text
- Value: 0x12345
- Size: 4
+ - Name: foo
+ Type: STT_TLS
+ Section: .text
+ Value: 0x12345
+ Size: 4
+ Binding: STB_GLOBAL
+
\ No newline at end of file
Modified: lld/trunk/test/ELF/invalid/comdat-broken.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/invalid/comdat-broken.test?rev=357596&r1=357595&r2=357596&view=diff
==============================================================================
--- lld/trunk/test/ELF/invalid/comdat-broken.test (original)
+++ lld/trunk/test/ELF/invalid/comdat-broken.test Wed Apr 3 07:54:22 2019
@@ -21,5 +21,5 @@ Sections:
- SectionOrType: 0xFF
- SectionOrType: 3
Symbols:
- Global:
- - Name: foo
+ - Name: foo
+ Binding: STB_GLOBAL
Modified: lld/trunk/test/ELF/invalid/common-symbol-alignment.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/invalid/common-symbol-alignment.test?rev=357596&r1=357595&r2=357596&view=diff
==============================================================================
--- lld/trunk/test/ELF/invalid/common-symbol-alignment.test (original)
+++ lld/trunk/test/ELF/invalid/common-symbol-alignment.test Wed Apr 3 07:54:22 2019
@@ -11,10 +11,10 @@ FileHeader:
Type: ET_REL
Machine: EM_X86_64
Symbols:
- Global:
- - Name: bar
- Type: STT_FUNC
- Index: SHN_COMMON
+ - Name: bar
+ Type: STT_FUNC
+ Index: SHN_COMMON
+ Binding: STB_GLOBAL
## If an object contains a common symbol with alignment greater
## than UINT32_MAX, check we report it.
@@ -29,8 +29,8 @@ FileHeader:
Type: ET_REL
Machine: EM_X86_64
Symbols:
- Global:
- - Name: bar
- Type: STT_FUNC
- Index: SHN_COMMON
- Value: 0x0000003F3F3F3F3F
+ - Name: bar
+ Type: STT_FUNC
+ Index: SHN_COMMON
+ Value: 0x0000003F3F3F3F3F
+ Binding: STB_GLOBAL
Modified: lld/trunk/test/ELF/invalid/ehframe-broken-relocation.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/invalid/ehframe-broken-relocation.test?rev=357596&r1=357595&r2=357596&view=diff
==============================================================================
--- lld/trunk/test/ELF/invalid/ehframe-broken-relocation.test (original)
+++ lld/trunk/test/ELF/invalid/ehframe-broken-relocation.test Wed Apr 3 07:54:22 2019
@@ -23,9 +23,9 @@ Sections:
Symbol: zed
Type: R_X86_64_64
Symbols:
- Global:
- - Name: zed
- Type: STT_FUNC
- Section: .eh_frame
- Value: 0x0
- Size: 8
+ - Name: zed
+ Type: STT_FUNC
+ Section: .eh_frame
+ Value: 0x0
+ Size: 8
+ Binding: STB_GLOBAL
Modified: lld/trunk/test/ELF/invalid/invalid-debug-relocations.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/invalid/invalid-debug-relocations.test?rev=357596&r1=357595&r2=357596&view=diff
==============================================================================
--- lld/trunk/test/ELF/invalid/invalid-debug-relocations.test (original)
+++ lld/trunk/test/ELF/invalid/invalid-debug-relocations.test Wed Apr 3 07:54:22 2019
@@ -33,8 +33,8 @@ Sections:
Symbol: _start
Type: 0xFF
Symbols:
- Global:
- - Name: _start
- Type: STT_FUNC
- Section: .text
- Value: 0x0
+ - Name: _start
+ Type: STT_FUNC
+ Section: .text
+ Value: 0x0
+ Binding: STB_GLOBAL
Modified: lld/trunk/test/ELF/invalid/invalid-relocation-x64.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/invalid/invalid-relocation-x64.test?rev=357596&r1=357595&r2=357596&view=diff
==============================================================================
--- lld/trunk/test/ELF/invalid/invalid-relocation-x64.test (original)
+++ lld/trunk/test/ELF/invalid/invalid-relocation-x64.test Wed Apr 3 07:54:22 2019
@@ -29,5 +29,5 @@ Sections:
Symbol: foo
Type: 0x99
Symbols:
- Global:
- - Name: foo
+ - Name: foo
+ Binding: STB_GLOBAL
Modified: lld/trunk/test/ELF/invalid/reloc-section-reordered.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/invalid/reloc-section-reordered.test?rev=357596&r1=357595&r2=357596&view=diff
==============================================================================
--- lld/trunk/test/ELF/invalid/reloc-section-reordered.test (original)
+++ lld/trunk/test/ELF/invalid/reloc-section-reordered.test Wed Apr 3 07:54:22 2019
@@ -29,7 +29,6 @@ Sections:
AddressAlign: 0x04
Content: "FFFFFFFFFFFFFFFF"
Symbols:
- Local:
- - Name: .text
- Type: STT_SECTION
- Section: .text
+ - Name: .text
+ Type: STT_SECTION
+ Section: .text
Modified: lld/trunk/test/ELF/invalid/sht-group-wrong-section.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/invalid/sht-group-wrong-section.test?rev=357596&r1=357595&r2=357596&view=diff
==============================================================================
--- lld/trunk/test/ELF/invalid/sht-group-wrong-section.test (original)
+++ lld/trunk/test/ELF/invalid/sht-group-wrong-section.test Wed Apr 3 07:54:22 2019
@@ -18,5 +18,5 @@ Sections:
- SectionOrType: GRP_COMDAT
- SectionOrType: 12345
Symbols:
- Global:
- - Name: foo
+ - Name: foo
+ Binding: STB_GLOBAL
Modified: lld/trunk/test/ELF/invalid/symtab-sh-info.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/invalid/symtab-sh-info.s?rev=357596&r1=357595&r2=357596&view=diff
==============================================================================
--- lld/trunk/test/ELF/invalid/symtab-sh-info.s (original)
+++ lld/trunk/test/ELF/invalid/symtab-sh-info.s Wed Apr 3 07:54:22 2019
@@ -16,8 +16,8 @@ Sections:
Info: 0
Type: SHT_SYMTAB
Symbols:
- Global:
- - Name: foo
+ - Name: foo
+ Binding: STB_GLOBAL
## sh_info has value 2 what says that non-local symbol `foo` is local.
## Check we report this case.
@@ -36,8 +36,8 @@ Sections:
Info: 2
Type: SHT_SYMTAB
Symbols:
- Global:
- - Name: foo
+ - Name: foo
+ Binding: STB_GLOBAL
## sh_info has value 0xff what is larger than number of symbols in a .symtab.
## Check we report this case.
@@ -55,5 +55,5 @@ Sections:
Info: 0xff
Type: SHT_SYMTAB
Symbols:
- Global:
- - Name: foo
+ - Name: foo
+ Binding: STB_GLOBAL
Modified: lld/trunk/test/ELF/invalid/symtab-symbols.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/invalid/symtab-symbols.test?rev=357596&r1=357595&r2=357596&view=diff
==============================================================================
--- lld/trunk/test/ELF/invalid/symtab-symbols.test (original)
+++ lld/trunk/test/ELF/invalid/symtab-symbols.test Wed Apr 3 07:54:22 2019
@@ -20,6 +20,5 @@ Sections:
AddressAlign: 0x0000000000000010
Content: "00000000"
Symbols:
- Local:
- - Type: STT_NOTYPE
- Section: .symtab
+ - Type: STT_NOTYPE
+ Section: .symtab
Modified: lld/trunk/test/ELF/invalid/tls-symbol.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/invalid/tls-symbol.s?rev=357596&r1=357595&r2=357596&view=diff
==============================================================================
--- lld/trunk/test/ELF/invalid/tls-symbol.s (original)
+++ lld/trunk/test/ELF/invalid/tls-symbol.s Wed Apr 3 07:54:22 2019
@@ -18,7 +18,7 @@ Sections:
Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
Content: ''
Symbols:
- Global:
- - Name: bar
- Type: STT_TLS
- Section: .text
+ - Name: bar
+ Type: STT_TLS
+ Section: .text
+ Binding: STB_GLOBAL
Modified: lld/trunk/test/ELF/invalid/undefined-local-symbol-in-dso.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/invalid/undefined-local-symbol-in-dso.test?rev=357596&r1=357595&r2=357596&view=diff
==============================================================================
--- lld/trunk/test/ELF/invalid/undefined-local-symbol-in-dso.test (original)
+++ lld/trunk/test/ELF/invalid/undefined-local-symbol-in-dso.test Wed Apr 3 07:54:22 2019
@@ -23,5 +23,4 @@ Sections:
Info: 1
Type: SHT_SYMTAB
DynamicSymbols:
- Local:
- - Name: foo
+ - Name: foo
Modified: lld/trunk/test/ELF/mips-jalr.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/mips-jalr.test?rev=357596&r1=357595&r2=357596&view=diff
==============================================================================
--- lld/trunk/test/ELF/mips-jalr.test (original)
+++ lld/trunk/test/ELF/mips-jalr.test Wed Apr 3 07:54:22 2019
@@ -38,15 +38,14 @@ Sections:
Type: R_MIPS_JALR
Symbols:
- Local:
- - Name: T1
- Type: STT_FUNC
- Section: .text
- Value: 0
- Size: 4
- Global:
- - Name: __start
- Type: STT_FUNC
- Section: .text
- Value: 0
- Size: 4
+ - Name: T1
+ Type: STT_FUNC
+ Section: .text
+ Value: 0
+ Size: 4
+ - Name: __start
+ Type: STT_FUNC
+ Section: .text
+ Value: 0
+ Size: 4
+ Binding: STB_GLOBAL
Modified: lld/trunk/test/ELF/relocation-b-aarch64.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/relocation-b-aarch64.test?rev=357596&r1=357595&r2=357596&view=diff
==============================================================================
--- lld/trunk/test/ELF/relocation-b-aarch64.test (original)
+++ lld/trunk/test/ELF/relocation-b-aarch64.test Wed Apr 3 07:54:22 2019
@@ -37,12 +37,11 @@ Sections:
Type: R_AARCH64_JUMP26
Symbols:
- Local:
- - Type: STT_FUNC
- Section: .text
- Name: foo
- Value: 0
- - Type: STT_FUNC
- Section: .text
- Name: bar
- Value: 4
+ - Type: STT_FUNC
+ Section: .text
+ Name: foo
+ Value: 0
+ - Type: STT_FUNC
+ Section: .text
+ Name: bar
+ Value: 4
Modified: lld/trunk/test/ELF/relocation-group.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/relocation-group.test?rev=357596&r1=357595&r2=357596&view=diff
==============================================================================
--- lld/trunk/test/ELF/relocation-group.test (original)
+++ lld/trunk/test/ELF/relocation-group.test Wed Apr 3 07:54:22 2019
@@ -39,5 +39,5 @@ Sections:
Symbol: foo
Type: R_X86_64_64
Symbols:
- Global:
- - Name: foo
+ - Name: foo
+ Binding: STB_GLOBAL
Modified: lld/trunk/test/ELF/riscv-branch.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/riscv-branch.test?rev=357596&r1=357595&r2=357596&view=diff
==============================================================================
--- lld/trunk/test/ELF/riscv-branch.test (original)
+++ lld/trunk/test/ELF/riscv-branch.test Wed Apr 3 07:54:22 2019
@@ -93,27 +93,26 @@ Sections:
Type: R_RISCV_BRANCH
Addend: -4096
Symbols:
- Local:
- - Name: .text
- Type: STT_SECTION
- Section: .text
- - Name: .data
- Type: STT_SECTION
- Section: .data
- - Name: .bss
- Type: STT_SECTION
- Section: .bss
- - Name: .reloc_max
- Type: STT_SECTION
- Section: .reloc_max
- - Name: L1
- Section: .reloc_max
- - Name: .reloc_min
- Type: STT_SECTION
- Section: .reloc_min
- - Name: L2
- Section: .reloc_min
- Global:
- - Name: _start
- Section: .text
+ - Name: .text
+ Type: STT_SECTION
+ Section: .text
+ - Name: .data
+ Type: STT_SECTION
+ Section: .data
+ - Name: .bss
+ Type: STT_SECTION
+ Section: .bss
+ - Name: .reloc_max
+ Type: STT_SECTION
+ Section: .reloc_max
+ - Name: L1
+ Section: .reloc_max
+ - Name: .reloc_min
+ Type: STT_SECTION
+ Section: .reloc_min
+ - Name: L2
+ Section: .reloc_min
+ - Name: _start
+ Section: .text
+ Binding: STB_GLOBAL
...
Modified: lld/trunk/test/ELF/riscv-call.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/riscv-call.test?rev=357596&r1=357595&r2=357596&view=diff
==============================================================================
--- lld/trunk/test/ELF/riscv-call.test (original)
+++ lld/trunk/test/ELF/riscv-call.test Wed Apr 3 07:54:22 2019
@@ -74,22 +74,21 @@ Sections:
Type: R_RISCV_CALL
Addend: -4
Symbols:
- Local:
- - Name: .text
- Type: STT_SECTION
- Section: .text
- - Name: .data
- Type: STT_SECTION
- Section: .data
- - Name: .bss
- Type: STT_SECTION
- Section: .bss
- - Name: .reloc_neg
- Type: STT_SECTION
- Section: .reloc_neg
- - Name: L1
- Section: .reloc_neg
- Global:
- - Name: _start
- Section: .text
+ - Name: .text
+ Type: STT_SECTION
+ Section: .text
+ - Name: .data
+ Type: STT_SECTION
+ Section: .data
+ - Name: .bss
+ Type: STT_SECTION
+ Section: .bss
+ - Name: .reloc_neg
+ Type: STT_SECTION
+ Section: .reloc_neg
+ - Name: L1
+ Section: .reloc_neg
+ - Name: _start
+ Section: .text
+ Binding: STB_GLOBAL
...
Modified: lld/trunk/test/ELF/riscv-hi20-lo12.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/riscv-hi20-lo12.test?rev=357596&r1=357595&r2=357596&view=diff
==============================================================================
--- lld/trunk/test/ELF/riscv-hi20-lo12.test (original)
+++ lld/trunk/test/ELF/riscv-hi20-lo12.test Wed Apr 3 07:54:22 2019
@@ -62,25 +62,24 @@ Sections:
AddressAlign: 0x0000000000000001
Content: 37C5DCFE130585A9
Symbols:
- Local:
- - Name: .text
- Type: STT_SECTION
- Section: .text
- - Name: .data
- Type: STT_SECTION
- Section: .data
- - Name: .bss
- Type: STT_SECTION
- Section: .bss
- - Name: .reloc_12345678
- Type: STT_SECTION
- Section: .reloc_12345678
- - Name: foo
- Value: 0x00000000FEDCBA98
- - Name: .reloc_fedcba98
- Type: STT_SECTION
- Section: .reloc_fedcba98
- Global:
- - Name: _start
- Section: .reloc_12345678
+ - Name: .text
+ Type: STT_SECTION
+ Section: .text
+ - Name: .data
+ Type: STT_SECTION
+ Section: .data
+ - Name: .bss
+ Type: STT_SECTION
+ Section: .bss
+ - Name: .reloc_12345678
+ Type: STT_SECTION
+ Section: .reloc_12345678
+ - Name: foo
+ Value: 0x00000000FEDCBA98
+ - Name: .reloc_fedcba98
+ Type: STT_SECTION
+ Section: .reloc_fedcba98
+ - Name: _start
+ Section: .reloc_12345678
+ Binding: STB_GLOBAL
...
Modified: lld/trunk/test/ELF/riscv-jal-error.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/riscv-jal-error.test?rev=357596&r1=357595&r2=357596&view=diff
==============================================================================
--- lld/trunk/test/ELF/riscv-jal-error.test (original)
+++ lld/trunk/test/ELF/riscv-jal-error.test Wed Apr 3 07:54:22 2019
@@ -66,28 +66,27 @@ Sections:
Flags: [ SHF_WRITE, SHF_ALLOC ]
AddressAlign: 0x0000000000000001
Symbols:
- Local:
- - Name: .text
- Type: STT_SECTION
- Section: .text
- - Name: .data
- Type: STT_SECTION
- Section: .data
- - Name: .bss
- Type: STT_SECTION
- Section: .bss
- - Name: L1
- Section: .text
- - Name: L2
- Section: .text
- Value: 0x0000000000000004
- - Name: L3
- Section: .text
- Value: 0x0000000000000008
- - Name: L4
- Section: .text
- Value: 0x000000000000000C
- Global:
- - Name: _start
- Section: .text
+ - Name: .text
+ Type: STT_SECTION
+ Section: .text
+ - Name: .data
+ Type: STT_SECTION
+ Section: .data
+ - Name: .bss
+ Type: STT_SECTION
+ Section: .bss
+ - Name: L1
+ Section: .text
+ - Name: L2
+ Section: .text
+ Value: 0x0000000000000004
+ - Name: L3
+ Section: .text
+ Value: 0x0000000000000008
+ - Name: L4
+ Section: .text
+ Value: 0x000000000000000C
+ - Name: _start
+ Section: .text
+ Binding: STB_GLOBAL
...
Modified: lld/trunk/test/ELF/riscv-jal.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/riscv-jal.test?rev=357596&r1=357595&r2=357596&view=diff
==============================================================================
--- lld/trunk/test/ELF/riscv-jal.test (original)
+++ lld/trunk/test/ELF/riscv-jal.test Wed Apr 3 07:54:22 2019
@@ -121,41 +121,40 @@ Sections:
Type: R_RISCV_RVC_JUMP
Addend: -2048
Symbols:
- Local:
- - Name: .text
- Type: STT_SECTION
- Section: .text
- - Name: .data
- Type: STT_SECTION
- Section: .data
- - Name: .bss
- Type: STT_SECTION
- Section: .bss
- - Name: .reloc_zero
- Type: STT_SECTION
- Section: .reloc_zero
- - Name: L1
- Section: .reloc_zero
- - Name: L2
- Section: .reloc_zero
- Value: 0x0000000000000004
- - Name: .reloc_max
- Type: STT_SECTION
- Section: .reloc_max
- - Name: L3
- Section: .reloc_max
- - Name: L4
- Section: .reloc_max
- Value: 0x0000000000000004
- - Name: .reloc_min
- Type: STT_SECTION
- Section: .reloc_min
- - Name: L5
- Section: .reloc_min
- - Name: L6
- Section: .reloc_min
- Value: 0x0000000000000004
- Global:
- - Name: _start
- Section: .reloc_zero
+ - Name: .text
+ Type: STT_SECTION
+ Section: .text
+ - Name: .data
+ Type: STT_SECTION
+ Section: .data
+ - Name: .bss
+ Type: STT_SECTION
+ Section: .bss
+ - Name: .reloc_zero
+ Type: STT_SECTION
+ Section: .reloc_zero
+ - Name: L1
+ Section: .reloc_zero
+ - Name: L2
+ Section: .reloc_zero
+ Value: 0x0000000000000004
+ - Name: .reloc_max
+ Type: STT_SECTION
+ Section: .reloc_max
+ - Name: L3
+ Section: .reloc_max
+ - Name: L4
+ Section: .reloc_max
+ Value: 0x0000000000000004
+ - Name: .reloc_min
+ Type: STT_SECTION
+ Section: .reloc_min
+ - Name: L5
+ Section: .reloc_min
+ - Name: L6
+ Section: .reloc_min
+ Value: 0x0000000000000004
+ - Name: _start
+ Section: .reloc_zero
+ Binding: STB_GLOBAL
...
Modified: lld/trunk/test/ELF/riscv-pcrel-hilo.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/riscv-pcrel-hilo.test?rev=357596&r1=357595&r2=357596&view=diff
==============================================================================
--- lld/trunk/test/ELF/riscv-pcrel-hilo.test (original)
+++ lld/trunk/test/ELF/riscv-pcrel-hilo.test Wed Apr 3 07:54:22 2019
@@ -82,22 +82,21 @@ Sections:
Symbol: L1
Type: R_RISCV_PCREL_LO12_I
Symbols:
- Local:
- - Name: .text
- Type: STT_SECTION
- Section: .text
- - Name: .data
- Type: STT_SECTION
- Section: .data
- - Name: .bss
- Type: STT_SECTION
- Section: .bss
- - Name: .reloc_neg
- Type: STT_SECTION
- Section: .reloc_neg
- - Name: L1
- Section: .reloc_neg
- Global:
- - Name: _start
- Section: .text
+ - Name: .text
+ Type: STT_SECTION
+ Section: .text
+ - Name: .data
+ Type: STT_SECTION
+ Section: .data
+ - Name: .bss
+ Type: STT_SECTION
+ Section: .bss
+ - Name: .reloc_neg
+ Type: STT_SECTION
+ Section: .reloc_neg
+ - Name: L1
+ Section: .reloc_neg
+ - Name: _start
+ Section: .text
+ Binding: STB_GLOBAL
...
Modified: lld/trunk/test/ELF/section-align-0.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/section-align-0.test?rev=357596&r1=357595&r2=357596&view=diff
==============================================================================
--- lld/trunk/test/ELF/section-align-0.test (original)
+++ lld/trunk/test/ELF/section-align-0.test Wed Apr 3 07:54:22 2019
@@ -15,6 +15,6 @@ Sections:
AddressAlign: 0
Symbols:
- Global:
- - Name: _start
- Section: .text
+ - Name: _start
+ Section: .text
+ Binding: STB_GLOBAL
Modified: lld/trunk/test/ELF/section-symbols.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/section-symbols.test?rev=357596&r1=357595&r2=357596&view=diff
==============================================================================
--- lld/trunk/test/ELF/section-symbols.test (original)
+++ lld/trunk/test/ELF/section-symbols.test Wed Apr 3 07:54:22 2019
@@ -24,12 +24,11 @@ Sections:
Info: .text
Relocations:
Symbols:
- Local:
- - Type: STT_SECTION
- Section: .rela.text
- - Type: STT_SECTION
- Section: .shstrtab
- - Type: STT_SECTION
- Section: .symtab
- - Type: STT_SECTION
- Section: .strtab
+ - Type: STT_SECTION
+ Section: .rela.text
+ - Type: STT_SECTION
+ Section: .shstrtab
+ - Type: STT_SECTION
+ Section: .symtab
+ - Type: STT_SECTION
+ Section: .strtab
Modified: lld/trunk/test/ELF/shf-info-link.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/shf-info-link.test?rev=357596&r1=357595&r2=357596&view=diff
==============================================================================
--- lld/trunk/test/ELF/shf-info-link.test (original)
+++ lld/trunk/test/ELF/shf-info-link.test Wed Apr 3 07:54:22 2019
@@ -28,5 +28,5 @@ Sections:
Symbol: foo
Type: R_X86_64_64
Symbols:
- Global:
- - Name: foo
+ - Name: foo
+ Binding: STB_GLOBAL
Modified: lld/trunk/test/ELF/sht-group-empty.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/sht-group-empty.test?rev=357596&r1=357595&r2=357596&view=diff
==============================================================================
--- lld/trunk/test/ELF/sht-group-empty.test (original)
+++ lld/trunk/test/ELF/sht-group-empty.test Wed Apr 3 07:54:22 2019
@@ -49,7 +49,7 @@ Sections:
Symbol: bar
Type: R_X86_64_64
Symbols:
- Global:
- - Name: foo
- - Name: bar
-
+ - Name: foo
+ Binding: STB_GLOBAL
+ - Name: bar
+ Binding: STB_GLOBAL
Modified: lld/trunk/test/ELF/undef-broken-debug.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/undef-broken-debug.test?rev=357596&r1=357595&r2=357596&view=diff
==============================================================================
--- lld/trunk/test/ELF/undef-broken-debug.test (original)
+++ lld/trunk/test/ELF/undef-broken-debug.test Wed Apr 3 07:54:22 2019
@@ -62,14 +62,14 @@ Sections:
Content: '0111001017000000'
Symbols:
- Local:
- - Name: .debug_abbrev
- Type: STT_SECTION
- Section: .debug_abbrev
- - Name: .debug_line
- Type: STT_SECTION
- Section: .debug_line
- Global:
- - Name: _start
- Section: .text
- - Name: bar
+ - Name: .debug_abbrev
+ Type: STT_SECTION
+ Section: .debug_abbrev
+ - Name: .debug_line
+ Type: STT_SECTION
+ Section: .debug_line
+ - Name: _start
+ Section: .text
+ Binding: STB_GLOBAL
+ - Name: bar
+ Binding: STB_GLOBAL
More information about the llvm-commits
mailing list