qualcomm/eld

eld should emit a diagnostic when LMA is unaligned

オープン

#444 opened on 2025/10/06

 (0 件のコメント) (0 件のリアクション) (1 人の担当者)C++ (73 件のフォーク)auto 404
diagnosticsgood first issue

Repository metrics

Stars
 (254 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド