aboutsummaryrefslogtreecommitdiff
path: root/bfd/libhppa.h
AgeCommit message (Collapse)AuthorFilesLines
1996-07-30 * libhppa.h (R_HPPA_ESEL): New field selector.Jeff Law1-8/+59
(e_esel): Similarly. * som.c (hppa_som_gen_reloc_type): If we encounter an e_esel, then generate R_COMP2 (PUSH_SYM), R_DATA_EXPR fixup stream. (som_write_fixups): Handle R_DATA_EXPR just like R_CODE_EXPR. Making another stab at EH support on the PA.
1996-03-28revert yesterdays changeIan Lance Taylor1-21/+20
1996-03-27update copyrightsIan Lance Taylor1-1/+1
1996-03-27 * libhppa.h: Define HINLINE rather than INLINE. Define it toIan Lance Taylor1-27/+36
extern inline if using gcc and to static INLINE otherwise. Change all functions from static INLINE to HINLINE.
1996-02-27 * libhppa.h (pa_arch): Add pa20.Jeff Law1-20/+27
(hppa_reloc_field_selector_type): Add R_HPPA_NSEL. (e_nsel): Undefine. Add to hppa_reloc_field_selector_type_alt. (hppa_field_adjust): Handle e_nsel. * som.c: Provide default definitions for many new relocs found only in hpux10 include files. (som_fixup_formats): Add several new relocs from hpux10. (som_hppa_howto_table): Add hpux10 relocs. (som_write_fixups): Handle R_N0SEL and R_N1SEL hpux10 relocs. Quick stab at handling some of the new hpux10 features.
1994-05-16Fix typo in last check-in.Jeff Law1-2/+2
1994-02-27Forgot to check these changes in yesterday.Jeff Law1-1/+186
1993-08-31* libhppa.h: Restore #undefs of e_fsel and other e_* symbols.Jim Kingdon1-0/+27
1993-08-28More patches from Jeff Law, plus a little cleanup of my own.Ken Raeburn1-174/+280
These changes separate PA-SOM support from PA-ELF support. A sun4-x-hppaosf assembler can now be built. * elf32-hppa.c (elf_hppa_howto_table): Now static. (symext_rootP, symext_lastP, global_value, GOT_value, global_symbol, global_sym_defined, symextn_contents, symextn_contents_real_size, elf_hppa_stub_rootP, elf32_hppa_symextn_map, elf32_hppa_symextn_map_size): Rely on default initialization. (hppa_elf_gen_reloc_type): Macro "UNDEFINED" doesn't need a trailing semicolon. (hppa_look_for_stubs_in_section): Introduce temporaries to make code more readable in 80 columns. * libhppa.h (all functions): Now inline under GNU C. * elf32-hppa.c (AR_WARN): Give argument which caused the invalid argument relocation. (AR_UNIMP): Delete unused macro. (hppa_elf_set_section_contents): Always return a value. (elf32_hppa_backend_table_processing): Likewise. (elf32_hppa_backend_section_processing: Likewise. * som.c: New file containing SOM specific code extracted from hppa.c * som.h: New file containing SOM specific code extracted from libhppa.h * hppa.c: Deleted. * libhppa.h: Delete SOM specific code. Add generic PA code which can be shared by both SOM and ELF backends. * Makefile.in: Replace hppa.c with som.c. elf32-hppa.o depends on libhppa.h now. * configure.in (hppa_vec): Needs som.o module instead of hppa.o. * elf32-hppa.c: Include libhppa.h. Do not define BYTES_IN_WORD. * elf32-hppa.h (hppa_reloc_field_selector_type): Delete now lives in libhppa.h. (hppa_reloc_field_selector_type_alt): Likewise. * elf32-hppa.c (hppa_elf_relocate_unwind_table): Delete unused variables. (elf_hppa_reloc_type_lookup): Likewise. (elf_hppa_tc_make_sections): Likewise. (hppa_elf_arg_reloc_needed_p): Likewise. (hppa_elf_build_long_branch_stub): Likewise. (elf_reloc_map): Delete, no longer used. (elf_hppa_reloc_map): Likewise. (elf32_hppa_symextn_map_max_size): Likewise. (elf32_hppa_get_sym_extn): Abort if type is bogus. * elf32-hppa.c (elf32_hppa_backend_fake_sections): Add processing of the .hppa_unwind section.
1993-07-14 * hppa.c [HOST_HPPABSD]: Use hpux-style core files.Jim Kingdon1-6/+14
* libhppa.h [HOST_HPPABSD]: Include hpux version of core.h
1993-05-01 * libhppa.h: #undef e_* symbols which come from <machine/som.h>Stu Grossman1-0/+24
when compiling under HPUX.
1993-05-01 * The following patches are from Jeffrey Law <law@cs.utah.edu>.Stu Grossman1-0/+25
* hppa.c (hppa_core_file_p): Provide a temporary dummy routine for HOST_HPPABSD. * bfd/hosts/hppabsd.h: Fix declarations of malloc and free. * bfd/libhppa.h: Include sysdep here. Conditionalize includes based on HOST_HPPAHPUX or HOST_HPPABSD. Provide definitions for MAXCOMLEN and _PA_RISC_ID suitable for BSD.
1993-04-29new reloc enum typesKen Raeburn1-34/+75
1992-12-22* hppa.c: Conditionalize on HOST_HPPAHPUX instead of hp9000s800.Stu Grossman1-21/+12
Get rid of HPPA/BSD specific code. That will go somewhere else someday. * (fill_spaces): Don't spin forever and die if you don't find $MILLICODE$ subspace. * (hppa_object_p): Make sure that we have a real honest-to-cthulu exec file! * (hppa_core_file_failing_signal, hppa_core_file_failing_command): Make these work for HPUX. * (make_bfd_asection): New routine to make section creation a little easier. * (hppa_core_file_p): Completely rewrite, leave out bugs. * libhppa.h: #include the right system files. Redefine all of the structs/macros for hacking core files to use more sensible HPUX core file structures. * targets.c (target_vector): Conditionalize hppa_vec on HOST_HPPAHPUX, not hp9000s800. * hosts/hppahpux.h: #include stdlib.h to get correct decls for malloc and realloc. #define HOST_HPPAHPUX.
1992-12-15* hppa.c: #include "sysdep.h", not <sysdep.h>.Stu Grossman1-0/+127
* libhppa.h: Make millicode_start and millicode_end be unsigned int to be same type as CORE_ADDR in GDB. Why are these here?