diff options
author | Roland McGrath <roland@gnu.org> | 2013-10-11 23:06:08 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2013-10-11 23:06:08 +0000 |
commit | 44dcb735e4714c44813e4e16168b3121de601ad3 (patch) | |
tree | b0f303f9d7db84f38b2ed7a053204fd69e2f201e /gold | |
parent | ad7ba017947d64a55faa0c3dc4266ac735479940 (diff) | |
download | gdb-44dcb735e4714c44813e4e16168b3121de601ad3.zip gdb-44dcb735e4714c44813e4e16168b3121de601ad3.tar.gz gdb-44dcb735e4714c44813e4e16168b3121de601ad3.tar.bz2 |
gold/
* powerpc.cc (Output_data_got_powerpc): Remove unused methods
add_got_entry and add_got_entry_pair.
Diffstat (limited to 'gold')
-rw-r--r-- | gold/ChangeLog | 3 | ||||
-rw-r--r-- | gold/powerpc.cc | 19 |
2 files changed, 3 insertions, 19 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index f44d860..59015a0 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,5 +1,8 @@ 2013-10-11 Roland McGrath <mcgrathr@google.com> + * powerpc.cc (Output_data_got_powerpc): Remove unused methods + add_got_entry and add_got_entry_pair. + * configure.ac (TLS_GNU2_DIALECT): Use -Werror in test. (HAVE_PUBNAMES): Likewise. * configure: Regenerate. diff --git a/gold/powerpc.cc b/gold/powerpc.cc index 9d12787..36745ea 100644 --- a/gold/powerpc.cc +++ b/gold/powerpc.cc @@ -1987,25 +1987,6 @@ public: header_index_(size == 32 ? 0x2000 : 0) { } - class Got_entry; - - // Create a new GOT entry and return its offset. - unsigned int - add_got_entry(Got_entry got_entry) - { - this->reserve_ent(); - return Output_data_got<size, big_endian>::add_got_entry(got_entry); - } - - // Create a pair of new GOT entries and return the offset of the first. - unsigned int - add_got_entry_pair(Got_entry got_entry_1, Got_entry got_entry_2) - { - this->reserve_ent(2); - return Output_data_got<size, big_endian>::add_got_entry_pair(got_entry_1, - got_entry_2); - } - unsigned int add_constant_pair(Valtype c1, Valtype c2) { |