This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: libgcc2.c help needed
Perry Smith <pedz@easesoftware.net> writes:
> The problem: In the particular build I am trying to do, when
> libgcc2.c is compled with -DL_floatdidf, instead of defining a
> routine called _floatdidf or __floatdidf, it creates a routine called
> __floattidf which references __floatdidf.
...
> This is on an RS/6000 AIX 5.3. I'm trying to compile gcc 4.0.2. I
> have mucked with t-aix52 to produce not only pthread and ppc64 but
> also libraries for soft-float. This particular compile is when it is
> trying to produce the ppc64/soft-float shared (libgcc_s.a) library.
The function is defined in config/rs6000/ppc64-fp.c. See, e.g.,
config/rs6000/t-linux64, which puts that file in LIB2FUNCS_EXTRA.
Ian