[Mips] Fix rel-gprel16.test test case

This test case uses too large GP0 value. Now the test is correct. Later
we need to implement overflow checking to catch such cases.

llvm-svn: 239178
This commit is contained in:
Simon Atanasyan 2015-06-05 18:26:33 +00:00
parent 1a58aca55f
commit efad3402f0
1 changed files with 4 additions and 4 deletions

View File

@ -29,9 +29,9 @@
# SYM-NEXT: Other: 0
# SYM-NEXT: Section: Absolute (0xFFF1)
# 0x6113 == 0xffff (addend) + 0x0104 (L1) + 0x01f000 (GP0) - 0x8ff0 (_gp)
# 0x6110 == 0xfffc (addend) + 0x0104 (L1) + 0xf000 (GP0) - 0x8ff0 (_gp)
# SEC: Contents of section .rodata:
# SEC-NEXT: 010c 13610008 00000000 00000000 00000000
# SEC-NEXT: 010c 10610008 00000000 00000000 00000000
!ELF
FileHeader:
@ -68,7 +68,7 @@ Sections:
Type: SHT_PROGBITS
Flags: [ SHF_ALLOC ]
AddressAlign: 0x04
Content: ffff0008000000000000000000000000
Content: fcff0008000000000000000000000000
- Type: SHT_REL
Name: .rel.rodata
@ -86,7 +86,7 @@ Sections:
Type: SHT_MIPS_REGINFO
Flags: [ SHF_ALLOC ]
AddressAlign: 0x01
Content: 000000000000000000000000000000000000000000f00100
Content: 000000000000000000000000000000000000000000f00000
Symbols:
Local: