Re: Elf loader question: who updates .rela.dyn entries for load_bias compensation?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


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

This is an issue of the link-editor.


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 [email protected]
More majordomo info at
Please read the FAQ at

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux