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.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to