Commit Graph

26916 Commits

Author SHA1 Message Date
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
Alexandre Oliva
e2dfb7f4ca * manual/platform.texi: Document MTASC-safety properties. 2014-01-31 23:40:29 -02:00
Alexandre Oliva
8c1413f5ac * manual/pipe.texi: Document MTASC-safety properties. 2014-01-31 23:37:28 -02:00
Alexandre Oliva
03483adac5 * manual/pattern.texi: Document MTASC-safety properties. 2014-01-31 23:36:46 -02:00
Alexandre Oliva
29e7e2dfea * manual/message.texi: Document MTASC-safety properties. 2014-01-31 23:31:22 -02:00
Alexandre Oliva
9f529d7cfa [BZ #12751]
* manual/memory.texi: Document MTASC-safety properties.
2014-01-31 23:28:38 -02:00
Alexandre Oliva
27aaa79114 * manual/math.texi: Document MTASC-safety properties. 2014-01-31 23:27:25 -02:00
Alexandre Oliva
f2d5872628 * manual/locale.texi: Document MTASC-safety properties. 2014-01-31 23:26:23 -02:00
Alexandre Oliva
2cc3615ce8 * manual/llio.texi: Document MTASC-safety properties. 2014-01-31 23:25:06 -02:00
Alexandre Oliva
d9f0ec97d6 * manual/libdl.texi: New. 2014-01-31 23:23:59 -02:00
Alexandre Oliva
e7c4409a64 * manual/lang.texi: Document MTASC-safety properties. 2014-01-31 23:21:48 -02:00
Alexandre Oliva
27bdc63ce3 * manual/job.texi: Document MTASC-safety properties. 2014-01-31 23:20:02 -02:00
Alexandre Oliva
a7b90ea9d1 * manual/getopt.texi: Document MTASC-safety properties. 2014-01-31 23:16:56 -02:00
Alexandre Oliva
c49130e3d7 * manual/ctype.texi: Document MTASC-safety properties. 2014-01-31 23:14:14 -02:00
Maciej W. Rozycki
0d23a5c1b1 [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.
2014-01-31 17:51:31 +00:00
Alexandre Oliva
0037bb6010 * manual/debug.texi: Document MTASC-safety properties. 2014-01-30 18:50:57 -02:00