From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4265 invoked by alias); 22 Oct 2007 20:11:45 -0000 Received: (qmail 4235 invoked by alias); 22 Oct 2007 20:11:35 -0000 Date: Mon, 22 Oct 2007 20:11:00 -0000 Message-ID: <20071022201135.4234.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug target/33169] Compiler generates two different relocs for the same symbol In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "rsandifo at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-10/txt/msg01999.txt.bz2 ------- Comment #10 from rsandifo at gcc dot gnu dot org 2007-10-22 20:11 ------- Subject: Bug 33169 Author: rsandifo Date: Mon Oct 22 20:11:19 2007 New Revision: 129559 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129559 Log: gcc/ PR target/33169 Backport from mainline: 2006-10-29 Richard Sandiford * config/mips/mips.c (mips_classify_symbol): Test DECL_WEAK as well as TREE_PUBLIC when deciding whether to return SYMBOL_GOT_GLOBAL. Modified: branches/gcc-4_2-branch/gcc/ChangeLog branches/gcc-4_2-branch/gcc/config/mips/mips.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33169