mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-10 15:20:10 +00:00
3e1e123d02
* 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.
13 lines
315 B
C
13 lines
315 B
C
/* This file selects the right generated file of `__stub_FUNCTION' macros
|
|
based on the architecture being compiled for. */
|
|
|
|
#include <bits/wordsize.h>
|
|
|
|
#if __WORDSIZE == 32
|
|
# include <gnu/stubs-32.h>
|
|
#elif __WORDSIZE == 64
|
|
# include <gnu/stubs-64.h>
|
|
#else
|
|
# error "unexpected value for __WORDSIZE macro"
|
|
#endif
|