PT_NOTE sections to SHT_NOTE.
+2008-02-17 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * elf.c (assign_file_positions_for_load_sections): Set the type of
+ PT_NOTE sections to SHT_NOTE.
+
2008-02-17 Ulrich Weigand <uweigand@de.ibm.com>
* simple.c (bfd_simple_get_relocated_section_contents): Set
bfd_set_error (bfd_error_bad_value);
return FALSE;
}
+ /* Set the note section type to SHT_NOTE. */
+ else if (p->p_type == PT_NOTE)
+ for (i = 0; i < m->count; i++)
+ elf_section_type (m->sections[i]) = SHT_NOTE;
p->p_offset = 0;
p->p_filesz = 0;