aboutsummaryrefslogtreecommitdiff
path: root/bfd/ieee.c
AgeCommit message (Collapse)AuthorFilesLines
1993-10-28 gcc -Wall lint:Ian Lance Taylor1-15/+15
* coff-h8300.c (h8300_reloc16_estimate): Declare return type. Remove useless statement probably left by code copy. * cpu-i960.c (compatible): Fully bracket matrix initializer. * elf32-hppa.c (hppa_elf_build_arg_reloc_stub): Use bfd_xmalloc rather than xmalloc. Use realloc and check the return value rather than xrealloc. (hppa_elf_get_section_contents): Add some casts. * elf32-i386.c (elf_i386_reloc_type_lookup): Remove unused variable. Add default case to switch. * hp300hpux.c: Declare aout_32_write_syms. * i386bsd.c, i386linux.c, netbsd386.c (N_SHARED_LIB): Define as 0 (definition from aout/aout64.h is always 0 anyhow). * i386lynx.c (swap_std_reloc_in): Remove unused variable. * ieee.c (ieee_write_id): length can never be negative. (read_id): Likewise. (ieee_archive_p): Remove unused variable. * libcoff-in.h (bfd_perform_slip): Declare. * libcoff.h: Rebuilt. * oasys.c (oasys_write_sections): Remove zero initialization of static structure. * reloc16.c: Indentation change.
1993-07-06Stricter prototyping, to force type conversions between 64-bit target andKen Raeburn1-10/+26
32-bit host values. * libbfd.c (bfd_xmalloc_by_size_t): New function. * opncls.c (bfd_cache_init, bfd_open_file): Add prototypes to declarations. (obstack_chunk_alloc): Use bfd_xmalloc_by_size_t. (new_bfd): Prototype-style definition, using DEFUN. (bfd_alloc_grow, bfd_alloc, bfd_zalloc, bfd_realloc): Size argument is type size_t, not bfd_size_type. * ieee.c (obstack_chunk_alloc): Use bfd_xmalloc_by_size_t. * bfd.c (bfd_default_error_trap, bfd_error_trap, bfd_error_nonrepresentabltrap): Prototypes. * libbfd-in.h (bfd_alloc, bfd_zalloc, bfd_realloc, bfd_alloc_grow): Adjusted prototypes for arg type change. * archive.c (get_elt_at_filepos, do_slurp_bsd_armap, normalize, do_slurp_coff_armap, bfd_construct_extended_name_table): Prototypes.
1993-04-15Fix minor merge botch in prev change.John Gilmore1-1/+1
1993-04-15* ieee.c (ieee_slurp_sections): Pass all ieee section namesJohn Gilmore1-50/+45
straight through into BFD sections. Add comments.
1993-02-23 * Minor cleanups provoked by gcc warnings:Ian Lance Taylor1-1/+0
* aoutx.h (NAME(aout, reloc_type_lookup)), cpu-h8300.c (local_bfd_reloc_type_lookup), cpu-z8k.c (local_bfd_reloc_type_lookup): Added default case to switches. * archive.c (do_slurp_bsd_armap, do_slurp_coff_armap), ieee.c (ieee_slurp_section_data), elf.c (elf_make_sections, elf_fake_sections, elf_compute_section_file_positions, elf_write_object_contents): Removed unused variables. * archures.c: Removed /* from within comment. * bout.c (b_out_squirt_out_relocs): Initialize r_extern. * oasys.c (oasys_write_data): Initialize i.
1993-02-23 * bfd-in.h (JUMP_TABLE): Added bfd_reloc_type_lookup andIan Lance Taylor1-8/+21
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.
1992-10-29,Wed Oct 28 16:11:57 1992 Steve Chamberlain (sac@thepub.cygnus.com)Steve Chamberlain1-31/+50
* 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-15* aout-adobe.c, aoutf1.h, archive.c, bout.c, coff-rs6000.c,John Gilmore1-14/+6
coffcode.h, elf.c, ieee.c, libaout.h, libbfd.c, oasys.c, sco-core.c: Lint: Second argument of bfd_seek is always file_ptr. Third argument is SEEK_SET or SEEK_CUR. Result is always 0 or -1.
1992-10-08Some of these are guesses, if you know different, just yell.Steve Chamberlain1-34/+32
Thu Oct 8 08:52:48 1992 Steve Chamberlain (sac@thepub.cygnus.com) Now a bfd knows whether underscores are normally prepended to symbols in its file format. Helps with error messages. * aout-adobe.c, aout-target.h, bout.c, coff-a29k.c, coff-h8300.c, coff-z8k.c: targets set so they have leading underscore * coff-i386.c, coff-i960.c, coff-m68k.c, coff-mips.c, coff-m88k.c, coff-rs6000.c, coff-we32k.c, elf.c, ieee.c, srec.c: targets set without leading underscore flag * targets.c: add symbol leading char to xvec description * bfd-in.h (bfd_get_symbol_leading_char): new macro.
1992-08-24 * coffcode.h (coff_add_missing_symbols): if symbols don't comeSteve Chamberlain1-20/+38
from a coff file (csym is null), dont deref them * ieee.c (parse_expression): get the answer right when adding an abs+(sec+off), (ieee_generic_stat_arch_elt): call ieee_object_p on elts so that filename is filled in.
1992-05-02 * targets.c, Makefile.in: comment out tekhex for the moment.Steve Chamberlain1-93/+107
* ieee.c: if some places where null pointers were used instead of &bfd_abs_section. * configure.in: tandem target is st2000 * coff-m68k.c: rename static howto_table to global m68kcoff_howto_table. * bout.c: remove unnecessary abort
1992-01-24Uses the new small reloc type now.Steve Chamberlain1-161/+177
Currently self hosts on sun4 and sun3
1991-12-12 * makefile.dos, configdj.bat: New files from DJSteve Chamberlain1-6/+8
* cache.c: fopen with "b" is needed for DOS. * ieee.c: environ renamed to envi to stop an include file conflict. * opncls.c: more fopens with "b"
1991-10-28Sun Oct 27 16:56:58 1991 Steve Chamberlain (steve at cygnus.com)Steve Chamberlain1-8/+8
* configure.in: add motorola delta88 cases * libbfd.h, libbfd-in.h, archive.c, ieee.c, elf.c, srec.c: fix write_armap prototype * libbfd.c: add doc on bfd_write_bigendian_4byte_int
1991-10-05Fri Oct 4 17:38:03 1991 Steve Chamberlain (steve at cygnus.com)Steve Chamberlain1-371/+669
* reloc.c: Extended NEWHOWTO macro * ieee.c: Changed the way 8bit pcrel is done * cpu-h8300.c: got the registers in the right order
1991-07-06Use set_tdata to set the ieee tdata field, avoiding casting left ofJohn Gilmore1-2/+2
assignment.
1991-07-04Now full of documentation. Yum Yum.Steve Chamberlain1-305/+1069
1991-05-29Merge in changes from gdb-3.95 release into mainstream of BFD development.John Gilmore1-2/+2
Support defaulted (search all) targets and specific (only check one) targets.
1991-05-21*** empty log message ***Steve Chamberlain1-17/+18
1991-05-11Cleanups of interface, including close_and_cleanup and write_contentsJohn Gilmore1-30/+12
transfer vector changes. See ChangeLog.
1991-05-09 * ieee.c: Cast enums to int before comparing them, for brain-John Gilmore1-16/+7
dead compilers.
1991-05-09Thu May 9 11:00:45 1991 Steve Chamberlain (steve at cygint.cygnus.com)Steve Chamberlain1-160/+198
* ieee.c (do_one, ieee_slurp_section_data): now supports the load multiple reloc command.
1991-05-08Various portability lints.Steve Chamberlain1-491/+412
Fixed reloc bug in ieee and oasys.
1991-05-02Make it compile on DEC 3100.John Gilmore1-11/+21
1991-04-25Minor changes to accomodate merging of three include file directories.John Gilmore1-2/+2
1991-04-24Changed the shape of the howto type yet again.Steve Chamberlain1-2/+2
Now m88kbcs support can self host.
1991-04-23*** empty log message ***Steve Chamberlain1-2/+9
1991-04-23*** empty log message ***Steve Chamberlain1-40/+16
1991-04-18Killed a few warnings.K. Richard Pixley1-5/+5
1991-04-17StuffSteve Chamberlain1-349/+391
1991-04-04*** empty log message ***Steve Chamberlain1-1/+1
1991-04-04Initial revisionDavid Henkel-Wallace1-0/+1919