Emit RELA entries as specified by the V9 ABI.
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Can we not have a test that uses textrel; what's wrong with:
.data x: .xword y
or
.data x: .xword x
Comment Actions
You're greeted with an error:
relocation R_SPARC_64 cannot be used against local symbol; recompile with -fPIC
Comment Actions
I see, because getDynRel isn't implemented in order to return type rather than 0 when passed R_SPARC_64. Why does this backend even exist if it's so utterly broken...
Comment Actions
Honestly, I just wouldn't bother adding a test for rela then, it'll be implicitly tested by all the tests you add in the following changes