From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18314 invoked by alias); 27 Nov 2008 18:56:49 -0000 Received: (qmail 18034 invoked by uid 48); 27 Nov 2008 18:55:29 -0000 Date: Thu, 27 Nov 2008 18:56:00 -0000 Message-ID: <20081127185529.18033.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c/38295] Support pointer difference as constant in static initializer In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "gnu at behdad 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: 2008-11/txt/msg02377.txt.bz2 ------- Comment #8 from gnu at behdad dot org 2008-11-27 18:55 ------- If they are asked to be put in different sections, sure, it will err. But doesn't gcc already use relative calls for many static functions in the same unit? Let me back out: my request is: add gcc extension to support some way to implement vtables that do not need (many) relocations. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38295