Section GetSectionByName(string name, bool throw_exc)
{
IntPtr section = bfd_get_section_by_name (bfd, name);
if (section == IntPtr.Zero) {
if (throw_exc)
throw new SymbolTableException (
"Can't get bfd section {0}", name);
else
return null;
}
return new Section (this, section);
}