diff options
Diffstat (limited to 'binutils-2.25/gold/output.h')
| -rw-r--r-- | binutils-2.25/gold/output.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/binutils-2.25/gold/output.h b/binutils-2.25/gold/output.h index ba0cdaab..8e0c33a3 100644 --- a/binutils-2.25/gold/output.h +++ b/binutils-2.25/gold/output.h @@ -1,6 +1,6 @@ // output.h -- manage the output file for gold -*- C++ -*- -// Copyright (C) 2006-2014 Free Software Foundation, Inc. +// Copyright (C) 2006-2015 Free Software Foundation, Inc. // Written by Ian Lance Taylor <iant@google.com>. // This file is part of gold. @@ -1714,6 +1714,17 @@ class Output_data_reloc<elfcpp::SHT_REL, dynamic, size, big_endian> address, true, true, false, false)); } + void + add_local_relative(Sized_relobj<size, big_endian>* relobj, + unsigned int local_sym_index, unsigned int type, + Output_data* od, unsigned int shndx, Address address, + bool use_plt_offset) + { + this->add(od, Output_reloc_type(relobj, local_sym_index, type, shndx, + address, true, true, false, + use_plt_offset)); + } + // Add a local relocation which does not use a symbol for the relocation, // but which gets its addend from a symbol. |
