Arguments to native functions (?) [a bit long]

Tom Tromey tromey@cygnus.com
Mon Jun 28 09:28:00 GMT 1999


>>>>> "Simon" == Simon Gornall <simon@unique-id.com> writes:

Simon> Anyway, if I call a native function with more than 3 arguments
Simon> I get a compile-time error saying the linker can't find the
Simon> native function.
I see this too. (And, Andrew, using -fvtable-thunks doesn't help.)
Here is what I see when I run nm on your failing test (modified to
have 4 arguments and not 5):
 creche. nm nTest.o | grep calltest
 00000000 T calltest__4testPQ34java4lang6StringiT1T1
 creche. nm test.o | grep calltest
 00000096 d _Utf7calltest
 U calltest__4testPQ34java4lang6StringiN21
To me it looks like there is some kind of bug in name mangling.
Tom


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /