On (04 Jun 97) Paul Wankadia wrote to All...
PW> I've noticed that gcc likes to mangle my C++ functions by adding info
PW> about the parameters to the end of the symbol. Of course, this is
PW> ridiculous when I want to call these functions from ASM code, so I
PW> was wondering if there was a way of preventing that kind of mangling
PW> from occurring. TIA.
Generally you have to declare them as:
extern "C" {
my_func(params);
}
to keep mangling from occurring.
Later,
Jerry.
... The Universe is a figment of its own imagination.
--- PPoint 1.90
---------------
* Origin: Point Pointedly Pointless (1:128/166.5)
|