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

贡献者指南