| Summary: | gas aarch64: GOT relocations referencing a local symbol should not be changed to reference STT_SECTION | ||
|---|---|---|---|
| Product: | binutils | Reporter: | Fangrui Song <maskray> |
| Component: | gas | Assignee: | Not yet assigned to anyone <unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | fw, nsz, pinskia, wdijkstr |
| Priority: | P2 | ||
| Version: | unspecified | ||
| Target Milestone: | 2.47 | ||
| See Also: |
https://github.com/ARM-software/abi-aa/issues/217 https://github.com/llvm/llvm-project/issues/63418 |
||
| Host: | Target: | aarch64*-* | |
| Build: | Last reconfirmed: | ||
| Project(s) to access: | ssh public key: | ||
|
Description
Fangrui Song
2023-08-23 03:33:47 UTC
Fixed by: commit 8c72efa0bf7aea5a59c2f677b5c2a2d134cf0463 (HEAD -> master, origin/master, origin/HEAD) Author: Wilco Dijkstra <Wilco.Dijkstra@arm.com> Date: Tue May 26 18:37:58 2026 +0000 AArch64 gas: Block section relative symbols in GOT relocations [PR30788] By default, GAS changes GOT relocations of local symbols into section relative. This is incorrect since GOT relocations do not support offsets. Update aarch64_fix_adjustable() to explicitly disallow this for GOT relocations. This fixes PR30788. |