re PR c++/14607 (Duplicate symbol "vtable for node" in files div.o and env.o)
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>
Tue, 20 Jul 2004 19:52:11 +0000 (19:52 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Tue, 20 Jul 2004 19:52:11 +0000 (19:52 +0000)
commit9a55eab313314c6004a3833cd20df6e7f77d59ea
tree8b633e8e0a3ee97b566dbc21ed663fcfbc863f2a
parentda7404533a349c82050d029dfd7d24e168e743f9
re PR c++/14607 (Duplicate symbol "vtable for node" in files div.o and env.o)

PR c++/14607
* config/pa/pa-hpux10.h (SUPPORTS_ONE_ONLY): Define.
(MAKE_DECL_ONE_ONLY): Undefine.
* pa-protos.h (som_text_section_asm_op, one_only_readonly_data_section,
readonly_data, one_only_data_section, forget_section): New prototypes.
* pa.c (pa_init_machine_status, som_text_section_asm_op): New
functions.
(pa_select_section): Add one-only (COMDAT) support.
* pa.h (struct machine_function): Define.
* som.h (ASM_OUTPUT_FUNCTION_PREFIX): Delete.
(TEXT_SECTION_ASM_OP): Call som_text_section_asm_op.
(DEFAULT_TEXT_SECTION_ASM_OP, NEW_TEXT_SECTION_ASM_OP,
ONE_ONLY_TEXT_SECTION_ASM_OP, ONE_ONLY_READONLY_DATA_SECTION_ASM_OP,
ONE_ONLY_DATA_SECTION_ASM_OP): New defines.
(EXTRA_SECTIONS): Add in_one_only_readonly_data and in_one_only_data.
(EXTRA_SECTION_FUNCTIONS): Rework to use individual function macros.
(READONLY_DATA_FUNCTION, ONE_ONLY_READONLY_DATA_SECTION_FUNCTION,
ONE_ONLY_DATA_SECTION_FUNCTION, FORGET_SECTION_FUNCTION): New defines
for EXTRA_SECTION_FUNCTIONS.
* doc/install.texi: Update binutils requirements.

From-SVN: r84970
gcc/ChangeLog
gcc/config/pa/pa-hpux10.h
gcc/config/pa/pa-protos.h
gcc/config/pa/pa.c
gcc/config/pa/pa.h
gcc/config/pa/som.h
gcc/doc/install.texi