diff options
author | Cary Coutant <ccoutant@gmail.com> | 2017-04-25 19:21:57 -0700 |
---|---|---|
committer | Cary Coutant <ccoutant@gmail.com> | 2017-04-25 20:07:52 -0700 |
commit | 8c13bcd2209cb776aa2cf7e5016b7884b0aecbf6 (patch) | |
tree | dc131c444a7e2a372b057cca03b68bc21ae50f28 /gold/layout.h | |
parent | 4658f12e9c5ec0d2efb04f1688f6cd6bd9f1a47d (diff) | |
download | binutils-users/ccoutant/experimental-relr.zip binutils-users/ccoutant/experimental-relr.tar.gz binutils-users/ccoutant/experimental-relr.tar.bz2 |
Experimental implementation of RELR-style relocations.users/ccoutant/experimental-relr
For x86-64 only. Instead of R_X86_64_RELATIVE relocations, we
write the offsets of the relocation targets to a new section,
.relr.dyn, with section type SHT_RELR.
Diffstat (limited to 'gold/layout.h')
-rw-r--r-- | gold/layout.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gold/layout.h b/gold/layout.h index 5f58c2c..5852898 100644 --- a/gold/layout.h +++ b/gold/layout.h @@ -900,7 +900,8 @@ class Layout add_target_dynamic_tags(bool use_rel, const Output_data* plt_got, const Output_data* plt_rel, const Output_data_reloc_generic* dyn_rel, - bool add_debug, bool dynrel_includes_plt); + bool add_debug, bool dynrel_includes_plt, + const Output_data_reloc_generic* dyn_relr = NULL); // Add a target-specific dynamic tag with constant value. void |