From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: <libc-alpha@sources.redhat.com>
Cc: <linuxppc-dev@lists.linuxppc.org>, Dan Malek <dan@mvista.com>,
<cort@fsmlabs.com>, <paulus@samba.org>
Subject: Re: PPC sysdep additions & problem
Date: Fri, 6 Apr 2001 14:22:27 +0200 [thread overview]
Message-ID: <20010406122227.17368@mailhost.mipsys.com> (raw)
In-Reply-To: <20010406101714.12391@mailhost.mipsys.com>
>
>Note that so far, I had some problems loading binaries if I add
>3 entries to the aux table from the kernel with numbers 1000,1001,1002.
>I'm not sure what would have caused binaries not to load properly
>(apparently, their command line gets screwed, I'm not too sure yet).
>The glibc code that fills the "seen" mask definitely couldn't set
>bits for those entries, but this shouldn't have caused any problem.
Correcting myself, the behaviour of 1<<X with X>31 beeing undefined, the
compiler was free to do a modulo, and so caused some real "seen" bits to
be garbled.
So I would suggest modifying slightly glibc to not mask bits above 31,
thus allowing platform-specific high-value tags to be passed there in
the future.
In the meantime, I still need a <31 number allocated for those cache
line sizes ;)
Ben.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
prev parent reply other threads:[~2001-04-06 12:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-06 10:17 PPC sysdep additions & problem Benjamin Herrenschmidt
2001-04-06 12:22 ` Benjamin Herrenschmidt [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20010406122227.17368@mailhost.mipsys.com \
--to=benh@kernel.crashing.org \
--cc=cort@fsmlabs.com \
--cc=dan@mvista.com \
--cc=libc-alpha@sources.redhat.com \
--cc=linuxppc-dev@lists.linuxppc.org \
--cc=paulus@samba.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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 NNTP newsgroup(s).