gas: avoid spurious failures in non-ELF targets in the SPARC testsuite.
[deliverable/binutils-gdb.git] / ld / scripttempl / armaout.sc
index e9276a877e1d0793f6c4e634e81cbf9523ec654f..63cb8b7a19b1b1fb794f8ed45fa51a72bcacbb5e 100644 (file)
@@ -1,4 +1,16 @@
+# Copyright (C) 2014-2016 Free Software Foundation, Inc.
+# 
+# Copying and distribution of this file, with or without modification,
+# are permitted in any medium without royalty provided the copyright
+# notice and this notice are preserved.
+#
 cat <<EOF
+/* Copyright (C) 2014-2016 Free Software Foundation, Inc.
+
+   Copying and distribution of this script, with or without modification,
+   are permitted in any medium without royalty provided the copyright
+   notice and this notice are preserved.  */
+
 OUTPUT_FORMAT("${OUTPUT_FORMAT}")
 OUTPUT_ARCH(${ARCH})
 
@@ -20,10 +32,10 @@ SECTIONS
     ${RELOCATING+__sdata_ = .;}
     *(.data)
     ${CONSTRUCTING+CONSTRUCTORS}
-    ${RELOCATING+_edata  =  .;}
-    ${RELOCATING+__edata  =  .;}
+    ${RELOCATING+_edata  =  ${DATA_ALIGNMENT};}
+    ${RELOCATING+__edata  =  ${DATA_ALIGNMENT};}
   }
-  .bss ${RELOCATING+ SIZEOF(.data) + ADDR (.data)} :
+  .bss ${RELOCATING+${DATA_ALIGNMENT}} :
   {
    ${RELOCATING+ __bss_start = .};
    *(.bss)
This page took 0.025065 seconds and 4 git commands to generate.