aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
1992-12-30Wed Dec 30 12:46:30 1992 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor2-1/+6
* archive.c (do_slurp_coff_armap): set symdef_count correctly (it broke a couple of weeks ago).
1992-12-30fix libbfd.h declaration, by tweaking elf.c comment, so bfd can compileKen Raeburn2-2/+7
1992-12-30regenerated from current sources - bfd_elf_find_section return type changedKen Raeburn1-1/+1
1992-12-29Tue Dec 29 13:54:35 1992 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1-0/+11
* coffcode.h (coff_real_object_p): use name I386AIXMAGIC rather than I386SVMAGIC. (coff_pointerize_aux): don't pointerize a negative tagndx (sometimes generated by SCO 3.2v4 cc). * bout.c (calljx_callback, callj_callback, b_out_get_relocated_section_contents): warn if relocating against an undefined symbol.
1992-12-28* hppa.c: Get rid of DEFUN, use more conventional prolog stuff.Stu Grossman2-200/+261
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-28today's changesKen Raeburn1-0/+8
1992-12-28note dependencies for coff-z8k.o and -we32k.oKen Raeburn1-1/+5
1992-12-28 * bfd.c (bfd_get_size): New function that gets an upper boundFred Fish2-34/+83
on the possible size of any object in a bfd. * elf.c (bfd_elf_find_section, elf_get_str_section, elf_get_symtab_upper_bound): Rewrite to avoid NULL pointer dereferences. * elf.c (elf_big_vec, elf_little_vec): Document last three members initialized to NULL.
1992-12-25 * hppa.c: change a 'const' to 'CONST', or else HP C compiler diesDavid D. Zuhn2-1/+5
1992-12-24added dvi targetDavid D. Zuhn2-1/+5
1992-12-22 * bfd-in.h: New macros bfd_asymbol_bfd and bfd_asymbol_flavour;Per Bothner6-16/+36
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 * hosts/std-host.h: New file. Attempt at a generic/defaultPer Bothner4-204/+161
set of definitions, to discourage porting to new hosts by copying. * hosts/news.h: Removed. * hosts/sparc.h: Use std-host.h.
1992-12-22* bfd.c: Add struct hppa_core_data to tdata union.Stu Grossman2-0/+2
1992-12-22 * hppa.c: Conditionalize on HOST_HPPAHPUX instead of hp9000s800.Stu Grossman1-3/+3
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-22* hppa.c: Conditionalize on HOST_HPPAHPUX instead of hp9000s800.Stu Grossman3-154/+171
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-21Mon Dec 21 12:40:10 1992 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor9-129/+303
* Patches from Minh Tran-le <mtranle@paris.intellicorp.com>. * configure.in (i386-*-isc*, i386-*-aix*): New targets. * configure.host (i386-*-isc*, i386-*-aix*): New hosts. * hosts/i386isc.h, config/i386isc.mh: New files for Interactive Unix. * hosts/i386aix.h, config/i386aix.mh: New files for AIX on PS/2. * aix386-core.c: New file for handling core files on AIX on PS/2. * targets.c: if AIX386_CORE, use aix386_core_vec. * coffcode.h (coff_real_object_p): check for I386SVMAGIC as well as I386MAGIC.
1992-12-18 * aoutf1.h (sunos4_write_object_contents): set flags to 0, fixingSteve Chamberlain1-0/+6
1927.
1992-12-17* bfd.c: Use right name for tekhex tdata struct.John Gilmore3-49/+1020
* tekhex.c: Insert leading_char (0) into bfd_target struct. Style. * libcoff.h: Updated to get spacing change from coffcode.h. * trad-core.c: leading_char is 0 (no symbols!), not '_'.
1992-12-16Revert change making writing the archive map the standard. Instead, changePer Bothner1-5/+1
the ar program so that *its* default is to always request writing the map.
1992-12-16Various changes to improve archive support. See ChangeLog.Per Bothner5-264/+314
1992-12-15* hppahpux.h: Add defs for malloc() & realloc().Stu Grossman1-0/+3
1992-12-15* hppa.c: #include "sysdep.h", not <sysdep.h>.Stu Grossman3-1/+153
* 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-12-13Sat Dec 12 15:54:36 1992 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1-3/+4
* coff-i386.c (CALC_ADDEND): if reloc is PC relative, add the vaddr of the section to the addend. * targets.c: if MINIMIZE is 1, and SCO_CORE is defined, add SCO_CORE to SELECT_VECS. (target_vector): add sco_core_vec. * sco-core.c (sco_core_vec): add leading underscore initializer. * configure.in (i[34]86-*-sco*): use target i386-sco. * config/i386-sco.mt: new file; define SCO_CORE.
1992-12-08trad-core.h is goneKen Raeburn1-1/+0
1992-12-08recording file deathK. Richard Pixley66-20228/+0
1992-12-04coffcode.h: bfd_coff_std_swap_table is now const and staticKen Raeburn1-3/+1
1992-12-03syms.c (asymbol): Added new field "app_data", for data particular to theKen Raeburn5-10/+255
application. Some of the linker flags ought to get moved to this field someday. archures.c (bfd_default_scan): Recognize a few more numbers: 80486, 80960, and 960. bfd-in.h, bfd.c, targets.c, coffcode.h, coff-mips.c, other targets: Moved COFF swap table to backend data. hosts/i386linux.h: Include unistd.h. aoutx.h, libaout.h, stab-syms.c: stab names are now in constant storage. trad-core.c: Fixed some `PARAMS' uses that were missing parentheses. aoutx.h, archive.c, archures.c, coffcode.h, ctor.c, reloc.c, syms.c: Doc fixes.
1992-11-29 * aoutx.h (some_aout_object_p): Protect arg prototype inFred Fish2-1/+6
callback_to_real_object_p with PARAMS macro for non-ANSI compilers.
1992-11-28* aout-target.h, aoutf1.h, trad-core.c, coffcode.h, libaout.h:John Gilmore7-113/+175
Eliminate all PROTO calls, replace with PARAMS for readability. * aoutx.h: Add type to callback parameter. * coff-mips.c: Don't call trad-core.h, not needed. * trad-core.c: Incorporate trad-core.h declarations. Fix comments. * trad-core.h: Eliminate, unused.
1992-11-28* libbfd-in.h, bfd-in.h: Eliminate all PROTO calls, replace withJohn Gilmore2-21/+25
PARAMS for readability.
1992-11-13pass down prefix and exec_prefixDavid D. Zuhn1-0/+4
1992-11-12 * coff-z8k.c: checkpoint, more addressing modes handledSteve Chamberlain1-0/+6
* coffcode.h (get_value): don't truncate reloc->addend field, it's a long now.
1992-11-12 * we32k.mt (TDEFAULTS): Use we32kcoff_vec, not i386coff_vec.Brendan Kehoe1-0/+4
1992-11-10make cc command lines more consistentDavid D. Zuhn2-24/+19
1992-11-10* opncls.c (bfd_fdopenr, bfd_close): Add doc about cacheingJohn Gilmore1-0/+10
and about when file descriptors are closed.
1992-11-06Thu Nov 5 15:34:19 1992 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor2-2/+21
* section.c: New section bit SEC_SHARED_LIBRARY. coffcode.h (styp_to_sec_flags): if STYP_NOLOAD && (STYP_TEXT || STYP_DATA), set SEC_SHARED_LIBRARY. This seems to be correct for i386-sysv.
1992-11-05* target.c (struct bfd_target): Eliminate the SDEF and SDEF_FMTJohn Gilmore1-0/+3
macros; use PARAMS to declare the function pointers involved.
1992-11-05* bfd-in.h, bfd.c, libbfd.h, reloc.c, seclet.h, section.c,John Gilmore4-12/+26
targets.c: Rename struct bfd_seclet_struct to struct bfd_seclet.
1992-11-05Cleanup: Replace all uses of EXFUN in the BFD sources, with PARAMS.John Gilmore5-103/+193
* archures.c, reloc.c, section.c, tekhex.c: Use PARAMS in declaring pointers to functions. * cache.c, elf.c: Move static function decls to top, use PARAMS. * seclet.h: Declare external function with PARAMS. * libbfd.h: Update, based on changes in source code and chew.
1992-11-05* bfd-in.h: Improve comments to make it clear that bfd.h isJohn Gilmore2-6/+23
the wrong place to edit this file. * Makefile.in (install): Install ansidecl.h and obstack.h in the same places where we install bfd.h. * libieee.h: Add FIXME about removing limit on number of sections.
1992-11-04(Duplicate change from p3.)Sean Eric Fagan2-6/+17
Only change coff auxent header fields when the circumstances require it. or at least warrant.
1992-11-04aoutx.h (some_aout_object_p): Section list should be set up properly already;Ken Raeburn1-0/+5
don't need to tweak "next" pointers.
1992-11-02I'm eliminating the use of USG from binutils/ar.c, and nothing else inIan Lance Taylor5-2/+16
binutils, bfd or opcodes uses it. Mon Nov 2 12:36:14 1992 Ian Lance Taylor (ian@cygnus.com) * config/delta88.mh, config/hp300.mh, config/hppahpux.mh, config/i386v.mh: removed -DUSG from HDEFINES. hosts/delta88.h, hosts/hp300.h, hosts/hppahpux.h, hosts/i386v.h: defined USE_UTIME. hosts/i386v.h: don't define POSIX_UTIME.
1992-10-31 * ieee.c (ieee_slurp_sections): make a private copy of theSteve Chamberlain1-0/+5
section's name before truncating it.
1992-10-29 * hppa.c: add symbol_leading_char entry in transfer vecSteve Chamberlain2-0/+10
1992-10-29,Wed Oct 28 16:11:57 1992 Steve Chamberlain (sac@thepub.cygnus.com)Steve Chamberlain2-31/+58
* ieee.c (get_symbol): can now cope when two symbols of a different class, but the same index number occur consecutively. (get_section_entry): nicer name for sections being forward referenced. (ieee_archive_p): don't free the filename string, since it was never malloced.
1992-10-28(coff_write_object_contents): Zero timestamp field.John Gilmore2-11/+5
1992-10-27Moved in from p3:Ian Lance Taylor2-9/+13
Tue Oct 27 12:24:34 1992 Ian Lance Taylor (ian@cygnus.com) * coffcode.h (coff_swap_aux_out): set the fcnary info before optionally setting the dimen info, since they are in the same memory locations. Also zero out external auxent. (coff_write_symbol): don't zero external auxent; now done in coff_swap_aux_out.
1992-10-23If fclose fails, set bfd_error to system_call_error.Ian Lance Taylor1-3/+6
1992-10-23Fri Oct 23 13:55:35 1992 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor3-13/+35
* Check fclose return value for errors. libbfd.h: bfd_cache_close now returns a boolean. cache.c (bfd_cache_delete): return fclose success value. (bfd_cache_close): return bfd_cache_delete return value. opncls.c (bfd_close, bfd_close_all_done): return result of bfd_cache_close.