Well, it doesn't work on x86 or ppc, which both have # starting
comments anywhere on a line. I think it is therefore only useful on
sparc.
PR 11601
* config/obj-elf.c (obj_elf_section_word): Only compile for sparc.
(obj_elf_section): Only support solaris .section directive on
sparc.
* doc/as.texi (Section): Mention that solaris .section
directive is only supported for sparc.
return 0;
}
+#ifdef TC_SPARC
static bfd_vma
obj_elf_section_word (char *str, size_t len, int *type)
{
return 0;
}
+#endif
/* Get name of section. */
const char *
input_line_pointer = save;
}
}
+#ifdef TC_SPARC
else
{
do
while (*input_line_pointer++ == ',');
--input_line_pointer;
}
+#endif
}
done:
none of the above flags: it will not be allocated in memory, nor writable, nor
executable. The section will contain data.
-For ELF targets, the assembler supports another type of @code{.section}
+For SPARC ELF targets, the assembler supports another type of @code{.section}
directive for compatibility with the Solaris assembler:
@smallexample