lkml.org 
[lkml]   [1998]   [Oct]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 2.1.126 breaks ld-linux.so?
On Sat, 24 Oct 1998 robert@bga.com wrote:

> I moved from pre-126-2 to 126 this morning and then decided to build
> glibc-2.0.99. The build failed while trying to execute ld-linux.so,
> which dumped core. core indicated it died from a sig11 in _dl_boot().
> I rebooted to pre-126-2 and everything worked fine, so I rebooted to
> 126 and it failed again. This is very repeatable (it fails every
> time). I'd be happy to provide any information to whomever needs it.
>
> robert
>
>

Hi Robert,

Me too. Reversing the chunk below.. hasn't eaten my fs yet :)

-Mike


diff -u --recursive --new-file v2.1.125/linux/fs/binfmt_elf.c linux/fs/binfmt_elf.c
--- v2.1.125/linux/fs/binfmt_elf.c Mon Oct 5 13:13:42 1998
+++ linux/fs/binfmt_elf.c Wed Oct 21 10:02:48 1998
@@ -639,7 +646,7 @@
load_addr = (elf_ppnt->p_vaddr -
elf_ppnt->p_offset);
if (elf_ex.e_type == ET_DYN) {
- load_bias = error;
+ load_bias = error - ELF_PAGESTART(load_bias + vaddr);
load_addr += error;
}
}

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:45    [W:0.045 / U:0.316 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site