Add event to interrupt the server_loop.
[apps/pfixtools.git] / common.ld
index 3ef8a1b..6f7485f 100644 (file)
--- a/common.ld
+++ b/common.ld
@@ -1,11 +1,10 @@
 SECTIONS {
-    .data : {
-        __madinit_start = . ;
+    .rodata : {
+        . = ALIGN(8);
+        __madinit = . ;
         *( .mad.init )
-        __madinit_end = . ;
-
-        __madexit_start = . ;
+        QUAD(0)
         *( .mad.exit )
-        __madexit_end = . ;
+        __madexit = . ;
     }
 }