public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Grant Grundler <iod00d@hp.com>
To: linux-ia64@vger.kernel.org
Subject: Re: type 95 for .text?
Date: Fri, 17 Oct 2003 01:27:15 +0000	[thread overview]
Message-ID: <marc-linux-ia64-106635404710748@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-106634361902844@msgid-missing>

On Thu, Oct 16, 2003 at 06:12:12PM -0700, Grant Grundler wrote:
> I just added that...sounds like bjorn should ignore my patch
> since the module isn't getting built correctly. *sigh*.

because arch/ia64/lib/Makefile defines it's own .S.o rule:
.S.o:
        $(CC) $(AFLAGS) $(AFLAGS_KERNEL) -c $< -o $@

despite CONFIG_MD_RAID5=m and using:
obj-$(CONFIG_MD_RAID5) += xor.o

I get:
gcc -D__ASSEMBLY__ -D__KERNEL__ -I/usr/src/linux-ia64-2.4/include -mconstant-gp -c xor.S -o xor.o

Removing the .S.o rule gets me:
make[1]: Entering directory `/usr/src/linux-ia64-2.4/arch/ia64/lib'
gcc  -D__KERNEL__ -I/usr/src/linux-ia64-2.4/include  -c -o xor.o xor.S

But then "make compressed" dies.
I'll try adding a target just for xor.S:
xor.o:	xor.S
        $(CC) $(AFLAGS) -c $< -o $@

Bjorn, let me test this out and then submit another patch.

thanks keith!
grant

  parent reply	other threads:[~2003-10-17  1:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-16 22:33 type 95 for .text? Grant Grundler
2003-10-16 23:19 ` Keith Owens
2003-10-17  0:32 ` Grant Grundler
2003-10-17  1:04 ` Keith Owens
2003-10-17  1:12 ` Grant Grundler
2003-10-17  1:27 ` Grant Grundler [this message]
2003-10-17  1:32 ` Keith Owens

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=marc-linux-ia64-106635404710748@msgid-missing \
    --to=iod00d@hp.com \
    --cc=linux-ia64@vger.kernel.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