qualcomm / qualcomm/eld

eld should warn/error when VMA/LMA is negative

Open
#264 0 comments 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.