All of lore.kernel.org
 help / color / mirror / Atom feed
From: Keith Owens <kaos@ocs.com.au>
To: linux-ia64@vger.kernel.org
Subject: Re: type 95 for .text?
Date: Fri, 17 Oct 2003 01:32:35 +0000	[thread overview]
Message-ID: <marc-linux-ia64-106635439710932@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-106634361902844@msgid-missing>

On Thu, 16 Oct 2003 18:12:12 -0700, 
Grant Grundler <iod00d@hp.com> wrote:
>On Fri, Oct 17, 2003 at 11:04:52AM +1000, Keith Owens wrote:
>> for i in $(find /lib/modules/2.4.23-pre6 -type f); do readelf -h $i 2>/dev/null | (grep 'constant gp' > /dev/null && echo $i has constant gp); done
>
>hey! don't make it too easy for me! :^)
>
>/lib/modules/2.4.23-pre6/kernel/arch/ia64/lib/xor.o has constant gp
>
>I just added that...sounds like bjorn should ignore my patch
>since the module isn't getting built correctly. *sigh*.

Aha!  Kernel build 2.4 expects all modules to be .c files, not .S.  All
the .S -> .o rules are hard coded to add $(AFLAGS_KERNEL) which
includes -mconstant-gp.  Fixing that will affect all architectures and
requires more kbuild surgery than I feel like doing right now.

Live with the restriction that 2.4 modules have to be .c files and
retain the inline asm format.


      parent reply	other threads:[~2003-10-17  1:32 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
2003-10-17  1:32 ` Keith Owens [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=marc-linux-ia64-106635439710932@msgid-missing \
    --to=kaos@ocs.com.au \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.