Thread overview |
---|
April 17, 2007 [Issue 1157] New: gdc makes functions .globl even when visibility is "hidden" or "internal" | ||||
---|---|---|---|---|
| ||||
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. -- |
July 14, 2007 [Issue 1157] gdc makes functions .globl even when visibility is "hidden" or "internal" | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1157 dvdfrdmn@users.sf.net changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Comment #1 from dvdfrdmn@users.sf.net 2007-07-13 21:35 ------- 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. -- |
September 23, 2007 [Issue 1157] gdc makes functions .globl even when visibility is "hidden" or "internal" | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1157 dvdfrdmn@users.sf.net changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |INVALID -- |
Copyright © 1999-2021 by the D Language Foundation