From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29369 invoked by alias); 20 Jan 2005 19:28:29 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 28761 invoked by uid 48); 20 Jan 2005 19:28:19 -0000 Date: Thu, 20 Jan 2005 19:28:00 -0000 Message-ID: <20050120192819.28750.qmail@sourceware.org> From: "hjl at lucon dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20050119002432.19520.hjl@lucon.org> References: <20050119002432.19520.hjl@lucon.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug target/19520] protected function pointer doesn't work right X-Bugzilla-Reason: CC X-SW-Source: 2005-01/txt/msg02871.txt.bz2 List-Id: ------- Additional Comments From hjl at lucon dot org 2005-01-20 19:28 ------- Depending on the psABI, because of copy relocation on data symbols and function pointer on function symbols, a protected symbol has to be treated very carefully. We have to check 2 things: 1. If the psABI uses copy relocation, protected data symbol is the same as normal symbol. 2. If the psABI doesn't support the "official function address", that is the psABI guarantee there is one and one only function address, only branch to functions can be treated as local. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19520