aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl/hppaelf.em
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1994-02-28 00:30:36 +0000
committerJeff Law <law@redhat.com>1994-02-28 00:30:36 +0000
commit2e39abdb9621a5985ac86f08a6a96df8466628e9 (patch)
tree51818b56cfff75db520f76b023d2ad7e1d9936ee /ld/emultempl/hppaelf.em
parent55d15829655e814bfc23b8005019ed61477b07ba (diff)
downloadgdb-2e39abdb9621a5985ac86f08a6a96df8466628e9.zip
gdb-2e39abdb9621a5985ac86f08a6a96df8466628e9.tar.gz
gdb-2e39abdb9621a5985ac86f08a6a96df8466628e9.tar.bz2
* 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.
Diffstat (limited to 'ld/emultempl/hppaelf.em')
-rw-r--r--ld/emultempl/hppaelf.em5
1 files changed, 1 insertions, 4 deletions
diff --git a/ld/emultempl/hppaelf.em b/ld/emultempl/hppaelf.em
index fe2334d..16f35ce 100644
--- a/ld/emultempl/hppaelf.em
+++ b/ld/emultempl/hppaelf.em
@@ -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