From 0b503989f524eabb6edf5090f4d2cdb40d12900d Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Thu, 7 Apr 1994 17:39:16 +0000 Subject: [PATCH] * config/tc-hppa.h (elf_tc_symbol): Delete. No longer used. (elf_tc_make_sections): Likewise. (hppa_tc_make_sections, hppa_tc_symbol): Delete extern decls. * config/tc-hppa.c (hppa_tc_make_sections): Delete function. (hppa_tc_symbol): Likewise. * config/obj-elf.c (elf_frob_file): Delete elf_tc_symbol and elf_tc_make_sections stuff. It was there to support PA braindamage which has been fixed, and in the case of elf_tc_make_sections is redundant with elf_tc_final_processing. --- gas/ChangeLog | 14 ++++++++++++++ gas/config/tc-hppa.c | 24 ------------------------ 2 files changed, 14 insertions(+), 24 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index f8b3ba97b69..1bc9f815f58 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,17 @@ +Thu Apr 7 10:38:18 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * config/tc-hppa.h (elf_tc_symbol): Delete. No longer used. + (elf_tc_make_sections): Likewise. + (hppa_tc_make_sections, hppa_tc_symbol): Delete extern decls. + + * config/tc-hppa.c (hppa_tc_make_sections): Delete function. + (hppa_tc_symbol): Likewise. + + * config/obj-elf.c (elf_frob_file): Delete elf_tc_symbol and + elf_tc_make_sections stuff. It was there to support PA braindamage + which has been fixed, and in the case of elf_tc_make_sections is + redundant with elf_tc_final_processing. + Wed Apr 6 20:48:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu) * configure.in (hppa*-*-*elf*): Don't require "-hp-" for the diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c index 8ba511c65ca..e668ee7e070 100644 --- a/gas/config/tc-hppa.c +++ b/gas/config/tc-hppa.c @@ -6246,9 +6246,6 @@ hppa_force_relocation (fixp) /* Now for some ELF specific code. FIXME. */ #ifdef OBJ_ELF -static symext_chainS *symext_rootP; -static symext_chainS *symext_lastP; - /* Mark the end of a function so that it's possible to compute the size of the function in hppa_elf_final_processing. */ @@ -6305,27 +6302,6 @@ hppa_elf_mark_end_of_function () } -/* Do any symbol processing requested by the target-cpu or target-format. */ - -void -hppa_tc_symbol (abfd, symbolP, sym_idx) - bfd *abfd; - elf_symbol_type *symbolP; - int sym_idx; -{ - /* Just call the ELF BFD routine. */ - elf_hppa_tc_symbol (abfd, symbolP, sym_idx, &symext_rootP, &symext_lastP); -} - -/* Make sections needed by the target cpu and/or target format. */ -void -hppa_tc_make_sections (abfd) - bfd *abfd; -{ - /* Just call the ELF BFD routine. */ - elf_hppa_tc_make_sections (abfd, symext_rootP); -} - /* For ELF, this function serves one purpose: to setup the st_size field of STT_FUNC symbols. To do this, we need to scan the call_info structure list, determining st_size in by taking the -- 2.30.2