xemacs/xemacs-21.4.13-ppc.patch

21 lines
700 B
Diff
Raw Normal View History

Index: xemacs-21.5.29/src/ppc.ldscript
===================================================================
--- xemacs-21.5.29.orig/src/ppc.ldscript
+++ xemacs-21.5.29/src/ppc.ldscript
@@ -66,6 +66,15 @@ SECTIONS
that no actual memory is lost; the page which is skipped can not
be referenced). */
. = .;
+ PROVIDE (__preinit_array_start = .);
+ .preinit_array : { *(.preinit_array) }
+ PROVIDE (__preinit_array_end = .);
+ PROVIDE (__init_array_start = .);
+ .init_array : { *(.init_array) }
+ PROVIDE (__init_array_end = .);
+ PROVIDE (__fini_array_start = .);
+ .fini_array : { *(.fini_array) }
+ PROVIDE (__fini_array_end = .);
.data :
{
*(.data)