lkml.org 
[lkml]   [2006]   [May]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Elf loader question: who updates .rela.dyn entries for load_bias compensation?
* John Z. Bohach | 2006-05-05 09:44:15 [-0700]:

>I'm porting Linux to a new architecture, and ran into an issue with
>the .rela.dyn entries not being adjusted to compensate for the load_bias
>of an ET_DYN shared executable: in particular, this is the ld.so itself that
>doesn't get its .rela.dyn entries incremented by +load_bias. This makes
>references from _GLOBAL_OFFSET_TABLE_ refer to the old compile-time
>vma addresses, which of course causes runtime segfaults (appropriately
>enough) with ld.so.

This is an issue of the link-editor.

HGN



--
A computer is like an Old Testament god, with a lot of rules and
no mercy. - Joseph Campbell
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-05-09 21:05    [W:0.399 / U:0.352 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site