Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Jay.Estabrook at hp.com (Jay Estabrook)
Subject: Odp: Re: AlphaCore 2.0 vs. AlphaServer 4100
Date: Fri, 24 Mar 2006 18:27:24 -0500	[thread overview]
Message-ID: <20060324182724.A15803@linux04.mro.cpqcorp.net> (raw)
In-Reply-To: <20060324231939.GB26992@ellpspace.math.ualberta.ca>; from michal@ellpspace.math.ualberta.ca on Fri, Mar 24, 2006 at 04:19:39PM -0700

On Fri, Mar 24, 2006 at 04:19:39PM -0700, Michal Jaegermann wrote:
> 
> --- 2.6/arch/alpha/kernel/module.c Wed May 28 01:05:20 2003
> +++ linux/arch/alpha/kernel/module.c Mon Aug 11 23:23:02 2003
> @@ -259,7 +259,7 @@ apply_relocate_add(Elf64_Shdr *sechdrs,
> *(u64 *)location = value;
> break;
> case R_ALPHA_GPRELHIGH:
> - value = (value - gp + 0x8000) >> 16;
> + value = (long)(value - gp + 0x8000) >> 16;
> if ((short) value != value)
> goto reloc_overflow;
> *(u16 *)location = value;
> 
> ---------------------------
> 
> I would think that this was applied a long time ago but maybe
> not?  I cannot check at this moment.

It is already in 2.6.15-1.1831_FC4axp.

> Another old change which could be relevant was also for kernel/module.c
> but if you see there the following comment:
> 
>      /* Skip relocations on non-allocated (ie. debug) sections */

This one is NOT in there.

 --Jay++

---------------------------------------------------------------
Jay A Estabrook                            HPTC - XC I & B
Hewlett-Packard Company - ZKO1-3/D-B.8     (603) 884-0301
110 Spit Brook Road, Nashua NH 03062       Jay.Estabrook at hp.com
---------------------------------------------------------------



  reply	other threads:[~2006-03-24 23:27 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-22 10:10 AlphaCore 2.0 vs. AlphaServer 4100 pawel.oleksiak
2006-03-22 11:24 ` tsv
2006-03-23 10:47   ` Odp: " pawel.oleksiak
2006-03-23 17:06     ` tsv
2006-03-23 14:29   ` Jay.Estabrook
2006-03-23 21:07     ` tsv
2006-03-24  9:58       ` Odp: " pawel.oleksiak
2006-03-24 22:55         ` tsv
2006-03-24 23:19           ` michal
2006-03-24 23:27             ` Jay.Estabrook [this message]
2006-03-24 23:46               ` michal
2006-03-24 23:36             ` tsv
2006-03-26 19:46               ` tsv
2006-03-28 10:31           ` Odp: " pawel.oleksiak
2006-03-28 10:49             ` tsv
2006-03-24 22:26 ` bob58523
2006-03-24 23:31   ` Jay.Estabrook
2006-03-24 22:28 ` bob58523
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox