6521N/A# The warning below appears multiple times for .reg2 when debugging a core
6521N/A# file on x86. Can't set REGSET_VARIABLE_SIZE flag, so
6521N/A# Note: this patch may not be appropriate for upstream;
6521N/A# it may eventually be removed.
6521N/A warning (_("Section `%s' in core file too small."), section_name);
6521N/A+#ifndef SOLARIS /* skip this warning for Solaris */
6521N/A if (size != min_size && !(regset->flags & REGSET_VARIABLE_SIZE))
6521N/A warning (_("Unexpected size of section `%s' in core file."),
6521N/A contents = (char *) alloca (size);
6521N/A if (! bfd_get_section_contents (core_bfd, section, contents,