Aurelien Jarno
97d1e7c8e1
Update include paths following the move of alpha to ports
...
* sysdeps/unix/sysv/linux/alpha/getdents64.c: Adjust include path.
* sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/sysconf.c: Likewise.
2009-07-19 16:00:06 +02:00
Aurelien Jarno
8cb716ea2c
* sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Define
...
FUTEX_WAIT_BITSET, FUTEX_WAKE_BITSET, FUTEX_CLOCK_REALTIME and
FUTEX_BITSET_MATCH_ANY.
2009-07-19 15:59:58 +02:00
Aurelien Jarno
c1592c256a
Adapt alpha version of getsysstats.c to the changes in the main Linux version
...
* sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
Change parameters and use next_line.
2009-07-19 15:59:49 +02:00
Maxim Kuvyrkov
b6dec1881f
ARM EABI backtrace using unwind information.
...
2009-06-24 Maxim Kuvyrkov <maxim@codesourcery.com>
Mark Mitchell <mark@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
Kazu Hirata <kazu@codesourcery.com>
* sysdeps/arm/eabi/backtrace.c: New.
* sysdeps/arm/eabi/Makefile (CFLAGS-backtrace.c): Add
-funwind-tables.
* sysdeps/arm/preconfigure: Add -fno-unwind-tables to CFLAGS.
* sysdeps/unix/sysv/linux/arm/eabi/configure.in: Remove
-fno-unwind-tables from CFLAGS.
* sysdeps/unix/sysv/linux/arm/eabi/configure: Regenerate.
* sysdeps/unix/sysv/linux/arm/eabi/nptl/unwind.h (_Unwind_Trace_Fn):
Define.
(_Unwind_Backtrace): Declare.
2009-06-24 15:55:04 +00:00
Joseph Myers
8200e168ef
Define PF_IEEE802154 and AF_IEEE802154 for MIPS.
...
* sysdeps/unix/sysv/linux/mips/bits/socket.h: Define PF_IEEE802154
and AF_IEEE802154.
2009-06-18 22:04:19 +00:00
Joseph Myers
d9056ac655
fallocate fixes for MIPS n32 and n64.
...
* sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c,
sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c,
sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c,
sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: New.
2009-05-16 17:42:10 +00:00
Joseph Myers
9f8832d47f
Assume preadv and pwritev syscalls on ARM for 2.6.30.
...
* sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_PREADV,
__ASSUME_PWRITEV): Don't undefine.
2009-05-16 15:19:32 +00:00
Joseph Myers
3066cb224d
* sysdeps/unix/sysv/linux/m68k/Versions (libc): Add
...
fallocate64@@GLIBC_2.11.
2009-05-16 15:14:44 +00:00
Joseph Myers
c504ff3be9
Add fallocate64 export for MIPS.
...
* sysdeps/unix/sysv/linux/mips/Versions (libc): Add
fallocate64@@GLIBC_2.11.
2009-05-16 14:30:47 +00:00
Joseph Myers
db99b35dde
Add fallocate64 export for ARM.
...
* sysdeps/unix/sysv/linux/arm/Versions (libc): Add
fallocate64@@GLIBC_2.11.
2009-05-16 14:29:06 +00:00
Joseph Myers
19afa98284
Fix MIPS n64 build failure with preadv64/pwritev64 aliases.
...
* sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c,
sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: New files.
2009-05-14 22:24:35 +00:00
Andreas Schwab
2b2b217196
* sysdeps/unix/sysv/linux/m68k/kernel-features.h: Revert last
...
change, the syscalls have been added to 2.6.30-rc4.
2009-04-25 19:30:25 +00:00
Carlos O'Donell
783398d8c2
2009-04-23 Carlos O'Donell <carlos@codesourcery.com>
...
* sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Do not include
sysdep.h. Document the reason for other includes.
2009-04-24 02:50:30 +00:00
Carlos O'Donell
fa34de4116
2009-04-23 Carlos O'Donell <carlos@codesourcery.com>
...
* sysdeps/unix/sysv/linux/hppa/sysdep.h [!__ASSEMBLER__]:
Include errno.h.
2009-04-24 02:48:15 +00:00
Joseph Myers
ff3475331e
2009-04-18 Maciej W. Rozycki <macro@codesourcery.com>
...
* sysdeps/unix/sysv/linux/mips/getcontext.S: New file.
* sysdeps/unix/sysv/linux/mips/makecontext.S: New file.
* sysdeps/unix/sysv/linux/mips/setcontext.S: New file.
* sysdeps/unix/sysv/linux/mips/swapcontext.S: New file.
* sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t):
Update comment.
* sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h: New file.
* sysdeps/unix/sysv/linux/mips/ucontext_i.sym: New file.
* sysdeps/unix/sysv/linux/mips/Makefile (gen-as-const-headers):
Add ucontext_i.sym.
2009-04-18 17:32:04 +00:00
Joseph Myers
19d6bdd79a
* sysdeps/unix/sysv/linux/m68k/kernel-features.h (__ASSUME_PREADV,
...
__ASSUME_PWRITEV): Undefine.
2009-04-18 16:26:00 +00:00
Joseph Myers
80c0ce1cac
* sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_PREADV,
...
__ASSUME_PWRITEV): Undefine.
2009-04-18 14:08:41 +00:00
Joseph Myers
57d0274fe9
* sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_PREADV,
...
__ASSUME_PWRITEV): Don't define here.
2009-04-18 14:08:18 +00:00
Joseph Myers
70fdbfd956
* sysdeps/unix/sysv/linux/mips/bits/socket.h: Add missing protocol
...
numbers.
* sysdeps/unix/sysv/linux/mips/sys/eventfd.h (EFD_SEMAPHORE):
Define.
* sysdeps/unix/sysv/linux/mips/kernel-features.h: Add entries for
preadv and pwritev.
2009-04-09 22:14:47 +00:00
Joseph Myers
d69fd0cbd2
2009-03-18 Maciej W. Rozycki <macro@codesourcery.com>
...
* sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file):
Use the Elf32_Ehdr type to check for EF_MIPS_ABI2 in the flags.
2009-03-18 14:38:51 +00:00
Joseph Myers
0262d0c47c
2009-03-18 Zhang Le <r0bertz@gentoo.org>
...
[BZ #7074 ]
* sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file):
Fix the condition used to annotate n32 objects.
2009-03-18 14:31:30 +00:00
Joseph Myers
edb1d6ef2f
* sysdeps/unix/sysv/linux/m68k/getsysstats.c (GET_NPROCS_PARSER):
...
Change parameters and use next_line.
2009-03-17 17:41:36 +00:00
Joseph Myers
4c8c18106e
* sysdeps/unix/sysv/linux/mips/getsysstats.c (GET_NPROCS_PARSER):
...
Change parameters and use next_line.
2009-03-17 15:52:15 +00:00
Joseph Myers
340f797628
* sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Include errno.h.
...
* sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
2009-03-17 15:49:10 +00:00
Joseph Myers
26ed7fb1ff
2009-03-16 Khem Raj <raj.khem@gmail.com>
...
* sysdeps/unix/sysv/linux/arm/sysdep.h: Include errno.h.
2009-03-17 12:32:06 +00:00
Joseph Myers
ad32d65a9f
* sysdeps/mips/bits/link.h: Uglify function parameter names.
...
* sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
* sysdeps/unix/sysv/linux/mips/sys/eventfd.h: Likewise.
* sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
* sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise.
2009-03-15 16:54:26 +00:00
Joseph Myers
440eb79d6c
* sysdeps/arm/bits/link.h: Uglify function parameter names.
...
* sysdeps/unix/sysv/linux/arm/sys/io.h: Likewise.
* sysdeps/arm/eabi/bits/setjmp.h: Uglify attribute name.
2009-03-15 16:53:46 +00:00
Joseph Myers
73ea734a9f
* sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Declare
...
fallocate{,64}.
2009-03-04 22:49:21 +00:00
Joseph Myers
93311332ba
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Declare
...
fallocate{,64}.
2009-03-03 23:19:19 +00:00
Joseph Myers
ae99295b05
* sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Declare
...
fallocate{,64}.
2009-03-03 23:18:56 +00:00
Joseph Myers
9dcb49b625
* sysdeps/unix/sysv/linux/m68k/bits/stat.h: Protect UTIME_NOW and
...
UTIME_OMIT only with __USE_ATFILE.
2009-02-27 13:16:51 +00:00
Joseph Myers
2e3804efbf
* sysdeps/unix/sysv/linux/mips/bits/stat.h: Protect UTIME_NOW and
...
UTIME_OMIT only with __USE_ATFILE.
2009-02-26 23:25:24 +00:00
Carlos O'Donell
6f5d2fa8aa
2009-02-25 Carlos O'Donell <carlos@codesourcery.com>
...
* sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h:
Adjust comment. Sort macros alphabetically. Remove old
lock comments.
2009-02-26 21:36:13 +00:00
Carlos O'Donell
8ff04e6454
2009-02-25 Carlos O'Donell <carlos@codesourcery.com>
...
* sysdeps/unix/sysv/linux/hppa/nptl/unwind-forcedunwind.c:
Update from nptl/sysdeps/pthread/unwind-forcedunwind.c
* sysdeps/unix/sysv/linux/hppa/nptl/unwind-resume.c:
Update from nptl/sysdeps/pthread/unwind-resume.c
2009-02-26 21:29:22 +00:00
Carlos O'Donell
cdc618aab4
2009-02-25 Carlos O'Donell <carlos@codesourcery.com>
...
* sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Define
FUTEX_WAIT_BITSET, FUTEX_WAKE_BITSET, FUTEX_CLOCK_REALTIME,
and FUTEX_BITSET_MATCH_ANY.
2009-02-26 19:46:02 +00:00
Carlos O'Donell
d4bf22dbef
2009-02-22 Carlos O'Donell <carlos@codesourcery.com>
...
* sysdeps/unix/sysv/linux/hppa/Versions: Add missing bracket.
2009-02-22 17:15:19 +00:00
Joseph Myers
1090d6bf10
[BZ #7040 ]
...
* sysdeps/unix/sysv/linux/mips/sys/inotify.h: Second parameter of
inotify_rm_watch should have type int.
2009-02-13 17:38:50 +00:00
Joseph Myers
f281f9cfda
2009-02-13 Khem Raj <raj.khem@gmail.com>
...
* sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c
(libgcc_s_handle): New variable.
(pthread_cancel_init): Depend in libgcc_s_handle for decision to
load DSO. Assign last.
(__unwind_freeres): New function.
* sysdeps/unix/sysv/linux/arm/eabi/nptl/unwind-forcedunwind.c:
Likewise.
2009-02-13 17:35:07 +00:00
Joseph Myers
b3862ba3c8
2009-02-13 Khem Raj <raj.khem@gmail.com>
...
* sysdeps/unix/sysv/linux/hppa/nptl/unwind-forcedunwind.c
(libgcc_s_handle): New variable.
(pthread_cancel_init): Depend in libgcc_s_handle for decision to
load DSO. Assign last.
(__unwind_freeres): New function.
2009-02-13 17:34:30 +00:00
Carlos O'Donell
ab4340a815
2009-02-09 Arthur Loiret <aloiret@debian.org>
...
[BZ #9717 ]
* sysdeps/unix/sysv/linux/hppa/linuxthreads/malloc-machine.h
(MALLOC): Adjust __libc_tsd_define arguments.
(tsd_setspecific, tsd_getspecific): Adjust __libc_tsd_{set,get}
arguments.
2009-02-09 20:27:56 +00:00
Joseph Myers
5631abde36
2009-02-05 Paul Brook <paul@codesourcery.com>
...
Joseph Myers <joseph@codesourcery.com>
* sysdeps/arm/dl-machine.h (elf_machine_dynamic): Ditto.
(elf_machine_load_address): Clear T bit of PLT entry contents.
(RTLD_START): Mark function symbols as such. Tweak pc-relative
addressing to avoid depending on pc read pipeline offset.
* sysdeps/arm/machine-gmon.h (MCOUNT): Add Thumb-2 implementation.
* sysdeps/arm/tls-macros.h: Add alignment for Thumb-2.
(ARM_PC_OFFSET): Define.
(TLS_IE): Define differently for Thumb-2.
(TLS_LE, TLS_LD, TLS_GD): Use ARM_PC_OFFSET.
* sysdeps/arm/elf/start.S: Switch to thumb mode for Thumb-2.
* sysdeps/unix/sysv/linux/arm/eabi/sysdep.h (INTERNAL_SYSCALL_RAW):
Add Thumb implementation.
* sysdeps/unix/sysv/linux/arm/eabi/nptl/aio_misc.h: New.
* sysdeps/unix/sysv/linux/arm/eabi/nptl/unwind-resume.c: Enforce
alignment for Thumb-2. Adjust offset from PC for Thumb-2.
* sysdeps/unix/sysv/linux/arm/eabi/nptl/unwind-forcedunwind.c: Ditto.
* sysdeps/unix/sysv/linux/arm/nptl/bits/atomic.h (atomic_full_barrier,
__arch_compare_and_exchange_val_32_acq): Add Thumb-2 implementation.
2009-02-05 14:46:41 +00:00
Joseph Myers
8085bd60e2
* sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_EXEC): Define.
2009-02-02 15:36:15 +00:00
Joseph Myers
19df4df175
* sysdeps/unix/sysv/linux/arm/bits/shm.h (SHM_EXEC): Define.
2009-02-02 15:35:22 +00:00
Daniel Jacobowitz
60acbff563
* sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h
...
(lll_futex_wake_unlock, lll_futex_requeue): Return zero if success.
2009-01-27 15:48:44 +00:00
Daniel Jacobowitz
a68f927f95
* sysdeps/unix/sysv/linux/arm/sysdep.h: Include <tls.h>.
2009-01-27 15:36:22 +00:00
Daniel Jacobowitz
9290e55376
PR glibc/1048
...
* sysdeps/unix/sysv/linux/mips/dl-static.c: New file to support
variable page size for MIPS.
* sysdeps/unix/sysv/linux/mips/ldsodefs.h: Likewise.
* sysdeps/unix/sysv/linux/mips/Makefile: Build dl-static in elf.
* sysdeps/unix/sysv/linux/mips/Versions: Add _dl_var_init.
2009-01-27 15:32:55 +00:00
Joseph Myers
e27433a869
* sysdeps/unix/sysv/linux/mips/bits/resource.h (enum
...
__rusage_who): Avoid comma after RUSAGE_CHILDREN if not
-D_GNU_SOURCE.
2009-01-12 16:45:43 +00:00
Joseph Myers
bb3b3056df
* sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
...
FUTEX_CLOCK_REALTIME and FUTEX_BITSET_MATCH_ANY.
2009-01-12 16:38:17 +00:00
Joseph Myers
9b1af9bd98
* sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Define
...
FUTEX_CLOCK_REALTIME and FUTEX_BITSET_MATCH_ANY.
2009-01-12 16:37:27 +00:00
Joseph Myers
01aa93bd54
* sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c,
...
sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c,
sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c,
sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: New.
2008-12-19 21:35:57 +00:00