[PATCH] Fix Mach-O relocation printing
Quentin Colombet
qcolombet at apple.com
Mon May 13 12:12:30 PDT 2013
Hi Ahmed,
Thanks for working on this.
Could you put your explanations with your changes in the patch?
Thanks,
-Quentin
On May 13, 2013, at 11:45 AM, Ahmed Bougacha <ahmed.bougacha at gmail.com> wrote:
> Hi all,
>
> This quick patch fixes two problems with Mach-O llvm-objdump -d -r:
> - for non-scattered relocations, the symbol/section index is actually
> in the (aptly named) symbolnum field
> - sections are 1-indexed
>
> There is more to be found just by running tests over the existing
> mach-o objects. For now this solves the objdump crash, I'll probably
> take care of the rest later.
>
> Thanks!
>
> -- Ahmed Bougacha
> <macho-disass-reloc.diff>_______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130513/135271a5/attachment.html>
More information about the llvm-commits
mailing list