Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Mar 2009 14:45:38 +0100
From:      Roman Divacky <rdivacky@FreeBSD.org>
To:        Chagin Dmitry <dchagin@FreeBSD.org>
Cc:        svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org
Subject:   Re: svn commit: r189362 - in head/sys: amd64/linux32 compat/linux i386/linux
Message-ID:  <20090304134538.GA49621@freebsd.org>
In-Reply-To: <20090304134639.GA5968@dchagin.static.corbina.ru>
References:  <200903041214.n24CEXmG041836@svn.freebsd.org> <20090304132306.GA46344@freebsd.org> <20090304134639.GA5968@dchagin.static.corbina.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

--VbJkn9YxBvnuCH5J
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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
> > >=20
> > > Log:
> > >   Add AT_PLATFORM, AT_HWCAP and AT_CLKTCK auxiliary vector entries wh=
ich
> > >   are used by glibc. This silents the message "2.4+ kernel w/o ELF no=
tes?"
> > >   from some programs at start, among them are top and pkill.
> > >  =20
> > >   Do the assignment of the vector entries in elf_linux_fixup()
> > >   as it is done in glibc.
> > >  =20
> > >   Fix some minor style issues.
> >=20
> > 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.
> >=20
> > we might need to scrap 2.4 emulation altogether in 8.x
> >=20
>=20
>=20
> hi Roman!
>=20
> glibc do:
>=20
>   for (av =3D _dl_auxv; av->a_type !=3D AT_NULL; set_seen (av++))
>     switch (av->a_type)
>       {
>       case AT_PHDR:
>         phdr =3D (void *) av->a_un.a_val;
>         break;
>=20
> etc....., and how it can be broken by adding new AT entries?

ah... it's correct then

thnx!

--VbJkn9YxBvnuCH5J
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (FreeBSD)

iEYEARECAAYFAkmuhgEACgkQLVEj6D3CBExAwACeMG4e0R6khBQq7JrbTp/rIbdc
V6cAn15RHYtE5vM/R44rp5qexWjgdtzK
=CNpS
-----END PGP SIGNATURE-----

--VbJkn9YxBvnuCH5J--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090304134538.GA49621>