platform/upstream/linaro-glibc.git
12 years agodrop ports ignore
Mike Frysinger [Tue, 3 Jul 2012 19:19:16 +0000 (15:19 -0400)]
drop ports ignore

Now that it's been merged back into mainline, we don't want to ignore
the dir anymore.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
12 years agoUpdate from translation teams
Andreas Jaeger [Tue, 3 Jul 2012 19:43:55 +0000 (21:43 +0200)]
Update from translation teams

12 years agoAvoid use of libgcc_s and libgcc_eh when building glibc.
Joseph Myers [Tue, 3 Jul 2012 19:14:59 +0000 (19:14 +0000)]
Avoid use of libgcc_s and libgcc_eh when building glibc.

12 years agoFix float range reduction problems (bug 14283).
Joseph Myers [Tue, 3 Jul 2012 17:10:42 +0000 (17:10 +0000)]
Fix float range reduction problems (bug 14283).

12 years agoAdd cosh tests for bug 14273.
Joseph Myers [Tue, 3 Jul 2012 17:06:55 +0000 (17:06 +0000)]
Add cosh tests for bug 14273.

12 years agoAdd ppca2 to ports powerpc/dl-procinfo.
Joseph Myers [Tue, 3 Jul 2012 17:03:29 +0000 (17:03 +0000)]
Add ppca2 to ports powerpc/dl-procinfo.

12 years agoRemove ports files no longer relevant now included in libc repository.
Joseph Myers [Tue, 3 Jul 2012 16:51:46 +0000 (16:51 +0000)]
Remove ports files no longer relevant now included in libc repository.

12 years agoOpen development for 2.17.
Joseph Myers [Tue, 3 Jul 2012 16:36:22 +0000 (16:36 +0000)]
Open development for 2.17.

12 years agoMerge glibc-ports into ports/ directory.
Joseph Myers [Sun, 1 Jul 2012 13:08:59 +0000 (13:08 +0000)]
Merge glibc-ports into ports/ directory.

12 years agoMove all files into ports/ subdirectory in preparation for merge with glibc
Joseph Myers [Sun, 1 Jul 2012 13:06:41 +0000 (13:06 +0000)]
Move all files into ports/ subdirectory in preparation for merge with glibc

12 years agoRelease 2.16
Carlos O'Donell [Sat, 30 Jun 2012 19:12:34 +0000 (12:12 -0700)]
Release 2.16

Update version.h and include/features.h for 2.16 release.

12 years agoUpdate NEWS and README.
Carlos O'Donell [Sat, 30 Jun 2012 15:27:06 +0000 (08:27 -0700)]
Update NEWS and README.

Final update for 2.16 release.

12 years agomanual/contrib.texi (Contributors): Sort alphabetically by last name.
Thomas Schwinge [Thu, 28 Jun 2012 08:50:08 +0000 (10:50 +0200)]
manual/contrib.texi (Contributors): Sort alphabetically by last name.

12 years agoAdd Samuel Thibault to manual/contrib.texi
Andreas Jaeger [Wed, 27 Jun 2012 17:50:07 +0000 (19:50 +0200)]
Add Samuel Thibault to manual/contrib.texi

12 years agoUpdate s390 ULPs file
Andreas Jaeger [Mon, 25 Jun 2012 08:28:03 +0000 (10:28 +0200)]
Update s390 ULPs file

12 years agoSH can do fanotify_mark, too.
Andreas Schwab [Sat, 9 Jun 2012 17:08:54 +0000 (19:08 +0200)]
SH can do fanotify_mark, too.

12 years agoSome missing bits from sysdeps/*/elf dismissal.
Thomas Schwinge [Sat, 23 Jun 2012 10:27:58 +0000 (12:27 +0200)]
Some missing bits from sysdeps/*/elf dismissal.

This fixes up commits 735095ae9566b2b14e8210e5ed44b3d5b51495f1,
09ae94c11b4309b425fbbfaa095e64cac2ae8cb8, and
ff962fb6a10c46052535d482c889b3a9e5236637.

12 years agoSH: __lll_robust_timedlock_wait: Simplify CFI directives.
Thomas Schwinge [Sat, 23 Jun 2012 10:17:44 +0000 (12:17 +0200)]
SH: __lll_robust_timedlock_wait: Simplify CFI directives.

12 years agoSH: Preserve more registers for frame unwinding purposes, add CFI directives.
Thomas Schwinge [Sat, 23 Jun 2012 10:11:13 +0000 (12:11 +0200)]
SH: Preserve more registers for frame unwinding purposes, add CFI directives.

12 years agoSH: Optimize assembler code in context of call to __fortify_fail.
Thomas Schwinge [Sat, 23 Jun 2012 10:07:04 +0000 (12:07 +0200)]
SH: Optimize assembler code in context of call to __fortify_fail.

__fortify_fail has »__attribute__ ((__noreturn__))«.

12 years agoSH: ____longjmp_chk for GNU/Linux with sigaltstack support.
Thomas Schwinge [Sat, 23 Jun 2012 09:56:02 +0000 (11:56 +0200)]
SH: ____longjmp_chk for GNU/Linux with sigaltstack support.

debug/tst-longjmp_chk2 now passes.

12 years agoSH: ABORT_INSTRUCTION.
Thomas Schwinge [Sat, 23 Jun 2012 09:47:39 +0000 (11:47 +0200)]
SH: ABORT_INSTRUCTION.

12 years agoSH: makecontext/.Lexitcode: Always initialize the GOT register before use.
Thomas Schwinge [Sat, 23 Jun 2012 09:42:29 +0000 (11:42 +0200)]
SH: makecontext/.Lexitcode: Always initialize the GOT register before use.

This is only relevant when returning from a context with »uc_link == NULL«,
which is not exercised in the testsuite.

12 years agoSH: makecontext: Fix calculation of ARGC > 4.
Thomas Schwinge [Sat, 23 Jun 2012 09:28:23 +0000 (11:28 +0200)]
SH: makecontext: Fix calculation of ARGC > 4.

stdlib/tst-setcontext and stdlib/tst-makecontext3 now pass.

12 years agoSH: makecontext: Improve understandability.
Thomas Schwinge [Sat, 23 Jun 2012 09:22:47 +0000 (11:22 +0200)]
SH: makecontext: Improve understandability.

12 years agoFix gUSA sequence in SH atomic functions in
Kaz Kojima [Fri, 22 Jun 2012 22:29:05 +0000 (07:29 +0900)]
Fix gUSA sequence in SH atomic functions in
sysdeps/unix/sysv/linux/sh/bits/atomic.h.

12 years agoFix invalid memory access in do_lookup_x.
Andreas Schwab [Fri, 22 Jun 2012 18:10:31 +0000 (11:10 -0700)]
Fix invalid memory access in do_lookup_x.

[BZ #13579] Do not free l_initfini and allow it to be reused
on subsequent dl_open calls for the same library. This fixes
the invalid memory access in do_lookup_x when the previously
free'd l_initfini was accessed through l_searchlist when a
library had been opened for the second time.

12 years agoUse AC_LANG_SOURCE to fix autoconf warnings.
Carlos O'Donell [Fri, 22 Jun 2012 14:58:19 +0000 (14:58 +0000)]
Use AC_LANG_SOURCE to fix autoconf warnings.

12 years agoUse tab not spaces.
Carlos O'Donell [Fri, 22 Jun 2012 14:52:50 +0000 (14:52 +0000)]
Use tab not spaces.

12 years agoRespect --localstatedir for /var/db parent directory.
Roland McGrath [Fri, 22 Jun 2012 17:11:07 +0000 (10:11 -0700)]
Respect --localstatedir for /var/db parent directory.

12 years agoUpdate copyright years
Jeff Law [Thu, 21 Jun 2012 23:16:15 +0000 (17:16 -0600)]
Update copyright years

12 years ago [BZ #14277]
Jeff Law [Thu, 21 Jun 2012 23:15:38 +0000 (17:15 -0600)]
    [BZ #14277]
        * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
        free.  Simplify list management for _LIBC case.

12 years agoFix wordsize-64 cosh regression (bug 14273).
Joseph Myers [Thu, 21 Jun 2012 19:26:09 +0000 (19:26 +0000)]
Fix wordsize-64 cosh regression (bug 14273).

12 years agoRegenerate sysdeps/mach/configure.
Joseph Myers [Thu, 21 Jun 2012 19:20:33 +0000 (19:20 +0000)]
Regenerate sysdeps/mach/configure.

12 years agoMention BZ #14278 in NEWS
H.J. Lu [Thu, 21 Jun 2012 17:30:14 +0000 (10:30 -0700)]
Mention BZ #14278 in NEWS

12 years agoFix a typo in i386 SYSCALL_PIC_SETUP
H.J. Lu [Thu, 21 Jun 2012 17:17:07 +0000 (10:17 -0700)]
Fix a typo in i386 SYSCALL_PIC_SETUP

12 years agoAdd Changelog ...
Carlos O'Donell [Thu, 21 Jun 2012 17:08:19 +0000 (17:08 +0000)]
Add Changelog ...

... for ac80ce0bd9c22b85aae0a39cd719b9c90b08ced7.

12 years agoAdd .gitignore.
Carlos O'Donell [Thu, 21 Jun 2012 17:05:25 +0000 (17:05 +0000)]
Add .gitignore.

Ignore the autoconf cache directory.

12 years ago2012-06-21 Jeff Law <law@redhat.com>
Jeff Law [Thu, 21 Jun 2012 15:26:41 +0000 (09:26 -0600)]
2012-06-21  Jeff Law  <law@redhat.com>

        [BZ #13882]
        * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
        uint16_t for elements in the "seen" array to avoid char overflows.
        * elf/dl-fini.c (_dl_sort_fini): Likewise.
        * elf/dl-open.c (dl_open_worker): Likewise.

12 years agoAdd ChangeLog ...
Carlos O'Donell [Thu, 21 Jun 2012 15:04:35 +0000 (08:04 -0700)]
Add ChangeLog ...

... for feca660a796e5782498bd6d6673999d9e26b5f4d.

12 years agoRegenerate libc.pot.
Carlos O'Donell [Thu, 21 Jun 2012 14:58:27 +0000 (07:58 -0700)]
Regenerate libc.pot.

Enhance scripts/list-sources.sh to search glibc-ports
for translatable strings.

12 years agoFix typo in name
Andreas Jaeger [Thu, 21 Jun 2012 14:45:27 +0000 (16:45 +0200)]
Fix typo in name

12 years agoAvoid -Wconversion warning for htons
Andreas Jaeger [Thu, 21 Jun 2012 13:49:33 +0000 (15:49 +0200)]
Avoid -Wconversion warning for htons

12 years agolocales/tr_CY: LC_TIME with copy cannot contain additional data
Petr Baudis [Wed, 20 Jun 2012 15:29:47 +0000 (17:29 +0200)]
locales/tr_CY: LC_TIME with copy cannot contain additional data

Luckily, tr_TR also sets first_weekday and first_workday to Monday,
so this is just not necessary.

12 years agolocales/mag_IN: Fix syntax error
Petr Baudis [Wed, 20 Jun 2012 15:29:08 +0000 (17:29 +0200)]
locales/mag_IN: Fix syntax error

12 years agoAccount for the extra stack size when rlimit is small enough
Siddhesh Poyarekar [Wed, 20 Jun 2012 07:33:13 +0000 (13:03 +0530)]
Account for the extra stack size when rlimit is small enough

When rlimit is small enough to be used as the stacksize to be returned
in pthread_getattr_np, cases where a stack is made executable due to a
DSO load get stack size that is larger than what the kernel
allows. This is because in such a case the stack size does not account
for the pages that have auxv and program arguments.

Additionally, the stacksize for the process derived from this should
be truncated to align to page size to avoid going beyond rlimit.

12 years agoUpdate MIPS32 ABI baselines for _gp_disp.
Joseph Myers [Tue, 19 Jun 2012 16:38:44 +0000 (16:38 +0000)]
Update MIPS32 ABI baselines for _gp_disp.

12 years agoUse x86-64 fpu_control.h for i386 and x86_64
H.J. Lu [Mon, 18 Jun 2012 18:43:51 +0000 (11:43 -0700)]
Use x86-64 fpu_control.h for i386 and x86_64

12 years agoUse __volatile__ to access fpu control word
H.J. Lu [Mon, 18 Jun 2012 18:09:58 +0000 (11:09 -0700)]
Use __volatile__ to access fpu control word

12 years agoUpdate news for fixed alpha bz
Richard Henderson [Fri, 15 Jun 2012 21:42:57 +0000 (14:42 -0700)]
Update news for fixed alpha bz

12 years agoMention BZ 14050/14117 in NEWS
H.J. Lu [Fri, 15 Jun 2012 21:33:57 +0000 (14:33 -0700)]
Mention BZ 14050/14117 in NEWS

12 years agoalpha: Define FP_TRAPPING_EXCEPTIONS
Richard Henderson [Fri, 15 Jun 2012 21:26:58 +0000 (14:26 -0700)]
alpha: Define FP_TRAPPING_EXCEPTIONS

12 years agoUse i386 bits/mathinline.h for i386 and x86_64
H.J. Lu [Fri, 15 Jun 2012 20:56:26 +0000 (13:56 -0700)]
Use i386 bits/mathinline.h for i386 and x86_64

12 years agoDisable x87 inline functions for x86-64
H.J. Lu [Fri, 15 Jun 2012 13:52:47 +0000 (06:52 -0700)]
Disable x87 inline functions for x86-64

12 years agoMake endian.h usable for assembler
Chung-Lin Tang [Fri, 15 Jun 2012 19:19:12 +0000 (21:19 +0200)]
Make endian.h usable for assembler

12 years agoalpha: Always handle inexact in rint implementations
Richard Henderson [Fri, 15 Jun 2012 19:17:48 +0000 (12:17 -0700)]
alpha: Always handle inexact in rint implementations

12 years ago[BZ #13848] alpha: Fix s_nearbyint implementation.
Richard Henderson [Fri, 15 Jun 2012 19:17:11 +0000 (12:17 -0700)]
[BZ #13848] alpha: Fix s_nearbyint implementation.

12 years agoMention ix86 shared headers
Andreas Jaeger [Fri, 15 Jun 2012 19:13:21 +0000 (21:13 +0200)]
Mention ix86 shared headers

12 years agoalpha: Use builtins for copysign
Richard Henderson [Fri, 15 Jun 2012 19:06:44 +0000 (12:06 -0700)]
alpha: Use builtins for copysign

12 years agoalpha: Fix protection on UTIME_NOW
Richard Henderson [Fri, 15 Jun 2012 19:05:26 +0000 (12:05 -0700)]
alpha: Fix protection on UTIME_NOW

12 years agoalpha: Add missing definitions in resource.h, shm.h
Richard Henderson [Fri, 15 Jun 2012 19:01:39 +0000 (12:01 -0700)]
alpha: Add missing definitions in resource.h, shm.h

12 years agoalpha: Remove some __GNUC_PREREQs that are too old
Richard Henderson [Fri, 15 Jun 2012 19:00:25 +0000 (12:00 -0700)]
alpha: Remove some __GNUC_PREREQs that are too old

12 years agoalpha: Fix float_t in bits/mathdef.h
Richard Henderson [Fri, 15 Jun 2012 18:56:47 +0000 (11:56 -0700)]
alpha: Fix float_t in bits/mathdef.h

12 years agoMention BZ #14229 in NEWS
H.J. Lu [Fri, 15 Jun 2012 12:38:30 +0000 (05:38 -0700)]
Mention BZ #14229 in NEWS

12 years agoFix pow (0.0, -Inf) (bug 14241).
Joseph Myers [Fri, 15 Jun 2012 11:27:51 +0000 (11:27 +0000)]
Fix pow (0.0, -Inf) (bug 14241).

12 years agoUpdate manual/contrib.texi
Andreas Jaeger [Fri, 15 Jun 2012 07:14:17 +0000 (09:14 +0200)]
Update manual/contrib.texi

Update entry of Liubov Dmitrieva and add entries for Will Schmidt and Tulio Magno
Quites Machado Filho.

12 years agoAdd __wur to GNU version of strerror_r.
Cyril Hrubis [Fri, 15 Jun 2012 07:09:05 +0000 (09:09 +0200)]
Add __wur to GNU version of strerror_r.

Not using the result of the GNU strerror_r() is always a mistake.

Moreover this would generate warning if XSI version was expected but GNU
version was used instead (because some random used header defined
_GNU_SOURCE which was Python.h in this case).

12 years agoUse RAX_LP/RDX_LP on SAVE_PTR in x86_64 strtok.S
H.J. Lu [Thu, 14 Jun 2012 16:58:43 +0000 (09:58 -0700)]
Use RAX_LP/RDX_LP on SAVE_PTR in x86_64 strtok.S

12 years agoMake sure <build-dir>/manual directory gets created.
Roland McGrath [Thu, 14 Jun 2012 16:44:27 +0000 (09:44 -0700)]
Make sure <build-dir>/manual directory gets created.

12 years agoFix MIPS32 frame-pointer forcing for more recent GCC.
Joseph Myers [Thu, 14 Jun 2012 15:18:27 +0000 (15:18 +0000)]
Fix MIPS32 frame-pointer forcing for more recent GCC.

12 years agoAllow more spurious underflow exceptions from csqrt and Bessel functions.
Joseph Myers [Thu, 14 Jun 2012 14:35:24 +0000 (14:35 +0000)]
Allow more spurious underflow exceptions from csqrt and Bessel functions.

12 years agoSet default charset to UTF-8 for libc.pot.
Carlos O'Donell [Wed, 13 Jun 2012 23:50:29 +0000 (16:50 -0700)]
Set default charset to UTF-8 for libc.pot.

12 years agopowerpc-nofpu: Allow abort and soft-fp symbols to be absent in localplt test.
Joseph Myers [Wed, 13 Jun 2012 21:12:06 +0000 (21:12 +0000)]
powerpc-nofpu: Allow abort and soft-fp symbols to be absent in localplt test.

12 years agoMention 14210 in NEWS.
Paul Eggert [Wed, 13 Jun 2012 17:46:52 +0000 (10:46 -0700)]
Mention 14210 in NEWS.

12 years agoSuppress sign-conversion warning from FD_SET.
Paul Pluzhnikov [Wed, 13 Jun 2012 16:57:18 +0000 (09:57 -0700)]
Suppress sign-conversion warning from FD_SET.

[BZ #14210] See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
* debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
not unsigned long int.
* misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.

12 years agoAdd SSE math and C++ namespace to i386 bits/mathinline.h
H.J. Lu [Tue, 12 Jun 2012 18:10:40 +0000 (11:10 -0700)]
Add SSE math and C++ namespace to i386 bits/mathinline.h

12 years agoUse HIDDEN_JUMPTARGET for _exit jump from __startcontext.
Joseph Myers [Tue, 12 Jun 2012 19:13:08 +0000 (19:13 +0000)]
Use HIDDEN_JUMPTARGET for _exit jump from __startcontext.

12 years agoFix a typo in sysdeps/unix/Makefile.
Thomas Schwinge [Tue, 12 Jun 2012 08:27:01 +0000 (10:27 +0200)]
Fix a typo in sysdeps/unix/Makefile.

12 years agoBZ#14218: Reword argp_parse description slightly.
Roland McGrath [Mon, 11 Jun 2012 23:20:09 +0000 (16:20 -0700)]
BZ#14218: Reword argp_parse description slightly.

12 years agoSH: No FE_UPWARD, FE_DOWNWARD.
Thomas Schwinge [Sat, 9 Jun 2012 16:46:01 +0000 (18:46 +0200)]
SH: No FE_UPWARD, FE_DOWNWARD.

12 years agoSH: Do not re-write fpscr after reading it.
Thomas Schwinge [Sat, 9 Jun 2012 16:36:52 +0000 (18:36 +0200)]
SH: Do not re-write fpscr after reading it.

12 years agoSH: refresh *.abilist files.
Kaz Kojima [Sat, 9 Jun 2012 16:06:52 +0000 (18:06 +0200)]
SH: refresh *.abilist files.

12 years agoUpdate powerpc-nofpu ABI baseline for __mcount_internal.
Joseph Myers [Fri, 8 Jun 2012 10:49:08 +0000 (10:49 +0000)]
Update powerpc-nofpu ABI baseline for __mcount_internal.

12 years agoFix build on non-v9 sparc32.
Carlos Sánchez de La Lama [Thu, 7 Jun 2012 18:35:59 +0000 (11:35 -0700)]
Fix build on non-v9 sparc32.

nptl/

[BZ #14205]
* sysdeps/sparc/sparc32/pthread_spin_lock.S: Do not use v9
branches.

12 years agoalpha: Fix end-of-count checks in strncmp
Richard Henderson [Wed, 6 Jun 2012 21:51:05 +0000 (14:51 -0700)]
alpha: Fix end-of-count checks in strncmp

This routine suffered a similar problem as stxncpy in needing to
bias a potentially very large unsigned number with wraparound.
This exposed a secondary problem where we didn't properly handle
end-of-count condition for the second string input resulting in
stratcliff failures.

12 years agoalpha: Fix [BZ #13718]
Richard Henderson [Wed, 6 Jun 2012 21:45:45 +0000 (14:45 -0700)]
alpha: Fix [BZ #13718]

The routines expect to be able to bias the count by a small number.
If the count is near -1ull, the count will overflow.  Since we cannot
use the whole 64-bit address space, bound the count to LONG_MAX.

12 years agoalpha: Fix ev4 build with ev6 compiler
Richard Henderson [Wed, 6 Jun 2012 21:39:23 +0000 (14:39 -0700)]
alpha: Fix ev4 build with ev6 compiler

12 years agoalpha: Use cfi_startproc instead of dual procedure descriptors
Richard Henderson [Wed, 6 Jun 2012 21:35:00 +0000 (14:35 -0700)]
alpha: Use cfi_startproc instead of dual procedure descriptors

12 years agoalpha: put mcount prologue at correct location
Richard Henderson [Wed, 6 Jun 2012 21:23:21 +0000 (14:23 -0700)]
alpha: put mcount prologue at correct location

12 years agoUse x86_64 fpu/bits/fenv.h for i386 and x86_64
H.J. Lu [Wed, 6 Jun 2012 17:13:19 +0000 (10:13 -0700)]
Use x86_64 fpu/bits/fenv.h for i386 and x86_64

12 years agoCheck __SSE_MATH__ in x86_64 feraiseexcept
H.J. Lu [Wed, 6 Jun 2012 17:11:14 +0000 (10:11 -0700)]
Check __SSE_MATH__ in x86_64 feraiseexcept

12 years agoFix validation check when converting from ibm930 to utf
Siddhesh Poyarekar [Wed, 6 Jun 2012 13:09:10 +0000 (18:39 +0530)]
Fix validation check when converting from ibm930 to utf

[BZ #14134]

When converting IBM930 code with iconv(), if IBM930 code which
includes invalid multibyte character "0xffff" is specified, then
iconv() segfaults. This is easy to see using the following command:

echo '0x0e 0x43 0x8c 0xff 0xff 0x43 0xbd 0x43 0xbd' | xxd -r |
iconv -f IBM930 -t UTF-8

12 years agoFix for wrong ldbl128-ibm fmodl commit
Adhemerval Zanella [Wed, 6 Jun 2012 00:31:24 +0000 (21:31 -0300)]
Fix for wrong ldbl128-ibm fmodl commit

12 years agoalpha: Use .cfi_signal_frame in rt_sigaction
Richard Henderson [Tue, 5 Jun 2012 15:12:03 +0000 (08:12 -0700)]
alpha: Use .cfi_signal_frame in rt_sigaction

12 years agoalpha: Resurrect getppid, getegid, geteuid.
Richard Henderson [Tue, 5 Jun 2012 15:08:25 +0000 (08:08 -0700)]
alpha: Resurrect getppid, getegid, geteuid.

The sysdeps/unix files deleted in the main tree weren't unused.
Resurrect them in sysdeps/unix/alpha, and using the real syscall names.

12 years agoFix spurious undeflow for ldbl-128ibm erfl
Adhemerval Zanella [Tue, 5 Jun 2012 13:42:49 +0000 (10:42 -0300)]
Fix spurious undeflow for ldbl-128ibm erfl

For values higher than 25.6283 erflc underflow, so adjust erfl
to return a constant value based argument sign.

12 years agoFix ldbl128ibm fmodl for subnormals.
Adhemerval Zanella [Tue, 5 Jun 2012 13:13:41 +0000 (10:13 -0300)]
Fix ldbl128ibm fmodl for subnormals.

12 years agotst-getcpu: decode errno when sched_getcpu fails
Mike Frysinger [Sun, 6 May 2012 22:30:15 +0000 (18:30 -0400)]
tst-getcpu: decode errno when sched_getcpu fails

The tst-getcpu test is failing on ia64 platforms due to sched_getcpu
returning an error.  But the current test only considers -1 when it's
also ENOSYS.  Tweak the logic a bit to make the output clearer.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
12 years agoFix a typo in comment
H.J. Lu [Mon, 4 Jun 2012 20:47:07 +0000 (13:47 -0700)]
Fix a typo in comment

12 years agoUse i486 bits/string.h for i386 and x86_64
H.J. Lu [Mon, 4 Jun 2012 20:45:43 +0000 (13:45 -0700)]
Use i486 bits/string.h for i386 and x86_64