diff options
author | Ken Raeburn <raeburn@cygnus> | 1993-10-26 17:22:20 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@cygnus> | 1993-10-26 17:22:20 +0000 |
commit | 7218bb04b25454dbf30712956a7f34af33ae35df (patch) | |
tree | e0b277f34b20b1db92d60287dfdb98553553ba3d /bfd/targets.c | |
parent | a415cf0a776e3db41c8918dca5e9c2fe0117932c (diff) | |
download | gdb-7218bb04b25454dbf30712956a7f34af33ae35df.zip gdb-7218bb04b25454dbf30712956a7f34af33ae35df.tar.gz gdb-7218bb04b25454dbf30712956a7f34af33ae35df.tar.bz2 |
From Jeff Law and Pete Hoogenboom at Utah:
* elf32-hppa.h (hppa_elf_stub_finish): Add prototype.
(ELF32_HPPA_R_ARG_RELOC): Renamed without the ELF32 prefix
and moved into libhppa.h. All references changed.
(ELF32_HPPA_R_CONSTANT, ELF32_HPPA_R_ADDEND): Likewise.
(get_opcode and opcode defines): Move into libhppa.h
* elf32-hppa.c (hppa_elf_insn2fmt): Rename and move info libhppa.h.
* libhppa.h (HPPA_R_*): Moved here. Reformatted slightly to make for easier
reading.
(get_opcode): Moved here. FIXME! this really should be a C function
inside the opcode library!
(bfd_hppa_insn2fmt): Likewise.
* targets.c (target_vector): Enable elf32-hppa vector.
* elf32-hppa.c (hppa_elf_get_section_contents): Add new comments and clarify
existing comments. Do not use DEFUN to declare this function. Fix numerous
indention problems. Correctly handle cases where symbol extension section may
need to be read from disk, read from memory, or built then read from memory.
* elf32-hppa.h: Reformat with gnu-indent and hand fix numerous
formatting and indention problems gnu-indent can not handle.
Clarify some comments about relocation types. Comment basic
relocation "classes". Group PARAM declarations together.
(HPPA_SXT_{NULL, SYMNDX, RG_RELOC}): Make members of a new
enumerated type rather than #defines.
Diffstat (limited to 'bfd/targets.c')
-rw-r--r-- | bfd/targets.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/bfd/targets.c b/bfd/targets.c index 1027f5a..91d361d 100644 --- a/bfd/targets.c +++ b/bfd/targets.c @@ -421,17 +421,15 @@ bfd_target *target_vector[] = { &b_out_vec_little_host, #if 0 /* No one seems to use this. */ &bfd_elf32_big_generic_vec, - &bfd_elf32_bigmips_vec, #endif -#if 0 + &bfd_elf32_bigmips_vec, &bfd_elf32_hppa_vec, -#endif &bfd_elf32_i386_vec, &bfd_elf32_i860_vec, #if 0 /* No one seems to use this. */ &bfd_elf32_little_generic_vec, - &bfd_elf32_littlemips_vec, #endif + &bfd_elf32_littlemips_vec, &bfd_elf32_m68k_vec, &bfd_elf32_m88k_vec, &bfd_elf32_sparc_vec, |