Pelles C > Bug reports
Extra leading underscore issue
(1/1)
Vortex:
Hello,
Assembling the following code and examining the symbols in the object file :
--- Code: ---calc PROTO :QWORD,:QWORD,:QWORD,:QWORD,:QWORD,:QWORD
GetResult PROTO :QWORD,:QWORD
ALIAS <calc>=<?calc@formula@@QEAAHHHHHH@Z>
ALIAS <GetResult>=<?GetResult@formula@@QEAAXH@Z>
--- End code ---
--- Code: ---\PellesC\bin\podump.exe /symbols Test.obj
--- End code ---
--- Code: ---Dump of test.obj
File type: OBJ
SYMBOL TABLE
0000 00000000 UNDEF notype external | _?calc@formula@@QEAAHHHHHH@Z
0001 00000000 UNDEF notype weak external | calc
alternate index 0000, search alias
0003 00000000 UNDEF notype external | _?GetResult@formula@@QEAAXH@Z
0004 00000000 UNDEF notype weak external | GetResult
alternate index 0003, search alias
--- End code ---
The two symbols should not be prepended with an underscore according to the fastcall calling convention.
Navigation
[0] Message Index
Go to full version