Re: [Linux-ia64] Re: loading a kernel module

From: Christian Hildner <>
Date: 2002-10-16 15:52:15
Keith Owens schrieb:

> On 15 Oct 2002 14:57:07 -0400,
> Jim Wilson <> wrote:
> >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.
> You don't need a large program.  The test object from Christian Hildner
> is about as small as it gets and it still uses brl.  Christian, please
> post the source of the test object to the list.

Keith, Jim,

the source isn't that complex as you might have seen in the length of the objdump output.
The object I have given you is only a small test program to find out the missing linkage for
brl branches. My original program needs brl to branch across virtual pages with a big
difference in the virtual addresses. So the test prog never makes any sence, but shows the
missing R_IA64_PCREL60B nicely.


PS: Here is the source without any guarantee not to crash ...

Received on Tue Oct 15 23:11:36 2002

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