[PATCH] Add AArch64 relocation types

Tim Northover t.p.northover at gmail.com
Sat Aug 9 23:25:13 PDT 2014


On 9 August 2014 22:12, Daniel Stewart <stewartd at codeaurora.org> wrote:
> I don't quite know what the next step is on this one. I don't have commit rights
> and I'm also not sure how to ensure llvm-objdump makes use of the added
> relocation types.

That code appears to be in lib/Object/ELF.cpp (basically just a list
of all the relocations with some preprocessor hackery to create a
string). Then just a test (in test/tools/llvm-objdump, I assume).

A good way to find it would have been to grep the LLVM source for uses
of existing AArch64 relocations: if you're adding new ones it's a good
idea to consider where the existing names are used and decide whether
it's appropriate to update them.

One of us will be quite happy to commit for you for now, so don't
worry about that.

Cheers.

Tim.



More information about the llvm-commits mailing list