Messages in this thread | | | Date | Tue, 9 May 2006 21:02:34 +0200 | From | Hagen Paul Pfeifer <> | Subject | Re: 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/
| |