Mail Archives: djgpp-workers/1998/10/19/09:58:10
I successfully re-built libc.a last weekend with my new math routines.
I noticed that the routine
POW2.S
is currently in the "ansi" subdirectory under libc, but pow2() is not
specified by ANSI. I will move it to the "compat" subdirectory, but,
looking ahead, I noticed that a draft of C9x has specified "exp2()"
rather than "pow2()", so both names should perhaps point to the same
routine. I also noticed that there was an indirect mechanism for
invoking the pow2() subroutine, through stub0029.s. Does anyone know
why there is this stub mechanism, rather than a direct call? Should I
make another stub so the routine can be called by the C9x name exp2()?
I think a cleaner solution would be to simply include two global labels
in the pow2.s file, but there may be some system issues that I don't
understand that necessitated the stub system.
-Eric Rudd
- Raw text -