From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17278 invoked by alias); 6 Aug 2002 07:19:49 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 17258 invoked from network); 6 Aug 2002 07:19:45 -0000 Received: from unknown (HELO myware.mynet) (24.221.190.179) by sources.redhat.com with SMTP; 6 Aug 2002 07:19:45 -0000 Received: from redhat.com (myware.mynet [192.168.7.70]) (authenticated bits=0) by myware.mynet (8.12.3/8.12.3) with ESMTP id g767F6To012949; Tue, 6 Aug 2002 00:15:06 -0700 Message-ID: <3D4F7775.3070904@redhat.com> Date: Tue, 06 Aug 2002 00:19:00 -0000 From: Ulrich Drepper User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1b) Gecko/20020804 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Roland McGrath CC: Jakub Jelinek , Glibc hackers Subject: Re: [PATCH] Nuke another 21 .plt slots References: <20020806070803.54E051BA1B@perdition.linnaean.org> X-Enigmail-Version: 0.65.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-08/txt/msg00087.txt.bz2 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Roland McGrath wrote: > I don't think it is so unreasonable. What exactly? That gcc by default is generating code with different semantics based on the optimization level? > Anything that is written so that it > would work with static linking would work will come out right (i.e. you can > only inline in the same module and it would be a multiple definition if > there were a competing definition elsewhere), except for special cases > defining weak functions. I have no problem with this being possible. But the user must tell the compiler to do so. There is a lot of code out there which depends on interposition being possible. All optimizations default on the safe side, why not this one as well? - -- - ---------------. ,-. 1325 Chesapeake Terrace Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA Red Hat `--' drepper at redhat.com `------------------------ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE9T3d62ijCOnn/RHQRAsxlAKChbETqVF7MiHubYxzSugqU8nJ8RACeIunj 3no+m3gkdxDOKdinWmUQYks= =xmoz -----END PGP SIGNATURE-----