eld should warn/error when VMA/LMA is negative
Open
@Ris-Bali is already working on this.
Since Jul 25, 2025.
diagnostics
linkerscript
- Dominant language
- C++
- Stars
- 259
- Forks
- 84
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 72
Description
lld does emit a diagnostic in this case. To maintain compatibility eld should emit an error/warning in this case.
cat > 1.t << \!
SECTIONS {
.foo (-0x201) : AT(-0x201) { *(.text.foo) }
}
!
cat > 1.c << \!
int foo() { return 0; }
!
hexagon-clang -c 1.c -ffunction-sections
hexagon-link 1.o -T 1.t
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.