diff options
author | Roland McGrath <mcgrathr@google.com> | 2018-05-05 23:35:25 +0000 |
---|---|---|
committer | Roland McGrath <roland@gcc.gnu.org> | 2018-05-05 23:35:25 +0000 |
commit | f9ede9571409e8db13fb8226a3ed69cfc9ed8a54 (patch) | |
tree | 5f99569e618da1cea53cac3a2556bedb26b398d9 /gcc/cfgexpand.c | |
parent | 212513950ca0f5269b8e298a8b4c9a0982543449 (diff) | |
download | gcc-f9ede9571409e8db13fb8226a3ed69cfc9ed8a54.zip gcc-f9ede9571409e8db13fb8226a3ed69cfc9ed8a54.tar.gz gcc-f9ede9571409e8db13fb8226a3ed69cfc9ed8a54.tar.bz2 |
PR other/77609: Let the assembler choose ELF section types for miscellaneous named sections
gcc/
PR other/77609
* varasm.c (default_section_type_flags): Set SECTION_NOTYPE for
any section for which we don't know a specific type it should have,
regardless of name. Previously this was done only for the exact
names ".init_array", ".fini_array", and ".preinit_array".
(default_elf_asm_named_section): Add comment about
relationship with default_section_type_flags and SECTION_NOTYPE.
(get_section): Don't consider it a type conflict if one side has
SECTION_NOTYPE and the other doesn't, as long as neither has the
SECTION_BSS et al used in the default_section_type_flags logic.
From-SVN: r259969
Diffstat (limited to 'gcc/cfgexpand.c')
0 files changed, 0 insertions, 0 deletions