bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/22085] New: AIX visibility in .extern, .globl, .weak, .comm not


From: ahovda at openit dot com
Subject: [Bug gas/22085] New: AIX visibility in .extern, .globl, .weak, .comm not supported
Date: Tue, 05 Sep 2017 11:11:08 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=22085

            Bug ID: 22085
           Summary: AIX visibility in .extern, .globl, .weak, .comm not
                    supported
           Product: binutils
           Version: 2.30 (HEAD)
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gas
          Assignee: unassigned at sourceware dot org
          Reporter: ahovda at openit dot com
  Target Milestone: ---

GCC 7 assumes AIX ld support for visibility and outputs code like this when
compiling libgcc:
    .comm __gcov_time_profiler_counter,8,3,hidden 

Which gas currently does not understand:
    Error: junk at end of line, first unrecognized character is `,' 

>From the XL C/C++ docs:
https://www.ibm.com/developerworks/aix/library/au-aix-symbol-visibility-part2/index.html

Listing 14. Syntax for specifying visibility attribute in assembly
   .extern Name [ , Visibility ]
   .globl  Name [ , Visibility ]
   .weak   Name [ , Visibility ]
   .comm   Name, Expression [, Number [, Visibility ] ]

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

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