aboutsummaryrefslogtreecommitdiff
path: root/bfd/hpux-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/hpux-core.c')
-rw-r--r--bfd/hpux-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/hpux-core.c b/bfd/hpux-core.c
index 03d0de3..d84df68 100644
--- a/bfd/hpux-core.c
+++ b/bfd/hpux-core.c
@@ -145,7 +145,7 @@ thread_section_p (bfd *abfd ATTRIBUTE_UNUSED,
asection *sect,
void *obj ATTRIBUTE_UNUSED)
{
- return CONST_STRNEQ (sect->name, ".reg/");
+ return startswith (sect->name, ".reg/");
}
/* this function builds a bfd target if the file is a corefile.