diff options
author | Roland McGrath <roland@gnu.org> | 2003-05-21 00:55:15 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2003-05-21 00:55:15 +0000 |
commit | eecca0f7233b40a86d291755e21c38883195a1d5 (patch) | |
tree | c5c4aa2cbf450277a0fd1614ce0856a03586dc4b /include/elf/external.h | |
parent | dd42cf171e50d422d7052107014bc4805b820ec6 (diff) | |
download | gdb-eecca0f7233b40a86d291755e21c38883195a1d5.zip gdb-eecca0f7233b40a86d291755e21c38883195a1d5.tar.gz gdb-eecca0f7233b40a86d291755e21c38883195a1d5.tar.bz2 |
2003-05-15 Roland McGrath <roland@redhat.com>
* common.h (NT_AUXV, AT_*): New macros.
* external.h (Elf32_External_Auxv, Elf64_External_Auxv): New types.
* internal.h (Elf_Internal_Auxv): New type.
Diffstat (limited to 'include/elf/external.h')
-rw-r--r-- | include/elf/external.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/elf/external.h b/include/elf/external.h index 403ee62..a171439 100644 --- a/include/elf/external.h +++ b/include/elf/external.h @@ -258,4 +258,19 @@ typedef struct unsigned char si_flags[2]; } Elf_External_Syminfo; + +/* This structure appears on the stack and in NT_AUXV core file notes. */ +typedef struct +{ + unsigned char a_type[4]; + unsigned char a_val[4]; +} Elf32_External_Auxv; + +typedef struct +{ + unsigned char a_type[8]; + unsigned char a_val[8]; +} Elf64_External_Auxv; + + #endif /* _ELF_EXTERNAL_H */ |