qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [COMMIT 240324f] Fix sparc.ld


From: Anthony Liguori
Subject: [Qemu-commits] [COMMIT 240324f] Fix sparc.ld
Date: Sun, 13 Sep 2009 19:41:49 -0000

From: Blue Swirl <address@hidden>

Makes 91b40c5be84a478e98c0416325844a7f66d0efae unnecessary.

Acked-by: Kirill A. Shutemov <address@hidden>
Signed-off-by: Blue Swirl <address@hidden>

diff --git a/sparc.ld b/sparc.ld
index 5aed1c2..31321be 100644
--- a/sparc.ld
+++ b/sparc.ld
@@ -65,6 +65,26 @@ SECTIONS
   .data1   : { *(.data1) }
   .tdata    : { *(.tdata) }
   .tbss    : { *(.tbss) }
+  .preinit_array     :
+  {
+    PROVIDE_HIDDEN (__preinit_array_start = .);
+    KEEP (*(.preinit_array))
+    PROVIDE_HIDDEN (__preinit_array_end = .);
+  }
+  .init_array     :
+  {
+     PROVIDE_HIDDEN (__init_array_start = .);
+     KEEP (*(SORT(.init_array.*)))
+     KEEP (*(.init_array))
+     PROVIDE_HIDDEN (__init_array_end = .);
+  }
+  .fini_array     :
+  {
+    PROVIDE_HIDDEN (__fini_array_start = .);
+    KEEP (*(.fini_array))
+    KEEP (*(SORT(.fini_array.*)))
+    PROVIDE_HIDDEN (__fini_array_end = .);
+  }
   .ctors         :
   {
     *(.ctors)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]