LLVM LLD always calls it .rel[a].dyn no matter what so add this to the .rel[a] section Signed-off-by: Callum Farmer <gmbr3@opensuse.org>
@@ -60,6 +60,7 @@ SECTIONS
*(.rela.data*)
*(.rela.got)
*(.rela.plt)
+ *(.rela.dyn)
*(.rela.stab)
}
. = ALIGN(512);
@@ -47,6 +47,7 @@ SECTIONS
*(.rel.data*)
*(.rel.got)
*(.rel.plt)
+ *(.rel.dyn)
*(.rel.stab)
_edata = .;
@@ -62,6 +62,7 @@ SECTIONS
*(.data.rel.ro.local)
*(.data.rel.local)
@@ -59,6 +59,7 @@ SECTIONS
*(.rela.gnu.linkonce.d*)
*(.rela.ctors)
@@ -50,6 +50,7 @@ SECTIONS {
. = ALIGN(4096);