From: Mark Kettenis Date: Sat, 19 Oct 2002 22:44:54 +0000 (+0000) Subject: * elf.c (elfcore_grok_note): Fix recognition on NT_PRXFPREG notes. X-Git-Tag: gdb_5_3-2002-12-12-release~106 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=67ff281703ddc411fd57e01db2711fe320191118;p=thirdparty%2Fbinutils-gdb.git * elf.c (elfcore_grok_note): Fix recognition on NT_PRXFPREG notes. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index a6465a18b41..d3b0409094e 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2002-10-19 Mark Kettenis + + * elf.c (elfcore_grok_note): Fix recognition on NT_PRXFPREG notes. + 2002-09-04 Kevin Buettner * config.bfd (mips*-*-irix6*): Add new ABI vectors. Make n32 default diff --git a/bfd/elf.c b/bfd/elf.c index 71763d41bef..325ba0028f9 100644 --- a/bfd/elf.c +++ b/bfd/elf.c @@ -6798,8 +6798,8 @@ elfcore_grok_note (abfd, note) #endif case NT_PRXFPREG: /* Linux SSE extension */ - if (note->namesz == 5 - && ! strcmp (note->namedata, "LINUX")) + if (note->namesz == 6 + && strcmp (note->namedata, "LINUX") == 0) return elfcore_grok_prxfpreg (abfd, note); else return true;