diff options
author | Kamil Rytarowski <n54@gmx.com> | 2020-03-13 23:37:10 +0100 |
---|---|---|
committer | Kamil Rytarowski <n54@gmx.com> | 2020-03-14 00:31:16 +0100 |
commit | 06d949ec3121f4732e789db1efc53986355c9481 (patch) | |
tree | b763ed34ee3a9397ba6b1795548f29109aa71dcf /bfd | |
parent | 9fcbd8a90a92bf303c41be816040789e1ed6cf4e (diff) | |
download | fsf-binutils-gdb-06d949ec3121f4732e789db1efc53986355c9481.zip fsf-binutils-gdb-06d949ec3121f4732e789db1efc53986355c9481.tar.gz fsf-binutils-gdb-06d949ec3121f4732e789db1efc53986355c9481.tar.bz2 |
Implement NT_NETBSDCORE_LWPSTATUS (NetBSD-Core)
bfd/ChangeLog:
* elf.c (elfcore_grok_netbsd_note): Add support for
NT_NETBSDCORE_LWPSTATUS notes.
binutils/ChangeLog:
* readelf.c (get_netbsd_elfcore_note_type): Add support for
NT_NETBSDCORE_LWPSTATUS notes.
include/ChangeLog:
* elf/common.h (NT_NETBSDCORE_LWPSTATUS): New define.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elf.c | 8 |
2 files changed, 12 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 84bc1e1..23d539c 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2020-03-13 Kamil Rytarowski <n54@gmx.com> + + * elf.c (elfcore_grok_netbsd_note): Add support for + NT_NETBSDCORE_LWPSTATUS notes. + 2020-03-13 Christophe Lyon <christophe.lyon@linaro.org> * bfd-in2.h: Regenerate. @@ -10750,11 +10750,17 @@ elfcore_grok_netbsd_note (bfd *abfd, Elf_Internal_Note *note) /* NetBSD-specific Elf Auxiliary Vector data. */ return elfcore_make_auxv_note_section (abfd, note, 4); #endif +#ifdef NT_NETBSDCORE_LWPSTATUS + case NT_NETBSDCORE_LWPSTATUS: + return elfcore_make_note_pseudosection (abfd, + ".note.netbsdcore.lwpstatus", + note); +#endif default: break; } - /* As of March 2017 there are no other machine-independent notes + /* As of March 2020 there are no other machine-independent notes defined for NetBSD core files. If the note type is less than the start of the machine-dependent note types, we don't understand it. */ |