PR target/40483 * configure.ac (gcc_cv_as_comdat_group_group): Check for Sun as COMDAT group syntax, both SPARC and x86 variants. (HAVE_COMDAT_GROUP): Also define if gcc_cv_as_comdat_group_group. * configure: Regenerate. * config/sol2.h (TARGET_SOLARIS): Define. (PUSHSECTION_FORMAT): Remove. (SECTION_NAME_FORMAT): Define. * config/sol2.c: Include hashtab.h. (solaris_output_init_fini): Replace PUSHSECTION_FORMAT by its expansion, using SECTION_NAME_FORMAT. (solaris_comdat_htab): New variable. (struct comdat_entry): Define. (comdat_hash): New function. (comdat_eq): New function. (solaris_elf_asm_comdat_section): New function. (solaris_define_comdat_signature): New function. (solaris_code_end): New function. * config/sol2-protos.h (solaris_elf_asm_comdat_section): Declare. (solaris_code_end): Declare. * config/t-sol2 (sol2.o): Add $HASHTAB_H dependency. * config/i386/i386.c (ix86_code_end) [TARGET_SOLARIS]: Call solaris_code_end. (i386_solaris_elf_named_section): Wrap in TARGET_SOLARIS. Remove ATTRIBUTE_UNUSED. [!USE_GAS]: Call solaris_elf_asm_comdat_section for SECTION_LINKONCE sections if HAVE_COMDAT_GROUP. * config/sparc/sparc.c (sparc_solaris_elf_asm_named_section): Likewise. * config/i386/sol2-10.h (TARGET_ASM_NAMED_SECTION): Moved ... * config/i386/sol2.h (TARGET_ASM_NAMED_SECTION): ... here. * config/sparc/sol2.h (TARGET_ASM_CODE_END): Redefine. (PUSHSECTION_FORMAT): Remove. (SECTION_NAME_FORMAT): Redefine. From-SVN: r173913
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| biarch64.h | Loading commit data... | |
| constraints.md | Loading commit data... | |
| crtfastmath.c | Loading commit data... | |
| cypress.md | Loading commit data... | |
| freebsd.h | Loading commit data... | |
| gmon-sol2.c | Loading commit data... | |
| hypersparc.md | Loading commit data... | |
| lb1spc.asm | Loading commit data... | |
| lb1spl.asm | Loading commit data... | |
| leon.md | Loading commit data... | |
| libgcc-sparc-glibc.ver | Loading commit data... | |
| linux-unwind.h | Loading commit data... | |
| linux.h | Loading commit data... | |
| linux64.h | Loading commit data... | |
| little-endian.opt | Loading commit data... | |
| long-double-switch.opt | Loading commit data... | |
| netbsd-elf.h | Loading commit data... | |
| niagara.md | Loading commit data... | |
| niagara2.md | Loading commit data... | |
| openbsd1-64.h | Loading commit data... | |
| openbsd64.h | Loading commit data... | |
| predicates.md | Loading commit data... | |
| rtemself.h | Loading commit data... | |
| sol2-64.h | Loading commit data... | |
| sol2-bi.h | Loading commit data... | |
| sol2-c1.asm | Loading commit data... | |
| sol2-ci.asm | Loading commit data... | |
| sol2-cn.asm | Loading commit data... | |
| sol2-gas-bi.h | Loading commit data... | |
| sol2-gas.h | Loading commit data... | |
| sol2-gld-bi.h | Loading commit data... | |
| sol2-unwind.h | Loading commit data... | |
| sol2.h | Loading commit data... | |
| sp-elf.h | Loading commit data... | |
| sp64-elf.h | Loading commit data... | |
| sparc-modes.def | Loading commit data... | |
| sparc-opts.h | Loading commit data... | |
| sparc-protos.h | Loading commit data... | |
| sparc.c | Loading commit data... | |
| sparc.h | Loading commit data... | |
| sparc.md | Loading commit data... | |
| sparc.opt | Loading commit data... | |
| sparclet.md | Loading commit data... | |
| supersparc.md | Loading commit data... | |
| sync.md | Loading commit data... | |
| sysv4.h | Loading commit data... | |
| t-crtfm | Loading commit data... | |
| t-elf | Loading commit data... | |
| t-leon | Loading commit data... | |
| t-leon3 | Loading commit data... | |
| t-linux | Loading commit data... | |
| t-linux64 | Loading commit data... | |
| t-netbsd64 | Loading commit data... | |
| t-sol2 | Loading commit data... | |
| t-sol2-64 | Loading commit data... | |
| t-vxworks | Loading commit data... | |
| ultra1_2.md | Loading commit data... | |
| ultra3.md | Loading commit data... | |
| vxworks.h | Loading commit data... |