2001-12-19 Michael Snyder <msnyder@redhat.com>

* 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).
This commit is contained in:
Michael Snyder 2001-12-20 20:22:17 +00:00
parent 47724592cf
commit fd29389c60
2 changed files with 6 additions and 1 deletions

View file

@ -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 <msnyder@redhat.com>
* 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 <jakub@redhat.com>
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): If new_size

View file

@ -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