* bfd-in2.h: Rebuilt.

* elf32-hppa.c: Change .hppa_linker_stubs to .PARISC.stubs,
	likewise for other PA specific sections.
	(hppa_elf_relocate_unwind_table): Delete unused
	function.
	(elf_hppa_howto_table): Completely new table based on 94-02-02
	draft PA ELF spec.  Change relocation tags appropriately
	throughout elf32-hppa.c
	(hppa_elf_gen_reloc_type): Rewrite and simplify based on 94-02-02
	spec.
	(hppa_elf_reloc): Likewise.
	(hppa_look_for_stubs_in_section): Likewise
	(ELF_MACHINE_CODE): Change to EM_PARISC.
	* elf32-hppa.h: Include "elf/hppa.h".  Change relocation tags
	appropriately throughout elf32-hppa.h.
	(elf32_hppa_reloc_type): New table based on 94-02-02 draft PA ELF
	spec.
	(R_HPPA_ABS_CALL, R_HPPA_COMPLEX*, R_HPPA_UNWIND): Delete definitions.
	* elfcode.h (prep_headers): Use EM_PARISC instead of EM_HPPA.
	* reloc.c (bfd_reloc_code_real): Delete unused HPPA relocations.
	* som.h (R_HPPA_ABS_CALL, R_HPPA_COMPLEX): Delete definitions.

	* libhppa.h (hppa_field_adjust): Avoid adding constant_value into
	the final value twice for LR and RR field selectors.
This commit is contained in:
Jeff Law
1994-05-16 19:34:13 +00:00
parent 3315c7c714
commit 459ae909b9
6 changed files with 545 additions and 1298 deletions

View File

@ -2052,18 +2052,6 @@ assign_file_positions_except_relocs (abfd, dosyms)
}
off = assign_file_position_for_section (i_shdrp, off);
if (exec_p
&& i_shdrp->sh_type == SHT_NOBITS
&& (i == i_ehdrp->e_shnum
|| i_shdrpp[i + 1]->sh_type != SHT_NOBITS))
{
/* Skip to the next page to ensure that when the file is
loaded the bss section is loaded with zeroes. I don't
know if this is required on all platforms, but it
shouldn't really hurt. */
off = BFD_ALIGN (off, maxpagesize);
}
if (exec_p
&& (abfd->flags & D_PAGED) != 0
&& get_elf_backend_data (abfd)->maxpagesize > 1
@ -2161,7 +2149,7 @@ prep_headers (abfd)
i_ehdrp->e_machine = EM_MIPS; /* only MIPS R3000 */
break;
case bfd_arch_hppa:
i_ehdrp->e_machine = EM_HPPA;
i_ehdrp->e_machine = EM_PARISC;
break;
case bfd_arch_powerpc:
i_ehdrp->e_machine = EM_CYGNUS_POWERPC;