[Mips] Fix test case - do not use R_MIPS_HI16 for shared library linking

No functional changes.

llvm-svn: 240261
This commit is contained in:
Simon Atanasyan 2015-06-22 09:26:12 +00:00
parent 46d97f246b
commit 7851f3b111
1 changed files with 4 additions and 3 deletions

View File

@ -34,7 +34,7 @@
# CHECK-NEXT: alignment: 4 # CHECK-NEXT: alignment: 4
# CHECK-NEXT: section-choice: custom-required # CHECK-NEXT: section-choice: custom-required
# CHECK-NEXT: section-name: .ctors.2 # CHECK-NEXT: section-name: .ctors.2
# CHECK-NEXT: - ref-name: L003 # CHECK-NEXT: - ref-name: L004
# CHECK-NEXT: type: data # CHECK-NEXT: type: data
# CHECK-NEXT: alignment: 4 # CHECK-NEXT: alignment: 4
# CHECK-NEXT: section-choice: custom-required # CHECK-NEXT: section-choice: custom-required
@ -52,6 +52,7 @@
# RAW: Contents of section .ctors: # RAW: Contents of section .ctors:
# RAW-NEXT: 1000 ffffffff 11111111 22222222 00000000 # RAW-NEXT: 1000 ffffffff 11111111 22222222 00000000
# crtbeginS.o # crtbeginS.o
--- ---
FileHeader: FileHeader:
@ -100,13 +101,13 @@ Sections:
Relocations: Relocations:
- Offset: 0x00 - Offset: 0x00
Symbol: .ctors Symbol: .ctors
Type: R_MIPS_HI16 Type: R_MIPS_GOT16
- Offset: 0x04 - Offset: 0x04
Symbol: .ctors Symbol: .ctors
Type: R_MIPS_LO16 Type: R_MIPS_LO16
- Offset: 0x08 - Offset: 0x08
Symbol: .ctors Symbol: .ctors
Type: R_MIPS_HI16 Type: R_MIPS_GOT16
- Offset: 0x0C - Offset: 0x0C
Symbol: .ctors Symbol: .ctors
Type: R_MIPS_LO16 Type: R_MIPS_LO16