2000-12-08 Kazu Hirata <kazu@hxi.com>

* elf64-alpha.c: Fix formatting.
	* elf64-hppa.c: Likewise.
	* elf64-mips.c: Likewise.
This commit is contained in:
Kazu Hirata
2000-12-09 01:54:51 +00:00
parent 40293bdaea
commit fe8bc63d5e
4 changed files with 73 additions and 78 deletions

View File

@ -29,6 +29,7 @@
2000-12-08 Kazu Hirata <kazu@hxi.com> 2000-12-08 Kazu Hirata <kazu@hxi.com>
* coffgen.c: Fix formatting. * coffgen.c: Fix formatting.
* elf-m10300.c: Likewise.
* elf32-i386.c: Likewise. * elf32-i386.c: Likewise.
* elf32-i960.c: Likewise. * elf32-i960.c: Likewise.
* elf32-m68k.c: Likewise. * elf32-m68k.c: Likewise.
@ -37,8 +38,10 @@
* elf32-sh.c: Likewise. * elf32-sh.c: Likewise.
* elf32-sparc.c: Likewise. * elf32-sparc.c: Likewise.
* elf32-v850.c: Likewise. * elf32-v850.c: Likewise.
* elf64-alpha.c: Likewise.
* elf64-hppa.c: Likewise.
* elf64-mips.c: Likewise.
* elf64-sparc.c: Likewise. * elf64-sparc.c: Likewise.
* elf-m10300.c: Likewise.
2000-12-07 Kazu Hirata <kazu@hxi.com> 2000-12-07 Kazu Hirata <kazu@hxi.com>

View File

@ -4291,7 +4291,6 @@ elf64_alpha_final_link (abfd, info)
} }
#endif #endif
/* Build the external symbol information. */ /* Build the external symbol information. */
einfo.abfd = abfd; einfo.abfd = abfd;
einfo.info = info; einfo.info = info;

View File

@ -176,12 +176,10 @@ static const char *get_dyn_name
PARAMS ((asection *, struct elf_link_hash_entry *, PARAMS ((asection *, struct elf_link_hash_entry *,
const Elf_Internal_Rela *, char **, size_t *)); const Elf_Internal_Rela *, char **, size_t *));
/* This must follow the definitions of the various derived linker /* This must follow the definitions of the various derived linker
hash tables and shared functions. */ hash tables and shared functions. */
#include "elf-hppa.h" #include "elf-hppa.h"
static boolean elf64_hppa_object_p static boolean elf64_hppa_object_p
PARAMS ((bfd *)); PARAMS ((bfd *));
@ -394,7 +392,6 @@ elf64_hppa_section_from_shdr (abfd, hdr, name)
return true; return true;
} }
/* Construct a string for use in the elf64_hppa_dyn_hash_table. The /* Construct a string for use in the elf64_hppa_dyn_hash_table. The
name describes what was once potentially anonymous memory. We name describes what was once potentially anonymous memory. We
allocate memory as necessary, possibly reusing PBUF/PLEN. */ allocate memory as necessary, possibly reusing PBUF/PLEN. */
@ -2197,7 +2194,6 @@ elf64_hppa_finalize_dlt (dyn_h, data)
= _bfd_elf_link_lookup_local_dynindx (info, dyn_h->owner, = _bfd_elf_link_lookup_local_dynindx (info, dyn_h->owner,
dyn_h->sym_indx); dyn_h->sym_indx);
/* Create a dynamic relocation for this entry. Do include the output /* Create a dynamic relocation for this entry. Do include the output
offset of the DLT entry since we need an absolute address in the offset of the DLT entry since we need an absolute address in the
resulting object file. */ resulting object file. */
@ -2370,7 +2366,6 @@ elf64_hppa_finish_dynamic_sections (output_bfd, info)
elf64_hppa_finalize_dlt, elf64_hppa_finalize_dlt,
info); info);
sdyn = bfd_get_section_by_name (dynobj, ".dynamic"); sdyn = bfd_get_section_by_name (dynobj, ".dynamic");
if (elf_hash_table (info)->dynamic_sections_created) if (elf_hash_table (info)->dynamic_sections_created)
@ -2453,7 +2448,6 @@ elf64_hppa_finish_dynamic_sections (output_bfd, info)
return true; return true;
} }
/* Return the number of additional phdrs we will need. /* Return the number of additional phdrs we will need.
The generic ELF code only creates PT_PHDRs for executables. The HP The generic ELF code only creates PT_PHDRs for executables. The HP
@ -2631,7 +2625,6 @@ const struct elf_size_info hppa64_elf_size_info =
#define elf_backend_link_output_symbol_hook \ #define elf_backend_link_output_symbol_hook \
elf64_hppa_link_output_symbol_hook elf64_hppa_link_output_symbol_hook
#define elf_backend_want_got_plt 0 #define elf_backend_want_got_plt 0
#define elf_backend_plt_readonly 0 #define elf_backend_plt_readonly 0
#define elf_backend_want_plt_sym 0 #define elf_backend_want_plt_sym 0