aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
1991-11-04Added ctor.c (I remembered this time)Steve Chamberlain1-1/+5
1991-11-04added ctor.cSteve Chamberlain1-0/+1
1991-11-04Added ctor.cSteve Chamberlain1-2/+2
1991-11-04Sat Nov 2 14:26:03 1991 Steve Chamberlain (steve at cygnus.com)Steve Chamberlain3-4/+61
* Makefile.in: Added ctor.c * archures.c (bfd_default_arch_struct) added bfd_default_reloc_type_lookup. * coffcode.h: removed a load of #if 0ed code. (coff_compute_file_section_positions): now works out the section alignment and size correctly in all cases. (coff_get_symtab): looks for contructor symbols and calls the right function when they're found. (coff_canonicalize_reloc): knows when a section is full of contructors and does the right thing. * cpu-m88k.c: Added default_reloc_type lookup to the architecture description. * libbfd-in.h: (bfd_default_reloc_type_lookup) defun added. * libcoff.h: removed #if 0ed code * reloc.c: (bfd_reloc_code_real_type) added BFD_RELOC_CTOR for arch independent contructtor relocation type. (bfd_reloc_type_lookup): removed the comment "this will go away" since it won't. (bfd_howto_32): stolen from 88k, this is a 32bit reloc which is used when BFD_RELOC_CTOR falls through to give a default 32bit reloc for contructors. (bfd_default_reloc_type_lookup): added. * aoutf1.h: fixed SEGMENT_SIZE typo.
1991-11-03 * bfd-in.h (bfd_print_symbol_type_hopw enum): Add new optionPer Bothner2-0/+15
bfd_print_symbol_nm, for use by nm. * aoutx.h (NAME(aout,print_symbol)): Add code for new bfd_print_symbol_nm option, to print in nm format. * coffcode.h (coff_print_symbol), ieee.c (ieee_print_symbol) oasys.c (oasys_print_symbol): Provide stub implementations for bfd_print_symbol_nm. * syms.c: New function bfd_decode_symclass, used by nm printer. New function bfd_stab_name to look up string name of stab code.
1991-11-03 Get rid of MISSING_VFPRINTF, since libiberty provides one.Per Bothner1-2/+0
1991-11-02Now include ctor.c in the right places.Steve Chamberlain2-3/+4
1991-11-02Initial revisionSteve Chamberlain1-0/+144
1991-11-01* coff-rs6000.c: Change name to "aixcoff-rs6000", to avoidJohn Gilmore2-3/+46
matching prefix "coff". * coffcode.h (coff_swap_aux_in, coff_swap_aux_out): Handle rs/6000 csect records.
1991-10-28 * coff-m88k.c, targets.c: change name of m88k_bcs to m88kbcsSteve Chamberlain1-0/+1
1991-10-28Sun Oct 27 16:56:58 1991 Steve Chamberlain (steve at cygnus.com)Steve Chamberlain5-21/+62
* 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-28Initial revisionSteve Chamberlain1-0/+81
1991-10-25* Rename COFF-related files in `coff-ARCH.c' form.John Gilmore6-61/+74
coff-a29k.c, coff-i386.c, coff-i960.c, coff-m68k.c, coff-m88k.c, coff-mips.c, coff-rs6000.c to be exact.
1991-10-25* Makefile.in: Only supply TARGET_DEFAULTS to targets.c, reducingJohn Gilmore1-0/+4
make output clutter.
1991-10-25Update doc on how to define an architecture for "mh" change.John Gilmore1-3/+3
1991-10-25RS/6000 supportJohn Gilmore2-2/+9
1991-10-25Initial revisionJohn Gilmore2-0/+544
1991-10-25RS/6000 support, by Metin G. Ozisik, Mimi Phûông-Thåo Võ, and John Gilmore.John Gilmore10-420/+621
1991-10-25Updates to h-vaxult.h from David Taylor.John Gilmore1-0/+5
1991-10-25Removed some debugSteve Chamberlain1-1/+0
1991-10-24Now uses mt- and mh- rather than tmake and hmake filesSteve Chamberlain1-8/+8
1991-10-24Add partial support for ELF format corefiles. Still needs code to extractFred Fish2-48/+267
register values from corefiles and make them available to bfd clients.
1991-10-24In config/t-m68k-elf, set DEFAULT_VECTOR to elf_big_vec.Fred Fish1-0/+2
1991-10-24Document changes to some bfd config files.Fred Fish1-0/+6
1991-10-22Remove malloc/free decls covered in stdlib.h. From David Taylor.John Gilmore1-2/+0
1991-10-21 * coffcode.h (coff_compute_section_file_positions): make it padSteve Chamberlain2-0/+10
section size out if there are alignment restrictions so that the image will be ok on a system where section positions are worked out by accumulating sizes rather than from the section headers.
1991-10-21Changed minimum section alignmentSteve Chamberlain1-2/+3
1991-10-21 * targets.c (proto write_armap). Changed orl_count to unsigned.Steve Chamberlain6-189/+265
* opncls.c (bfd_close_all_done). Added so that generative programs like gas can close a bfd without causing bfd confusion. * libbfd.h (changed becuase of protos) * amdcoff.c: messed with the way that jmp displacements are calcualated. This may not yet be totally correct. * archive.c (coff_write_armap): rewrote the way that ranlibs are written out. * coffcode.h (fixup_symbol_value): now doesn't core dump if a non abs symbol has no section (like a register symbol). (coff_write_symbol) now zeros auxent before filling it up to help with sensitive applications. * libbfd.c (bfd_write_bigendian_4byte_int): added.
1991-10-17Make perror arg be CONST to avoid warning,Per Bothner1-2/+1
and remove duplicate declaration of perror.
1991-10-17* hosts/h-tahoe.h: Add FASCIST_FDOPEN and NO_CORE_COMMAND; revamp HOST_*, etc.John Gilmore1-1/+1
* hosts/h-i386v.h: Use <utime.h>, not <sys/utime.h>, unlike POSIX.
1991-10-16sparc-64 to sparc-llJohn Gilmore1-2/+5
1991-10-16 * archive.c (bsd_write_argmap): The size of the ranlib structuresPer Bothner1-0/+9
should not include teh size field itself. * aoutx.h, libaout.h (NAME(aout, sizeof_headers)): Use adata(abfd)->exec_bytes_size field instead of constant macro, because aoutx.h compiles to a simple .o file shared by all 32-bits a.out targets.
1991-10-16Allow i386-sco-sysv.John Gilmore1-0/+23
Updates from my internet testing for gdb-4.2.
1991-10-16* host-aout.c: New strategy. We use common code, include files,John Gilmore1-30/+100
and data structures to handle the file, but set a few parameters from the host's config file (page size, text start addr, etc). * libaout.h: Define HP BSD machine types.
1991-10-16* trad-core.c: Pass the u.u_ar0 value as the negative of theJohn Gilmore1-53/+50
virtual-memory-address of the .reg section. We can't just make a section for "all the regs and nothing else" because only GDB knows exactly where the regs are (scattered around the upage and stack). Clean up memory allocation. Remove big- and little-endian vectors, replace with single vector; this only runs on the host, in host byte order. Replace byteswap routines with aborts in case anyone calls them. * targets.c: There's only one trad_core_vec now. * aoutf1.h (sunos_core_file_p): VMA of .reg* now needs to be 0.
1991-10-16sparc-64 to sparc-llJohn Gilmore1-1/+1
1991-10-16Convert dec3100 to decstation.John Gilmore1-1/+8
1991-10-15* hosts/h-amix.h (free): Fix prototype.John Gilmore2-50/+74
* aoutx.h: Don't use NULL as an integer, for braindead systems that declare it as (void *)0. (From Peter Schauer.)
1991-10-15* hosts/h-amix.h (free): Fix prototype.John Gilmore1-1/+1
1991-10-15Add hosts directory.Per Bothner1-1/+5
1991-10-15 * aoutx.h (NAME(aout,set_section_contents)): Try to handle thePer Bothner1-0/+10
various kinds of alignments for the various kinds of magic numbers.
1991-10-14Don't assume . is on the path.John Gilmore1-5/+5
1991-10-12Update for new bfd/hosts.John Gilmore1-6/+11
1991-10-12* Makefile.in: Avoid Sun Make VPATH bugs.John Gilmore1-0/+5
* targets.c: Declare trad_core vectors extern.
1991-10-11 * coffcode.h: Moved ALIGN macro to libbfd.h. Removed i960_align.Per Bothner1-0/+29
* libbfd.h: Moved ALIGN macro here. * bout.c (b_out_callback): Replace i960_align by align_power. * libaout.h (struct aoutdata): Added fields page_size, segment_size and exec_bytes_size. These help generic code (in aoutx.h and libaout.h) to figure out where to align the various segments in a demand paged file. * libaout.h (WRITE_HEADER): Use new (struct aoutdata) fields to decide if the exec header counts in a_text (text segment size). Also, assume D_PAGED flag is set; don't set it here. * bout.c (b_out_callback): Add initialization of adata fields page_size, segment_size, and exec_bytes_size. * host-aout.c (NAME(host_aout, callback) and NAME(host_aout,mkobject): Ditto. * i386aout.c (aout386_callback) and new aout386_mkobject): Ditto. * newos3.c (newsos3_callback) and new newsos_mkobject): Ditto. * aoutf1.c (sunos4_callback) and new sunos_mkobject): Ditto. * aoutx.h (NAME(aout,some_aout_object_p)): Don't subtract EXEC_BYTES_SIZE from the a_test size; this is only appropriate for some systems (mainly sunos), so do it in the callback instead. Same routine: Add stuff to the THIS_IS_ONLY_DOCUMENTATION comment. * aoutx.h (NAME(aout,set_section_contents): Change the way filepos and size of sections are carried out to support older styles of demand paged executables.
1991-10-11 * bfd-in.h: Added more macros to COFF_SWAP_TABLE.Steve Chamberlain3-108/+202
* bfd.c: Added macros to enable gas to swap coff records. * coffcode.h: Make the coff_swap_*_out routines return the number of bytes swapped, and cleaned up their prototypes. * configure.in: Added ebmon/coff support * ecoff.c: Changed null definitions of coff_swap_*_out to conform to new prototypes * targets.c: Added new entry points for coff swapping
1991-10-11Remove refs to ../include/sysdep.h.John Gilmore2-11/+15
1991-10-11Initial revisionJohn Gilmore2-0/+451
1991-10-11Restructure configuration scheme for bfd, binutils, ld.John Gilmore2-60/+107
* include/sys/h-*.h: Move to bfd/hosts/h-*.h. * configure.in: Revise to symlink sysdep.h to hosts/h-xxx.h. Change some config names to match other dirs. * *.c: Include bfd.h before sysdep.h, so ansidecl and PROTO() get defined first. * Makefile.in: Use -I. to get sysdep.h. * trad-core.c: Don't disable the whole file if SUN4_SYS. * config/: Rename some config files to match up h-*.h names. Remove all the HOST_SYS definitions from the config files. * hosts/h-amix.h, h-i386v.h: Define POSIX_UTIME, not USG. * hosts/h-hp9000.h: Remove USG comment. * hosts/h-rs6000.h: Include <stdlib.h> for malloc. * hosts/h-news.h, h-sparc-64.h: New config files that had previously been kludged in the <sysdep.h> file.
1991-10-11* hosts/h-amix.h, h-i386v.h: Define POSIX_UTIME, not USG.John Gilmore4-13/+13
* hosts/h-hp9000.h: Remove USG comment. * hosts/h-rs6000.h: Include <stdlib.h> for malloc. * hosts/h-news.h, h-sparc-64.h: New config files that had previously been kludged in the <sysdep.h> file.