[Patch v2 1/2] Clean up DSBT support

Mark Salter msalter at redhat.com
Wed Jun 6 20:55:32 UTC 2012


On Wed, 2012-06-06 at 09:17 +0200, Bernhard Reutner-Fischer wrote:
> On Mon, Jun 04, 2012 at 03:40:57PM -0400, Mark Salter wrote:
> >On Tue, 2012-05-22 at 10:53 -0400, Mark Salter wrote:
> >> The existing DSBT support relies on the kernel to provide DSBT info
> >> as part of the load maps passed to user space. The problem with this
> >> approach is that the DSBT info is in the dynamic section, so the
> >> kernel must access a userspace mapping of the dynamic section (or
> >> separately read a copy for the kernel) in order to retrieve the
> >> information needed by userspace.
> >> 
> >> This patch reworks the DSBT support to remove the reliance on DSBT
> >> info coming from the kernel. Instead, ldso reads the info itself from
> >> the dynamic section. One other benefit of this is that it allows the
> >> existing kernel FDPIC loader to also load DSBT binaries.
> >
> >Ping. Do I need to do anything else to help this along?
> 
> I have pushed 1/2.

Thanks!

> 
> Please use {,CFI_}STRINGIFY instead of __xstr in 2/2 and resend.

Done. Using __stringify from libc-symbols.h which was already included.

--Mark





More information about the uClibc mailing list