AIX assembler does not generate correct relocation when .rename appear between tc entry label and .tc directive.
So only emit .rename after .tc/.comm or other linkage is emitted.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
@jasonliu, I would expect that this affects labels in general and not just TOC entries.
Comment Actions
I'm not sure if there is a way to trigger that in our assembly code generation. But I think it's still a good idea to emit .rename after something is "defined" consistently. So I reversed all the other .rename emission sequence.