qualcomm/eld

eld should emit a diagnostic when LMA is unaligned

開放

#444 建立於 2025年10月6日

 (0 則留言) (0 個反應) (1 位負責人)C++ (73 個分叉)auto 404
diagnosticsgood first issue

倉庫指標

星標
 (254 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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

貢獻者指南