public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Richard Henderson <rth@twiddle.net>
To: Keith Owens <kaos@ocs.com.au>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] alpha modutils update
Date: Tue, 18 Feb 2003 23:33:52 -0800	[thread overview]
Message-ID: <20030218233352.A24861@twiddle.net> (raw)

We're now using srel32 in the exception handling macros.


r~



--- obj/obj_alpha.c.orig	2003-02-18 23:09:39.000000000 -0800
+++ obj/obj_alpha.c	2003-02-18 23:30:28.000000000 -0800
@@ -225,6 +225,14 @@
       *iloc = (*iloc & ~0x3fff) | (v & 0x3fff);
       break;
 
+    case R_ALPHA_SREL32:
+      v -= dot;
+      if ((Elf64_Sxword)v >= 0x80000000
+      	  || (Elf64_Sxword)v < -(Elf64_Sxword)0x80000000)
+	ret = obj_reloc_overflow;
+      *iloc = v;
+      break;
+
     default:
       ret = obj_reloc_unhandled;
       break;

                 reply	other threads:[~2003-02-19  7:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20030218233352.A24861@twiddle.net \
    --to=rth@twiddle.net \
    --cc=kaos@ocs.com.au \
    --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