* emultempl/hppaelf.em: Include elf32-hppa.h.
authorJeff Law <law@redhat.com>
Mon, 28 Feb 1994 00:30:36 +0000 (00:30 +0000)
committerJeff Law <law@redhat.com>
Mon, 28 Feb 1994 00:30:36 +0000 (00:30 +0000)
        (file_chain): Add decl.
        (hppa_look_for_stubs_in_section): Delete decl.
        (hppaelf_finish): Reenable code.  Do not pass symbols
        down to hppa_look_for_stubs_in_section.

ld/ChangeLog
ld/emultempl/hppaelf.em

index bdf149e16e5b7c8e9bb3db20d99f1fb3aee71d86..4a0e40ee474118b99deedac747ed2309302af3db 100644 (file)
@@ -1,3 +1,11 @@
+Sun Feb 27 16:29:38 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
+
+       * emultempl/hppaelf.em: Include elf32-hppa.h.
+       (file_chain): Add decl.
+       (hppa_look_for_stubs_in_section): Delete decl.
+       (hppaelf_finish): Reenable code.  Do not pass symbols
+       down to hppa_look_for_stubs_in_section.
+
 Sat Feb 26 10:58:25 1994  Ian Lance Taylor  (ian@cygnus.com)
 
        * ldmain.c (write_map): Don't define.  Removed all references.
index fe2334d72764ec303fb1351a507adbe248c0bcf1..16f35ceda49b014e5c54b05a94211bfea823ebb8 100644 (file)
@@ -39,7 +39,7 @@ static lang_input_statement_type *stub_file = 0;
 static lang_input_section_type *stub_input_section = NULL;
 
 /* FIXME.  This doesn't belong here.  */
-extern asymbol *hppa_look_for_stubs_in_section ();
+extern lang_statement_list_type file_chain;
   
 /* Perform some emulation specific initialization.  For PA ELF we set
    up the local label prefix and the output architecture.  */
@@ -132,7 +132,6 @@ hppaelf_finish ()
      amount of code will still function without linker stubs allowing us
      to continue testing.  */
 
-#if 0  
   /* Only create stubs for final objects.  */
   if (link_info.relocateable == false)
     {
@@ -162,7 +161,6 @@ hppaelf_finish ()
                                                     abfd,
                                                     output_bfd,
                                                     section,
-                                                    statement->asymbols,
                                                     &new_sym_cnt,
                                                     &link_info);
              
@@ -213,7 +211,6 @@ hppaelf_finish ()
                      &stat_ptr->head, 0, (bfd_vma) 0, false);
   
   /* FIXME:  Do we need to redo the "assignments" too?  */
-#endif
 }
 
 /* Create any emulation specific output statements.  FIXME?  Is this