Mail Archives: djgpp-workers/1998/12/05/12:23:55
First off, I don't have a copy of the C9x spec. Is it official? How
do I get a copy?
> .globl ___pow2, _exp2
> ___pow2:
> _exp2:
> ...code
Normally, I'd say this was OK if both symbols were defined by the same
spec (i.e. rand() and srand() are in the same object, localtime() and
gmtime() are together), but in this case there might be a program that
is emulating C9x by providing its own exp2() function that calls
pow2(). If you tried to build such a program, you'd get link
failures.
- Raw text -