From: Richard Henderson Date: Mon, 1 Aug 2011 01:13:43 +0000 (-0700) Subject: h8300: Add flags to .section directives. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c469244ec0d8b0832ece454041731c7b2ab465db;p=gcc.git h8300: Add flags to .section directives. From-SVN: r176996 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a35b0e8f739..8bb0898dbc2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-07-31 Richard Henderson + + * config/h8300/crti.asm: Add flags to .section directive. + * config/h8300/crtn.asm: Likewise. + 2011-07-31 Richard Henderson * stor-layout.c (initialize_sizetypes): Handle unsigned short. diff --git a/gcc/config/h8300/crti.asm b/gcc/config/h8300/crti.asm index e457409a1bc..7ee3ae74503 100644 --- a/gcc/config/h8300/crti.asm +++ b/gcc/config/h8300/crti.asm @@ -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: diff --git a/gcc/config/h8300/crtn.asm b/gcc/config/h8300/crtn.asm index 3115fcbc3e6..173fde13b5b 100644 --- a/gcc/config/h8300/crtn.asm +++ b/gcc/config/h8300/crtn.asm @@ -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