svn commit: r189362 - in head/sys: amd64/linux32 compat/linux
i386/linux
Roman Divacky
rdivacky at FreeBSD.org
Wed Mar 4 05:49:13 PST 2009
On Wed, Mar 04, 2009 at 04:46:39PM +0300, Chagin Dmitry wrote:
> On Wed, Mar 04, 2009 at 02:23:06PM +0100, Roman Divacky wrote:
> > On Wed, Mar 04, 2009 at 12:14:33PM +0000, Dmitry Chagin wrote:
> > > Author: dchagin
> > > Date: Wed Mar 4 12:14:33 2009
> > > New Revision: 189362
> > > URL: http://svn.freebsd.org/changeset/base/189362
> > >
> > > Log:
> > > Add AT_PLATFORM, AT_HWCAP and AT_CLKTCK auxiliary vector entries which
> > > are used by glibc. This silents the message "2.4+ kernel w/o ELF notes?"
> > > from some programs at start, among them are top and pkill.
> > >
> > > Do the assignment of the vector entries in elf_linux_fixup()
> > > as it is done in glibc.
> > >
> > > Fix some minor style issues.
> >
> > cool! have you tested this works with 2.4 emulation? I think it might
> > break it as I am quite sure the aux tags changed between 2.4 and 2.6.
> >
> > we might need to scrap 2.4 emulation altogether in 8.x
> >
>
>
> hi Roman!
>
> glibc do:
>
> for (av = _dl_auxv; av->a_type != AT_NULL; set_seen (av++))
> switch (av->a_type)
> {
> case AT_PHDR:
> phdr = (void *) av->a_un.a_val;
> break;
>
> etc....., and how it can be broken by adding new AT entries?
ah... it's correct then
thnx!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-head/attachments/20090304/fb0d60d7/attachment.pgp
More information about the svn-src-head
mailing list