linux-alpha.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Richard Henderson <rth@twiddle.net>
To: Matt Turner <mattst88@gmail.com>
Cc: linux-alpha@vger.kernel.org, linux-kernel@vger.kernel.org,
	Ivan Kokshaysky <ink@jurassic.park.msu.ru>,
	ang@brigante.org
Subject: Re: [RFC] alpha: hack objstrip.c to make it compile.
Date: Tue, 30 Mar 2010 07:59:02 -0700	[thread overview]
Message-ID: <4BB211B6.2060300@twiddle.net> (raw)
In-Reply-To: <b4198de61003300749s7344f4f7o9070fafb142eb5b4@mail.gmail.com>

On 03/30/2010 07:49 AM, Matt Turner wrote:
> The problem is that, at least with my distribution, probably others
> too, the headers installed into /usr/include/linux/ are stripped of
> anything inside #ifdef __KERNEL__.

I thought this was built with kernel header files?  It used to be.

If it's built with system header files now, you might as well convert
the thing to use <elf.h> instead.  Which shouldn't be too much different
from what you've done already.  Although I wouldn't bother with the
#defines... just propagate the name changes into the source proper.


r~

      reply	other threads:[~2010-03-30 14:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-30  1:49 [RFC] alpha: hack objstrip.c to make it compile Matt Turner
2010-03-30 14:28 ` Richard Henderson
2010-03-30 14:49   ` Matt Turner
2010-03-30 14:59     ` Richard Henderson [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=4BB211B6.2060300@twiddle.net \
    --to=rth@twiddle.net \
    --cc=ang@brigante.org \
    --cc=ink@jurassic.park.msu.ru \
    --cc=linux-alpha@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mattst88@gmail.com \
    /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).