From: Ralf Baechle <ralf@linux-mips.org>
To: Arnd Bergmann <arnd@arndb.de>
Cc: David Howells <dhowells@redhat.com>,
Rusty Russell <rusty@rustcorp.com.au>,
linux-arch@vger.kernel.org
Subject: Re: [PATCH] Make most arch asm/module.h files use asm-generic/module.h
Date: Wed, 18 Jul 2012 16:21:19 +0200 [thread overview]
Message-ID: <20120718142119.GA26087@linux-mips.org> (raw)
In-Reply-To: <201207181320.35807.arnd@arndb.de>
On Wed, Jul 18, 2012 at 01:20:35PM +0000, Arnd Bergmann wrote:
> > (*) MODULES_USE_RELA_ONLY
> >
> > Arches define this if their modules will only contain RELA records (and
> > not REL records). This causes the Elf_Rel mapping not to be emitted.
> >
> > (*) MODULES_USE_REL_ONLY
> >
> > Arches define this if their modules will only contain REL records (and
> > not RELA records). This causes the Elf_Rela mapping not to be emitted.
>
> I believe all architectures have either one or the other, but never both
> or neither of the two, right? If so, we only need one symbol here.
How sweet life would be without the SGI designed ELF NABI. For the
purposes of kernel modules that means 64-bit MIPS kernels. The 64-bit
ELF spec [1] allows both REL and RELA. I believe that GNU tools only
emit rela relocations and in the hope that things are going to stay
like this I'd like 64-bit MIPS to be treated as RELA-only. However we're
in the hand of the tools guy here - they always could make use of the
rope provided.
32-bit MIPS uses REL only.
Ralf
[1] https://www.linux-mips.org/pub/linux/mips/doc/ABI/elf64-2.4.pdf
next prev parent reply other threads:[~2012-07-18 14:21 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-18 12:46 [PATCH] Make most arch asm/module.h files use asm-generic/module.h David Howells
2012-07-18 13:20 ` Arnd Bergmann
2012-07-18 14:21 ` Ralf Baechle [this message]
2012-07-18 13:24 ` David Howells
2012-07-18 13:41 ` Sam Ravnborg
2012-07-19 1:45 ` Rusty Russell
2012-07-19 1:45 ` Rusty Russell
2012-07-19 6:23 ` Paul Mundt
2012-07-19 11:53 ` David Howells
2012-07-18 13:33 ` David Howells
2012-07-18 13:56 ` Mike Frysinger
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=20120718142119.GA26087@linux-mips.org \
--to=ralf@linux-mips.org \
--cc=arnd@arndb.de \
--cc=dhowells@redhat.com \
--cc=linux-arch@vger.kernel.org \
--cc=rusty@rustcorp.com.au \
/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).