summaryrefslogtreecommitdiff
path: root/bfd/elf.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2002-10-19 13:52:58 +0000
committerMark Kettenis <kettenis@gnu.org>2002-10-19 13:52:58 +0000
commit6df383261d565d34e40560f6bb0c8a2e313d3d7b (patch)
treed9e1f06a03dcd4c84454ecc71e7ab397042f99b7 /bfd/elf.c
parent6fd23dcb040d040a8129016adec94b6ef8f32178 (diff)
downloadbinutils-redhat-6df383261d565d34e40560f6bb0c8a2e313d3d7b.tar.gz
* elf.c (elfcore_grok_note): Fix recognition on NT_PRXFPREG notes.
Diffstat (limited to 'bfd/elf.c')
-rw-r--r--bfd/elf.c4
1 files changed, 2 insertions, 2 deletions
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;