From 67ff281703ddc411fd57e01db2711fe320191118 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sat, 19 Oct 2002 22:44:54 +0000 Subject: [PATCH] * elf.c (elfcore_grok_note): Fix recognition on NT_PRXFPREG notes. --- bfd/ChangeLog | 4 ++++ bfd/elf.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) 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; -- 2.47.3