Commit Graph

26931 Commits

Author SHA1 Message Date
Carlos O'Donell 3bfff2edbe 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.
2014-02-06 11:18:51 -05:00
Siddhesh Poyarekar ee7cc38537 Update contrib.texi
Update blurb for Roland, Alex, Ryan, Joseph and Carlos.
2014-02-06 11:01:35 +05:30
David S. Miller 2b5287329a Add missing ChangeLog from yesterday's sparc ULPs update. 2014-02-05 19:41:27 -08:00
David Holsgrove dbe7af29a5 Revert "microblaze BZ #15705: Define MMAP2_PAGE_SHIFT"
This reverts commit 79b846ecc0.

Conflicts:

	NEWS
	ports/ChangeLog.microblaze

Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
2014-02-06 09:57:56 +10:00
Allan McRae f482dbbec7 Revert "BZ 16133 has been fixed (async signal safe TLS)."
This reverts commit a494421f52.

Conflicts:
	NEWS
2014-02-06 08:46:20 +10:00
Allan McRae bf06bcee84 Revert "Patch [1/4] async-signal safe TLS."
This reverts commit 69a17d9d24.
2014-02-06 08:46:20 +10:00
Allan McRae 8b6785f083 Revert "Patch 3/4 of the effort to make TLS access async-signal-safe."
This reverts commit 35e8f7ab94.
2014-02-06 08:46:20 +10:00
Allan McRae dd654bf9ba Revert "Patch 2/4 of the effort to make TLS access async-signal-safe."
This reverts commit 1f33d36a8a.

Conflicts:
	elf/dl-misc.c

Also reverts the follow commits that were bug fixes to new code introduced
in the above commit:
063b2acbce
b627fdd585
e81c64bba1
2014-02-06 08:46:20 +10:00
Allan McRae 73d61e4f6c Revert "Async-signal safe TLS."
This reverts commit 7f507ee17a.

Conflicts:
	ChangeLog
	nptl/tst-tls7.c
	nptl/tst-tls7mod.c
2014-02-06 08:46:20 +10:00
Carlos O'Donell 27e839f6f0 Fix comment in kernel-features.h.
Use "was" not "were."
2014-02-05 10:33:42 -05:00
Carlos O'Donell f877c4f2bf 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.
2014-02-05 10:13:11 -05:00
David Holsgrove cff469ca41 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>
2014-02-05 17:25:43 +10:00
David Holsgrove 79b846ecc0 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>
2014-02-05 17:25:43 +10:00
David Holsgrove e9043c0dfe 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>
2014-02-05 17:22:19 +10:00
Siddhesh Poyarekar 58c744fc40 Update NEWS for #16398 2014-02-05 12:50:22 +05:30
Siddhesh Poyarekar df675f9933 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.
2014-02-05 12:49:00 +05:30
Siddhesh Poyarekar 6815994630 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.
2014-02-05 12:22:58 +05:30
David S. Miller ae2f53e1eb Adjust sparc ULPs.
* sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
	32-bit.
2014-02-04 20:54:58 -08:00
Adhemerval Zanella c01603f763 PowerPC: powerpc64le abilist for 2.17
This patch is the abifiles for powerpc64le based on GLIBC 2.17.
2014-02-04 09:49:34 -02:00
Adhemerval Zanella 0ff8246327 PowerPC: Change powerpc64le start ABI to 2.17. 2014-02-04 09:49:08 -02:00
Adhemerval Zanella 1695c77376 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).
2014-02-04 09:48:47 -02:00
Eric Wong dc98b8f5a9 Update x86_64 ULPs (AMD family 21, model 2)
Tested on an AMD FX-8320 CPU
2014-02-04 10:40:56 +10:00
Eric Wong 6c0ce4b45d Update x86_64 ULPs (AMD Family 10h) 2014-02-04 10:40:44 +10:00
Roland McGrath e4f7e18e51 Remove excessive redundant ChangeLog header lines. 2014-02-03 14:37:53 -08:00
Carlos O'Donell 2efc59633e [hppa] Regenerate libm-test-ulps.
Regenerate libm-test-ulps from scratch.
2014-02-03 16:22:22 -05:00
Carlos O'Donell 481e3524bb 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.
2014-02-03 15:27:53 -05:00
Alexandre Oliva 375592d364 * manual/macros.texi: Add comments before MTASC-safety macros. 2014-02-03 17:26:08 -02:00
Alexandre Oliva f54838baf8 * manual/users.texi: Document MTASC-safety properties. 2014-02-03 17:25:38 -02:00
Alexandre Oliva 909e12ad34 * 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.
2014-02-03 17:17:59 -02:00
Allan McRae fd3daba426 Update Slovenian translations 2014-02-03 10:12:05 +10:00
Alexandre Oliva 597636d736 * manual/time.texi (timegm): Add missing blank after @c.
Reported by Joseph Myers <joseph@codesourcery.com>.
2014-02-02 21:50:54 -02:00
Alexandre Oliva ee196e3ca4 * manual/check-safety.sh: New.
* manual/Makefile ($(objpfx)stamp-summary): Run it.
2014-02-01 04:31:05 -02:00
Alexandre Oliva f8d529d519 * manual/terminal.texi: Document MTASC-safety properties. 2014-02-01 03:53:15 -02:00
Alexandre Oliva de55fdf4b5 * manual/filesys.texi: Document MTASC-safety properties. 2014-02-01 03:50:11 -02:00
Alexandre Oliva c3299c08d1 * manual/errno.texi: Document MTASC-safety properties. 2014-02-01 03:49:25 -02:00
Alexandre Oliva 06e90b14b4 * manual/intro.texi: Document safety identifiers and
conditionals.
2014-02-01 03:48:32 -02:00
Alexandre Oliva 1acd4371c0 * manual/string.texi (wcstok): Fix prototype.
(wcstok, strtok, strtok_r): Adjust reentrancy remarks.
2014-02-01 03:38:33 -02:00
Alexandre Oliva 23e5b8cb1b * manual/time.texi: Document MTASC-safety properties. 2014-02-01 02:51:51 -02:00
Alexandre Oliva 11087373a6 * manual/string.texi: Document MTASC-safety properties. 2014-02-01 02:46:54 -02:00
Alexandre Oliva 5da2c93d24 * manual/threads.texi: Document MTASC-safety properties. 2014-02-01 01:29:35 -02:00
Alexandre Oliva 171e921053 * manual/stdio.texi: Document MTASC-safety properties. 2014-02-01 01:27:52 -02:00
Alexandre Oliva d9e025328b * manual/syslog.texi: Document MTASC-safety properties. 2014-02-01 01:22:09 -02:00
Alexandre Oliva 6af8bab7e0 * manual/sysinfo.texi: Document MTASC-safety properties. 2014-02-01 01:16:09 -02:00
Alexandre Oliva 663b02d7bd * manual/startup.texi: Document MTASC-safety properties. 2014-02-01 01:04:59 -02:00
Alexandre Oliva 973f180bd5 * manual/socket.texi: Document MTASC-safety properties. 2014-02-01 01:03:33 -02:00
Alexandre Oliva 8f3c25c8d9 * manual/signal.texi: Document MTASC-safety properties. 2014-02-01 00:58:50 -02:00
Alexandre Oliva 542210fbc5 * manual/setjmp.texi: Document MTASC-safety properties. 2014-01-31 23:49:07 -02:00
Alexandre Oliva 433c45a247 * manual/search.texi: Document MTASC-safety properties. 2014-01-31 23:47:28 -02:00
Alexandre Oliva c8ce789c81 * manual/resource.texi: Document MTASC-safety properties. 2014-01-31 23:46:01 -02:00
Alexandre Oliva 19f5d29c35 * manual/process.texi: Document MTASC-safety properties. 2014-01-31 23:44:19 -02:00