Commit Graph

4389 Commits

Author SHA1 Message Date
Richard Henderson d97a405f5e Merge branch 'master' of ssh://sourceware.org/git/glibc-ports 2012-05-18 11:48:15 -07:00
Richard Henderson c6c5422a5d alpha: Add localplt data file 2012-05-18 11:47:36 -07:00
Richard Henderson 1d3b830192 alpha: Add __SYSCALL_SLONG_TYPE, __SYSCALL_ULONG_TYPE, __FSWORD_T_TYPE 2012-05-18 11:35:03 -07:00
Chris Metcalf 30aa747c68 tile: add proper versioning for fegetenv() 2012-05-17 15:18:45 -04:00
Chris Metcalf 3f83552f2c tile: support tilegx32 in stackguard-macros.h 2012-05-17 18:51:36 +00:00
Chris Metcalf 69d8348e5e tile: fork tilepro and tilegx copies of c++-types-tile-linux-gnu.data 2012-05-17 14:14:07 -04:00
Chris Metcalf 61a52130e8 tile: update libm-test-ulps for improved fma() and exp10() 2012-05-17 11:31:07 -04:00
Chris Metcalf ac9182e753 tile: use ieee754/dbl-64 version of fma() and fmaf()
It turns out that even if you stub out the rounding and exception
support and use the ieee754 version, it's still much better than
the generic version that just uses normal multiply and add.
The resulting functions have only 1 ULP of error according to the tests.
2012-05-17 11:27:36 -04:00
Chris Metcalf 342a78ccd5 Changelog.tile: fix up some formatting issues
Change leading spaces to tab, and merge runs of ChangeLog messages
that were from cmetcalf@tilera.com on the same date.
2012-05-17 09:54:18 -04:00
Chris Metcalf 0adc5f3892 tilegx32: fix various bugs in setcontext/getcontext/swapcontext 2012-05-17 09:03:24 -04:00
Chris Metcalf 26624de5a2 tile: provide a tile-specific sotruss-lib.c override 2012-05-17 09:03:24 -04:00
Chris Metcalf fa12ed1f61 tile: avoid compiler warning in feraiseexcept() math_private override 2012-05-17 09:03:23 -04:00
Chris Metcalf d22d562a48 tile: add libm-test-ulps 2012-05-17 09:03:23 -04:00
Chris Metcalf 15caa1c0c9 tile: provide __FE_UNDEFINED in <bits/fenv.h> 2012-05-17 09:03:22 -04:00
Joseph Myers 7fbf19e1fd Add powerpc-nofpu ABI baselines. 2012-05-16 21:19:06 +00:00
Chris Metcalf 981416291c linux-generic: add header guard for <not-cancel.h>
In general we just try to include <not-cancel.h> once, thus avoiding
any issues with multiple inclusion.

However, the getaddrinfo sources are somewhat tangled, and .c files
include each other to get the final result.  Each .c file currently has
its own include of <not-cancel.h>.  While you could properly re-factor
this for the case of gai.c, the posix/tst-rfc3484.c tests directly include
one of the sub-files (sysdeps/posix/getaddrinfo.c), and it starts to
feel fragile.
2012-05-16 09:34:38 -04:00
Chris Metcalf 32e8667947 tile: add proper const qualifier for pltexit function pointer field 2012-05-16 09:32:04 -04:00
Chris Metcalf a110b27ee2 linux-generic: fix typesizes.h to match recent core changes
Remove __SNSECONDS_T_TYPE; add __SYSCALL_{S,U}LONG_TYPE.
2012-05-16 09:28:31 -04:00
Chris Metcalf f136e4df5d tile: delete now unused file
The latest main tree has split out stackguard-macros.h so we no
longer have to override it with a stub.
2012-05-16 09:24:31 -04:00
Joseph Myers dbeb70630b Declare MIPS stat nanoseconds fields similarly to other architectures. 2012-05-16 10:53:31 +00:00
Joseph Myers 8ae9fa0ec7 Assume accept4 on ARM for kernels 2.6.36 and later. 2012-05-16 10:38:40 +00:00
Mike Frysinger 37f1c9e6b3 ia64: delete now unused file
The latest main tree has split out stackguard-macros.h so we no
longer have to override it with a stub.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-05-15 23:55:46 -04:00
Mike Frysinger c757085ec8 ia64: use __aligned__ inside of attributes
Installed headers should always use the forms of attributes with __
prefixes and suffixes, so __attribute__ ((__aligned__ (8))) instead of
the plain "aligned" form, to avoid taking identifiers from the user's
namespace.

URL: http://sourceware.org/bugzilla/show_bug.cgi?id=14109
Reported-by: Joseph Myers <joseph@codesourcery.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-05-14 21:25:17 -04:00
Chris Metcalf 3486bf3633 Merge branch 'master' of git://sourceware.org/git/glibc-ports 2012-05-14 16:13:02 -04:00
Chris Metcalf d45ba2bc26 linux-generic: use "__aligned__", not "aligned", in public headers 2012-05-14 16:01:44 -04:00
Chris Metcalf b55e1c1e81 tile: add abilist files 2012-05-14 15:46:14 -04:00
Chris Metcalf bcfe09d241 tile: align stack for tilegx32
Previously we weren't re-aligning the stack pointer during the
call to _dl_init(), so for tilegx32 and an odd value in _dl_skip_args
and kernel unaligned access fixups disabled, we would die with SIGBUS.
We now handle this case properly by aligning before calling _dl_init().
2012-05-14 15:46:13 -04:00
Chris Metcalf 8927be2b21 tile: add include <features.h> to <sys/dataplane.h>
We were using __BEGIN_DECLS without <features.h> and it just happened
to mostly work, but of course we should include it here.
2012-05-14 15:46:13 -04:00
Chris Metcalf 024bb7b4a2 tile: fix bug in CFI definitions for clone.S
We were missing a critical cfi_def_cfa_offset call in .Lthread_start
which caused backtracing to get badly confused for threads.
2012-05-14 15:46:13 -04:00
Chris Metcalf 8daa704ea4 tile: fix broken TLS_GD macros
These still corresponded to an older version of the TLS code in
the compiler.  Now they match the code in gcc 4.7.
2012-05-14 15:46:12 -04:00
Chris Metcalf 64d76ca064 tilegx: small performance fix for string routines
We were multiplying a byte by 0x0101010101010101ULL to create a
constant for SIMD ops, but the compiler isn't good at optimizing
this case (the fact that one operand is a byte is lost by the time
it would be possible to do the optimization).  So instead we add
a helper routine that explicitly uses SIMD ops to create the constant.
2012-05-14 15:46:12 -04:00
Chris Metcalf 575298fcd2 tile: allow memcpy(p, p, n) without corrupting memory at "p"
Although this is not required by the definition of memcpy(),
in practice this sort of thing does happen, and it's easy to make
the code robust by doing nothing in this case.  (Since structure
copy causes the compiler to emit a memcpy, in the case where the
target structure is the same as the destination, we were seeing
corruption.)
2012-05-14 15:46:12 -04:00
Chris Metcalf cbf92fc466 tile: avoid using _LP64
The convention is to use __WORDSIZE everywhere.  I happened to
notice that we weren't doing this in __tls_get_addr.S.
2012-05-14 15:46:11 -04:00
Chris Metcalf 9b7108251c tile: support stackguard-macros.h header 2012-05-14 15:46:11 -04:00
Chris Metcalf 3c19868059 linux-generic: add wordsize-32 version of prlimit64/fanotify syscalls 2012-05-14 15:46:11 -04:00
Chris Metcalf 2a99f85fe3 tile: remove stale #define of ELF_MACHINE_PLTREL_OVERLAP 2012-05-14 15:46:11 -04:00
Chris Metcalf 87df4a4b09 tile: update pthread_attr_t and struct siginfo names
This adds a tag to the pthread_attr_t underlying type so we can
forward-declare it, and removes the siginfo_t type, to match
changes in the main tree.
2012-05-14 15:46:08 -04:00
Chris Metcalf 538c451b2b tile: Remove elf/ and create crti.S/crtn.S
This patches fixes up the tile startup files, moving elf/start.S up a
directory level and implementing the required crti.S and crtn.S files
based on the old initfini.c compiler output (hand-optimized to bum a
couple of cycles).
2012-05-14 15:34:04 -04:00
Andreas Schwab 5b86315c81 m68k: remove duplicate __ASSUME_VFORK_SYSCALL 2012-05-14 17:31:45 +02:00
Andreas Schwab 3f753e3ad5 m68k: use default minimum kernel version for m680x0 2012-05-14 17:31:44 +02:00
Joseph Myers a7375c94a8 Remove pre-2.2 kernel support for MIPS. 2012-05-14 14:17:16 +00:00
Joseph Myers c5754569dd Remove pre-2.2 Linux kernel support for ARM. 2012-05-14 14:16:40 +00:00
Mike Frysinger b9564c38ea ia64: delete __ELF__ check in libm-symbols.h
We assume ELF everywhere now, so drop support for non-ELF.

Reported-by: Joseph S. Myers <joseph@codesourcery.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-05-14 01:04:32 -04:00
Chris Metcalf ec0001e175 Add _SNSECONDS_T_TYPE for linux-generic 2012-05-11 19:55:20 -04:00
Joseph Myers 332d091eba Update sysdeps/mips/dl-lookup.c from generic version. 2012-05-11 20:47:51 +00:00
Andreas Schwab 8173ecfb05 m68k: update libm test ULPs 2012-05-10 17:41:32 +02:00
Andreas Schwab 6c1fa9ca3d Update Changelog.m68k 2012-05-10 17:41:01 +02:00
Carlos O'Donell d3b36017d4 ARM: Use /lib/ld-linux-armhf.so.3 for the hard-float ABI.
The hard-float ABI will now use /lib/ld-linux-armhf.so.3.
We detect the use of the hard-float ABI and select the
appropriate dynamic linker name. You must have a new or
patched compiler which also uses the new dynamic loader
name when the hard-float ABI is selected.
2012-05-08 13:48:24 -04:00
Joseph Myers 567ce24cd1 Rearrange MIPS libm-test-ulps files. 2012-05-08 14:45:14 +00:00
Mike Frysinger f5cf58f794 ia64: include errno.h in sysdep.h
This header uses __set_errno(), so make sure we include errno.h for it.
Otherwise, if INLINE_SYSCALL() is used and errno.h isn't included, we
hit warnings like so:
In file included from libc-start.c:36:0:
../sysdeps/unix/sysv/linux/dl-osinfo.h: In function '_dl_setup_stack_chk_guard':
../sysdeps/unix/sysv/linux/dl-osinfo.h:79:7: warning: implicit declaration of function '__set_errno'

Which culminate in errors like so:
libc-start.c:(.text+0x692): undefined reference to '__set_errno'
libc-start.c:(.text+0x752): undefined reference to '__set_errno'
collect2: ld returned 1 exit status

Reported-by: Dennis Schridde <devurandom@gmx.net>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-05-07 23:22:59 -04:00