* [PATCH] alpha modutils update
@ 2003-02-19 7:33 Richard Henderson
0 siblings, 0 replies; only message in thread
From: Richard Henderson @ 2003-02-19 7:33 UTC (permalink / raw)
To: Keith Owens; +Cc: linux-kernel
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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-02-19 7:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-19 7:33 [PATCH] alpha modutils update Richard Henderson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox