aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2011-07-31 18:13:43 -0700
committerRichard Henderson <rth@gcc.gnu.org>2011-07-31 18:13:43 -0700
commitc469244ec0d8b0832ece454041731c7b2ab465db (patch)
tree207af915b3191f8b22d2ad7783c073b00822f060 /gcc
parentb87ac615229c744d036421c5252034ac778291d9 (diff)
downloadgcc-c469244ec0d8b0832ece454041731c7b2ab465db.zip
gcc-c469244ec0d8b0832ece454041731c7b2ab465db.tar.gz
gcc-c469244ec0d8b0832ece454041731c7b2ab465db.tar.bz2
h8300: Add flags to .section directives.
From-SVN: r176996
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/h8300/crti.asm4
-rw-r--r--gcc/config/h8300/crtn.asm4
3 files changed, 9 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a35b0e8..8bb0898 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/h8300/crti.asm b/gcc/config/h8300/crti.asm
index e457409..7ee3ae7 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 3115fcb..173fde1 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