about summary refs log tree commit diff
path: root/elf/ifuncmod5.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-03-07 00:36:02 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-03-07 00:36:02 +0000
commitfa9dda64932da5eec1b67eefafb3a03738bbc529 (patch)
tree62a566e9a9480870d4d4e5123255b4a1f3009815 /elf/ifuncmod5.c
parent4acc27ed0a83995ad687c69a3f3f11510e0796d7 (diff)
downloadglibc-fa9dda64932da5eec1b67eefafb3a03738bbc529.tar.gz
glibc-fa9dda64932da5eec1b67eefafb3a03738bbc529.tar.xz
glibc-fa9dda64932da5eec1b67eefafb3a03738bbc529.zip
soft-fp: Condition sfp-machine.h include path on __KERNEL__.
My Linux kernel patch to update the kernel to current glibc soft-fp
<https://sourceware.org/ml/libc-alpha/2015-02/msg00107.html> still
leaves a few small differences between the two copies of soft-fp.

I think it's desirable to avoid such differences completely if
possible by having one set of sources suitable for use in both places.
To that end, this patch introduces a conditional on __KERNEL__ for the
path by which sfp-machine.h is included.

Tested for powerpc-nofpu that installed stripped shared libraries are
unchanged by this patch.

	* soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
	<asm/sfp-machine.h> instead of <sfp-machine.h>.
Diffstat (limited to 'elf/ifuncmod5.c')
0 files changed, 0 insertions, 0 deletions