* [h8300] Add flags to .section directive
@ 2011-08-01 1:15 Richard Henderson
0 siblings, 0 replies; only message in thread
From: Richard Henderson @ 2011-08-01 1:15 UTC (permalink / raw)
To: GCC Patches
[-- Attachment #1: Type: text/plain, Size: 50 bytes --]
Binutils head warns about bare .section foo.
r~
[-- Attachment #2: z --]
[-- Type: text/plain, Size: 1289 bytes --]
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-08-01 1:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-01 1:15 [h8300] Add flags to .section directive Richard Henderson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).