diff options
author | Jinyang He <hejinyang@loongson.cn> | 2024-04-16 18:31:03 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-16 18:31:03 +0800 |
commit | 01f79899ba349a0200586c8d05f5e22cca2ced31 (patch) | |
tree | 4ddf222263084221a792938debea062fbc1805a5 /llvm/lib/Transforms/Utils/Local.cpp | |
parent | f4960da6023b8034ae68925c3223d51624621b37 (diff) | |
download | llvm-01f79899ba349a0200586c8d05f5e22cca2ced31.zip llvm-01f79899ba349a0200586c8d05f5e22cca2ced31.tar.gz llvm-01f79899ba349a0200586c8d05f5e22cca2ced31.tar.bz2 |
[LoongArch] Use R_LARCH_ALIGN with section symbol (#84741)
In LoongArch psABI v2.30, the R_LARCH_ALIGN requires symbol index to
support the third parameter of alignment directive. Create symbol for
each section is redundant because they have section symbol which can
also be used as symbol index. So use section symbol directly for
R_LARCH_ALIGN.
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions