* scripttempl/elfm68hc12.sc: Align text, rodata and data section
authorStephane Carrez <stcarrez@nerim.fr>
Sun, 1 Aug 2004 20:04:22 +0000 (20:04 +0000)
committerStephane Carrez <stcarrez@nerim.fr>
Sun, 1 Aug 2004 20:04:22 +0000 (20:04 +0000)
on power of 2.

ld/ChangeLog
ld/scripttempl/elfm68hc12.sc

index 9e2bfaecd6d55ad958f0bd69af2fc346f225b088..fba6dbd8768452c75e04ce68383a257ac05f9b0d 100644 (file)
@@ -1,3 +1,8 @@
+2004-08-01  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * scripttempl/elfm68hc12.sc: Align text, rodata and data section
+       on power of 2.
+
 2004-07-27  Jason Thorpe  <thorpej@wasabisystems.com>
 
        * emulparams/hppanbsd.sh (OUTPUT_FORMAT): Set to "elf32-hppa-netbsd".
index 2fa7186c26fc752fa770108fc1b80d1cc70ac15b..f222343097ce2355de0deff78214814ac4569b28 100644 (file)
@@ -319,8 +319,8 @@ SECTIONS
 
     ${RELOCATING+_etext = .;}
     ${RELOCATING+PROVIDE (etext = .);}
-
-  } ${RELOCATING+ > ${TEXT_MEMORY}}
+    ${RELOCATING+. = ALIGN(2);}
+  } ${RELOCATING+ > ${TEXT_MEMORY} =0xa7a7a7a7}
 
   .eh_frame ${RELOCATING-0} :
   {
@@ -337,12 +337,14 @@ SECTIONS
     *(.rodata)
     ${RELOCATING+*(.rodata.*)}
     ${RELOCATING+*(.gnu.linkonce.r*)}
-  } ${RELOCATING+ > ${TEXT_MEMORY}}
+    ${RELOCATING+. = ALIGN(2);}
+  } ${RELOCATING+ > ${TEXT_MEMORY} =0xffffffff}
 
   .rodata1 ${RELOCATING-0} :
   {
     *(.rodata1)
-  } ${RELOCATING+ > ${TEXT_MEMORY}}
+    ${RELOCATING+. = ALIGN(2);}
+  } ${RELOCATING+ > ${TEXT_MEMORY} =0xffffffff}
 
   /* Constructor and destructor tables are in ROM.  */
   ${RELOCATING+${CTOR}}
@@ -376,7 +378,8 @@ SECTIONS
 
     ${RELOCATING+_edata  =  .;}
     ${RELOCATING+PROVIDE (edata = .);}
-  } ${RELOCATING+ > ${DATA_MEMORY}}
+    ${RELOCATING+. = ALIGN(2);}
+  } ${RELOCATING+ > ${DATA_MEMORY} =0xffffffff}
 
   ${RELOCATING+__data_section_size = SIZEOF(.data);}
   ${RELOCATING+PROVIDE (__data_section_size = SIZEOF(.data));}
This page took 0.027347 seconds and 4 git commands to generate.