This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[PATCH] Fix recognition of NT_PRXFPREG notes
- From: Mark Kettenis <kettenis at chello dot nl>
- To: binutils at sources dot redhat dot com
- Date: Sat, 19 Oct 2002 15:53:00 +0200 (CEST)
- Subject: [PATCH] Fix recognition of NT_PRXFPREG notes
Alan Modra approved this patch back in july, but then I went on
vacation and forgot all about it. Checked in now.
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* elf.c (elfcore_grok_note): Fix recognition on NT_PRXFPREG notes.
Index: elf.c
===================================================================
RCS file: /cvs/src/src/bfd/elf.c,v
retrieving revision 1.163
diff -u -p -r1.163 elf.c
--- elf.c 28 Sep 2002 03:25:56 -0000 1.163
+++ elf.c 19 Oct 2002 13:48:17 -0000
@@ -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;