From fd29389c60cc4467763e7fe12229c95d31a779e8 Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Thu, 20 Dec 2001 20:22:17 +0000 Subject: [PATCH] 2001-12-19 Michael Snyder * elf32-i386.c (elf_i386_grok_psinfo): Fix probable copy-and-paste error: target is i386 (not mips), and size of descdata is 124 (not 128). --- bfd/ChangeLog | 5 +++++ bfd/elf32-i386.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 7e13204cad8..223f350b861 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -11,6 +11,11 @@ * elfcode.h (elf_slurp_symbol_table): Test elf_elfsections for NULL, as can happen with a core file, before dereferencing. +2001-12-19 Michael Snyder + + * elf32-i386.c (elf_i386_grok_psinfo): Fix copy-and-paste error: + target is i386 (not mips), and size of descdata is 124 (not 128). + 2001-12-19 Jakub Jelinek * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): If new_size diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c index 7d22c6ae2cc..236e167911d 100644 --- a/bfd/elf32-i386.c +++ b/bfd/elf32-i386.c @@ -362,7 +362,7 @@ elf_i386_grok_psinfo (abfd, note) default: return false; - case 128: /* Linux/MIPS elf_prpsinfo */ + case 124: /* Linux/i386 elf_prpsinfo */ elf_tdata (abfd)->core_program = _bfd_elfcore_strndup (abfd, note->descdata + 28, 16); elf_tdata (abfd)->core_command -- 2.30.2