]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* elf.c (elfcore_grok_note): Fix recognition on NT_PRXFPREG notes.
authorMark Kettenis <kettenis@gnu.org>
Sat, 19 Oct 2002 22:44:54 +0000 (22:44 +0000)
committerMark Kettenis <kettenis@gnu.org>
Sat, 19 Oct 2002 22:44:54 +0000 (22:44 +0000)
bfd/ChangeLog
bfd/elf.c

index a6465a18b4198d82760a0ab539f7e7a094b891c7..d3b0409094e083224def6e460f886583854fb349 100644 (file)
@@ -1,3 +1,7 @@
+2002-10-19  Mark Kettenis  <kettenis@gnu.org>
+
+       * elf.c (elfcore_grok_note): Fix recognition on NT_PRXFPREG notes.
+
 2002-09-04  Kevin Buettner  <kevinb@redhat.com>
 
        * config.bfd (mips*-*-irix6*): Add new ABI vectors.  Make n32 default
index 71763d41befce52a8bcd4aff828f22f580532cec..325ba0028f9a2391668a399e4b391e1ce25e0861 100644 (file)
--- 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;