OSDN Git Service

* bfd-in.h (STRING_AND_COMMA): New macro. Takes one constant string as its
[pf3gnuchains/pf3gnuchains3x.git] / bfd / hpux-core.c
index b3c070c..e8a5e31 100644 (file)
@@ -144,7 +144,7 @@ thread_section_p (bfd *abfd ATTRIBUTE_UNUSED,
                   asection *sect,
                   void *obj ATTRIBUTE_UNUSED)
 {
-  return (strncmp (sect->name, ".reg/", 5) == 0);
+  return CONST_STRNEQ (sect->name, ".reg/");
 }
 
 /* this function builds a bfd target if the file is a corefile.