[lld] [ELF] Prevent .eh_frame_hdr size oscillation in address assignment (PR #216248)

Pranav Kant via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 13 22:31:32 PDT 2026


================
@@ -0,0 +1,34 @@
+# REQUIRES: aarch64
+# RUN: llvm-mc -filetype=obj -triple=aarch64 %s -o %t.o
+# RUN: echo "SECTIONS { \
+# RUN:   . = 0x10000; \
+# RUN:   .text : { *(.text) } \
+# RUN:   .eh_frame_hdr : { *(.eh_frame_hdr) } \
----------------
pranavk wrote:

Can we use split-file to put the linker script separately. 

https://github.com/llvm/llvm-project/pull/216248


More information about the llvm-commits mailing list