Commit Graph

4399 Commits

Author SHA1 Message Date
Joseph Myers
fae5c74027 Update powerpc-nofpu ABI baselines for getauxval. 2012-05-21 09:52:18 +00:00
Joseph Myers
533a8b31d8 Update MIPS ABI baselines for getauxval. 2012-05-21 09:51:58 +00:00
Joseph Myers
2e86403f77 Update ARM ABI baseline for getauxval. 2012-05-21 09:51:16 +00:00
Richard Henderson
4645e97846 alpha: Rename *.s to *.S 2012-05-20 10:45:51 -07:00
Joseph Myers
d8d270711d Remove more obsolete ARM code. 2012-05-19 21:24:17 +00:00
Joseph Myers
dc2a97c6ed Clean up MIPS ftruncate64/truncate64. 2012-05-19 19:10:13 +00:00
Joseph Myers
21ed706977 Remove compatibility code for old ARM kernels. 2012-05-19 17:56:01 +00:00
Carlos O'Donell
18bbce4028 hppa: Rename all *.s to *.S.
Top-level is removing the rule for *.s, therefore
we change all of our files to *.S. There was no
reason not to use *.S.
2012-05-19 18:54:43 +02:00
Carlos O'Donell
0d9130fc21 hppa: Use new libgcc_so in shlib-versions.
The version of libcc.so used is now controlled via
shlib-versions.
2012-05-19 18:54:42 +02:00
Chris Metcalf
fa6da45c11 linux-generic: add __FSWORD_T_TYPE to <bits/typesizes.h> 2012-05-18 15:46:34 -04:00
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