* elf64-ppc.c (dec_dynrel_count): Don't error when elf_gc_sweep_symbol
[external/binutils.git] / ld / scripttempl / m68kcoff.sc
index 6f75974..f268c6f 100644 (file)
@@ -1,11 +1,12 @@
 cat <<EOF
 OUTPUT_FORMAT("${OUTPUT_FORMAT}")
 ${LIB_SEARCH_DIRS}
-
+PROVIDE (__stack = 0); 
 SECTIONS
 {
-  .text 0x1000000 : {
+  .text ${RELOCATING+ 0x1000000} : {
     *(.text)
+    ${CONSTRUCTING+ . = ALIGN(4);}
     ${RELOCATING+ etext  =  .;}
     ${CONSTRUCTING+ __CTOR_LIST__ = .;}
     ${CONSTRUCTING+ LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)}
@@ -18,7 +19,7 @@ SECTIONS
     ${CONSTRUCTING+ LONG(0)}
     ${CONSTRUCTING+ __DTOR_END__ = .;}
   }
-  .data 0x3000000 : {
+  .data : {
     *(.data)
     ${RELOCATING+ edata  =  .};
   }