PR11601, Solaris assembler compatibility doesn't work
authorAlan Modra <amodra@gmail.com>
Wed, 17 May 2023 23:56:18 +0000 (09:26 +0930)
committerAlan Modra <amodra@gmail.com>
Thu, 18 May 2023 00:03:14 +0000 (09:33 +0930)
commit4cb88cfae84363cef6ed59d9d458a20ff2e1e893
tree61d92d829d67f884566a2abd3864f751cea528a1
parent5f5272a025419b2b3d46f42bf96bccc0aea0f789
PR11601, Solaris assembler compatibility doesn't work

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.
gas/config/obj-elf.c
gas/doc/as.texi