* commit 'e48e9c9919f1f1130ff09600f6c444e2f3be1689': Add NT_PRSTATUS to <elf.h>.
This commit is contained in:
commit
a537a330a4
@ -30,6 +30,8 @@
|
|||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <linux/auxvec.h>
|
#include <linux/auxvec.h>
|
||||||
|
|
||||||
|
/* TODO: can we switch to <linux/elf.h> instead? http://b/12476126. */
|
||||||
#include <sys/exec_elf.h>
|
#include <sys/exec_elf.h>
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
@ -52,4 +54,7 @@ typedef struct {
|
|||||||
# define Elf_auxv_t Elf32_auxv_t
|
# define Elf_auxv_t Elf32_auxv_t
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* <sys/exec_elf.h> doesn't contain any NT_ constants. aarch64 strace needs this one. */
|
||||||
|
#define NT_PRSTATUS 1
|
||||||
|
|
||||||
#endif /* _ELF_H */
|
#endif /* _ELF_H */
|
||||||
|
@ -29,12 +29,9 @@
|
|||||||
#ifndef _LINKER_H_
|
#ifndef _LINKER_H_
|
||||||
#define _LINKER_H_
|
#define _LINKER_H_
|
||||||
|
|
||||||
#include <unistd.h>
|
|
||||||
#include <sys/types.h>
|
|
||||||
#include <elf.h>
|
#include <elf.h>
|
||||||
#include <sys/exec_elf.h>
|
|
||||||
|
|
||||||
#include <link.h>
|
#include <link.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
|
||||||
#include "private/libc_logging.h"
|
#include "private/libc_logging.h"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user