mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-13 06:40:09 +00:00
c6bfe5c4d7
I've moved the ARM port from ports to the main sysdeps hierarchy. Beyond the README update, the move of the files was simply git mv ports/sysdeps/arm sysdeps/arm git mv ports/sysdeps/unix/arm sysdeps/unix/arm git mv ports/sysdeps/unix/sysv/linux/arm sysdeps/unix/sysv/linux/arm and in addition to the ChangeLog entries here, I put a note at the top of ports/ChangeLog.arm similar to that at the top of ChangeLog.powerpc. There is deliberately no NEWS change, as I think it makes the most sense to put in a general note above all ports having moved if we can achieve that for 2.20. Tested that disassembly of installed shared libraries for arm is the same before and after this patch, except for data (not instructions) in ld.so (there are assertions in sysdeps/arm/dl-machine.h, and the path by which that file is found, and so by which it appears in the assertion message, changes as a result of the move). * sysdeps/arm: Move directory from ports/sysdeps/arm. * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm. * sysdeps/unix/sysv/linux/arm: Move directory from ports/sysdeps/unix/sysv/linux/arm. * README: Update listing for arm-*-linux-gnueabi. ports/ChangeLog.arm: * sysdeps/arm: Move directory to ../sysdeps/arm. * sysdeps/unix/arm: Move directory to ../sysdeps.arm. * sysdeps/unix/sysv/linux/arm: Move directory to ../sysdeps/unix/sysv/linux/arm.
31 lines
897 B
Plaintext
31 lines
897 B
Plaintext
#include <inttypes.h>
|
|
#include <signal.h>
|
|
#include <stddef.h>
|
|
#include <sys/ucontext.h>
|
|
|
|
SIG_BLOCK
|
|
SIG_SETMASK
|
|
|
|
-- Offsets of the fields in the ucontext_t structure.
|
|
#define ucontext(member) offsetof (ucontext_t, member)
|
|
#define mcontext(member) ucontext (uc_mcontext.member)
|
|
|
|
UCONTEXT_FLAGS ucontext (uc_flags)
|
|
UCONTEXT_LINK ucontext (uc_link)
|
|
UCONTEXT_STACK ucontext (uc_stack)
|
|
UCONTEXT_MCONTEXT ucontext (uc_mcontext)
|
|
UCONTEXT_SIGMASK ucontext (uc_sigmask)
|
|
|
|
UCONTEXT_REGSPACE ucontext (uc_regspace)
|
|
|
|
MCONTEXT_TRAP_NO mcontext (trap_no)
|
|
MCONTEXT_ERROR_CODE mcontext (error_code)
|
|
MCONTEXT_OLDMASK mcontext (oldmask)
|
|
MCONTEXT_ARM_R0 mcontext (arm_r0)
|
|
MCONTEXT_ARM_R4 mcontext (arm_r4)
|
|
MCONTEXT_ARM_SP mcontext (arm_sp)
|
|
MCONTEXT_ARM_LR mcontext (arm_lr)
|
|
MCONTEXT_ARM_PC mcontext (arm_pc)
|
|
MCONTEXT_ARM_CPSR mcontext (arm_cpsr)
|
|
MCONTEXT_FAULT_ADDRESS mcontext (fault_address)
|