qualcomm/eld

eld should emit a diagnostic when LMA is unaligned

Offen

#444 geöffnet am 06.10.2025

 (0 Kommentare) (0 Reaktionen) (1 zugewiesene Person)C++ (73 Forks)auto 404
diagnosticsgood first issue

Repository-Metriken

Stars
 (254 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Currently eld does not emit a diagnostic if the LMA is unaligned

cat > 1.t << \!
SECTIONS {
  .foo (0x208) : 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 -Wlinker-script

Contributor Guide