Commit Graph

15 Commits

Author SHA1 Message Date
Alan Modra
edd21acadc Restore hppa-elf32 to working order. 2000-07-09 07:23:07 +00:00
Jeff Law
df6d9773e2 * libhppa.h (re_assemble_3, re_assemble_12, re_assemble_16,
re_assemble_17, re_assemble_21, re_assemble_22): Don't mask insn.
        (hppa_rebuild_insn): Mask immediate bits here instead.
        * elf-hppa.h (elf_hppa_relocate_insn): Mask here too.
2000-05-19 00:20:31 +00:00
Alan Modra
7c30ac3752 Fix thinko in 2000-05-02 change. 2000-05-04 12:45:43 +00:00
Alan Modra
3f9b03b5da Assorted code cleanup and fixes for hppa. Re-enable elf32-hppa as
it now compiles even if it doesn't work too well.
2000-05-02 00:12:52 +00:00
Alan Modra
a1934524a3 Correctly check gcc version. 2000-04-29 00:56:29 +00:00
Jeff Law
9fd9378ca0 * libhppa.h (dis_assemble_16): New function.
(pa_arch): Added pa20w element.
2000-04-24 08:14:43 +00:00
Jeff Law
68f8e33e59 Fix typo in last change. 1999-10-17 23:41:19 +00:00
Jeff Law
7a7191b720 * libhppa.h (bfd_hppa_insn2fmt): Change to return an int. 1999-10-17 23:21:41 +00:00
Jeff Law
2667095fc0 * som.c (NO_PCREL_MODES): Define if the system does not define
R_SHORT_PCREL_MODE.
        (hppa_som_gen_reloc_type): Handle both short and long pcrel branches.
        (som_write_fixups): Eliminate redundant pcrel mode relocs.  Handle
        R_LONG_PCREL_MODE and R_SHORT_PCREL_MODE
        * libhppa.h (dis_assemble_22): New function.
        (bfd_hppa_insn2fmt): Handle long branch.

        * libhppa.h (bfd_hppa_insn2fmt): Decode and handle formats found
        in PA2.0.
1999-09-19 18:22:20 +00:00
Jeff Law
1560fbe45e * libhppa.h (R_HPPA_LTPSEL, R_HPPA_RTPSEL): New field selectors
(e_ltpsel, e_rtpsel): Similarly.
1999-08-05 03:50:28 +00:00
Ian Lance Taylor
5f771d47c7 * Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED
as appropriate.  Use EMPTY_HOWTO as appropriate.  Fill in
	structure initializations.  Add casts.
	* reloc.c (EMPTY_HOWTO): Define.
	* bfd-in2.h: Rebuild.
	* coff-h8300.c (h8300_reloc16_extra_cases): Remove useless
	comparisons against 0.
	* elf32-sparc.c (elf32_sparc_merge_private_bfd_data): Change
	previous_ibfd_e_flags to unsigned long.
	* vms.h (struct vms_private_data_struct): Change section_count to
	unsigned.
	* vms-gsd.c (_bfd_vms_slurp_gsd): Change psect_idx to unsigned.
	(_bfd_vms_write_gsd): Change symnum to unsigned.
	* vms-hdr.c (_bfd_vms_write_hdr): Change symnum to unsigned.
	* vms-tir.c (etir_sta): Change psect to unsigned.
	(alloc_section): Change idx to unsigned.
	(tir_sta, tir_ctl): Change psect to unsigned.
	(_bfd_vms_write_tir): Change len and before to bfd_size_type.
	* vms.c (priv_section_count): Change to unsigned.
1999-07-12 10:30:21 +00:00
Jeff Law
37afc161ab * libhppa.h: Revert July 2, 1999 patch. 1999-07-06 23:50:45 +00:00
Jeff Law
2a6d0fe7b3 * libhppa.h (HPPA_R_ARG_RELOC): Delete.
(HPPA_R_CONSTANT, HPPA_R_ADDEND): Likewise.
1999-07-02 11:26:12 +00:00
Jeff Law
5ba624b0f4 * libhppa.h: Fix various formatting errors.
(assemble_3); Rewrite using CATENATE.
        (assemble_17): Fix various bugs.
1999-06-16 02:13:40 +00:00
Richard Henderson
252b5132c7 19990502 sourceware import 1999-05-03 07:29:11 +00:00