Re: type 95 for .text?

From: Grant Grundler <iod00d_at_hp.com>
Date: 2003-10-17 11:27:15
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
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Thu Oct 16 21:27:27 2003

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:19 EST