]> Git Repo - binutils.git/blobdiff - ld/m68kcoff.sc-sh
* ldexp.c (exp_fold_tree): Don't lose the old flag bits.
[binutils.git] / ld / m68kcoff.sc-sh
index 6770254bca4923c594abc1802c89ad8248c8a0c5..519791c110c854b787a599e3383abc1d59bc06b3 100644 (file)
@@ -15,7 +15,17 @@ SECTIONS
 {
   .text : {
     *(.text)
-    ${RELOCATING+ etext  =  .};
+    ${RELOCATING+ etext  =  .;}
+    ${CONSTRUCTING+ __CTOR_LIST__ = .;}
+    ${CONSTRUCTING+ LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)}
+    *(.ctors)
+    ${CONSTRUCTING+ LONG(0)}
+    ${CONSTRUCTING+ __CTOR_END__ = .;}
+    ${CONSTRUCTING+ __DTOR_LIST__ = .;}
+    ${CONSTRUCTING+ LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)}
+    *(.dtors)
+    ${CONSTRUCTING+ LONG(0)}
+    ${CONSTRUCTING+ __DTOR_END__ = .;}
     *(.lit)
     *(.shdata)
   } ${RELOCATING+ > text}
@@ -33,6 +43,7 @@ SECTIONS
    *(.bss)
    *(COMMON)
      ${RELOCATING+ end = ALIGN(0x8)};
+     ${RELOCATING+ _end = ALIGN(0x8)};
   }
   .mstack  : { } ${RELOCATING+ > mstack}
   .rstack  : { } ${RELOCATING+ > rstack}
This page took 0.020986 seconds and 4 git commands to generate.