public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
* .text.compat
@ 2004-03-10  9:36 Ulrich Drepper
  2004-03-10 10:55 ` [PATCH] .text.compat markings Jakub Jelinek
  0 siblings, 1 reply; 3+ messages in thread
From: Ulrich Drepper @ 2004-03-10  9:36 UTC (permalink / raw)
  To: GNU libc hacker

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 ❖

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-03-10 19:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-10  9:36 .text.compat Ulrich Drepper
2004-03-10 10:55 ` [PATCH] .text.compat markings Jakub Jelinek
2004-03-10 19:29   ` Ulrich Drepper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).