Skip to content
Commit b37b75d2 authored by Fangrui Song's avatar Fangrui Song
Browse files

x86_64: Simplify elf_machine_{load_address,dynamic}



and drop reliance on _GLOBAL_OFFSET_TABLE_[0] being the link-time
address of _DYNAMIC. &__ehdr_start is a better way to get the load address.

Reviewed-by: default avatarH.J. Lu <hjl.tools@gmail.com>
parent 33c50ef4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment