OSDN Git Service

h8300: Add flags to .section directives.
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 1 Aug 2011 01:13:43 +0000 (01:13 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 1 Aug 2011 01:13:43 +0000 (01:13 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176996 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/h8300/crti.asm
gcc/config/h8300/crtn.asm

index a35b0e8..8bb0898 100644 (file)
@@ -1,5 +1,10 @@
 2011-07-31  Richard Henderson  <rth@redhat.com>
 
+       * config/h8300/crti.asm: Add flags to .section directive.
+       * config/h8300/crtn.asm: Likewise.
+
+2011-07-31  Richard Henderson  <rth@redhat.com>
+
        * stor-layout.c (initialize_sizetypes): Handle unsigned short.
        * tree.c (build_common_tree_nodes): Likewise.
 
index e457409..7ee3ae7 100644 (file)
@@ -55,9 +55,9 @@ see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
 #endif
 #endif
 
-       .section .init
+       .section .init, "ax", @progbits
         .global  __init
 __init:
-        .section .fini
+        .section .fini, "ax", @progbits
         .global  __fini
 __fini:
index 3115fcb..173fde1 100644 (file)
@@ -46,8 +46,8 @@ see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
        .h8300sx
 #endif
 #endif
-       .section .init
+       .section .init, "ax", @progbits
        rts
 
-       .section .fini
+       .section .fini, "ax", @progbits
        rts