Automatic date update in version.in
[deliverable/binutils-gdb.git] / bfd / section.c
index ecad4cd0b9a82e00233c14b463f60c1553fef1cd..17f5b4c3d83f10f548c6366d05df3722f3c8a369 100644 (file)
@@ -688,7 +688,9 @@ CODE_FRAGMENT
 .static inline bfd_boolean
 .bfd_is_const_section (const asection *sec)
 .{
-.  return sec >= bfd_abs_section_ptr && sec <= bfd_ind_section_ptr;
+.  return (sec >= _bfd_std_section
+.          && sec < _bfd_std_section + (sizeof (_bfd_std_section)
+.                                       / sizeof (_bfd_std_section[0])));
 .}
 .
 .{* Return TRUE if input section SEC has been discarded.  *}
This page took 0.027124 seconds and 4 git commands to generate.