From: Jim Wilson <wilson@redhat.com>
To: linux-ia64@vger.kernel.org
Subject: Re: [Linux-ia64] Re: loading a kernel module
Date: Tue, 15 Oct 2002 18:57:07 +0000 [thread overview]
Message-ID: <marc-linux-ia64-105590709805164@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590709805162@msgid-missing>
>Interesting, that looks like this relocation type
> #define R_IA64_PCREL60B 0x48 /* @pcrel(sym + add), brl */
>which is not handled by any version of modutils. I need :-
That might be an RHL AS toolchain. The current GNU tools avoid use of brl
because it is implemented via kernel emulation on Itanium hardware, which
causes performance problems for some code. However, Itanium2 has this
instruction in hardware, and avoiding brl reduces Itanium2 performance, and
presumably anyone who cares about performance is already using Itanium2
hardware, so it makes sense to emit brl by default now. I think they may
have made this change in the RHL AS toolchain already, but it is unfortunately
not in the FSF sources yet.
You can get brl instructions by changing "#undef USE_BRL" to "#define USE_BRL"
in the BINUTILS bfd/elfxx-ia64.c file. I believe that is the change that went
into the RHL AS toolchain. Then write a large enough program, so that you
have a call site that is far enough away from its call target to require brl.
Jim
next prev parent reply other threads:[~2002-10-15 18:57 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-15 12:34 [Linux-ia64] Re: loading a kernel module Keith Owens
2002-10-15 18:57 ` Jim Wilson [this message]
2002-10-16 1:16 ` Keith Owens
2002-10-16 5:52 ` Christian Hildner
2002-10-16 7:04 ` Keith Owens
2002-10-16 7:56 ` Christian Hildner
2002-10-16 9:06 ` Christian Hildner
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-105590709805164@msgid-missing \
--to=wilson@redhat.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