With these relocations, I'm able to build a simple "hello world" program for AArch64 Debian.
Details
Details
Diff Detail
Diff Detail
Event Timeline
ELF/Target.cpp | ||
---|---|---|
678 | If we'll get there, we can switch over. I'm for simplicity until we need something more complicated. |
Comment Actions
- Rebase to the top.
- Remove the switch statement in the AArch64TargetInfo::relocNeedsGot() method.
Comment Actions
LGTM with a nit.
ELF/Target.cpp | ||
---|---|---|
672–679 | Remove ()s. (We can assume that everybody knows that == takes precedence over ||.) |
cant' this just be a one-liner?
something like
return R_AARCH64_ADR_GOT_PAGE || R_AARCH64_LD64_GOT_LO12_NC || relocNeedsPlt();