aboutsummaryrefslogtreecommitdiff
path: root/bfd/hppa.c
AgeCommit message (Collapse)AuthorFilesLines
1993-03-08hppa.c: don't require DL_MAGIC, SHL_MAGIC, if they're not defined (hpux 7.0)Ken Raeburn1-1/+5
1993-03-08from Noah Friedman: define some needed macros if hpux version < 8Ken Raeburn1-0/+23
1993-02-23 * bfd-in.h (JUMP_TABLE): Added bfd_reloc_type_lookup andIan Lance Taylor1-1/+6
bfd_make_debug_symbol; they were already in the target structure. * Adjusted all uses of JUMP_TABLE. * coffgen.c, libcoff-in.h (coff_bfd_make_debug_symbol): Renamed from coff_make_debug_symbol. * libcoff.h: Updated accordingly.
1993-02-16Added 1993 copyrights to files that I have changed in 1993. Some wereIan Lance Taylor1-1/+1
missing 1992 copyrights, although they changed in 1992.
1993-01-12Mon Jan 11 18:32:22 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)Ian Lance Taylor1-0/+1
* targets.c (bfd_target): Added relocateable argument to _bfd_get_relocated_section_contents. Added _bfd_seclet_link target vector for linker use. * bfd.c (bfd_seclet_link): New macro. * bfd-in.h (JUMP_TABLE): Added _bfd_seclet_link. * seclet.c (rel, seclet_dump_seclet): Added relocateable argument and boolean return value. Made static. (bfd_generic_seclet_link): Renamed from seclet_dump. Added relocateable argument. * reloc.c (bfd_generic_get_relocated_section_contents): Added relocateable argument (if relocateable, saves relocs). * bout.c (b_out_get_relocated_section_contents), reloc16.c (bfd_coff_reloc16_get_relocated_section_contents): Added relocateable argument (if relocateable, just calls bfd_generic_get_relocated_section_contents). * libcoff-in.h (bfd_coff_reloc16_get_value): Added relocateable argument to prototype. * All targets: Set new _bfd_seclet_link vector to bfd_generic_seclet_link.
1993-01-10 * hppa.c (hppa_object_setup): Get rid of all knowledge of stabsStu Grossman1-64/+25
debug info. Setup info about linker symbols only, and use standard bfd fields to hold the info. * (hppa_object_p): Remove unneeded decls. * (hppa_new_section_hook): Get rid of most of this. * libhppa.h (struct hppadata): Remove ten pounds of useless ugly fat. Remove all knowledge of stabs, remove redundant knowledge of linker symbols. * Remove macros for accessing fields which are now gone.
1992-12-28* hppa.c: Get rid of DEFUN, use more conventional prolog stuff.Stu Grossman1-200/+242
Make a bunch more routines be static. * hppa.c (fill_spaces): Get rid of this, replace with much better written setup_sections(). * (setup_sections): New routine to create BFD sections for each space and subspace in SOM files. * (hppa_object_setup): Use BFD sections created by setup_sections() to locate GDB symbol table info. * (make_unique_section): New routine to create a BFD section. It ensures that the given name is unique, and will generate a unique one if necessary. * (hppa_object_p): Become much more paranoid about file header. * (make_bfd_asection): Call bfd_make_section to do the dirty work. Simplify code somewhat. * (hppa_core_file_p): Use proper name for stack section. * libhppa.h: Remove millicode_start, millicode_end decls.
1992-12-25 * hppa.c: change a 'const' to 'CONST', or else HP C compiler diesDavid D. Zuhn1-1/+1
1992-12-22 * bfd-in.h: New macros bfd_asymbol_bfd and bfd_asymbol_flavour;Per Bothner1-1/+5
perhaps we can later remove the the_bfd field from each symbol. * syms.c (struct symbol_cache_entry): Remove unused field app_data. Add comment noting that the_bfd is almost redundant, but not quite. * aoutx.h, coff-a29k.c, coff-i386.c, coff-i960.c, coffcode.h: Use new macros bfd_asymbol_bfd and bfd_asymbol_flavour. * hppa.c (fill_spaces): Make slightly more rebust. * configure.in: Allow std-host as the "default" host.
1992-12-22* hppa.c: Conditionalize on HOST_HPPAHPUX instead of hp9000s800.Stu Grossman1-133/+137
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-1/+1
* libhppa.h: Make millicode_start and millicode_end be unsigned int to be same type as CORE_ADDR in GDB. Why are these here?
1992-10-29 * hppa.c: add symbol_leading_char entry in transfer vecSteve Chamberlain1-0/+6
1992-09-29Tue Sep 29 08:30:21 1992 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1-0/+1
* Portability fixes from p3: coffcode.h (coff_write_relocs): removed sanity check until it works on all targets (per advice from sac). config/hp9000.mh: new file to define USG. hppa.c: #undef hppa before the JUMP_TABLE. hosts/hppahpux.h: #define NATIVE_HPPAHPUX_COMPILER if not __STDC__. targets.c (bfd_target_list): if NATIVE_HPPAHPUX_COMPILER, make local variable target volatile to avoid mysterious bug in HP9000/700 cc.
1992-06-30 * hppa.c: Apply John's standard fix to avoid "empty translationFred Fish1-1/+4
unit" warnings from some ANSI-C compilers.
1992-06-19* Makefile.in, archures.c, configure.in, cpu-hppa.c, hppa.c, libhppa.h,Stu Grossman1-0/+639
targets.c: HPPA merge.