llvm-mc doesn't generate any relocations for subtractions
between local symbols -- they must be global -- so the previous test
wasn't actually testing any relocation logic. I've fixed that and
extended the test to cover r_length=3 relocations as well as both x86_64
and arm64.
Details
Details
- Reviewers
smeenai - Group Reviewers
Restricted Project - Commits
- rGcc5c03e10957: [lld-macho] Properly test subtractor relocations & fix their attributes
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Little endian makes this so confusing :(