2003-07-25 H.J. Lu * config/obj-elf.c (obj_elf_change_section): Always set section type and flags. --- gas/config/obj-elf.c.type 2003-07-25 09:03:06.000000000 -0700 +++ gas/config/obj-elf.c 2003-07-25 08:59:49.000000000 -0700 @@ -681,11 +681,11 @@ obj_elf_change_section (name, type, attr 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)