common linker.ld fix .eh_frame

an .eh_frame section is generated by more complex rust applications. this will be put before .text section if not discarded.
This commit is contained in:
Oliver 2026-01-09 14:35:04 +01:00 committed by GitHub
parent dc0e5b0bcf
commit 903c909c36
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -33,6 +33,7 @@ SECTIONS
*(.dynsym) *(.dynsym)
*(.dynstr) *(.dynstr)
*(.header) *(.header)
*(.eh_frame)
} : phdr } : phdr
.data : ALIGN(16) { .data : ALIGN(16) {