mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-14 14:29:10 +00:00
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:
parent
d622ef4b20
commit
8e8c182c83
@ -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>
|
2003-07-25 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
* config/obj-elf.c (special_sections): Removed.
|
* config/obj-elf.c (special_sections): Removed.
|
||||||
|
@ -681,11 +681,11 @@ obj_elf_change_section (name, type, attr, entsize, group_name, linkonce, push)
|
|||||||
name);
|
name);
|
||||||
}
|
}
|
||||||
attr |= def_attr;
|
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. */
|
/* Convert ELF type and flags to BFD flags. */
|
||||||
flags = (SEC_RELOC
|
flags = (SEC_RELOC
|
||||||
| ((attr & SHF_WRITE) ? 0 : SEC_READONLY)
|
| ((attr & SHF_WRITE) ? 0 : SEC_READONLY)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user