aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog161
-rw-r--r--Make-dist6
-rw-r--r--Makeconfig27
-rw-r--r--config.make.in1
-rwxr-xr-xconfigure80
-rw-r--r--configure.in1
-rw-r--r--csu/Makefile36
-rw-r--r--csu/abi-note.S69
-rw-r--r--malloc/obstack.h7
-rw-r--r--manual/arith.texi154
-rw-r--r--manual/libc.texinfo7
-rw-r--r--manual/math.texi328
-rw-r--r--manual/signal.texi3
-rw-r--r--manual/stdio.texi46
-rw-r--r--manual/summary.awk24
-rw-r--r--manual/texinfo.tex134
-rw-r--r--manual/xtract-typefun.awk6
-rw-r--r--math/fenv.h6
-rw-r--r--math/libm-test.c1167
-rw-r--r--po/de.po1211
-rw-r--r--signal/signal.h4
-rw-r--r--stdio-common/printf_size.c8
-rw-r--r--stdlib/lcong48_r.c1
-rw-r--r--stdlib/random_r.c3
-rw-r--r--stdlib/seed48_r.c1
-rw-r--r--sysdeps/generic/sigset.h4
-rw-r--r--sysdeps/i386/dl-machine.h8
-rw-r--r--sysdeps/libm-i387/e_pow.S7
-rw-r--r--sysdeps/libm-i387/e_powf.S7
-rw-r--r--sysdeps/libm-i387/e_powl.S7
-rw-r--r--sysdeps/libm-i387/s_cexp.S22
-rw-r--r--sysdeps/libm-i387/s_cexpf.S22
-rw-r--r--sysdeps/libm-i387/s_cexpl.S22
-rw-r--r--sysdeps/libm-ieee754/s_ccos.c16
-rw-r--r--sysdeps/libm-ieee754/s_ccosf.c16
-rw-r--r--sysdeps/libm-ieee754/s_ccosh.c14
-rw-r--r--sysdeps/libm-ieee754/s_ccoshf.c16
-rw-r--r--sysdeps/libm-ieee754/s_ccoshl.c14
-rw-r--r--sysdeps/libm-ieee754/s_ccosl.c16
-rw-r--r--sysdeps/libm-ieee754/s_cexpf.c15
-rw-r--r--sysdeps/libm-ieee754/s_cexpl.c15
-rw-r--r--sysdeps/libm-ieee754/s_cproj.c2
-rw-r--r--sysdeps/libm-ieee754/s_cprojf.c2
-rw-r--r--sysdeps/libm-ieee754/s_cprojl.c2
-rw-r--r--sysdeps/libm-ieee754/s_csin.c104
-rw-r--r--sysdeps/libm-ieee754/s_csinf.c104
-rw-r--r--sysdeps/libm-ieee754/s_csinh.c18
-rw-r--r--sysdeps/libm-ieee754/s_csinhf.c18
-rw-r--r--sysdeps/libm-ieee754/s_csinhl.c17
-rw-r--r--sysdeps/libm-ieee754/s_csinl.c104
-rw-r--r--sysdeps/libm-ieee754/s_ctanh.c6
-rw-r--r--sysdeps/libm-ieee754/s_ctanhf.c6
-rw-r--r--sysdeps/libm-ieee754/s_ctanhl.c6
-rw-r--r--sysdeps/stub/abi-tag.h3
-rw-r--r--sysdeps/unix/sysv/linux/abi-tag.h16
-rw-r--r--sysdeps/unix/sysv/linux/alpha/clone.S4
-rw-r--r--sysdeps/unix/sysv/linux/net/route.h10
-rw-r--r--sysdeps/unix/sysv/linux/netinet/ip_fw.h10
-rw-r--r--time/strftime.c25
-rw-r--r--time/strptime.c2
60 files changed, 2731 insertions, 1440 deletions
diff --git a/ChangeLog b/ChangeLog
index c756d42ad6..e94044fe3b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,164 @@
+1997-04-30 17:35 Ulrich Drepper <drepper@cygnus.com>
+
+ * math/libm-test.c: Implement test for exceptions.
+ Partly due to Andreas Jaeger.
+ (csin_test): New function.
+ * sysdeps/libm-i387/s_cexp.S: Raise correct exceptions.
+ * sysdeps/libm-i387/s_cexpf.S: Likewise.
+ * sysdeps/libm-i387/s_cexpl.S: Likewise.
+ * sysdeps/libm-ieee754/s_ccos.c: Likewise.
+ * sysdeps/libm-ieee754/s_ccosf.c: Likewise.
+ * sysdeps/libm-ieee754/s_ccosl.c: Likewise.
+ * sysdeps/libm-ieee754/s_ccosh.c: Likewise.
+ * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
+ * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
+ * sysdeps/libm-ieee754/s_cexp.c: Likewise.
+ * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
+ * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
+ * sysdeps/libm-ieee754/s_csinh.c: Likewise.
+ * sysdeps/libm-ieee754/s_csinhf.c: Likewise.
+ * sysdeps/libm-ieee754/s_csinhl.c: Likewise.
+ * sysdeps/libm-ieee754/s_ctanh.c: Likewise.
+ * sysdeps/libm-ieee754/s_ctanhf.c: Likewise.
+ * sysdeps/libm-ieee754/s_ctanhl.c: Likewise.
+
+ * sysdeps/libm-ieee754/s_ccosh.c: Correct computation.
+ * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
+ * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
+ * sysdeps/libm-ieee754/s_csinh.c: Likewise.
+ * sysdeps/libm-ieee754/s_csinhf.c: Likewise.
+ * sysdeps/libm-ieee754/s_csinhl.c: Likewise.
+
+ * sysdeps/libm-ieee754/s_csin.c: Rewrite.
+ * sysdeps/libm-ieee754/s_csinf.c: Likewise.
+ * sysdeps/libm-ieee754/s_csinl.c: Likewise.
+
+ * stdlib/random_r.c (__srandom_r): Don't use seed 0. Use 1 in this
+ case.
+
+ * sysdeps/i386/dl-machine.h (elf_machine_load_address): Use notation
+ for local label.
+
+ * time/strftime.c (add): Respect `0' padding flag.
+ Reported by Richard Stallman <rms@gnu.ai.mit.edu>.
+
+1997-04-30 15:46 Ulrich Drepper <drepper@cygnus.com>
+
+ * Makeconfig (start-installed-name): Define here, not in csu/Makefile.
+ Use in +link macro.
+ * csu/Makefile (distribute): Add abi-note.S and abi-tag.h.
+ (start-installed-name): Don't define here.
+ When ELF generate file named by start-installed-name from start.o
+ and abi-note.o.
+ * csu/abi-note.S: New file.
+ * sysdeps/stub/abi-tag.h: New file.
+ * sysdpes/unix/sysv/linux/abi-tag.h: New file.
+ Patches by Roland McGrath <roland@gnu.ai.mit.edu>.
+
+1997-04-30 01:32 Ulrich Drepper <drepper@cygnus.com>
+
+ * manual/stdio.texi: Use @vtable where possible.
+ Add TeX version of @multitable since texi2dvi cannot handle them
+ correct in the moment.
+
+ * po/de.po: Update.
+
+1997-04-29 21:06 Ulrich Drepper <drepper@cygnus.com>
+
+ * Makeconfig: Don't set cross-compiling based on $(BUILD_CC) != $(CC).
+ * config.make.in: Set cross-compiling from configure result.
+ * configure.in: Emit definition of `cross_compiling'.
+ Patches by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
+
+1997-04-27 21:50 Philip Blundell <pjb27@cam.ac.uk>
+
+ * sysdeps/unix/sysv/linux/net/route.h (struct in6_rtmsg): Use
+ correct `int' sizes for struct members.
+
+1997-04-29 19:14 Ulrich Drepper <drepper@cygnus.com>
+
+ * sysdeps/libm-i387/e_powf.S Generate invalid exception correctly.
+ * sysdeps/libm-i387/e_pow.S: Likewise.
+ * sysdeps/libm-i387/e_powl.S: Likewise.
+
+1997-04-23 10:08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
+
+ * math/fenv.h: Correct typos.
+
+1997-04-28 10:04 Richard Henderson <rth@tamu.edu>
+
+ * sysdeps/unix/sysv/linux/alpha/clone.S: Save the function argument
+ in t0 rather than a4 to avoid it being clobbered.
+
+1997-04-27 23:52 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
+
+ * manual/summary.awk: Recognize @defmumblex.
+
+ * manual/signal.texi (Miscellaneous Signals): Use @deftypevrx for
+ second description header.
+
+1997-04-27 23:29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
+
+ * manual/arith.texi (Floating-Point Classes): Don't indent text,
+ makeinfo doesn't like that.
+
+1997-04-27 20:52 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
+
+ * malloc/obstack.h (obstack_specify_allocation_with_arg,
+ obstack_chunkfun, obstack_freefun): Fix casts.
+
+1997-04-27 18:21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
+
+ * manual/xtract-typefun.awk: Allow names with only one character.
+
+1997-04-26 14:16 Ulrich Drepper <drepper@cygnus.com>
+
+ * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Use <netinet/ip_icmp.h>
+ not <netinet/icmp.h>.
+ Reported by Michael Deutschmann <ldeutsch@mail.netshop.net>.
+
+1997-04-25 12:31 Ulrich Drepper <drepper@cygnus.com>
+
+ * csu/Makefile ($(objpfx)initfini.s): Add CPPFLAGS, CFLAGS and -g0
+ to command line of compiler.
+ Patch by Marcus G. Daniels <marcus@sysc.pdx.edu>.
+
+ * sysdeps/generic/sigset.h (__sigandset, __sigorset): Fix typos.
+ Patch by Marcus G. Daniels <marcus@sysc.pdx.edu>.
+
+ * signal/signal.h (_sys_siglist, sys_siglist): Use _NSIG, not NSIG
+ in declaration.
+ Patch by Michael Widenius <monty@tcx.se>.
+
+ * time/strptime.c (strptime_internal): Fix %I format specifier
+ being off by one.
+ Patch by Mark Kettenis <kettenis@phys.uva.nl>.
+
+1997-04-24 12:18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
+
+ * stdlib/lcong48_r.c: Include <limits.h>.
+ * stdlib/seed48_r.c: Likewise.
+
+ * stdio-common/printf_size.c (printf_size): Correct type of
+ `units' and make robust against future changes.
+
+1997-04-23 18:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
+
+ * sysdeps/libm-ieee754/s_cproj.c: Use isfinite instead of finite.
+ * sysdeps/libm-ieee754/s_cprojl.c: Likewise.
+ * sysdeps/libm-ieee754/s_cprojf.c: Likewise.
+
+1997-04-23 18:53 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
+
+ * manual/arith.texi, manual/math.texi: Use @defmumblex for
+ additional description headers.
+ * manual/xtract-typefun.awk: Recognize them.
+
+1997-04-22 15:58 Andreas Jaeger <aj@arthur.rhein-neckar.de>
+
+ * stdio-common/printf_size.c (printf_size): Correct size of array
+ units.
+
1997-04-21 07:50 H.J. Lu <hjl@gnu.ai.mit.edu>
* libgen.h: New file.
diff --git a/Make-dist b/Make-dist
index bacc8655a9..ab11c3d453 100644
--- a/Make-dist
+++ b/Make-dist
@@ -195,9 +195,9 @@ dist.tar: README $(tardir) $(+tsrcs)
$(tardir).tar: dist.tar subdir_dist
@echo Files listed here have names exceeding 14 chars.
- tar xfv $< -C /tmp | sed -n '/[^/]\{15,\}/p'
- tar covf $@ -C /tmp $(tardir)
- -rm -fr /tmp/$(tardir) dist.tar &
+ tar xfv $< -C $${TMPDIR-/tmp} | sed -n '/[^/]\{15,\}/p'
+ tar covf $@ -C $${TMPDIR-/tmp} $(tardir)
+ -rm -fr $${TMPDIR-/tmp}/$(tardir) dist.tar &
%.Z: %
compress -c $< > $@
diff --git a/Makeconfig b/Makeconfig
index d026b46743..3d666ffbbc 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -318,13 +318,28 @@ ifndef asm-CPPFLAGS
asm-CPPFLAGS =
endif
+# Installed name of the startup code.
+ifneq ($(elf),yes)
+# When not using ELF, there is just one startfile, called crt0.o.
+start-installed-name = crt0.o
+else
+# In the ELF universe, crt0.o is called crt1.o, and there are
+# some additional bizarre files.
+start-installed-name = crt1.o
+have-initfini = yes
+endif
+
+
# Command for linking programs with the C library.
ifndef +link
+link = $(CC) -nostdlib -nostartfiles -o $@ \
$(sysdep-LDFLAGS) $(config-LDFLAGS) $(LDFLAGS) \
- $(addprefix $(csu-objpfx),start.o) $(+preinit) $(+prector) \
- $(filter-out $(addprefix $(csu-objpfx),start.o) $(+preinit) \
- $(link-extra-libs) $(common-objpfx)libc% $(+postinit),$^) \
+ $(addprefix $(csu-objpfx),$(start-installed-name)) \
+ $(+preinit) $(+prector) \
+ $(filter-out $(addprefix $(csu-objpfx),start.o \
+ $(start-installed-name))\
+ $(+preinit) $(link-extra-libs) \
+ $(common-objpfx)libc% $(+postinit),$^) \
$(link-extra-libs) $(link-libc) $(+postctor) $(+postinit)
endif
ifndef config-LDFLAGS
@@ -536,12 +551,6 @@ endif
ifndef BUILD_CC
BUILD_CC = $(CC)
endif
-
-ifneq ($(BUILD_CC),$(CC))
-cross-compiling := yes
-else
-cross-compiling := no
-endif
# Figure out the version numbers from version.h.
diff --git a/config.make.in b/config.make.in
index 0a7d0379fd..e807a4cba2 100644
--- a/config.make.in
+++ b/config.make.in
@@ -42,6 +42,7 @@ build-omitfp = @omitfp@
build-bounded = @bounded@
stdio = @stdio@
add-ons = @subdirs@
+cross-compiling = @cross_compiling@
# Build tools.
CC = @CC@
diff --git a/configure b/configure
index 0866deca11..a7bdcfb1cc 100755
--- a/configure
+++ b/configure
@@ -1345,8 +1345,9 @@ test -n "$BUILD_CC" && break
done
fi
+
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
-echo "configure:1350: checking how to run the C preprocessor" >&5
+echo "configure:1351: checking how to run the C preprocessor" >&5
# On Suns, sometimes $CPP names a directory.
if test -n "$CPP" && test -d "$CPP"; then
CPP=
@@ -1361,13 +1362,13 @@ else
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp.
cat > conftest.$ac_ext <<EOF
-#line 1365 "configure"
+#line 1366 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1371: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:1372: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
:
@@ -1378,13 +1379,13 @@ else
rm -rf conftest*
CPP="${CC-cc} -E -traditional-cpp"
cat > conftest.$ac_ext <<EOF
-#line 1382 "configure"
+#line 1383 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1388: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:1389: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
:
@@ -1415,7 +1416,7 @@ fi
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
set dummy ${ac_tool_prefix}ar; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:1419: checking for $ac_word" >&5
+echo "configure:1420: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -1446,7 +1447,7 @@ fi
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:1450: checking for $ac_word" >&5
+echo "configure:1451: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
echo $ac_n