This is minimal change for backend required to have "hello world" compiled
and working on x32 target (x86_64-linux-gnux32). More patches for x32 will
follow.
Note that this patch for clang is also required:
http://reviews.llvm.org/D4180
Details
Diff Detail
Event Timeline
Sorry, I'm missing a bit of context for this patch. Could you explain in the commit message why this is the right thing to do?
The code looks OK to me, although the commit message should say what it actually does (i.e., add an AsmBackend for X32 which uses ELF32 with x86_64).
This is very minimal though; do you have a more complete set of patches available for X32 so we can see the bigger picture of where this is going?
This is very minimal indeed.
I've got more raw changes, but want to split them first and polish for better review. Also working on tests.
I'm going to submit next patch very soon.
This patch is fine (in my opinion) to commit, but before we get too far into landing more stuff, I would really like to see a sort of roadmap, e.g. what are the major data structures what will need to be changed, etc. Even if it's just a raw patch dump somewhere.
Also I might be interested in trying this out myself, what would I need to be able to do that? Just a distro with x32 libs?
Thanks for comments.
I'll open new thread at llvmdev and provide some sort of roadmap and list of changes required.
Yes. You need kernel and libs supporting x32. Ubuntu 14 has x32 packages available to try.