Wow! Just 280 lines of target-specific code and lld will link both the linux kernel and musl libc.so for hexagon.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM
Congratulations! I'm happy to see this concrete example that lld is *very* hackable and extremely easy to extend. :) We've been emphasizing simplicity, and it surely pays off.
Comment Actions
Sid,
Is this your final patch to support Hexagon, or do you have any other plans? I'm just wondering.
Comment Actions
No this isn't, I'd like to add TLS support. I'm also sure some additional relocations will be required (beyond the TLS ones).