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
Joseph Myers
64762db413
* sysdeps/unix/sysv/linux/mips/bits/socket.h (SCM_CREDENTIALS):
...
Make available only for __USE_GNU.
2008-12-09 23:53:33 +00:00
Joseph Myers
9a9863b435
* sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
...
FUTEX_WAIT_BITSET and FUTEX_WAKE_BITSET.
2008-12-03 23:37:48 +00:00
Joseph Myers
74af6970b8
* sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Define
...
FUTEX_WAIT_BITSET and FUTEX_WAKE_BITSET.
2008-12-03 23:36:56 +00:00
Roland McGrath
751759ebd2
2008-11-26 Roland McGrath <roland@redhat.com>
...
* sysdeps/unix/sysv/linux/alpha/wordexp.c: Contents moved to main
repository's ia64 file; #include that.
* sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Contents moved to main
repository's powerpc file; #include that.
2008-11-26 19:20:13 +00:00
Joseph Myers
10d461b558
* sysdeps/unix/sysv/linux/mips/sys/signalfd.h (signalfd): Fix
...
__THROW vs. __nonnull order for C++.
2008-11-25 16:45:39 +00:00
Joseph Myers
9806fbba75
* sysdeps/unix/sysv/linux/arm/sysdep.h (LOAD_ARGS_1, LOAD_ARGS_2,
...
LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6, LOAD_ARGS_7):
Load all arguments into temporary variables before loading into
registers.
2008-11-25 16:37:26 +00:00
Jakub Jelinek
9a3d967483
* sysdeps/unix/sysv/linux/sys/signalfd.h (signalfd): Fix __THROW vs.
...
__nonnull order for C++.
* sysdeps/unix/sysv/linux/alpha/sys/signalfd.h (signalfd): Likewise.
* sysdeps/unix/sysv/linux/sparc/sys/signalfd.h (signalfd): Likewise.
2008-10-16 20:28:45 +00:00
Daniel Jacobowitz
63fb881a04
2008-10-01 Mark Shinwell <shinwell@codesourcery.com>
...
Daniel Jacobowitz <dan@codesourcery.com>
Richard Sandiford <rdsandiford@googlemail.com>
* sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Redefine.
* sysdeps/mips/dl-lookup.c: New.
* sysdeps/mips/do-lookup.h: New.
* sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_PLT): Remove
definition.
(STO_MIPS_PLT, R_MIPS_COPY, R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Define
if needed.
(ELF_MACHINE_JMP_SLOT): Alter definition and update comment.
(elf_machine_type_class): Likewise.
(ELF_MACHINE_PLT_REL): Define.
(elf_machine_fixup_plt): New.
(elf_machine_plt_value): New.
(elf_machine_reloc): Handle jump slot and copy relocations.
(elf_machine_lazy_rel): Point relocation place at PLT if
required.
(RESOLVE_GOTSYM): Take a relocation type argument.
(elf_machine_got_rel): Bind lazy stubs directly to their target if
!lazy. Skip lazy binding for PLT symbols.
(elf_machine_runtime_setup): Fill in .got.plt header.
* sysdeps/mips/dl-trampoline.c (IFNEWABI): New macro.
(ELF_DL_PLT_FRAME_SIZE, ELF_DL_PLT_SAVE_ARG_REGS,
ELF_DL_PLT_RESTORE_ARG_REGS): Define.
(_dl_runtime_pltresolve): New.
* sysdeps/mips/bits/linkmap.h: New file.
* sysdeps/mips/tls-macros.h: Load $gp as required. Merge 32-bit and
64-bit versions.
* sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (SYSCALL_ERROR_LABEL):
Delete definition.
* sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h (PSEUDO_CPLOAD,
PSEUDO_ERRJMP, PSEUDO_SAVEGP, PSEUDO_LOADGP): Define.
(PSEUDO): Use them. Move outside __PIC__.
(PSEUDO_JMP): New.
(CENABLE, CDISABLE): Use it.
2008-10-01 13:28:14 +00:00
Joseph Myers
a961a11ea2
* sysdeps/unix/sysv/linux/mips/sys/epoll.h: Change epoll_create2
...
to epoll_create1.
2008-08-19 16:53:11 +00:00
Joseph Myers
72e2fdef91
* sysdeps/unix/sysv/linux/mips/bits/socket.h: Define SOCK_CLOEXEC,
...
SOCK_NONBLOCK, PF_ISDN and AF_ISDN.
* sysdeps/unix/sysv/linux/mips/sys/epoll.h: New file.
* sysdeps/unix/sysv/linux/mips/sys/eventfd.h: New file.
* sysdeps/unix/sysv/linux/mips/sys/inotify.h: New file.
* sysdeps/unix/sysv/linux/mips/sys/signalfd.h: New file.
* sysdeps/unix/sysv/linux/mips/sys/timerfd.h: New file.
2008-08-19 16:12:35 +00:00