Implement the "mips endian" for r_info.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 3 Apr 2013 21:02:51 +0000 (21:02 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 3 Apr 2013 21:02:51 +0000 (21:02 +0000)
commitd787a41b118a3724d1df87dc3d38cc3fddb3a145
tree4bb427304568d39764c3b25fb96d4e5ef4bcd45c
parent6107bbbbdf1c801b80f28a4d20e2194087f13c62
Implement the "mips endian" for r_info.

Normally r_info is just a 32 of 64 bit number matching the endian of the rest
of the file. Unfortunately, mips 64 bit little endian is special: The top 32
bits are a little endian number and the following 32 are a big endian one.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178694 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Object/ELF.h
test/MC/Mips/eh-frame.s
test/Object/Inputs/trivial-object-test.elf-mips64el [new file with mode: 0644]
test/Object/objdump-relocations.test