Fix libsanitizer build with old kernel headers on ARM after r230739.
libsanitizer/ * include/system/linux/asm/ptrace.h: New header. From-SVN: r230790
This commit is contained in:
parent
eae6758d2b
commit
664dd3cfbd
@ -1,3 +1,7 @@
|
||||
2015-11-24 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
|
||||
|
||||
* include/system/linux/asm/ptrace.h: New header.
|
||||
|
||||
2015-11-23 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
|
||||
|
||||
* All source files: Merge from upstream r253555.
|
||||
|
7
libsanitizer/include/system/linux/asm/ptrace.h
Normal file
7
libsanitizer/include/system/linux/asm/ptrace.h
Normal file
@ -0,0 +1,7 @@
|
||||
#include_next <linux/asm/ptrace.h>
|
||||
/* ARM_VFPREGS_SIZE has been added in 3.0 */
|
||||
#if defined(__arm__) && !defined(ARM_VFPREGS_SIZE)
|
||||
/* The size of the user-visible VFP state as seen by PTRACE_GET/SETVFPREGS
|
||||
and core dumps. */
|
||||
#define ARM_VFPREGS_SIZE ( 32 * 8 /*fpregs*/ + 4 /*fpscr*/ )
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user