Fix handling of ELF::R_MIPS_32 on Mips64.

Thanks to Aboud, Amjad for reporting the regression and providing the testcase.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241440 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola
2015-07-06 12:18:44 +00:00
parent fade2f72b8
commit a25ee390b5
3 changed files with 17 additions and 4 deletions
Binary file not shown.
+6
View File
@@ -0,0 +1,6 @@
RUN: llvm-dwarfdump -debug-dump=info %p/../Inputs/elf-mip64-reloc.o 2>&1 | \
RUN: FileCheck %s
CHECK: DW_AT_name [DW_FORM_strp] ( .debug_str[0x00000037] = "<stdin>")
CHECK: DW_AT_name [DW_FORM_strp] ( .debug_str[0x00000054] = "foo")
CHECK: DW_AT_name [DW_FORM_strp] ( .debug_str[0x00000058] = "int")