From 8c13bcd2209cb776aa2cf7e5016b7884b0aecbf6 Mon Sep 17 00:00:00 2001 From: Cary Coutant Date: Tue, 25 Apr 2017 19:21:57 -0700 Subject: Experimental implementation of RELR-style relocations. 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. --- gold/layout.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gold/layout.h') 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 -- cgit v1.1