diff options
Diffstat (limited to 'gcc/config/sparc/sparc.c')
-rw-r--r-- | gcc/config/sparc/sparc.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c index 9f51d989e5c..91deb4903d2 100644 --- a/gcc/config/sparc/sparc.c +++ b/gcc/config/sparc/sparc.c @@ -8765,6 +8765,14 @@ sparc_elf_asm_named_section (name, flags) const char *name; unsigned int flags; { + if (flags & SECTION_MERGE) + { + /* entsize cannot be expressed in this section attributes + encoding style. */ + default_elf_asm_named_section (name, flags); + return; + } + fprintf (asm_out_file, "\t.section\t\"%s\"", name); if (!(flags & SECTION_DEBUG)) |