diff options
author | Mark Kettenis <kettenis@gnu.org> | 2002-10-19 13:52:58 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2002-10-19 13:52:58 +0000 |
commit | e377ab71daa0e8865219cde37f190c918825200b (patch) | |
tree | 0070e9c6670294b52832cface423eb2db38b64dd /bfd | |
parent | 6047c971a24f05be2c5ff6b45cfd56e9ca0fc020 (diff) | |
download | gdb-e377ab71daa0e8865219cde37f190c918825200b.zip gdb-e377ab71daa0e8865219cde37f190c918825200b.tar.gz gdb-e377ab71daa0e8865219cde37f190c918825200b.tar.bz2 |
* elf.c (elfcore_grok_note): Fix recognition on NT_PRXFPREG notes.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 4 | ||||
-rw-r--r-- | bfd/elf.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 3df8c96..8f1d482 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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 @@ -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; |