2009-06-17 15:52:36 +02:00
|
|
|
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
|
2007-01-16 00:42:08 +01:00
|
|
|
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)
|