Commit Graph

25180 Commits

Author SHA1 Message Date
Mike Frysinger
c9d6789ebe byteswap.h: fix gcc ver test for __builtin_bswap{32,64}
The __builtin_bswap* functions were introduced in gcc-4.3, not gcc-4.2.
Fix the __GNUC_PREREQ tests to reflect this.

Otherwise trying to compile code with gcc-4.2 falls down:
In file included from /usr/include/endian.h:60,
                 from /usr/include/ctype.h:40,
/usr/include/bits/byteswap.h: In function 'unsigned int __bswap_32(unsigned int)':
/usr/include/bits/byteswap.h:46: error: '__builtin_bswap32' was not declared in this scope
/usr/include/bits/byteswap.h: In function 'long long unsigned int __bswap_64(long long unsigned int)':
/usr/include/bits/byteswap.h:110: error: '__builtin_bswap64' was not declared in this scope

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-12-03 14:54:31 -05:00
Jeff Law
a69646e9bd * locales/ks_IN@devanagari: Fix week day names. 2012-12-03 12:29:49 -07:00
Jeff Law
4b7634a5e0 * time/sys/time.h (settimeofday): Do not mark TV argument
as __nonnull.
2012-12-03 12:15:17 -07:00
Jeff Law
70e5aee461 * locales/zh_CH (abmon): Remove whitespace. 2012-12-03 11:16:40 -07:00
Allan McRae
e30907c3a4 Remove unneeded linking in nptl testsuite 2012-12-03 13:56:07 +10:00
Mike Frysinger
eb6cbd249f [BZ #12724] libio: revert partial POSIX 2008 fclose support
In BZ #12724, partial support for POSIX 2008 fclose behavior was added.
Since it isn't entirely conforming to the spec, some applications are
known to be breaking in this intermediate state.  So revert the partial
support until we can get things fully implemented.

This reverts commit fcabc0f8b1.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-12-01 21:37:52 -05:00
Joseph Myers
f638872ab4 Fix typos in arith.texi. 2012-12-01 00:14:58 +00:00
Roland McGrath
48085d142e Fix type-punning warning in powerpc64 gmon-start. 2012-11-30 13:48:39 -08:00
Siddhesh Poyarekar
1a538b9f15 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
* include/rpc/svc.h: ... here.
2012-11-30 13:53:44 -07:00
Joseph Myers
ec13345bab Update ARM libm-test-ulps. 2012-11-30 20:41:26 +00:00
Joseph Myers
8018f81bde Update MIPS libm-test-ulps. 2012-11-30 20:35:34 +00:00
Andreas Schwab
d07f2ff1a6 Fix date in ChangeLog entry 2012-11-30 21:28:28 +01:00
Aurelien Jarno
cc8bb21c8a Fix assertion failures in resolver (BZ #13013).
[BZ #13013]
	* resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
	depending n and resplen2 to catch cases where answer
	equals answerp2.
2012-11-30 15:04:27 -05:00
Richard Henderson
b062e14ff3 alpha: Add sysdeps/alpha/sotruss-lib.c. 2012-11-30 09:54:34 -08:00
Joseph Myers
2a398e6f5b Remove powerpc-nofpu fma ulps. 2012-11-30 17:38:37 +00:00
Joseph Myers
05f5c45cff Update powerpc-nofpu libm-test-ulps. 2012-11-30 17:33:37 +00:00
Richard Henderson
4bf2253280 alpha: Update libm-test-ulps. 2012-11-30 09:21:12 -08:00
Carlos O'Donell
c93ec1f091 Warn about unsupported DT_FLAGS_1 flags.
The dynamic loader will now warn about unsupported DT_FLAGS_1
flags when run with LD_DEBUG=files or LD_DEBUG=all.
2012-11-29 18:12:23 -08:00
Mike Frysinger
6355e122f5 ia64: clock_getcpuclockid.c: drop unused file
Since we no longer support __ASSUME_POSIX_CPU_TIMERS, the ia64 code
no longer needs to override HAS_CPUCLOCK in the common file.  Drop
the ia64 shim as well.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-11-29 19:32:05 -05:00
Mike Frysinger
37db69de1d clock_getcpuclockid: delete unused HAS_CPUCLOCK
In commit 26889eacc2 (Remove
__ASSUME_POSIX_CPU_TIMERS), all users of HAS_CPUCLOCK were
dropped.  Punt the fallback definition too.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-11-29 19:31:40 -05:00
Andreas Schwab
38f34d05c3 m68k: update libm-test ULPs 2012-11-30 00:36:34 +01:00
Joseph Myers
1672585fc1 Add 64-bit support to MIPS register-dump.h (bug 14893). 2012-11-29 23:03:48 +00:00
Carlos O'Donell
9e4eee23af hppa: Fix ChangeLog format issues.
Remove trailing whitespace and canonicalize path names.
2012-11-29 14:53:57 -08:00
Carlos O'Donell
f06cc227e2 Update ChangeLog and NEWS for BZ #14197. 2012-11-29 14:51:49 -08:00
Carlos O'Donell
506fdf71df hppa: Remove socket.h and implement socket_type.h. 2012-11-29 18:00:01 -05:00
Carlos O'Donell
80ceeaeef9 hppa: Cleanup two build warnings for integer to pointers casts. 2012-11-29 17:59:59 -05:00
Roland McGrath
e10c4e4fdb Fix a strict-alias warning in tst-inet6_rth. 2012-11-29 13:35:14 -08:00
Jeff Law
2af1b32853 [BZ #13761]
* nscd/grpcache.c (cache_addgr): Rename alloca_used to
        dataset_temporary.  Track alloca usage into alloca_used.
        If dataset is large allocate and release it via malloc/free.
2012-11-29 10:46:19 -07:00
Florian Weimer
111db5b197 Mention that __chk_fail is a public ABI in test-strcpy_chk.c
* debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
2012-11-29 08:18:13 -08:00
Chris Metcalf
ebdcf03979 tile: remove redundant defines of libc_fetestexcept, etc. in s_fmaf.c 2012-11-29 11:17:29 -05:00
Carlos O'Donell
77a13b85e3 hppa: Add BZ#14447 to NEWS and ChangeLog.hppa. 2012-11-29 10:08:31 -05:00
Marcus Shawcroft
8d953369ef aarch64: Use FLAG_AARCH64_LIB64 ldconfig cache tag.
Use the new FLAG_AARCH64_LIB64 ldconfig cache tag for AArch64,
similarly to the way tags are handled for other architectures.

Signed-off-by: Steve McIntyre <steve.mcintyre@linaro.org>
Reviewed-by: Carlos O'Donell  <carlos@systemhalted.org>
Signed-off-by: Marcus Shawcroft <marcus.shawcroft@linaro.org>
2012-11-29 10:38:49 +00:00
Nik Kalach
06b313bf04 Fix abmon December entry in ia_FR
* locales/ia_FR (abmon): Fix December.
2012-11-29 09:00:06 +01:00
Nik Kalach
d928658238 Add Interlingua locale
[BZ#14879]
	* locales/ia_FR : New file
	* SUPPORTED (SUPPORTED-LOCALES): Add appropriate entry.
2012-11-29 08:31:13 +01:00
David S. Miller
dd694abd5e Update sparc ULPs for recently added pow tests.
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-11-28 17:42:09 -08:00
Joseph Myers
9984dd0126 Use hex float 64-bit values in ldbl-96 asinl (bug 14803). 2012-11-28 21:46:16 +00:00
Jeff Law
14bc93a967 [BZ #14889]
* sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
        * sunrpc/svc.c: Include time.h.
        (__svc_accept_failed): New function.
        * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
        any reason other than EINTR, call __svc_accept_failed.
        * sunrpc/svc_udp.c (svcudp_recv): Similarly.
        * sunrpc/svc_unix.c (rendezvous_request): Similarly.
2012-11-28 14:16:12 -07:00
Joseph Myers
b54eb3cb0a Add more NEWS items for 2.17. 2012-11-28 17:07:39 +00:00
Andreas Schwab
e3c6aa3a58 Properly handle indirect functions in ABI check on powerpc64 2012-11-28 16:19:08 +01:00
Andreas Schwab
4cc34c3511 Revert "2012-11-07 Andreas Jaeger <aj@suse.de>"
This reverts commit 01f34a3bd8.

The issue has been fixed in the kernel.
2012-11-28 16:19:03 +01:00
Joseph Myers
1bead169c3 Fix powl inaccuracy for x86_64 and x86 (bug 13881). 2012-11-28 13:40:54 +00:00
Siddhesh Poyarekar
0817d63dd1 Fix hashtable size calculation when database has exactly one record
The hash function needs a hashtable of at least size 3 or greater.
2012-11-28 06:45:50 +05:30
Siddhesh Poyarekar
de2fd463b1 Make fwrite return 0 on EOF 2012-11-28 01:00:50 +05:30
H.J. Lu
c515fb5148 Cast to __intptr_t before casting pointer to int64 2012-11-26 16:45:36 -08:00
Joseph Myers
4cf77aa984 Fix strict-aliasing warnings from unwind-dw2-fde.c. 2012-11-27 00:01:10 +00:00
Andreas Schwab
d260b3b403 sotruss: fix argument parsing 2012-11-26 20:58:27 +01:00
Andreas Schwab
3e2e43e250 m68k/cf: fix copying frame in _dl_runtime_profile 2012-11-25 20:59:31 +01:00
Andreas Schwab
9205a99176 m68k: add sotruss-lib.c 2012-11-25 20:59:30 +01:00
Adam Conrad
6706074627 Fix C++ header directory detection for non-standard paths.
Stop assuming specific path layouts for C++ headers, and instead
use an autodetection method that looks for paths with '/[cg]++'
in the g++ include list.
2012-11-24 23:58:38 -07:00
Mike Frysinger
800938a126 use $(READELF) rather than readelf
We setup $(READELF) and use it everywhere, so fix the two places
that were using readelf directly.

Reported-by: Denis M. <god@politeia.in>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-11-23 15:23:18 -05:00