This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14607] [3.3 Regression] Duplicate symbol "vtable for node" in files div.o and env.o
- From: "cvs-commit at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Dec 2004 04:51:43 -0000
- Subject: [Bug c++/14607] [3.3 Regression] Duplicate symbol "vtable for node" in files div.o and env.o
- References: <20040316171907.14607.danglin@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-12-28 04:51 -------
Subject: Bug 14607
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_4-branch
Changes by: danglin@gcc.gnu.org 2004-12-28 04:51:33
Modified files:
gcc : ChangeLog configure.ac configure config.in
gcc/config/pa : pa-protos.h pa.c pa.h som.h
Log message:
PR c++/14607.
Backported from main.
* configure.ac (HAVE_GAS_NSUBSPA_COMDAT): Add check for .NSUBSPA
COMDAT support.
* configure. config.in: Rebuilt.
* config/pa/pa-protos.h (som_text_section_asm_op,
som_readonly_data_section, som_one_only_readonly_data_section,
som_one_only_data_section, forget_section): Declare.
* pa.c (override_options): Set init_machine_status to
pa_init_machine_status.
(pa_init_machine_status): New function.
(pa_output_function_epilogue): Call forget_section if TARGET_SOM and
TARGET_GAS.
(pa_asm_output_mi_thunk): Likewise.
(som_text_section_asm_op): New function.
(pa_select_section): Call som_one_only_readonly_data_section and
som_one_only_data_section when appropriate.
* pa.h (struct machine_function): Define.
(EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS,
SOM_READONLY_DATA_SECTION_FUNCTION,
SOM_ONE_ONLY_READONLY_DATA_SECTION_FUNCTION
SOM_ONE_ONLY_DATA_SECTION_FUNCTION, FORGET_SECTION_FUNCTION): New
macros.
* som.h (ASM_OUTPUT_FUNCTION_PREFIX): Delete.
(TEXT_SECTION_ASM_OP): Call som_text_section_asm_op.
(READONLY_DATA_ASM_OP, EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Delete.
(READONLY_DATA_SECTION): Call som_readonly_data_section when not PIC.
(SUPPORTS_SOM_COMDAT): New define.
(SUPPORTS_ONE_ONLY): True if SUPPORTS_WEAK or SUPPORTS_SOM_COMDAT.
(MAKE_DECL_ONE_ONLY): Rework common support.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=2.2326.2.755&r2=2.2326.2.756
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/configure.ac.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=2.6.2.18&r2=2.6.2.19
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/configure.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.794.2.20&r2=1.794.2.21
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config.in.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.181.4.5&r2=1.181.4.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/pa/pa-protos.h.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.29.4.2&r2=1.29.4.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/pa/pa.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.235.4.8&r2=1.235.4.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/pa/pa.h.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.208.4.6&r2=1.208.4.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/pa/som.h.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.47&r2=1.47.6.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14607