Commit Graph

4295 Commits

Author SHA1 Message Date
Joseph Myers
f959aa148c Remove unused sysdeps/unix/arm/fork.S. 2012-04-24 23:04:58 +00:00
Mike Frysinger
9f2b22d5fc mips: use $dir for path to ldd-rewrite.sed
The $dest variable is based on the top build dir but we need the ldd
rewrite variable to be based on the top source dir, so use $dir.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-24 00:05:32 -04:00
Mike Frysinger
75efb01851 ia64: update FSF license address to URL
Processed with a simple sed script:

find `find sysdeps/ -name ia64` -type f -exec sed -i \
	-e '/Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA/d' \
	-e 's:License along with the GNU C Library; if not, write to the Free:License along with the GNU C Library; if not, see:' \
	-e 's|02111-1307 USA.|<http://www.gnu.org/licenses/>.|' {} +

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-22 23:26:51 -04:00
Mike Frysinger
0347518d63 ia64: strip trailing whitespace
Many ia64 files have trailing whitespace which gets in the way and
annoys me.  So strip it away:

	find `find sysdeps/ -name ia64` -type f -exec sed -i 's:[[:space:]]*$::' {} +

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-22 15:11:02 -04:00
Mike Frysinger
d5efd131d4 ia64: move from main tree
This is a simple copy of the last version of ia64 in the main tree.
It does not work as-is, but serves as a basis for follow up changes
to restore it to working order.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-22 15:09:03 -04:00
Joseph Myers
8466459037 Remove ARM EABI/old-ABI conditionals. 2012-04-21 10:03:39 -07:00
Joseph Myers
1f60a18d81 Merge sysdeps/arm/eabi into sysdeps/arm. 2012-04-21 09:30:03 -07:00
Joseph Myers
25593dcaf4 Merge sysdeps/unix/sysv/linux/arm/eabi into sysdeps/unix/sysv/linux/arm. 2012-04-21 08:38:55 -07:00
Andreas Schwab
9002644d9f m68k: update libm test ULPs 2012-04-18 11:06:17 +02:00
Andreas Schwab
860d60c138 m68k: rename s_ilogb* to e_ilogb* 2012-04-17 23:59:10 +02:00
Andreas Jaeger
c325f0f226 Avoid warnings about redefinition
* sysdeps/unix/sysv/linux/arm/ldsodefs.h: Undefine
        MORE_ELF_HEADER_DATA to avoid warnings about redefinition.
2012-04-17 07:59:37 +02:00
Carlos O'Donell
cfdc17edd4 hppa: Build fixes for STT_GNU_IFUNC.
Stub out enough files to allow the hppa
port to build without STT_GNU_IFUNC.
2012-04-17 06:01:19 +02:00
Carlos O'Donell
dde6fc785a hppa: Remove relocation in OPD handling code.
A current bug in the hppa binutils code causes
relative relocations to be mixed with OPD relocations.

The OPD handling code in ld.so requires a relocation to
setup one of the data structures.

At startup ld.so tries to use the structure to handle
an OPD relocation *before* the structure is completely
setup by the relative relocation and this causes a crash.

This code is a workaround and a bandaid, the real fix
is in the static linker, but until then we must avoid
relocations in dl-fptr.c.

We copy dl-fptr.c from generic code, modify it, and
adjust the headers to fixup the structure at runtime
instead of having the relocation do this for us
automatically.
2012-04-17 05:46:34 +02:00
Carlos O'Donell
c053fa34cd hppa: Remove elf/ and create crti.S/crtn.S
This patch removes the elf/ directory, moving any
special configury down a directory e.g. TLS checks.

This patch also implements the required crti.S
and crtn.S files, verifying that they match the
current implementation.
2012-04-17 05:33:26 +02:00
Mike Frysinger
cde9262435 tile: update _itoa.h include path
Common code moved _itoa.h necessitating a change in the #include path.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-15 12:09:17 -04:00
Andreas Schwab
29dc68465c m68k: define MAP_STACK and MAP_HUGETLB 2012-03-29 00:22:33 +02:00
Joseph Myers
aa06d8e46a MIPS: Define MAP_STACK and MAP_HUGETLB. 2012-03-28 12:37:21 +00:00
Joseph Myers
268413928e ARM: Define MAP_STACK and MAP_HUGETLB. 2012-03-28 12:36:51 +00:00
Andreas Schwab
e9d9997a8f m68k: drop elf directory 2012-03-27 23:47:41 +02:00
Richard Henderson
c0c5945b52 Merge sysdeps/alpha/elf/ into sysdeps/alpha/. 2012-03-27 14:29:13 -07:00
Joseph Myers
04e3cfbc15 Merge sysdeps/mips/elf/ into sysdeps/mips/. 2012-03-27 21:10:20 +00:00
Joseph Myers
9ec5b2613f Merge sysdeps/arm/elf/ into sysdeps/arm/. 2012-03-27 21:04:59 +00:00
Andreas Schwab
0be6f6f707 m68k: update libm test ULPs 2012-03-23 16:34:03 +01:00
Andreas Schwab
2f6ba7629b m68k: avoid undue overflow in cexp 2012-03-23 16:33:37 +01:00
Andreas Schwab
3278063a82 m68k: prevent gcc from CSEing mathinline asms 2012-03-23 13:42:08 +01:00
Andreas Schwab
8b37c8a650 m68k: update libm test ULPs 2012-03-22 10:55:30 +01:00
Carlos O'Donell
2b6c81984b Update copyright year to 2012. 2012-03-22 00:12:30 -04:00
Carlos O'Donell
0e8a8f6d58 [PARISC] small atomic.h optimization
We do not negate the light-weight syscall return and instead
just check for the negative errno value allowing the compiler
to optimize as required.
2012-03-22 00:05:14 -04:00
Richard Henderson
925f8e84e6 alpha: Update _itoa.h include. 2012-03-21 08:18:55 -07:00
Andreas Schwab
57988d0ba7 m68k: update _itoa.h include 2012-03-21 00:38:10 +01:00
Joseph Myers
1422b9df29 MIPS: Update _itoa.h include. 2012-03-20 23:14:19 +00:00
Joseph Myers
bf98494a8a ARM: Update _itoa.h include. 2012-03-20 23:13:50 +00:00
Andreas Schwab
1c195f88f0 m68k: update libm test ULPs 2012-03-20 00:25:54 +01:00
Richard Henderson
bdd7898a58 alpha: Tell math_private.h that we have __isnan et al. 2012-03-19 06:53:31 -07:00
Andreas Schwab
b6db56fb2d m68k: update libm test ULPs 2012-03-15 13:33:35 +01:00
Andreas Schwab
dbf5dff174 m68k: update kernel-features.h 2012-03-13 14:31:45 +01:00
Richard Henderson
2be0ac4d53 alpha: replace bits/socket.h with bits/socket_type.h. 2012-03-11 11:15:09 -07:00
Paul Eggert
e54793e8fe Replace FSF snail mail address with URL in sysdeps/mips/mips64/gmp-mparam.h. 2012-03-10 13:09:02 +00:00
Richard Henderson
ed7e7d46e9 Use include_next to chain math_private.h headers. 2012-03-09 16:28:42 -08:00
Richard Henderson
e038d690b4 Use <> for math.h and math_private.h everywhere.
Entire tree edited via find | grep | sed.
2012-03-09 16:24:17 -08:00
Paul Eggert
ab84e3ff9c Replace FSF snail mail address by URL. 2012-03-09 23:56:38 +00:00
Joseph Myers
23b8c9ac74 MIPS: replace bits/socket.h with bits/socket_type.h. 2012-03-09 22:43:01 +00:00
Michael Hope
402a76b62d ARM: Implement *context routines.
* sysdeps/unix/sysv/linux/arm/eabi/getcontext.S: New file.
	* sysdeps/unix/sysv/linux/arm/eabi/makecontext.c: New file.
	* sysdeps/unix/sysv/linux/arm/eabi/setcontext.S: New file.
	* sysdeps/unix/sysv/linux/arm/eabi/swapcontext.S: New file.
	* sysdeps/unix/sysv/linux/arm/ucontext_i.sym: New file.
	* sysdeps/unix/sysv/linux/arm/Makefile (gen-as-const-headers): Add
	ucontext_i.sym.
2012-03-05 18:00:14 -05:00
Andreas Schwab
052178e613 m68k: update libm test ULPs 2012-03-05 16:51:38 +01:00
Carlos O'Donell
a64b8a466b HPPA: Update socket.h, pthreadtypes.h and pthread.h
Synchronize from core libc headers.
2012-03-05 10:37:28 -05:00
Richard Henderson
ee78ea885a alpha: Avoid -Winline warning in ioperm.c.
Specifically:
warning: inlining failed in call to 'inline_sethae.part.1':
call is unlikely and code size would grow [-Winline]
2012-03-04 12:03:59 -08:00
Richard Henderson
dff6d47156 alpha: Update recvmmsg and sendmmsg declarations. 2012-03-04 12:02:55 -08:00
Richard Henderson
5414279644 alpha: Update for pthread_attr_t typedef changes. 2012-03-04 11:30:01 -08:00
Andreas Schwab
79c5cebc4a m68k: update libm test ULPs 2012-03-02 22:26:47 +01:00
Andreas Schwab
175763ab68 m68k: only define pthread_attr_t if not already defined 2012-02-27 21:17:06 +01:00
Joseph Myers
bf8becc54b MIPS: do not declare recvmmsg and sendmmsg for !__USE_GNU. 2012-02-27 15:54:30 +00:00
Joseph Myers
7bb9ccad9c MIPS: fix pthread_attr_t definitions. 2012-02-27 15:14:41 +00:00
Joseph Myers
e7c0dc24ea ARM: fix pthread_attr_t definitions. 2012-02-27 15:14:04 +00:00
Andreas Schwab
d735f8d4f0 m68k: fix name of pthread_attr_t union 2012-02-27 14:57:16 +01:00
Andreas Schwab
2abba740a9 m68k: name pthread_attr_t union 2012-02-26 20:40:48 +01:00
Joseph Myers
397c66b465 MIPS: Name pthread_attr_t union, use it in sigevent, don't name siginfo_t struct. 2012-02-26 19:39:23 +00:00
Joseph Myers
7ba6eb7c8a ARM: name pthread_attr_t union. 2012-02-26 19:39:00 +00:00
Andreas Schwab
fba1e82f6c m68k: remove unused fpu switch implementation 2012-02-26 17:06:00 +01:00
Andreas Schwab
d8e510fa7f m68k: remove __kernel_{sin,cos,tan} implementations 2012-02-26 16:54:09 +01:00
Andreas Schwab
a9e6c76aae m68k: avoid invalid exception for ccosh(NaN+iNaN) 2012-02-25 18:18:32 +01:00
Andreas Schwab
ccc074aa35 m68k: update libm test ULPs 2012-02-24 22:13:58 +01:00
Andreas Schwab
258ca456fd m68k: set errno in exp 2012-02-24 22:13:58 +01:00
Andreas Schwab
27c1f49d4b m68k: set errno in sin, cos, tan 2012-02-24 22:13:57 +01:00
Joseph Myers
429ee403b8 Remove CRIS port. 2012-02-21 17:32:26 +00:00
Richard Henderson
7ae95db5d7 alpha: Convert to bits/timerfd.h and bits/epoll.h. 2012-02-21 08:48:08 -08:00
Joseph Myers
8864c99fe4 Replace MIPS sys/epoll.h and sys/timerfd.h with bits/epoll.h and bits/timerfd.h. 2012-02-21 00:40:35 +00:00
Joseph Myers
02bf118c08 Resort ULPs file (Power soft-float) with gen-libm-test.pl -n in C locale. 2012-02-20 18:10:25 +00:00
Andreas Schwab
f157a61945 alpha: Add support for Linux error EHWPOISON 2012-02-20 18:16:05 +01:00
Andreas Schwab
d6353c0f81 mips: Add support for Linux error EHWPOISON 2012-02-20 18:07:59 +01:00
Aurelien Jarno
3287d4162f alpha: Fix _SC_LEVEL*CACHE* 2012-02-20 08:38:54 -08:00
Richard Henderson
b98de9639c alpha: Eliminate plt entries for __ieee_[sg]et_fp_control 2012-02-20 08:17:19 -08:00
Aurelien Jarno
22f7e90291 Fix dl-procinfo support for MIPS. 2012-02-17 17:34:31 +01:00
Aurelien Jarno
cec96a4f3d Adjust MIPS ULPS to take into account the new jn tests. 2012-02-17 17:34:30 +01:00
Aurelien Jarno
d653a08bfb Adjust ARM ULPS to take into account the new jn tests. 2012-02-17 17:34:28 +01:00
Mike Hommey
f3ce45f370 alpha: Support 6th argument to syscall 2012-02-15 16:27:55 -08:00
Richard Henderson
596720af7a alpha: Convert to bits/signalfd.h. 2012-02-15 16:24:45 -08:00
Richard Henderson
f0a81bf387 alpha: Do signed promotion of 32-bit arguments to syscalls 2012-02-15 16:07:11 -08:00
Richard Henderson
64e65bc1ae alpha: Correct relocation markup for PIC SYSCALL_ERROR_HANDLER. 2012-02-15 16:07:11 -08:00
Richard Henderson
7b4f30e356 alpha: Don't test USE___THREAD in dl-machine.h. 2012-02-15 16:07:11 -08:00
Robert Millan
a31567f46f Define SYSCALL_ERROR_LABEL for mips32. 2012-02-15 22:39:15 +00:00
Robert Millan
d2cc32ab71 Provide sys/tas.h for all MIPS systems. 2012-02-15 22:35:18 +00:00
Robert Millan
d05f2edbc2 Use __start for all Unices on MIPS. 2012-02-15 22:29:31 +00:00
Robert Millan
87ae60cc22 Add dl-procinfo support for MIPS. 2012-02-15 22:20:07 +00:00
Khem Raj
3fdf1316ac Only build libc-do-syscall.S in Thumb mode. 2012-02-15 22:09:44 +00:00
Joseph Myers
7504de5a6a Replace MIPS sys/signalfd.h with bits/signalfd.h. 2012-02-15 20:21:50 +00:00
Richard Henderson
15be932dfc alpha: Don't check USE___THREAD in __syscall_error. 2012-02-15 12:19:47 -08:00
Richard Henderson
4c85d632e4 BZ #13361
alpha: More Linux additions copied from generic/bits/fcntl.h.
2012-02-15 12:19:47 -08:00
Viju Vincent
7865d19cf6 Resolve race between dlopen and lazy binding on MIPS. 2012-02-15 17:25:51 +00:00
Richard Henderson
b991ef778a alpha: Don't let preconfigure interfere with other targets. 2012-02-15 08:02:19 -08:00
Richard Henderson
1b006be5c5 Replace Alpha sys/inotify.h with bits/inotify.h 2012-02-13 17:03:46 -08:00
Joseph Myers
c5430dd069 Replace MIPS sys/inotify.h with bits/inotify.h. 2012-02-14 00:17:32 +00:00
Richard Henderson
15dd57e85c Replace Alpha sys/eventfd.h with bits/eventfd.h 2012-02-13 15:35:18 -08:00
Joseph Myers
67939f7c1e Replace MIPS sys/eventfd.h with bits/eventfd.h. 2012-02-13 20:35:16 +00:00
Joseph Myers
25a368f231 Convert MIPS to crti.S/crtn.S. 2012-02-10 12:28:07 +00:00
Richard Henderson
93519140c0 alpha: Re-enable export of the unwind functions, and relro detection. 2012-02-09 11:15:22 -08:00
Richard Henderson
8c7adf8e79 alpha: Add ldsodefs.h and tst-audit.h. 2012-02-08 17:03:28 -08:00
Richard Henderson
dd0c700a97 alpha: Add tls-macros.h. 2012-02-08 17:03:27 -08:00
Richard Henderson
23a7453bbd alpha: Remove HAVE_ELF tests. 2012-02-08 17:03:27 -08:00
Richard Henderson
be917baf45 alpha: Support __NR_fstatat64. 2012-02-08 17:03:27 -08:00
Richard Henderson
9fb2a6b9af alpha: Convert to crt[in].S.
A particularly trivial conversion, since we were already using
assembler, smuggled inside the C file.
2012-02-08 17:03:27 -08:00