aboutsummaryrefslogtreecommitdiff
path: root/gas/doc
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2023-05-18 09:26:18 +0930
committerAlan Modra <amodra@gmail.com>2023-05-18 09:33:14 +0930
commit4cb88cfae84363cef6ed59d9d458a20ff2e1e893 (patch)
tree61d92d829d67f884566a2abd3864f751cea528a1 /gas/doc
parent5f5272a025419b2b3d46f42bf96bccc0aea0f789 (diff)
downloadgdb-4cb88cfae84363cef6ed59d9d458a20ff2e1e893.zip
gdb-4cb88cfae84363cef6ed59d9d458a20ff2e1e893.tar.gz
gdb-4cb88cfae84363cef6ed59d9d458a20ff2e1e893.tar.bz2
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.
Diffstat (limited to 'gas/doc')
-rw-r--r--gas/doc/as.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/doc/as.texi b/gas/doc/as.texi
index ea40a9e..ea18df2 100644
--- a/gas/doc/as.texi
+++ b/gas/doc/as.texi
@@ -6958,7 +6958,7 @@ the section name is not recognized, the default will be for the section to have
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