Odp: Re: AlphaCore 2.0 vs. AlphaServer 4100

Jay Estabrook Jay.Estabrook at hp.com
Fri Mar 24 23:27:24 UTC 2006


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
---------------------------------------------------------------




More information about the axp-list mailing list