Commit Graph

2414 Commits

Author SHA1 Message Date
Andreas Schwab d44f3a3855 m68k: define MADV_DONTDUMP and MADV_DODUMP 2012-05-23 18:45:57 +02:00
Chris Metcalf bf144a4fae tile: Define MADV_DONTDUMP and MADV_DODUMP 2012-05-23 08:20:12 -04:00
Joseph Myers ec55b2167a Define MADV_DONTDUMP and MADV_DODUMP for MIPS. 2012-05-23 10:23:26 +00:00
Joseph Myers 2def71058e Define MADV_DONTDUMP and MADV_DODUMP for ARM. 2012-05-23 10:22:42 +00:00
Chris Metcalf f711d080ef tile: Update ABI baselines for getauxval 2012-05-22 11:21:09 -04:00
Andreas Schwab 2eaac33877 m68k: update libc.abilist 2012-05-21 21:22:52 +02:00
Joseph Myers da5bcd28ee Remove __fe_nomask_env from powerpc-nofpu ABI. 2012-05-21 18:56:03 +00:00
Joseph Myers c0ddea5a1f Update ARM hwcap code. 2012-05-21 10:45:52 +00:00
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
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
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 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 0adc5f3892 tilegx32: fix various bugs in setcontext/getcontext/swapcontext 2012-05-17 09:03:24 -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 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
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 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 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 3c19868059 linux-generic: add wordsize-32 version of prlimit64/fanotify syscalls 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
Chris Metcalf ec0001e175 Add _SNSECONDS_T_TYPE for linux-generic 2012-05-11 19:55:20 -04: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
Mike Frysinger e44af88e6a ia64: update abilist
For the most part, these are adding symbols from newer glibc releases that
should have been added to ia64 in the first place, but no one noticed.

There were also adding symbols from older versions, but that appears to be
an oversight in the old abilist files where the ia64 tuple wasn't added to
the symbol block.

A few symbols did get deleted, but that looks normal as no other arch has
them, and comparing to an old glibc-2.7 build, things have been this way
for quite a while.

After this, `make check-abi` now passes for ia6.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-05-06 14:13:37 -04:00
Mike Frysinger 064b706950 ia64: restore abilist files
These are the abilists as ia64 had them before being removed from the
main tree.  Most libs pass, but a bunch need updating.  That'll be done
in a follow up commit.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-05-06 04:49:52 -04:00
Joseph Myers 360f4e6880 Restore MIPS n64 posix_fadvise64 export at GLIBC_2.3.3 (bug 14044). 2012-05-01 08:48:54 -07:00
Joseph Myers d353499456 Restore ARM profil_counter export (bug 14043). 2012-05-01 07:22:52 -07:00
Andreas Schwab cae2bdf1f3 m68k: add abilist files 2012-04-28 15:10:21 +02:00
Joseph Myers 8689e8776e Add abilist data for MIPS. 2012-04-28 04:29:32 -07:00
Joseph Myers 7a886e6fb1 Add abilist data for ARM. 2012-04-28 03:04:28 -07:00
Mike Frysinger 4625d0ae8d ia64: define __ASSUME_ACCEPT4
The latest kernels finally added accept4() to the ia64 kernel.
Define __ASSUME_ACCEPT4 accordingly.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-27 23:13:25 -04:00
Mike Frysinger 91e5f2e441 ia64: ucontext.h: drop __cplusplus
Building a lot of glibc files trigger warnings like so:
.../ucontext.h:52:25: warning: variably modified '_pad' at file scope

The ia64 header protects the use of __builtin_offsetof by a C++
compiler, but this builtin works just fine with C compilers, so
allow it to be used there too.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-27 23:10:28 -04:00
Mike Frysinger e43013840b ia64: pthread_attr_t type mangling
This applies the same updates that already exist in the main tree for
making the pthread_attr_t union more standards compliant.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-27 23:10:09 -04:00
Mike Frysinger 7e4fc5890e ia64: add MAP_{STACK,HUGETLB} to bits/mman.h
Just adding new bit flags that newer kernels define.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-27 23:09:53 -04:00