[prev in list] [next in list] [prev in thread] [next in thread]
List: glibc-help
Subject: [RFC][PATCH] Prototype for extended printf hooks
From: rsa () us ! ibm ! com (Ryan S ! Arnold)
Date: 2008-10-21 18:41:00
Message-ID: 1224614432.11273.11.camel () localhost
[Download RAW message or body]
On Fri, 2008-08-22 at 16:45 -0500, Ryan S. Arnold wrote:
> Jakub, libc-help, et al.
>
> The linked patch (a GLIBC bugzilla attachment) is a prototype patch
> which adds fully featured printf hooks to GLIBC to support the C-spec
> Draft extension data types: DFP, Altivec/VMX, and VSX.
Ulrich, Jakub, et al.
Here's the third draft of the printf override hooks patch I've been
working on:
http://sourceware.org/bugzilla/attachment.cgi?id=3011&action=view
Associated with bugzilla 6846:
http://sourceware.org/bugzilla/show_bug.cgi?id=6846
This patch does the following:
- Removes the debugging messages.
- Adds __builtin_expect to branch predict around the new hooks.
- Conditionally initializes the arginfo array only if there's a user of
the overrides.
There still remain several issues:
- Adding fields to structs is probably not a good idea without
versioning interfaces.
- The old interfaces either need to be versioned or there need to be
entirely new interfaces for registering overrides.
I figured I'd worked on those once I got some direction on the plumbing
of the patch.
Ryan S. Arnold
IBM Linux Technology Center
Linux Toolchain Development
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic