h8300: Add flags to .section directives.
authorRichard Henderson <rth@redhat.com>
Mon, 1 Aug 2011 01:13:43 +0000 (18:13 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Mon, 1 Aug 2011 01:13:43 +0000 (18:13 -0700)
From-SVN: r176996

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

index a35b0e8f739b7781be27f8613d4460e5ae4216ef..8bb0898dbc2a7011bda1cdfdfeda25fa8cfd3972 100644 (file)
@@ -1,3 +1,8 @@
+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.
index e457409a1bc810967d1418cd21ea6e733c059a83..7ee3ae74503629b69ad1224cdc3ec6c7a459ef40 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 3115fcbc3e621ea10ea00d66964e4db0540f3102..173fde13b5bda05abaa2cb465d34cc94b2b50969 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