]> 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 13:52:58 +0000 (13:52 +0000)
committerMark Kettenis <kettenis@gnu.org>
Sat, 19 Oct 2002 13:52:58 +0000 (13:52 +0000)
bfd/ChangeLog
bfd/elf.c

index 3df8c9683b7290a059c7a3346415ed327e38c630..8f1d482799ca9c9ceb147ff717964cb09fe80197 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-10-17  Denis Chertykov  <denisc@overta.ru>
 
        * elf32-ip2k.c (ELF_MACHINE_ALT1): Define alternate machine code
index c1e2d118071e25c92919e180b627a680b7d249d6..f184c9fb8eb6188decba1b0ba99f612af9694877 100644 (file)
--- 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;