From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7625 invoked by alias); 10 Mar 2004 09:36:01 -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 7601 invoked from network); 10 Mar 2004 09:35:59 -0000 Received: from unknown (HELO myware.akkadia.org) (24.221.190.179) by sources.redhat.com with SMTP; 10 Mar 2004 09:35:59 -0000 Received: from redhat.com (drepper@myware.akkadia.org [192.168.7.70]) (authenticated bits=0) by myware.akkadia.org (8.12.11/8.12.10) with ESMTP id i2A9Zaaw030947 for ; Wed, 10 Mar 2004 01:35:37 -0800 Message-ID: <404EE168.2000904@redhat.com> Date: Wed, 10 Mar 2004 09:36:00 -0000 From: Ulrich Drepper Organization: Red Hat, Inc. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7b) Gecko/20040309 MIME-Version: 1.0 To: GNU libc hacker Subject: .text.compat X-Enigmail-Version: 0.83.3.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SW-Source: 2004-03/txt/msg00040.txt.bz2 I just checked in some changes which move the compatibility code in libc into its own section, .text.compat. The linker scripts will add the new section at the end of the .text section. The benefit is, of course, to move hopefully rarely used code out of the usual body of code. Currently these are about 13k on x86. It has the potential to improve paging behavior, maybe even icache usage. Anyway, I looked through x86 only so far. Other archs with compat symbols which are not used by x86 need some work done. Just add the attribute_compat_text_section macro. -- ➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖