* underscore
@ 2001-09-07 13:36 Liu, Hai
2001-09-07 14:36 ` underscore John Love-Jensen
0 siblings, 1 reply; 2+ messages in thread
From: Liu, Hai @ 2001-09-07 13:36 UTC (permalink / raw)
To: gcc-help
Hello, everyone:
I have an assemble function "_vadd_simd", declared as :
.globl _vadd_simd
...
It is called in the c file as "vadd_simd". I use the gcc compiler( version
2.95.2) in my linux desktop. It fails in the linking time. The error message
is: undefine reference to "vadd_simd". For some reason, the compiler is
looking for "vadd_simd" instead of "_vadd_simd".
I don't want to change my source code. How can I solve the problem? If I
upgrade the gcc compiler, that will solve the problem?
Sincerely,
Hai Liu
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: underscore
2001-09-07 13:36 underscore Liu, Hai
@ 2001-09-07 14:36 ` John Love-Jensen
0 siblings, 0 replies; 2+ messages in thread
From: John Love-Jensen @ 2001-09-07 14:36 UTC (permalink / raw)
To: Liu, Hai, gcc-help
-fleading-underscore
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-09-07 14:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-07 13:36 underscore Liu, Hai
2001-09-07 14:36 ` underscore John Love-Jensen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).