2003-07-25 H.J. Lu <hongjiu.lu@intel.com>

* config/obj-elf.c (obj_elf_change_section): Always set section
	type and flags.
This commit is contained in:
H.J. Lu 2003-07-25 16:08:28 +00:00
parent d622ef4b20
commit 8e8c182c83
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
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.

View File

@ -681,11 +681,11 @@ obj_elf_change_section (name, type, attr, entsize, group_name, linkonce, push)
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)