* elf.c (elfcore_grok_note): Fix recognition on NT_PRXFPREG notes.

This commit is contained in:
Mark Kettenis 2002-10-19 13:52:58 +00:00
parent 6047c971a2
commit e377ab71da
2 changed files with 6 additions and 2 deletions

View 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

View File

@ -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;