bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/11601] New: Solaris assembler compatability doesn't work


From: hjl dot tools at gmail dot com
Subject: [Bug gas/11601] New: Solaris assembler compatability doesn't work
Date: 14 May 2010 13:16:17 -0000

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:

address@hidden gas]$ cat /tmp/x.s
        .section ".start", #alloc, #execinstr
        .byte 0,0,0,0
address@hidden gas]$ as -o x.o /tmp/x.s
/tmp/x.s: Assembler messages:
/tmp/x.s:1: Error: character following name is not '#'
address@hidden 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]