Add _GLOBAL_OFFSET_TABLE_ support

Authored by Moritz Angermann <moritz.angermann@gmail.com> on May 16 2019, 12:35 AM.

Description

Add _GLOBAL_OFFSET_TABLE_ support

This adds lookup logic for _GLOBAL_OFFSET_TABLE_ as well as
relocation logic for R_ARM_BASE_PREL and R_ARM_GOT_BREL which
the gnu toolchain (gas, gcc, ...) prefers to produce. Apparently
recent llvm toolchains will produce those as well.

(cherry picked from commit 826939387be69b100461dd553937dfea729b15ef)

Details

Committed
bgamariMon, Aug 5, 9:42 AM
Parents
rGHCe38707056c06: Fix #8487: Debugger confuses variables
Branches
Unknown
Tags
Unknown
bgamari committed rGHCaa23a0176de4: Add _GLOBAL_OFFSET_TABLE_ support (authored by Moritz Angermann <moritz.angermann@gmail.com>).Mon, Aug 5, 9:42 AM