[all-commits] [llvm/llvm-project] 149d9a: [ELF][LoongArch] -r: Synthesize R_LARCH_ALIGN at i...
Zhaoxin Yang via All-commits
all-commits at lists.llvm.org
Fri Aug 22 01:03:02 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 149d9a38e165f66a9c784060f138e55e0a1c1686
https://github.com/llvm/llvm-project/commit/149d9a38e165f66a9c784060f138e55e0a1c1686
Author: Zhaoxin Yang <yangzhaoxin at loongson.cn>
Date: 2025-08-22 (Fri, 22 Aug 2025)
Changed paths:
M lld/ELF/Arch/LoongArch.cpp
M lld/ELF/LinkerScript.cpp
M lld/ELF/OutputSections.cpp
A lld/test/ELF/loongarch-relocatable-align.s
Log Message:
-----------
[ELF][LoongArch] -r: Synthesize R_LARCH_ALIGN at input section start (#153935)
Similay to
https://github.com/llvm/llvm-project/commit/94655dc8aec2f4e4b287e4c6ac829263f93e9740
The difference is that in LoongArch, the ALIGN is synthesized when the
alignment is >4, (instead of >=4), and the number of bytes inserted is
`sec->addralign - 4`.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list