This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
abi-variants question
- From: "Steve Ellcey " <sellcey at mips dot com>
- To: <libc-help at sourceware dot org>
- Date: Tue, 2 Oct 2012 16:09:51 -0700
- Subject: abi-variants question
While building various mips versions of glibc I found that the stubs files
for soft-float builds is different then for hard-float builds. Right now
we have (in ports/sysdeps/unix/sysv/linux/mips/Makefile):
abi-variants := o32 n32 n64
So I changed it to
abi-variants := o32_soft o32_hard n32_soft n32_hard n64_soft n64_hard
and added the necessary options and condition settings. I get the
gnu/stubs.h file that I expected:
#if defined(__mips_soft_float) && (_MIPS_SIM == _MIPS_SIM_ABI32)
# include <gnu/stubs-o32_soft.h>
#endif
#if defined(__mips_hard_float) && (_MIPS_SIM == _MIPS_SIM_ABI32)
# include <gnu/stubs-o32_hard.h>
#endif
#if defined(__mips_soft_float) && (_MIPS_SIM == _MIPS_SIM_NABI32)
# include <gnu/stubs-n32_soft.h>
#endif
#if defined(__mips_hard_float) && (_MIPS_SIM == _MIPS_SIM_NABI32)
# include <gnu/stubs-n32_hard.h>
#endif
(etc)
But I didn't get the actual stubs-o32_soft.h header file that I expected.
Instead of stubs-o32_soft.h and stubs-o32_hard.h, I still get stubs-o32.h.
Is there a configure file or Makefile that I need to regenerate with
autoconf or automake? Is there code somewhere else that needs to be
changed in conjunction with the Makefile change?
Steve Ellcey
sellcey@mips.com