Add 179294 back, but don't use bit fields so that it works on big endian hosts.
authorRafael Espindola <rafael.espindola@gmail.com>
Fri, 12 Apr 2013 00:17:33 +0000 (00:17 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Fri, 12 Apr 2013 00:17:33 +0000 (00:17 +0000)
commite292347503cd7598429c08f9984ab3e0a44ab8a3
tree95a231a9f2d14de9a5043f87149698c3786a631c
parent33c55bdfed027313b05217d7049aa0e810da5caa
Add 179294 back, but don't use bit fields so that it works on big endian hosts.

Original message:

Print more information about relocations.

With this patch llvm-readobj now prints if a relocation is pcrel, its length,
if it is extern and if it is scattered.

It also refactors the code a bit to use bit fields instead of shifts and
masks all over the place.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179345 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Object/MachO.h
lib/Object/MachOObjectFile.cpp
test/tools/llvm-readobj/relocations.test
test/tools/llvm-readobj/sections-ext.test
tools/llvm-readobj/MachODumper.cpp