Anonymous user
C++ to ASM linkage in GCC: Difference between revisions
Jump to navigation
Jump to search
m
Highlight C++ rather than C.
[unchecked revision] | [unchecked revision] |
m (Added category) |
m (Highlight C++ rather than C.) |
||
Line 124:
If you do the following:
<source lang="
class foo {
public:
Line 141:
Then GCC is told to link to that symbol. It places a reference to a symbol name, all mangled in ''its'' own way. The linker is called on both object files. The second one is referencing a symbols which the linker sees nowhere. You are told the symbol referenced by the second object file does not exist.
== C++ - ASM linkage ==
|