bfd/
[deliverable/binutils-gdb.git] / ld / emultempl / ppc64elf.em
index 43f9b6106fd3e02c0fe8d03b0b671573fc61345e..f2085d7dcf74c1eba9b600a0caaa8cec6d86add2 100644 (file)
@@ -423,8 +423,7 @@ ppc_layout_sections_again (void)
   gld${EMULATION_NAME}_map_segments (TRUE);
 
   if (!link_info.relocatable)
-    _bfd_set_gp_value (link_info.output_bfd,
-                      ppc64_elf_toc (link_info.output_bfd));
+    ppc64_elf_set_toc (&link_info, link_info.output_bfd);
 
   need_laying_out = -1;
 }
@@ -525,8 +524,7 @@ gld${EMULATION_NAME}_after_allocation (void)
       gld${EMULATION_NAME}_map_segments (need_laying_out);
 
       if (!link_info.relocatable)
-       _bfd_set_gp_value (link_info.output_bfd,
-                          ppc64_elf_toc (link_info.output_bfd));
+       ppc64_elf_set_toc (&link_info, link_info.output_bfd);
     }
 }
 
This page took 0.024217 seconds and 4 git commands to generate.