OSDN Git Service

[mips] support FK_Data_2 and FK_Data_8 to fix big-endian debug data
authorEd Maste <emaste@freebsd.org>
Mon, 3 Mar 2014 14:27:49 +0000 (14:27 +0000)
committerEd Maste <emaste@freebsd.org>
Mon, 3 Mar 2014 14:27:49 +0000 (14:27 +0000)
commitc1e634da0c4015d9db8cbd893905b8015f7999d2
treea0732153ffb82ba37bcaffdcaa824d8b18ca2ac1
parent6e983f35b4ecfb5fb9a5a9860701e9a85a038977
[mips] support FK_Data_2 and FK_Data_8 to fix big-endian debug data

This fixes invalid lengths in .debug_aranges on big-endian mips64
(lengths appear to be left-shifted by 32 bits) and in .debug_loc.

Differential Revision: http://llvm-reviews.chandlerc.com/D2517

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202716 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp
test/MC/Mips/mips64eb-fixups.s [new file with mode: 0644]