bug-binutils
[Top][All Lists]
Advanced

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

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


From: amodra at gmail dot com
Subject: [Bug gas/22085] AIX visibility in .extern, .globl, .weak, .comm not supported
Date: Thu, 12 Oct 2017 05:25:02 +0000

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

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amodra at gmail dot com
           Severity|normal                      |enhancement

--- Comment #1 from Alan Modra <amodra at gmail dot com> ---
If AIX gcc is even supported using gas and gcc has been configured correctly,
this behaviour indicates a gcc bug.  gcc ought to be detecting gas support
before using new features.  So even if gas was changed to add this support, gcc
would need to cope with older versions of gas that do not support the extended
syntax.

Adding this support to gas is not just a matter of parsing the syntax but also
teaching the xcoff BFD backend to deal with visibility in symbol n_type (bits
0xF000).  n_type values are

0x1000  SYM_V_INTERNAL
0x2000  SYM_V_HIDDEN
0x3000  SYM_V_PROTECTED
0x4000  SYM_V_EXPORTED

-- 
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]