forked from Imagelibrary/binutils-gdb
readelf: add support for QNT_STACK note subsections
QNX provides some .note subsections. QNT_STACK is the one controling the stack allocation. bfd/ChangeLog: * elf.c (BFD_QNT_CORE_INFO): Delete. (BFD_QNT_CORE_STATUS): Likewise. (BFD_QNT_CORE_GREG): Likewise. (BFD_QNT_CORE_FPREG): Likewise. (elfcore_grok_nto_note): Replace BFD_QNT_* by QNT_*. binutils/ChangeLog: * readelf.c (get_qnx_elfcore_note_type): New function. (print_qnx_note): New function. (process_note): Add support for QNX support. include/ChangeLog: * elf/common.h (QNT_DEBUG_FULLPATH): New define. (QNT_DEBUG_RELOC): New define. (QNT_STACK): New define. (QNT_GENERATOR): New define. (QNT_DEFAULT_LIB): New define. (QNT_CORE_SYSINFO): New define. (QNT_CORE_INFO): New define. (QNT_CORE_STATUS): New define. (QNT_CORE_GREG): New define. (QNT_CORE_FPREG): New define. (QNT_LINK_MAP): New define.
This commit is contained in:
@@ -768,6 +768,19 @@
|
||||
#define NT_OPENBSD_XFPREGS 22
|
||||
#define NT_OPENBSD_WCOOKIE 23
|
||||
|
||||
/* Note segments for core files on QNX systems. Note name
|
||||
must start with "QNX". */
|
||||
#define QNT_DEBUG_FULLPATH 1
|
||||
#define QNT_DEBUG_RELOC 2
|
||||
#define QNT_STACK 3
|
||||
#define QNT_GENERATOR 4
|
||||
#define QNT_DEFAULT_LIB 5
|
||||
#define QNT_CORE_SYSINFO 6
|
||||
#define QNT_CORE_INFO 7
|
||||
#define QNT_CORE_STATUS 8
|
||||
#define QNT_CORE_GREG 9
|
||||
#define QNT_CORE_FPREG 10
|
||||
#define QNT_LINK_MAP 11
|
||||
|
||||
/* Note segments for core files on Solaris systems. Note name
|
||||
must start with "CORE". */
|
||||
|
||||
Reference in New Issue
Block a user