|
@@ -43,6 +43,23 @@ SECTIONS
|
|
|
__syscall_stub_end = .;
|
|
|
}
|
|
|
|
|
|
+ /*
|
|
|
+ * These are needed even in a static link, even if they wind up being empty.
|
|
|
+ * Newer glibc needs these __rel{,a}_iplt_{start,end} symbols.
|
|
|
+ */
|
|
|
+ .rel.plt : {
|
|
|
+ *(.rel.plt)
|
|
|
+ PROVIDE_HIDDEN(__rel_iplt_start = .);
|
|
|
+ *(.rel.iplt)
|
|
|
+ PROVIDE_HIDDEN(__rel_iplt_end = .);
|
|
|
+ }
|
|
|
+ .rela.plt : {
|
|
|
+ *(.rela.plt)
|
|
|
+ PROVIDE_HIDDEN(__rela_iplt_start = .);
|
|
|
+ *(.rela.iplt)
|
|
|
+ PROVIDE_HIDDEN(__rela_iplt_end = .);
|
|
|
+ }
|
|
|
+
|
|
|
#include "asm/common.lds.S"
|
|
|
|
|
|
init.data : { INIT_DATA }
|