Thread overview | ||||||
---|---|---|---|---|---|---|
|
October 31, 2006 [Issue 472] New: zero sized _init_* symtab-objects | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=472 Summary: zero sized _init_* symtab-objects Product: D Version: 0.170 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla@digitalmars.com ReportedBy: thomas-dloop@kuehne.cn # struct Hund{ # int a = 1; # long b = 2; # short c = 3; # byte d = 4; # float e = 5; # cfloat f = 6 + 0i; # } # # struct Katze{ # byte g = 89; # } # # struct Maus{ # } dmd -c test.d readelf -s test.o Symbol table '.symtab' contains 20 entries: Num: Value Size Type Bind Vis Ndx Name 13: 00000000 0 OBJECT GLOBAL DEFAULT 6 _init_4test4Hund 14: 00000020 0 OBJECT GLOBAL DEFAULT 6 _init_4test5Katze 15: 00000021 0 OBJECT GLOBAL DEFAULT 6 _init_4test4Maus documentation of Elf32_Sym.st_size (Portable Formats Specification, Version 1.1): > Many symbols have associated sizes. For example, > a data object’s size is the number of bytes contained > in the object. This member holds 0 if the symbol has > no size or an unknown size. _init_* seem to have a known size. -- |
November 26, 2010 [Issue 472] zero sized _init_* symtab-objects | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=472 Andrei Alexandrescu <andrei@metalanguage.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |andrei@metalanguage.com AssignedTo|nobody@puremagic.com |bugzilla@digitalmars.com -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
November 03, 2013 [Issue 472] zero sized _init_* symtab-objects | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=472 Martin Krejcirik <mk@krej.cz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED CC| |mk@krej.cz Resolution| |FIXED --- Comment #1 from Martin Krejcirik <mk@krej.cz> 2013-11-03 23:45:14 CET --- Seems fixed in DMD 1.076 and D2. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
November 03, 2013 [Issue 472] zero sized _init_* symtab-objects | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=472 --- Comment #2 from Andrei Alexandrescu <andrei@erdani.com> 2013-11-03 14:53:26 PST --- Thanks for following up on this old bug! -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation