]> git.ipfire.org Git - thirdparty/glibc.git/log
thirdparty/glibc.git
11 years agoAdd truncl tests related to BZ#16414
Adhemerval Zanella [Fri, 14 Mar 2014 17:15:40 +0000 (12:15 -0500)] 
Add truncl tests related to BZ#16414

Backport of 4655c291d1808c35b7c54236ae62be7a3aaa0a2d

11 years agoPowerPC: Fix bzero definition for static libc for PPC32
Adhemerval Zanella [Wed, 12 Mar 2014 13:55:50 +0000 (08:55 -0500)] 
PowerPC: Fix bzero definition for static libc for PPC32

This patch fixes an issue for powerpc32-fpu static build which fails
with an 'bzero' undefined reference. This patch adds bzero ifunc selector
for static builds and fixes the '__bzero_ppc' reference to default
memset symbol (since static memset build does not provide ifunc
selector).

Fixes BZ#16689.

Backport of dd3946c615184e1957a0cb09352cac72be5d6d5b.

11 years agoPowerPC: Fix strspn for static build
Adhemerval Zanella [Tue, 11 Mar 2014 21:17:50 +0000 (16:17 -0500)] 
PowerPC: Fix strspn for static build

This patch makes the strspn ifunc selector build for static builds.

This is a backport of 27c7220a483bda576533aa9a0a9b42175644b1a1

11 years agoPowerPC: Fix bzero definition for static libc for PPC64
Adhemerval Zanella [Mon, 10 Mar 2014 20:26:20 +0000 (15:26 -0500)] 
PowerPC: Fix bzero definition for static libc for PPC64

This patch fixes an issue for powerpc64[le] static build where __bzero
is definied in multiple places (memset-ppc64.o and bzero.o). It is now
defined only in bzero.o and memset-ppc64.o only defined __bzero_ppc for
both dynamic and static library.

Fixes BZ#16683.

Backport of 4facea473059914983b7da8dd654c06b8e3dcc41

11 years agoPowerPC: strspn optimization for PPC64/POWER7
Vidya Ranganathan [Mon, 10 Mar 2014 16:20:36 +0000 (12:20 -0400)] 
PowerPC: strspn optimization for PPC64/POWER7

The optimization is achieved by following techniques:
  > hashing of needle.
  > hashing avoids scanning of duplicate entries in needle across the string.
  > initializing the hash table with Vector instructions (VSX) by quadword access.
  > unrolling when scanning for character in string across hash table.

11 years agoPowerPC: strncat optimization for PPC64
Adhemerval Zanella [Fri, 7 Mar 2014 12:09:47 +0000 (06:09 -0600)] 
PowerPC: strncat optimization for PPC64

The optimization is achieved by following techniques:
1. Doubleword aligned memory access and compares using
   cmpb instruction.
2. Loop unrolling for byte load/store.
3. CPU pre-fetch to avoid cache miss.

Backport of ba9cc0714e58a9e8fa73cf6b0e205cbf1e6b71f2

11 years agoPowerPC: strrchr optimization for POWER7/PPC64
Rajalakshmi Srinivasaraghavan [Mon, 3 Mar 2014 14:06:41 +0000 (08:06 -0600)] 
PowerPC: strrchr optimization for POWER7/PPC64

This patch optimizes strrchr() for ppc64. It uses aligned memory
access along with cmpb instruction and CPU prefetch to avoid
cache misses for speed improvement.

Backport of c7debbdfacbef150aaf9113eb05ccaf2b9e7af6c

11 years agoPowerPC: llround/llroundf POWER8 optimization
Adhemerval Zanella [Mon, 17 Feb 2014 16:44:08 +0000 (10:44 -0600)] 
PowerPC: llround/llroundf POWER8 optimization

This patch add a optimized llround/llroundf implementation for POWER8
using the new Move From VSR Doubleword instruction to gains some
cycles from FP to GRP register move.

Backport fe13a20c37578f08ce393ccaeb45caeb48815ca5

11 years agoPowerPC: llrint/llrintf POWER8 optimization
Adhemerval Zanella [Tue, 18 Feb 2014 14:29:29 +0000 (09:29 -0500)] 
PowerPC: llrint/llrintf POWER8 optimization

This patch add a optimized llrint/llrintf implementation for POWER8
using the new Move From VSR Doubleword instruction to gains some
cycles from FP to GRP register move.

Backport of 1ad8950a3ea4056ed343d681b5146f4b4aa27e10

11 years agoPowerPC: Optimized finite/finitef for POWER8
Adhemerval Zanella [Thu, 27 Feb 2014 15:46:46 +0000 (09:46 -0600)] 
PowerPC: Optimized finite/finitef for POWER8

This patch add a optimized finite/finitef implementation for POWER8
using the new Move From VSR Doubleword instruction to gains some
cycles from FP to GRP register move.

Backport of cac626d60a863e48ab75417064984769e58c5719.

11 years agoPowerPC: Optimized isinf/isinff for POWER8
Adhemerval Zanella [Thu, 27 Feb 2014 15:45:41 +0000 (09:45 -0600)] 
PowerPC: Optimized isinf/isinff for POWER8

This patch add a optimized isinf/isinff implementation for POWER8
using the new Move From VSR Doubleword instruction to gains some
cycles from FP to GRP register move.

Backport of 4393fc119c34e97519b9b7a4fc94066b283be452

11 years agoPowerPC: Optimized isnan/isnanf for POWER8
Adhemerval Zanella [Thu, 27 Feb 2014 15:43:51 +0000 (09:43 -0600)] 
PowerPC: Optimized isnan/isnanf for POWER8

This patch add a optimized isnan/isnanf implementation for POWER8
using the new Move From VSR Doubleword instruction to gains some
cycles from FP to GRP register move.

Backport of 487972aea52004f604c2878c8c9d3e77670f2c32

11 years agoPartially revert commit 2663b74f8103a2a8a46b4896439b7a452480fc7c
Tulio Magno Quites Machado Filho [Fri, 15 Nov 2013 13:44:20 +0000 (07:44 -0600)] 
Partially revert commit 2663b74f8103a2a8a46b4896439b7a452480fc7c

This change is necessary in order to avoid the issue documented at
http://sourceware.org/ml/libc-alpha/2013-05/msg00350.html.

11 years agoRemove assert() if DT_RUNPATH and DT_RPATH flags are found in ld.so.
Ryan S. Arnold [Fri, 15 Nov 2013 13:42:33 +0000 (07:42 -0600)] 
Remove assert() if DT_RUNPATH and DT_RPATH flags are found in ld.so.

11 years agoUpdate x86_64 libm-test-ulps on AMD family 21h model 1 (bug 16545).
Dylan Alex Simon [Wed, 12 Feb 2014 15:55:10 +0000 (15:55 +0000)] 
Update x86_64 libm-test-ulps on AMD family 21h model 1 (bug 16545).

(cherry picked from commit fbfdf9cb039486f66994637081862c01bbd6a765)

Conflicts:
NEWS

11 years agoUpdate version.h and include/features.h for 2.19 release glibc-2.19
Allan McRae [Fri, 7 Feb 2014 09:04:38 +0000 (19:04 +1000)] 
Update version.h and include/features.h for 2.19 release

11 years agoBug 15968 was fixed by commit 0748546f660d27a2ad29fa6174d456e2f6490758.
Joseph Myers [Fri, 7 Feb 2014 02:47:37 +0000 (02:47 +0000)] 
Bug 15968 was fixed by commit 0748546f660d27a2ad29fa6174d456e2f6490758.

11 years agoBug 6981 was fixed by commit 1484e65736f4cab27e5051e0f06be8470e69af82.
Joseph Myers [Fri, 7 Feb 2014 02:36:28 +0000 (02:36 +0000)] 
Bug 6981 was fixed by commit 1484e65736f4cab27e5051e0f06be8470e69af82.

11 years agoBZ #16529: Fix pedantic warning with netinet/in.h.
Carlos O'Donell [Thu, 6 Feb 2014 16:12:48 +0000 (11:12 -0500)] 
BZ #16529: Fix pedantic warning with netinet/in.h.

When compiling with pedantic the following warning is seen:

gcc -Wall -pedantic -O0 -o test test.c
In file included from test.c:3:0:
/path/inet/netinet/in.h:111:21: warning: comma at end of \
enumerator list [-Wpedantic]
     IPPROTO_MH = 135,      /* IPv6 mobility header.  */
                     ^

It is valid C99 to have a trailing comma after the last item in
an enumeration. However it is not valid C90. If possible glibc
attempts to keep all headers C90 + long long without requiring
C99 features. In this case it's easy to fix the headers and it
removes the warning seem with -pedantic.

11 years agoUpdate contrib.texi
Siddhesh Poyarekar [Thu, 6 Feb 2014 05:31:35 +0000 (11:01 +0530)] 
Update contrib.texi

Update blurb for Roland, Alex, Ryan, Joseph and Carlos.

11 years agoAdd missing ChangeLog from yesterday's sparc ULPs update.
David S. Miller [Thu, 6 Feb 2014 03:41:27 +0000 (19:41 -0800)] 
Add missing ChangeLog from yesterday's sparc ULPs update.

11 years agoRevert "microblaze BZ #15705: Define MMAP2_PAGE_SHIFT"
David Holsgrove [Wed, 5 Feb 2014 23:57:56 +0000 (09:57 +1000)] 
Revert "microblaze BZ #15705: Define MMAP2_PAGE_SHIFT"

This reverts commit 79b846ecc0275ceb02b5e2d3b03a34d7c43e6bf9.

Conflicts:

NEWS
ports/ChangeLog.microblaze

Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
11 years agoRevert "BZ 16133 has been fixed (async signal safe TLS)."
Allan McRae [Wed, 5 Feb 2014 11:22:19 +0000 (21:22 +1000)] 
Revert "BZ 16133 has been fixed (async signal safe TLS)."

This reverts commit a494421f5268df333c589d71104a39bb6a9cff19.

Conflicts:
NEWS

11 years agoRevert "Patch [1/4] async-signal safe TLS."
Allan McRae [Wed, 5 Feb 2014 11:21:09 +0000 (21:21 +1000)] 
Revert "Patch [1/4] async-signal safe TLS."

This reverts commit 69a17d9d245dc3551792e95e1823cc2d877592f3.

11 years agoRevert "Patch 3/4 of the effort to make TLS access async-signal-safe."
Allan McRae [Wed, 5 Feb 2014 11:21:00 +0000 (21:21 +1000)] 
Revert "Patch 3/4 of the effort to make TLS access async-signal-safe."

This reverts commit 35e8f7ab94c910659de9d507aa0f3e1f8973d914.

11 years agoRevert "Patch 2/4 of the effort to make TLS access async-signal-safe."
Allan McRae [Wed, 5 Feb 2014 11:19:51 +0000 (21:19 +1000)] 
Revert "Patch 2/4 of the effort to make TLS access async-signal-safe."

This reverts commit 1f33d36a8a9e78c81bed59b47f260723f56bb7e6.

Conflicts:
elf/dl-misc.c

Also reverts the follow commits that were bug fixes to new code introduced
in the above commit:
063b2acbce83549df82ab30f5af573f1b9c4bd19
b627fdd58554bc36bd344dc40a8787c4b7a9cc46
e81c64bba13d2d8b2a4e53254a82cc80f27c8497

11 years agoRevert "Async-signal safe TLS."
Allan McRae [Wed, 5 Feb 2014 11:14:59 +0000 (21:14 +1000)] 
Revert "Async-signal safe TLS."

This reverts commit 7f507ee17aee720fa423fa38502bc3caa0dd03d7.

Conflicts:
ChangeLog
nptl/tst-tls7.c
nptl/tst-tls7mod.c

11 years agoFix comment in kernel-features.h.
Carlos O'Donell [Wed, 5 Feb 2014 15:33:42 +0000 (10:33 -0500)] 
Fix comment in kernel-features.h.

Use "was" not "were."

11 years agoFix tst-setgetname for Linux kernels < 2.6.33.
Carlos O'Donell [Wed, 5 Feb 2014 15:10:34 +0000 (10:10 -0500)] 
Fix tst-setgetname for Linux kernels < 2.6.33.

Support for /proc/self/task/$tid/comm as added in Linux 2.6.33,
therefore since the test tst-setgetname relies on this functionality
to operate we must skip the test in kernels < 2.6.33. We wrap the
checks with __ASSUME_PROC_PID_TASK_COMM such that in the future when
we move arch_minimum_kernel to 2.6.33 we can remove this code.

11 years agomicroblaze: Update libm-test-ulps
David Holsgrove [Mon, 3 Feb 2014 23:30:34 +0000 (09:30 +1000)] 
microblaze: Update libm-test-ulps

Update libm-test-ulps for microblaze, and remove unneeded copy
libm-test-ulps_new.

ports/ChangeLog.microblaze

 2014-02-04  David Holsgrove <david.holsgrove@xilinx.com>

   * sysdeps/microblaze/libm-test-ulps: Update.
   * sysdeps/microblaze/libm-test-ulps_new: Deleted redundant file.

Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
11 years agomicroblaze BZ #15705: Define MMAP2_PAGE_SHIFT
David Holsgrove [Mon, 3 Feb 2014 23:26:15 +0000 (09:26 +1000)] 
microblaze BZ #15705: Define MMAP2_PAGE_SHIFT

Define MMAP2_PAGE_SHIFT to -1 for microblaze so the correct shift
for the syscall is determined dynamically using getpagesize

ports/ChangeLog.microblaze

 2014-02-04  David Holsgrove <david.holsgrove@xilinx.com>

   * sysdeps/unix/sysv/linux/microblaze/mmap64.c: New file.

Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
11 years agomicroblaze: Use <fenv.h> fallback functions
David Holsgrove [Mon, 3 Feb 2014 23:22:42 +0000 (09:22 +1000)] 
microblaze: Use <fenv.h> fallback functions

Delete redundant fegetround.c and fesetround.c for microblaze
and use the fallback functions instead.

ports/ChangeLog.microblaze

 2014-02-04  David Holsgrove <david.holsgrove@xilinx.com>

    * sysdeps/microblaze/fegetround.c: Delete redundant file.
    * sysdeps/microblaze/fesetround.c: Likewise.

Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
11 years agoUpdate NEWS for #16398
Siddhesh Poyarekar [Wed, 5 Feb 2014 07:20:22 +0000 (12:50 +0530)] 
Update NEWS for #16398

11 years agoFix infinite loop in ftell when writing wide char data (BZ #16398)
Siddhesh Poyarekar [Wed, 5 Feb 2014 07:19:00 +0000 (12:49 +0530)] 
Fix infinite loop in ftell when writing wide char data (BZ #16398)

ftell tries to avoid flushing the buffer when it is in write mode by
converting the wide char data and placing it into the binary buffer.
If the output buffer space is full and there is data to write, the
code reverts to flushing the buffer.  This breaks when there is space
in the buffer but it is not enough to convert the next character in
the wide data buffer, due to which __codecvt_do_out returns a
__codecvt_partial status.  In this case, ftell keeps running in an
infinite loop.

The fix here is to detect the __codecvt_partial status in addition to
checking if the buffer is full.  I have also added a test case that
demonstrates the infinite loop.

11 years agoUpdate contrib.texi
Siddhesh Poyarekar [Wed, 5 Feb 2014 06:52:58 +0000 (12:22 +0530)] 
Update contrib.texi

This may not be a complete list of new contributors added to the list,
so I'd love it if more people look at contributions and suggest
additions.

11 years agoAdjust sparc ULPs.
David S. Miller [Wed, 5 Feb 2014 04:54:58 +0000 (20:54 -0800)] 
Adjust sparc ULPs.

* sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
32-bit.

11 years agoPowerPC: powerpc64le abilist for 2.17
Adhemerval Zanella [Tue, 4 Feb 2014 11:49:34 +0000 (09:49 -0200)] 
PowerPC: powerpc64le abilist for 2.17

This patch is the abifiles for powerpc64le based on GLIBC 2.17.

11 years agoPowerPC: Change powerpc64le start ABI to 2.17.
Adhemerval Zanella [Tue, 4 Feb 2014 11:49:08 +0000 (09:49 -0200)] 
PowerPC: Change powerpc64le start ABI to 2.17.

11 years agoabilist-pattern configurability
Adhemerval Zanella [Tue, 4 Feb 2014 11:48:47 +0000 (09:48 -0200)] 
abilist-pattern configurability

This patch creates implicit rules to match the abifiles if
abilist-pattern is defined in the architecture Makefile. This allows
machine specific Makefiles to define different abifiles names
(for instance *-le.abilist for powerpc64le).

11 years agoUpdate x86_64 ULPs (AMD family 21, model 2)
Eric Wong [Tue, 4 Feb 2014 00:33:57 +0000 (10:33 +1000)] 
Update x86_64 ULPs (AMD family 21, model 2)

Tested on an AMD FX-8320 CPU

11 years agoUpdate x86_64 ULPs (AMD Family 10h)
Eric Wong [Mon, 3 Feb 2014 23:41:18 +0000 (09:41 +1000)] 
Update x86_64 ULPs (AMD Family 10h)

11 years agoRemove excessive redundant ChangeLog header lines.
Roland McGrath [Mon, 3 Feb 2014 22:37:53 +0000 (14:37 -0800)] 
Remove excessive redundant ChangeLog header lines.

11 years ago[hppa] Regenerate libm-test-ulps.
Carlos O'Donell [Mon, 3 Feb 2014 21:21:13 +0000 (16:21 -0500)] 
[hppa] Regenerate libm-test-ulps.

Regenerate libm-test-ulps from scratch.

11 years agoFix manual build warnings.
Carlos O'Donell [Mon, 3 Feb 2014 17:43:25 +0000 (12:43 -0500)] 
Fix manual build warnings.

The mixed use of automatic and manual node next, previous,
and top specification causes warning when building the manual.
This fix explicitly specifies the node's next, previous and top
values to fix the warning.

11 years ago* manual/macros.texi: Add comments before MTASC-safety macros.
Alexandre Oliva [Mon, 3 Feb 2014 19:26:08 +0000 (17:26 -0200)] 
* manual/macros.texi: Add comments before MTASC-safety macros.

11 years ago* manual/users.texi: Document MTASC-safety properties.
Alexandre Oliva [Mon, 3 Feb 2014 19:25:38 +0000 (17:25 -0200)] 
* manual/users.texi: Document MTASC-safety properties.

11 years ago* manual/threads.texi (pthread_key_create, pthread_key_delete,
Alexandre Oliva [Mon, 3 Feb 2014 19:17:59 +0000 (17:17 -0200)] 
* manual/threads.texi (pthread_key_create, pthread_key_delete,
pthread_getspecific, pthread_setspecific): Format with
@deftypefun, and add @safety note.
* manual/signal.texi: Move comments that analyze the above
functions to their home place.

11 years agoUpdate Slovenian translations
Allan McRae [Mon, 3 Feb 2014 00:12:05 +0000 (10:12 +1000)] 
Update Slovenian translations

11 years ago* manual/time.texi (timegm): Add missing blank after @c.
Alexandre Oliva [Sun, 2 Feb 2014 23:50:54 +0000 (21:50 -0200)] 
* manual/time.texi (timegm): Add missing blank after @c.
Reported by Joseph Myers <joseph@codesourcery.com>.

11 years ago* manual/check-safety.sh: New.
Alexandre Oliva [Sat, 1 Feb 2014 06:31:05 +0000 (04:31 -0200)] 
* manual/check-safety.sh: New.
* manual/Makefile ($(objpfx)stamp-summary): Run it.

11 years ago* manual/terminal.texi: Document MTASC-safety properties.
Alexandre Oliva [Sat, 1 Feb 2014 05:53:15 +0000 (03:53 -0200)] 
* manual/terminal.texi: Document MTASC-safety properties.

11 years ago* manual/filesys.texi: Document MTASC-safety properties.
Alexandre Oliva [Sat, 1 Feb 2014 05:50:11 +0000 (03:50 -0200)] 
* manual/filesys.texi: Document MTASC-safety properties.

11 years ago* manual/errno.texi: Document MTASC-safety properties.
Alexandre Oliva [Sat, 1 Feb 2014 05:49:25 +0000 (03:49 -0200)] 
* manual/errno.texi: Document MTASC-safety properties.

11 years ago* manual/intro.texi: Document safety identifiers and
Alexandre Oliva [Sat, 1 Feb 2014 05:48:32 +0000 (03:48 -0200)] 
* manual/intro.texi: Document safety identifiers and
conditionals.

11 years ago* manual/string.texi (wcstok): Fix prototype.
Alexandre Oliva [Sat, 1 Feb 2014 05:38:33 +0000 (03:38 -0200)] 
* manual/string.texi (wcstok): Fix prototype.
(wcstok, strtok, strtok_r): Adjust reentrancy remarks.

11 years ago* manual/time.texi: Document MTASC-safety properties.
Alexandre Oliva [Sat, 1 Feb 2014 04:51:51 +0000 (02:51 -0200)] 
* manual/time.texi: Document MTASC-safety properties.

11 years ago* manual/string.texi: Document MTASC-safety properties.
Alexandre Oliva [Sat, 1 Feb 2014 04:46:54 +0000 (02:46 -0200)] 
* manual/string.texi: Document MTASC-safety properties.

11 years ago* manual/threads.texi: Document MTASC-safety properties.
Alexandre Oliva [Sat, 1 Feb 2014 03:29:35 +0000 (01:29 -0200)] 
* manual/threads.texi: Document MTASC-safety properties.

11 years ago* manual/stdio.texi: Document MTASC-safety properties.
Alexandre Oliva [Sat, 1 Feb 2014 03:27:52 +0000 (01:27 -0200)] 
* manual/stdio.texi: Document MTASC-safety properties.

11 years ago* manual/syslog.texi: Document MTASC-safety properties.
Alexandre Oliva [Sat, 1 Feb 2014 03:22:09 +0000 (01:22 -0200)] 
* manual/syslog.texi: Document MTASC-safety properties.

11 years ago* manual/sysinfo.texi: Document MTASC-safety properties.
Alexandre Oliva [Sat, 1 Feb 2014 03:16:09 +0000 (01:16 -0200)] 
* manual/sysinfo.texi: Document MTASC-safety properties.

11 years ago* manual/startup.texi: Document MTASC-safety properties.
Alexandre Oliva [Sat, 1 Feb 2014 03:04:59 +0000 (01:04 -0200)] 
* manual/startup.texi: Document MTASC-safety properties.

11 years ago* manual/socket.texi: Document MTASC-safety properties.
Alexandre Oliva [Sat, 1 Feb 2014 03:03:33 +0000 (01:03 -0200)] 
* manual/socket.texi: Document MTASC-safety properties.

11 years ago* manual/signal.texi: Document MTASC-safety properties.
Alexandre Oliva [Sat, 1 Feb 2014 02:58:50 +0000 (00:58 -0200)] 
* manual/signal.texi: Document MTASC-safety properties.

11 years ago* manual/setjmp.texi: Document MTASC-safety properties.
Alexandre Oliva [Sat, 1 Feb 2014 01:49:07 +0000 (23:49 -0200)] 
* manual/setjmp.texi: Document MTASC-safety properties.

11 years ago* manual/search.texi: Document MTASC-safety properties.
Alexandre Oliva [Sat, 1 Feb 2014 01:47:28 +0000 (23:47 -0200)] 
* manual/search.texi: Document MTASC-safety properties.

11 years ago* manual/resource.texi: Document MTASC-safety properties.
Alexandre Oliva [Sat, 1 Feb 2014 01:46:01 +0000 (23:46 -0200)] 
* manual/resource.texi: Document MTASC-safety properties.

11 years ago* manual/process.texi: Document MTASC-safety properties.
Alexandre Oliva [Sat, 1 Feb 2014 01:44:19 +0000 (23:44 -0200)] 
* manual/process.texi: Document MTASC-safety properties.

11 years ago* manual/platform.texi: Document MTASC-safety properties.
Alexandre Oliva [Sat, 1 Feb 2014 01:40:29 +0000 (23:40 -0200)] 
* manual/platform.texi: Document MTASC-safety properties.

11 years ago* manual/pipe.texi: Document MTASC-safety properties.
Alexandre Oliva [Sat, 1 Feb 2014 01:37:28 +0000 (23:37 -0200)] 
* manual/pipe.texi: Document MTASC-safety properties.

11 years ago* manual/pattern.texi: Document MTASC-safety properties.
Alexandre Oliva [Sat, 1 Feb 2014 01:36:46 +0000 (23:36 -0200)] 
* manual/pattern.texi: Document MTASC-safety properties.

11 years ago* manual/message.texi: Document MTASC-safety properties.
Alexandre Oliva [Sat, 1 Feb 2014 01:31:22 +0000 (23:31 -0200)] 
* manual/message.texi: Document MTASC-safety properties.

11 years ago[BZ #12751]
Alexandre Oliva [Sat, 1 Feb 2014 01:28:38 +0000 (23:28 -0200)] 
[BZ #12751]
* manual/memory.texi: Document MTASC-safety properties.

11 years ago* manual/math.texi: Document MTASC-safety properties.
Alexandre Oliva [Sat, 1 Feb 2014 01:27:25 +0000 (23:27 -0200)] 
* manual/math.texi: Document MTASC-safety properties.

11 years ago* manual/locale.texi: Document MTASC-safety properties.
Alexandre Oliva [Sat, 1 Feb 2014 01:26:23 +0000 (23:26 -0200)] 
* manual/locale.texi: Document MTASC-safety properties.

11 years ago* manual/llio.texi: Document MTASC-safety properties.
Alexandre Oliva [Sat, 1 Feb 2014 01:25:06 +0000 (23:25 -0200)] 
* manual/llio.texi: Document MTASC-safety properties.

11 years ago* manual/libdl.texi: New.
Alexandre Oliva [Sat, 1 Feb 2014 01:23:59 +0000 (23:23 -0200)] 
* manual/libdl.texi: New.

11 years ago* manual/lang.texi: Document MTASC-safety properties.
Alexandre Oliva [Sat, 1 Feb 2014 01:21:48 +0000 (23:21 -0200)] 
* manual/lang.texi: Document MTASC-safety properties.

11 years ago* manual/job.texi: Document MTASC-safety properties.
Alexandre Oliva [Sat, 1 Feb 2014 01:20:02 +0000 (23:20 -0200)] 
* manual/job.texi: Document MTASC-safety properties.

11 years ago* manual/getopt.texi: Document MTASC-safety properties.
Alexandre Oliva [Sat, 1 Feb 2014 01:16:56 +0000 (23:16 -0200)] 
* manual/getopt.texi: Document MTASC-safety properties.

11 years ago* manual/ctype.texi: Document MTASC-safety properties.
Alexandre Oliva [Sat, 1 Feb 2014 01:14:14 +0000 (23:14 -0200)] 
* manual/ctype.texi: Document MTASC-safety properties.

11 years ago[BZ #16046] Static dlopen correction fallout fixes.
Maciej W. Rozycki [Fri, 31 Jan 2014 17:51:31 +0000 (17:51 +0000)] 
[BZ #16046] Static dlopen correction fallout fixes.

Fixes to address issues from BZ #15022 resolution, as follows:

* TLS updates to csu/libc-tls.c -- we now have a proper main map, so
  there's no longer a need to create a separate fake one to keep TLS
  structures,

* random updates to elf/dl-close.c -- LM_ID_BASE is now a valid name
  space ID for static executables as well, so assert that we don't
  unload the main map.  Similarly dl_nns isn't supposed to be 0 for
  static executables anymore,

* actual BZ #16046 fix to elf/dl-iteratephdr.c -- the dl_iterate_phdr
  special function for static executables isn't needed anymore, provided
  that l_phdr and l_phnum members of the main map have been properly
  initialized (done in _dl_non_dynamic_init in elf/dl-support.c now),

* ld.so.cache loader update to elf/dl-load.c --
  GL(dl_ns)[LM_ID_BASE]._ns_loaded is now always initialized in static
  executables so can become the fallback loader map to check for
  DF_1_NODEFLIB, provided that the l_flags_1 member of the main map has
  been properly initialized (done in elf/dl-support.c now); this also
  ensures previous semantics elsewhere in elf/dl-load.c,

* matching updates to elf/dl-support.c -- to complement the two fixes
  above.

11 years ago* manual/debug.texi: Document MTASC-safety properties.
Alexandre Oliva [Thu, 30 Jan 2014 20:50:57 +0000 (18:50 -0200)] 
* manual/debug.texi: Document MTASC-safety properties.

11 years agoDisable x87 inline functions for SSE2 math
H.J. Lu [Wed, 29 Jan 2014 15:51:41 +0000 (07:51 -0800)] 
Disable x87 inline functions for SSE2 math

When i386 and x86-64 mathinline.h was merged into a single mathinline.h,
"gcc -m32" enables x87 inline functions on x86-64 even when -mfpmath=sse
and SSE2 is enabled.  It is a regression on x86-64.  We should check
__SSE2_MATH__ instead of __x86_64__ when disabling x87 inline functions.

11 years ago* manual/charset.texi: Document MTASC-safety properties.
Alexandre Oliva [Wed, 29 Jan 2014 17:29:59 +0000 (15:29 -0200)] 
* manual/charset.texi: Document MTASC-safety properties.

11 years ago[AArch64] Regenerate libm-test-ulps.
Marcus Shawcroft [Tue, 21 Jan 2014 14:39:10 +0000 (14:39 +0000)] 
[AArch64] Regenerate libm-test-ulps.

Re-generate libm-test-ulps from scratch.

11 years agoFix spaces before tabs
Siddhesh Poyarekar [Wed, 29 Jan 2014 07:55:17 +0000 (13:25 +0530)] 
Fix spaces before tabs

11 years ago* manual/crypt.texi: Document MTASC-safety properties.
Alexandre Oliva [Wed, 29 Jan 2014 07:27:54 +0000 (05:27 -0200)] 
* manual/crypt.texi: Document MTASC-safety properties.

11 years ago* manual/conf.texi: Document MTASC-safety properties.
Alexandre Oliva [Wed, 29 Jan 2014 07:26:47 +0000 (05:26 -0200)] 
* manual/conf.texi: Document MTASC-safety properties.

11 years ago* manual/arith.texi: Document MTASC-safety properties.
Alexandre Oliva [Wed, 29 Jan 2014 07:25:36 +0000 (05:25 -0200)] 
* manual/arith.texi: Document MTASC-safety properties.

11 years ago* manual/argp.texi: Document MTASC-safety properties.
Alexandre Oliva [Wed, 29 Jan 2014 07:24:32 +0000 (05:24 -0200)] 
* manual/argp.texi: Document MTASC-safety properties.

11 years ago* manual/macros.texi: Introduce macros to document multi
Alexandre Oliva [Wed, 29 Jan 2014 07:20:37 +0000 (05:20 -0200)] 
* manual/macros.texi: Introduce macros to document multi
thread, asynchronous signal and asynchronous cancellation
safety properties.
* manual/intro.texi: Introduce the properties themselves.

11 years agoAdd -mieee to SH sysdep-CFLAGS for older SH compilers.
Kaz Kojima [Tue, 28 Jan 2014 00:03:14 +0000 (09:03 +0900)] 
Add -mieee to SH sysdep-CFLAGS for older SH compilers.

11 years agom68k: regenerate libm test ULPs
Andreas Schwab [Mon, 27 Jan 2014 17:38:19 +0000 (18:38 +0100)] 
m68k: regenerate libm test ULPs

11 years agoLet gen-libm-test.pl find itself when run outside source directory
Andreas Schwab [Mon, 27 Jan 2014 17:19:48 +0000 (18:19 +0100)] 
Let gen-libm-test.pl find itself when run outside source directory

11 years agoAdd bug entry for previous commit in NEWS
Siddhesh Poyarekar [Mon, 27 Jan 2014 11:38:54 +0000 (17:08 +0530)] 
Add bug entry for previous commit in NEWS

11 years agoFix invalid memory access when parsing netgroup files with blank lines (BZ #16506)
Siddhesh Poyarekar [Mon, 27 Jan 2014 11:19:33 +0000 (16:49 +0530)] 
Fix invalid memory access when parsing netgroup files with blank lines (BZ #16506)

The netgroups file parsing code tries to access the character before
the newline in parsed lines to see if it is a backslash (\).  This
results in an access before the block allocated for the line if the
line is blank, i.e. does not have anything other than the newline
character.  This doesn't seem like it will cause any crashes because
the byte belongs to the malloc metadata block and hence access to it
will always succeed.

There could be an invalid alteration in code flow where a blank line
is seen as a continuation due to the preceding byte *happening* to be
'\\'.  This could be done by interposing malloc, but that's not really
a security problem since one could interpose getnetgrent_r itself and
achieve a similar 'exploit'.

The possibility of actually exploiting this is remote to impossible
since it also requires the previous line to end with a '\\', which
would happen only on invalid configurations.

11 years agoAvoid undefined behaviour in netgroupcache
Siddhesh Poyarekar [Mon, 27 Jan 2014 06:02:44 +0000 (11:32 +0530)] 
Avoid undefined behaviour in netgroupcache

Using a buffer after it has been reallocated is undefined behaviour,
so get offsets of the triplets in the old buffer before reallocating
it.

11 years agoUpdate French translations
Allan McRae [Mon, 27 Jan 2014 01:28:02 +0000 (11:28 +1000)] 
Update French translations

11 years agoRegenerate SH libm-test-ulps with proper compiler options.
Kaz Kojima [Sun, 26 Jan 2014 23:50:47 +0000 (08:50 +0900)] 
Regenerate SH libm-test-ulps with proper compiler options.