gold/
authorRoland McGrath <roland@gnu.org>
Fri, 11 Oct 2013 23:06:08 +0000 (23:06 +0000)
committerRoland McGrath <roland@gnu.org>
Fri, 11 Oct 2013 23:06:08 +0000 (23:06 +0000)
* powerpc.cc (Output_data_got_powerpc): Remove unused methods
add_got_entry and add_got_entry_pair.

gold/ChangeLog
gold/powerpc.cc

index f44d8609cfb0e704854e8e1b713f0b5716bb8251..59015a0a98d292ae95df1f0f0069e3c945e3b77b 100644 (file)
@@ -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.
index 9d12787918758af611461975c6f7ab40802d3c62..36745eaf7329c9356abefcb76eab4bee213639a6 100644 (file)
@@ -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)
   {