* config/obj-elf.c (obj_elf_change_section): Always set section
type and flags.
+2003-07-25 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/obj-elf.c (obj_elf_change_section): Always set section
+ type and flags.
+
2003-07-25 H.J. Lu <hongjiu.lu@intel.com>
* config/obj-elf.c (special_sections): Removed.
name);
}
attr |= def_attr;
-
- elf_section_type (sec) = type;
- elf_section_flags (sec) = attr;
}
+ elf_section_type (sec) = type;
+ elf_section_flags (sec) = attr;
+
/* Convert ELF type and flags to BFD flags. */
flags = (SEC_RELOC
| ((attr & SHF_WRITE) ? 0 : SEC_READONLY)