aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
1993-04-15Thu Apr 15 09:09:18 1993 Jim Kingdon (kingdon@cygnus.com)Jim Kingdon3-10/+71
* bfd-in.h (bfd_error), bfd.c (bfd_errmsgs): Add file_truncated. * format.c (bfd_check_error): Check error return from _bfd_check_format routines. Wed Apr 14 23:48:25 1993 Jim Kingdon (kingdon@cygnus.com) * rs6000-core.c (rs6000coff_core_p): Improve error checking and recognize .data section if present.
1993-04-15* aoutx.h (aout_*_adjust_sizes_and_vmas): Avoid `sanity'John Gilmore2-199/+222
check for the case where the user sets the address of the BSS section (and the file header can't specify this). Let the user set it wherever they want, regardless of what goes in the header. Fixes #ld/1826 (the fix was never checked in by Steve or Ken).
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 Gilmore2-50/+50
straight through into BFD sections. Add comments.
1993-04-15Cleanup in preparation for better 64-bit host support.John Gilmore3-22/+65
* bfd-in.h (bfd_64_type): Remove. * libbfd.c (_do_getb64, _do_putb64): Use bfd_vma, not bfd_64_type. * bfd-in.h (bfd_size): Remove. * bfd-in.h (bfd_offset): Remove, after fixing ld/ldlang.[ch]. * bfd-in.h (bfd_word): Remove. * reloc.c (reloc_howto_type): Replace bfd_word with bfd_vma. * bfd-in.h (rawdata_offset): Remove. * reloc.c (arelent): Replace rawdata_offset with bfd_size_type. (bfd_perform_relocation): Lint. (enum bfd_reloc_status): Comment cleanup.
1993-04-15* aout-adobe.c, cpu-h8300.c, mipsbsd.c, srec.c: lint -Wall.John Gilmore3-143/+499
1993-04-13kill it deadKen Raeburn1-2673/+0
1993-04-12Clean up old commentsJohn Gilmore1-0/+4
1993-04-09 * config/sun3.h: String argument to fprintf is const.Ian Lance Taylor2-1/+3
1993-04-09 * coff-mips.c: Renamed PAGE_SIZE to ROUND_SIZE, to avoid confusionIan Lance Taylor1-0/+5
on systems which define PAGE_SIZE in <limits.h>.
1993-04-08 * trad-core.c (trad_unix_core_file_failing_signal): Use new macroPeter Schauer1-0/+15
TRAD_UNIX_CORE_FILE_FAILING_SIGNAL to allow host files to specify the core file failing signal. * hosts/decstation.h (TRAD_UNIX_CORE_FILE_FAILING_SIGNAL): Define to supply the core file failing signal.
1993-04-07 * coff-mips.c (PAGESIZE): Correct value.Ian Lance Taylor1-0/+9
With the wrong PAGESIZE everything worked just fine, with one exception: emacs couldn't dump itself.
1993-04-06These changes make shared library support work again on 386 COFFIan Lance Taylor3-63/+132
systems. * coffcode.h (styp_to_sec_flags): Set SEC_SHARED_LIBRARY for a STYP_NOLOAD | STYP_BSS section. Don't set SEC_NEVER_LOAD for a STYP_INFO section. (coff_compute_section_file_positions): Force vma and lma of _LIB section to be zero. (coff_set_section_contents): Count number of entries in new lma field, not in vma. * coffgen.c (make_a_section_from_file): Force lineno_count of SEC_SHARED_LIBRARY section to be zero, since it is non-zero on the SCO 3.2v4 shared library. * seclet.c (rel): Copy over any section with contents, not just loadable sections. * coff-mips.c (ecoff_make_empty_symbol): Zero out newly allocated symbol.
1993-04-05This makes ld -r work for i386-coff targets.Ian Lance Taylor1-0/+9
* coff-i386.c (coff_i386_reloc): New function, to generate relocateable output correctly. (howto_table): Use coff_i386_reloc for all reloc types. (CALC_ADDEND): Use a more efficient hack to get the correct addend for a common symbol. (i386comm_value): Removed; no longer needed.
1993-04-04*** empty log message ***Steve Chamberlain1-0/+5
1993-04-04 * coffcode.h (coff_set_section_contents): Don't write outSteve Chamberlain1-3/+12
> >> * coffcode.h (coff_set_section_contents): Don't write out sections without a filepos.
1993-04-02 * seclet.c (seclet_dump_seclet): Correct SEC_HAS_CONTENTS test.Ian Lance Taylor2-1/+25
1993-03-30 * aoutx.h (translate_from_native_sym_flags): Now handles indirectSteve Chamberlain2-11/+53
symbols in a better way. (translate_to_native_sym_flag): Set the N_INDR bit when necessary. (aout<>slurp_symbol_table): Maintain indirect state. * section.c: Added BFD_IND_SECTION_NAME and bfd_ind_section. (bfd_make_section): Cope with new builtin section. * syms.c (bfd_decode_symclass): Can now print indirect section info.
1993-03-26CVS botch. Add MACHTYPE_OK to mipsbsd.c; re-remove aout-mipsbsd.c.Per Bothner1-461/+0
1993-03-24 * aout-target.h (MY(object_p)): Fail if MACHTYPE_OK isPer Bothner1-0/+461
defined, and yields false. * aout-mipsbsd.c, i386bsd.c: Define MACHTYPE_OK appropriately. * archive.c (snarf_ar_hdr): Add support for reading (only, so far) BSD-4.4-style extended headers. * archive.c: Some more comments.
1993-03-24update dvi & info targetsDavid D. Zuhn1-0/+5
1993-03-24mipsbsd renaming, libbfd optimization fixesKen Raeburn1-0/+11
1993-03-24turn on file-position optimizations againKen Raeburn1-1/+1
1993-03-24disable position-caching code for nowKen Raeburn1-1/+1
1993-03-24fix some (not all) bugs in previous changesKen Raeburn1-8/+17
1993-03-23aout-mipsbsd -> mipsbsdKen Raeburn2-4/+4
1993-03-23delete non-mips-related codeKen Raeburn1-67/+16
1993-03-23rename for <=14 charsKen Raeburn1-0/+20
1993-03-23Eek, a bug!Ken Raeburn1-1/+1
Position 0 means no-movement for SEEK_CUR ... not for SEEK_SET.
1993-03-23oops, left some debug code inKen Raeburn1-1/+1
1993-03-23FILE_OFFSET_IS_CHAR_INDEX changes to libbfd.c and hosts/sparc.hKen Raeburn1-0/+11
1993-03-23libbfd.c: Maintain `where' field of BFD with current position while BFD isKen Raeburn2-35/+56
in use. If FILE_OFFSET_IS_CHAR_INDEX, assume arithmetic can be done on it, and ignore SEEK_SET requests that move to the current position. hosts/sparc.h: Define FILE_OFFSET_IS_CHAR_INDEX.
1993-03-23since bfd vers is > 2.0, make doc say so alsoKen Raeburn1-0/+6
1993-03-23add installcheck targetDavid D. Zuhn2-0/+5
1993-03-22 * coff-mips.c (ecoff_set_symbol_info): Relocate encapsulated stabsIan Lance Taylor1-0/+5
if the type is not stNil.
1993-03-16 * Makefile.in: Add *clean rules.Per Bothner2-16/+83
1993-03-16elf32.c, elf32-sparc.c changesKen Raeburn1-0/+8
1993-03-13consistent use of -solaris2*David D. Zuhn1-0/+4
1993-03-12 * rs6000-core.c: Add .ldinfo section.Jim Kingdon1-0/+4
1993-03-12 * Makefile.in (MAKEOVERRIDES): Define to be empty.Ian Lance Taylor2-11/+36
1993-03-12 * section.c (bfd_set_section_contents): whitespacsSteve Chamberlain2-0/+11
* seclet.c (seclet_dump_seclet): Don't try and fill sections with no contents.
1993-03-12don't define POSIX_UTIME for go32, makes ar & ranlib happy againDavid D. Zuhn2-1/+4
1993-03-09 * elf32.c (elf_object_p): Use ELF_ARCH stored in xvec to matchFred Fish2-19/+62
against machine architecture stored in the ELF header, to resolve ambiguities. * elf32.c (bfd_section_from_shdr): Bfd_make_section can return NULL, so only use results when non-NULL. * targets.c (elf32_m68k_vec, elf32_i860_vec): Add extern decls and add to vector of targets.
1993-03-09Removed obsolete Makefile.dos.Ian Lance Taylor2-379/+0
1993-03-08hppa.c: don't require DL_MAGIC, SHL_MAGIC, if they're not defined (hpux 7.0)Ken Raeburn2-1/+7
1993-03-08hppa and aix386-core changesKen Raeburn1-0/+16
1993-03-08from Noah Friedman: define some needed macros if hpux version < 8Ken Raeburn1-0/+23
1993-03-04 * coff-mips.c (ecoff_bfd_reloc_type_lookup): New function.Ian Lance Taylor3-78/+198
(ecoff_write_object_contents): Added BFD_ASSERT calls to ensure relocs are reasonable. * coff-msym.c: Eliminated uses of DEFUN. (ecoff_swap_tir_out): New function.
1993-03-03 (Ultrix 2.2 support from Michael Rendell <michael@mercury.cs.mun.ca>)Fred Fish3-0/+57
* configure.host (vax-*-ultrix2*): Add triplet. * hosts/vaxult2.h: New file. * config/vaxult2.mh: New file.
1993-03-03 * aoutx.h (string.h): Include for strchr and friends.Fred Fish1-0/+6
* archive.c (string.h): Include for memchr and friends. * elf32.c (string.h): Include for strrchr and friends.