Assembler document has
For ELF targets, the assembler supports another type of `.section'
directive for compatibility with the Solaris assembler:
.section "NAME"[, FLAGS...]
Note that the section name is quoted. There may be a sequence of
comma separated flags:
`#alloc'
section is allocatable
`#write'
section is writable
`#execinstr'
section is executable
`#tls'
section is used for thread local storage
But it doesn't work:
[...@gnu-6 gas]$ cat /tmp/x.s
.section ".start", #alloc, #execinstr
.byte 0,0,0,0
[...@gnu-6 gas]$ as -o x.o /tmp/x.s
/tmp/x.s: Assembler messages:
/tmp/x.s:1: Error: character following name is not '#'
[...@gnu-6 gas]$
--
Summary: Solaris assembler compatability doesn't work
Product: binutils
Version: 2.21 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: gas
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: hjl dot tools at gmail dot com
CC: bug-binutils at gnu dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=11601
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
bug-binutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils