diff options
author | Frederic Cambus <fred@statdns.com> | 2021-04-14 11:15:01 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2021-04-14 11:15:01 +0100 |
commit | 5f47741bf633596475bb8fbb0ed304be318362cd (patch) | |
tree | 5cf3ee9d2f442325a5f3a0e77624b508c0a1719e /bfd/elf.c | |
parent | 8985b74b7d0f957eda8ec12e88665dab17f00a15 (diff) | |
download | gdb-5f47741bf633596475bb8fbb0ed304be318362cd.zip gdb-5f47741bf633596475bb8fbb0ed304be318362cd.tar.gz gdb-5f47741bf633596475bb8fbb0ed304be318362cd.tar.bz2 |
Remove unneeded tests for definitions of NT_BSDNETCORE values.
binutils* readelf.c (get_netbsd_elfcore_note_type): Remove unneeded #ifdef
checks for NT_NETBSDCORE_AUXV and NT_NETBSDCORE_LWPSTATUS.
bfd * elf.c (elfcore_grok_netbsd_note): Remove unneeded #ifdef
checks for NT_NETBSDCORE_AUXV and NT_NETBSDCORE_LWPSTATUS.
Diffstat (limited to 'bfd/elf.c')
-rw-r--r-- | bfd/elf.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -10945,17 +10945,13 @@ elfcore_grok_netbsd_note (bfd *abfd, Elf_Internal_Note *note) since the kernel writes this note out first when it creates a core file. */ return elfcore_grok_netbsd_procinfo (abfd, note); -#ifdef NT_NETBSDCORE_AUXV case NT_NETBSDCORE_AUXV: /* 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; } |