* coffcode.h (styp_to_sec_flags): never load INFO sections
* seclet.c (rel): don't relocate INFO sections
abfd->filename);
return(bfd_reloc_overflow);
}
- bfd_put_8(abfd, insn, hit_data);
+ bfd_put_8(abfd, unsigned_value, hit_data);
break;
case R_HWORD:
insn = bfd_get_16(abfd, hit_data);
asection *output_section)
{
- if (output_section->flags & SEC_HAS_CONTENTS )
+ if (output_section->flags & SEC_HAS_CONTENTS
+ && !(output_section->flags & SEC_NEVER_LOAD))
{
bfd_byte *data = (bfd_byte *)alloca(seclet->size);
data = bfd_get_relocated_section_contents(abfd, seclet, data);