D.gnu - [Issue 1157] New: gdc makes functions .globl even when visibility is "hidden" or "internal"
- d-bugmail puremagic.com (25/25) Apr 17 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1157
- d-bugmail puremagic.com (11/11) Jul 13 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1157
- d-bugmail puremagic.com (7/7) Sep 23 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1157
http://d.puremagic.com/issues/show_bug.cgi?id=1157 Summary: gdc makes functions .globl even when visibility is "hidden" or "internal" Product: DGCC aka GDC Version: 0.23 Platform: Other OS/Version: All Status: NEW Severity: blocker Priority: P2 Component: glue layer AssignedTo: dvdfrdmn users.sf.net ReportedBy: madou madou.org The following code: pragma(GNU_attribute, visibility("hidden")) void test() { } results in: .globl _D1x4testFZv .hidden _D1x4testFZv .type _D1x4testFZv, function _D1x4testFZv: which is clearly bogus. --
Apr 17 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1157 dvdfrdmn users.sf.net changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED The visibility attribute applies to the final ELF executable/sharedlib. The ".globl" directive just means that the symbol is available to other object modules during static linking. The C compiler does the same thing. --
Jul 13 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1157 dvdfrdmn users.sf.net changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |INVALID --
Sep 23 2007