glibc/sysdeps
Joseph Myers 174edbde7e Update SPARC divrem generation to match output.
While working on another patch I noticed that (a)
sysdeps/sparc/sparc32/Makefile is the only place with special
realclean settings, apart from po/, and (b) the generated files with a
rule in that Makefile to generate them (using m4) had been patched
manually so no longer corresponded with the output of the generator -
so if the timestamps were wrong, a build would result in changes to
the files in the source directory.  (They also didn't correspond
because of changes in make 3.81 to how make handles whitespace at the
start of a line in a sequence of backslash-newline continuation lines
within a recipe.)

This patch fixes the generation and output files to match.  The issue
with make and whitespace at start of continuation lines is fixed by
putting those newlines outside of arguments to echo, so the number of
spaces in the argument matches the number in the existing generated
files.  Then divrem.m4 is changed to avoid generating whitespace-only
lines (my fix to the outputs from 2013; this fix to the generator also
changes the indentation of a label in the output files) and to
generate an alias in udiv.S (Adhemerval's fix from March).

build-many-glibcs.py doesn't have a non-v9 SPARC configuration,
because non-v9 32-bit SPARC didn't build when I set up
build-many-glibcs.py but sparcv9 did build.  Whether or not non-v9
32-bit SPARC now builds (or indeed whether or not support for it is
obsolete), I tested by removing the sparcv8 and sparcv9 versions of
the four files in question, so forcing the generated files to be built
and used, and the compilation parts of the glibc testsuite passed.

	* sysdeps/sparc/sparc32/Makefile
	($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
	start-of-line whitespace in argument of echo.
	* sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
	with whitespace.  Generate __wrap_.udiv alias.
	* sysdeps/sparc/sparc32/rem.S: Regenerated.
	* sysdeps/sparc/sparc32/sdiv.S: Likewise.
	* sysdeps/sparc/sparc32/udiv.S: Likewise.
	* sysdeps/sparc/sparc32/urem.S: Likewise.
2017-12-15 14:06:07 +00:00
..
aarch64 aarch64: Improve strcmp unaligned performance 2017-12-13 18:50:27 +05:30
alpha Update Alpha libm-test-ulps 2017-12-06 18:55:09 -02:00
arm Add sysdeps/ieee754/soft-fp. 2017-12-12 23:35:21 +00:00
generic Support _Float32 in libm_alias_float. 2017-12-06 22:14:09 +00:00
gnu The -Wstringop-truncation option new in GCC 8 detects common misuses 2017-11-15 17:39:59 -07:00
hppa Handle __gmon_start__ as undefined weak on hppa. 2017-12-02 14:43:28 -05:00
i386 Add _Float32 function aliases. 2017-12-07 00:48:31 +00:00
ia64 Update IA64 libm-test-ulps 2017-12-12 16:57:41 -02:00
ieee754 Add sysdeps/ieee754/soft-fp. 2017-12-12 23:35:21 +00:00
init_array
m68k Add sysdeps/ieee754/soft-fp. 2017-12-12 23:35:21 +00:00
mach Introduce NO_RTLD_HIDDEN, make hurd use it instead of NO_HIDDEN 2017-10-03 01:33:38 +02:00
microblaze Add sysdeps/ieee754/soft-fp. 2017-12-12 23:35:21 +00:00
mips Add sysdeps/ieee754/soft-fp. 2017-12-12 23:35:21 +00:00
nios2 Add sysdeps/ieee754/soft-fp. 2017-12-12 23:35:21 +00:00
nptl nptl: Define __PTHREAD_MUTEX_{NUSERS_AFTER_KIND,USE_UNION} 2017-11-07 09:48:41 -02:00
posix posix: Fix generic p{read,write}v buffer allocation (BZ#22457) 2017-11-24 12:16:15 -02:00
powerpc powerpc: st{r,p}cpy optimization for aligned strings 2017-12-15 10:55:58 +05:30
pthread
s390 S390: Add CFI rule in _dl_runtime_resolve[_vx] for unwinding. 2017-12-11 08:47:51 +01:00
sh Add sysdeps/ieee754/soft-fp. 2017-12-12 23:35:21 +00:00
sparc Update SPARC divrem generation to match output. 2017-12-15 14:06:07 +00:00
tile Add sysdeps/ieee754/soft-fp. 2017-12-12 23:35:21 +00:00
unix ia64: Add ipc_priv.h header to set __IPC_64 to zero 2017-12-12 12:19:24 -02:00
wordsize-32
wordsize-64
x86 Add _Float64x function aliases. 2017-11-27 14:16:47 +00:00
x86_64 x86-64: Remove sysdeps/x86_64/fpu/s_cosf.S 2017-12-14 04:39:53 -08:00