mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: mru@kth.se (Måns Rullgård)
To: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Handle R_ALPHA_REFLONG relocation on Alpha (2.6.0-test11)
Date: Sat, 13 Dec 2003 03:27:06 +0100	[thread overview]
Message-ID: <yw1xisklwiyt.fsf@kth.se> (raw)
In-Reply-To: <20031213003841.GA5213@wang-fu.org>

Nathan Poznick <kraken@drunkmonkey.org> writes:

> First off, I'm not positive that this patch is correct or not, but I'd
> like to pick the brains of people in the know, to find if I'm
> approaching this in the right way.
>
> I've been unable to use modules on my Alpha with 2.6.0-test*.  modprobe
> (from module-init-tools 0.9.15-pre3) would claim an invalid module
> format, and the kernel would tell me "Unknown relocation: 1"  Relocation
> 1 on Alpha is R_ALPHA_REFLONG, and sure enough, readelf -r on one of the
> modules showed many, many uses of it.  From looking at
> arch/alpha/kernel/module.c, it appeared that while R_ALPHA_REFQUAD was
> handled, R_ALPHA_REFLONG was not.  R_ALPHA_REFQUAD's handling looked
> simple enough, so I made the change which is inlined below.

Which gcc and binutils versions do you use?  I've seen some variation
in which relocations they produce.

-- 
Måns Rullgård
mru@kth.se


  reply	other threads:[~2003-12-13  2:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-13  0:38 Nathan Poznick
2003-12-13  2:27 ` Måns Rullgård [this message]
2003-12-13  4:09   ` Nathan Poznick
2003-12-17 12:10 ` Richard Henderson
2003-12-17 19:31   ` Nathan Poznick
2003-12-18  1:02     ` Richard Henderson
2003-12-22  1:08       ` Rusty Russell
2003-12-30  3:57       ` Rusty Russell
2003-12-30  6:14         ` Nathan Poznick

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=yw1xisklwiyt.fsf@kth.se \
    --to=mru@kth.se \
    --cc=linux-kernel@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

all inboxes | Powered by JetHome®