From 3e1e123d02fa495961898f390741bd743a92022d Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 11 Feb 2005 10:17:19 +0000 Subject: [BZ #715] * Makefile (installed-stubs): New variable. Set to $(inst_includedir)/gnu/stubs.h if $(biarch) is no, or to $(inst_includedir)/gnu/stubs-$(biarch).h if otherwise. [$(biarch) != no] (install-others-nosubdir): Add $(installed-stubs). ($(inst_includedir)/gnu/stubs.h): Use $(installed-stubs) for this rule's target. ($(inst_includedir)/gnu/stubs.h): New target, install from ... * include/stubs-biarch.h: New file. * shlib-versions (i.86-.*-.*): Add WORDSIZE64 line mapping to x86_64. * Makeconfig ($(common-objpfx)soversions.mk): Depend on Makeconfig. Emit defn for variable `biarch'. * include/stub-tag.h: Update comment. --- include/stubs-biarch.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 include/stubs-biarch.h (limited to 'include/stubs-biarch.h') diff --git a/include/stubs-biarch.h b/include/stubs-biarch.h new file mode 100644 index 0000000000..fc086bd894 --- /dev/null +++ b/include/stubs-biarch.h @@ -0,0 +1,12 @@ +/* This file selects the right generated file of `__stub_FUNCTION' macros + based on the architecture being compiled for. */ + +#include + +#if __WORDSIZE == 32 +# include +#elif __WORDSIZE == 64 +# include +#else +# error "unexpected value for __WORDSIZE macro" +#endif -- cgit v1.2.3