From 553b9c308a8a989dafef5e7a78c585737714c946 Mon Sep 17 00:00:00 2001 From: kettenis Date: Sat, 19 Oct 2002 13:52:58 +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 3df8c9683b..8f1d482799 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-10-17 Denis Chertykov * elf32-ip2k.c (ELF_MACHINE_ALT1): Define alternate machine code diff --git a/bfd/elf.c b/bfd/elf.c index c1e2d11807..f184c9fb8e 100644 --- a/bfd/elf.c +++ b/bfd/elf.c @@ -6803,8 +6803,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.11.0