PR gold/15354
authorAlan Modra <amodra@gmail.com>
Thu, 11 Apr 2013 01:28:27 +0000 (01:28 +0000)
committerAlan Modra <amodra@gmail.com>
Thu, 11 Apr 2013 01:28:27 +0000 (01:28 +0000)
* powerpc.cc (Target_powerpc::make_brlt_section): Name section
.branch_lt to match bfd ld.  Adjust comments throughout file.

gold/ChangeLog
gold/powerpc.cc

index e1f8c4122f6dbdbed241e0c4ed1af1fd39ac3177..8f154a2d1bba8bf0382f0f0982eb28c2599c1ed6 100644 (file)
@@ -1,3 +1,9 @@
+2013-04-11  Alan Modra  <amodra@gmail.com>
+
+       PR gold/15354
+       * powerpc.cc (Target_powerpc::make_brlt_section): Name section
+       .branch_lt to match bfd ld.  Adjust comments throughout file.
+
 2013-04-04  Ian Lance Taylor  <iant@google.com>
 
        GCC PR c++/56840
index d9db9b9f5236a6ebbfe2f6229413b98f7aaf4cf6..53bc39345d5c4415bb4b79ffcdd7af7c40665196 100644 (file)
@@ -2588,8 +2588,8 @@ Target_powerpc<size, big_endian>::do_relax(int pass,
          else
            off += i->data_size();
        }
-      // If .brlt is part of this output section, then we have just
-      // done the offset adjustment.
+      // If .branch_lt is part of this output section, then we have
+      // just done the offset adjustment.
       os->clear_section_offsets_need_adjustment();
     }
 
@@ -3044,8 +3044,8 @@ Target_powerpc<size, big_endian>::make_brlt_section(Layout* layout)
       bool is_pic = parameters->options().output_is_position_independent();
       if (is_pic)
        {
-         // When PIC we can't fill in .brlt (like .plt it can be a
-         // bss style section) but must initialise at runtime via
+         // When PIC we can't fill in .branch_lt (like .plt it can be
+         // bss style section) but must initialise at runtime via
          // dynamic relocats.
          this->rela_dyn_section(layout);
          brlt_rel = new Reloc_section(false);
@@ -3057,7 +3057,7 @@ Target_powerpc<size, big_endian>::make_brlt_section(Layout* layout)
        this->plt_->output_section()
          ->add_output_section_data(this->brlt_section_);
       else
-       layout->add_output_section_data(".brlt",
+       layout->add_output_section_data(".branch_lt",
                                        (is_pic ? elfcpp::SHT_NOBITS
                                         : elfcpp::SHT_PROGBITS),
                                        elfcpp::SHF_ALLOC | elfcpp::SHF_WRITE,
@@ -3068,7 +3068,7 @@ Target_powerpc<size, big_endian>::make_brlt_section(Layout* layout)
     }
 }
 
-// Write out .brlt when non-PIC.
+// Write out .branch_lt when non-PIC.
 
 template<int size, bool big_endian>
 void