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 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[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