aboutsummaryrefslogtreecommitdiff
path: root/bfd/archures.c
AgeCommit message (Collapse)AuthorFilesLines
1998-03-04Fix 4320 sanitization.Doug Evans1-1/+1
1998-03-03 * mips-cpu.c: Reorganize sanitization.Gavin Romig-Koch1-8/+8
* archures.c, bfd-in2.h, mips-cpu.c : Added bfd_mach_mips4320.
1998-01-28 * config.bfd, configure.in: Add dvp support.Doug Evans1-6/+10
* configure: Regenerate. * aclocal.m4: Regenerate. * archures.c, reloc.c, cpu-mips.c: Add dvp support. * bfd-in2.h, libbfd.h, libcoff.h: Regenerate. plus delete old txvu stuff, dvp generates mips files now
1998-01-28 * archures.c (bfd_mach_mips*): Add definitions for various MIPSJeff Law1-6/+23
processors. * cpu-mips.c (arch_info_struct): Add mips variants. * bfd-in2.h: Rebuilt.
1997-12-22 * Makefile.am (ALL_MACHINES,BFD32_BACKENDS): Add txvu support.Doug Evans1-0/+12
(cpu-txvu.lo,elf32-txvu.lo): Add rules for. * Makefile.in: Rebuild. * config.bfd, configure.in: Add txvu support. * configure: Regenerate. * archures.c, elf.c, targets.c: Add txvu support. * bfd-in2.h: Regenerate. * cpu-txvu.c, elf32-txvu.c: New files.
1997-12-16improve support for m32rx processor.Nick Clifton1-0/+2
1997-12-12Renamed v850eq -> v850eaNick Clifton1-5/+17
1997-09-10New function: bfd_arch_list cf bfd_target_list.Andrew Cagney1-40/+106
Make bfd_default_scan (arch) more flexable in its match of name to arch, remove some of the dead code.
1997-09-03Removed v850 sanitization.Nick Clifton1-6/+0
Fixed v850e sanitization.
1997-08-28Add sh3 et.al. to SH arch table.Andrew Cagney1-1/+8
Improve machine name parsing for v850 and SH.
1997-08-27* archures.c (bfd_archures_list): Always NULL terminate the list.Andrew Cagney1-1/+1
1997-08-26fix v850 machine number stuffIan Lance Taylor1-2/+2
1997-08-25Switched over to using machine numbers to distinguish v850 architecture ↵Nick Clifton1-1/+7
variants.
1997-08-15Remove ARC sanitization.David Edelsohn1-22/+7
1997-02-19Tue Feb 18 17:22:59 1997 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-1/+16
* Makefile.in, archures.c, config.bfd, configure.in, elf.c, reloc.c, targets.c: New target, elf-*-D30V. * bfd-in2.h, configure, libbfd.h: Rebuilt. * cpu-d30v.c, elf32-d30v.c: New files.
1996-12-28(Lay some groundwork for TIc80 port that will be filled in incrementally.)Fred Fish1-3/+9
* TODO: Correct a misspelling. start-sanitize-tic80 * coff-tic80.c: New file for TI TMS320C80 (MVP). * cpu-tic80.c: New file for TI TMS320C80 (MVP). * configure.in (case $vec): Add tic80coff_vec entry. * configure: Regenerate with autoconf. * archures.c (bfd_tic80_arch): Declare. * bfd-in2.h (enum bfd_architecture): Add bfd_arch_tic80. * config.bfd (case ${targ}): Add tic80*-*-coff* target. * targets.c (tic80coff_vec): Add decl as extern bfd_target. (bfd_target_vector): Add tic80coff_vec entry. end-sanitize-tic80
1996-10-03 * cpu-mn10x00.c, elf32-mn10x00.c: New files.Jeff Law1-0/+30
* Makefile.in (ALL_MACHINES): Add cpu-mn10x00.o. (BFD32_BACKENDS): Similarly for elf32-mn10x00.o. (elf32-mn10x00.o): Add dependencies. * archures.c (enum bfd_architecture): Add bfd_arch_mn10x00. (bfd_mn10x00_arch): Declare. (bfd_archures_list): Add bfd_mn10x00_arch. * config.bfd: Add mn10x00-*-*. * configure.in: Add bfd_elf32_mn10x00_vec. * elf.c (prep_headers): Handle bfd_arch_mn10x00. * targets.c (bfd_elf32_mn10x00_vec): Declare. (bfd_target_vector): Add bfd_elf32_mn10x00_vec. * bfd-in2.h, configure: Rebuilt. Stubbing out Matsushita support.
1996-07-17 * archures.c bfd-in2.h: Add bfd_mach_i386_i386 andStu Grossman1-0/+2
bfd_mach_i386_i8086 machine types.
1996-07-05No longer need to sanitize away h8/s stuff.Jeff Law1-18/+11
1996-02-05 * archures.c (bfd_mach_i960_hx): Define.Ian Lance Taylor1-1/+2
* bfd-in2.h: Rebuild. * cpu-i960.c (scan_960_mach): Accept machine "hx". (MATRIX): Expand entries for HX. (arch_info_struct): Add i960:hx entry. * bout.c (b_out_set_arch_mach): Handle bfd_mach_i960_hx. * coffcode.h (coff_set_arch_mach_hook): Handle F_I960HX. (coff_set_flags): Handle bfd_mach_i960_hx.
1996-01-24 * elf32-sparc.c (elf32_sparc_merge_private_bfd_data): Delete checkingDavid Edelsohn1-4/+3
of flags, only flags used are controlled by mach number. Bump up output file mach number to highest of input file mach numbers. (elf32_sparc_object_p): Watch for EF_SPARC_SUN_US1. (elf32_sparc_final_write_processing): Set EF_SPARC_SUN_US1 if v8plusa. Also, delete v8plus sanitization.
1996-01-23 * bfd-in2.h: Regenerated.David Edelsohn1-0/+2
1996-01-22 * archures.c (bfd_mach_sparc_v9): Renamed from bfd_mach_sparc64.David Edelsohn1-236/+191
start-sanitize-v8plus (bfd_mach_sparc_{v8plus,v8plusa}): Define. end-sanitize-v8plus (bfd_mach_sparc_v9a): Define. * bfd-in2.h: Regenerated. * aoutx.h (aout,machine_type): bfd_mach_sparc64 renamed to bfd_mach_sparc_v9. * config.bfd (sparc64-*-sysv4*,sparc64-*-solaris2*): Set targ_defvec to bfd_elf32_sparc_vec. * cpu-sparc.c (arch_info_struct): Renamed from sparc_arch_info. start-sanitize-v8plus Add v8plus{,a} support. end-sanitize-v8plus Add v9a support. start-sanitize-v8plus * elf32-sparc.h: #include "elf/sparc.h". (elf32_sparc_set_private_flags, elf32_sparc_copy_private_bfd_data, elf32_sparc_merge_private_bfd_data, elf32_sparc_object_p, elf32_sparc_final_write_processing): New functions. (bfd_elf32_bfd_set_private_flags, bfd_elf32_bfd_copy_private_bfd_data, bfd_elf32_bfd_merge_private_bfd_data, elf_backend_object_p, elf_backend_final_write_processing): Define. end-sanitize-v8plus
1995-09-12 Extensive minor changes to avoid various gcc warnings. Also:Ian Lance Taylor1-3/+3
* Makefile.in (BFD32_BACKENDS): Remove coff-arm.o. * archures.c (bfd_arch_info_type): Change mach field from long to unsigned long. (bfd_lookup_arch): Change machine parameter from long to unsigned long.
1995-09-06 * configure.in: Call AC_CONFIG_HEADER. SubstituteIan Lance Taylor1-83/+105
HOST_64BIT_LONG. Check that various header files exist. Check that fcntl exists. Call BFD_BINARY_FOPEN. Check whether malloc and/or free need to be declared. Don't make a link to sysdep.h. Define TRAD_HEADER for various hosts. * configure: Rebuild. * configure.host: Don't set my_host. Add definitions taken from host header files for various entries. Remove entries which now do nothing. * acconfig.h: New file. * config.h.in: New file, built by autoheader. * sysdep.h: New file. * Makefile.in (do_distclean): Don't remove sysdep.h. (RECONFIG): Remove. (LOCAL_H_DEPS): New variable. ($(BFD_LIBS)): Use $(LOCAL_H_DEPS) rather than libbfd.h and $(RECONFIG). ($(BFD_MACHINES), $(BFD_BACKENDS)): Likewise. ($(OPTIONAL_BACKENDS)): Likewise. (stmp-bfd.h): Just substitute for BFD_HOST_64BIT_LONG, rather than looking through sysdep.h. * bfd-in.h (BFD_HOST_64BIT_LONG): Define; set by Makefile. (BFD_HOST_64_BIT): Define based on BFD_HOST_64BIT_LONG. (fprintf_vma, sprintf_vma): Likewise. (int64_type, uint64_type): Don't define. * bfd-in2.h: Rebuild. * archures.c, bfd.c, srec.c: Include <ctype.h>. * elfcore.h: Check HAVE_SYS_PROCFS_H rather than HAVE_PROCFS. * lynx-core.c: Include stuff from old hosts/lynx.h. * opncls.c (bfd_fdopenr): Check HAVE_FNCTL and defined (F_GETFL), rather than NO_FCNTL. * targets.c (bfd_target_list): Check HOST_HPPAHPUX and ! __STDC__ rather than NATIVE_HPPAHPUX_COMPILER. * trad-core.c: Don't include <errno.h>. Include TRAD_HEADER if it is defined. * hosts/*.h: Remove all header files which merely include, declare, and define things. Leave header files which define information needed by trad-core.c.
1995-01-12const fixesKen Raeburn1-11/+16
1994-11-26Add changes from customer since last work.Michael Tiemann1-0/+3
1994-11-25Rename r16 files to rce, and fix some more .Sanitize typos.Michael Tiemann1-6/+6
1994-11-24Safely check in r16 targets for binutils.Michael Tiemann1-41/+67
1993-11-05doc cleanupDavid MacKenzie1-62/+60
1993-08-17 * archures.c (bfd_default_set_arch_mach): Set bfd_error onIan Lance Taylor1-9/+28
failure. * aoutx.h (NAME(aout,set_arch_mach)): Check return value of bfd_default_set_arch_mach.
1993-02-01from ralphc: recognize some mips variantsKen Raeburn1-43/+54
1992-06-19* Makefile.in, archures.c, configure.in, cpu-hppa.c, hppa.c, libhppa.h,Stu Grossman1-0/+3
targets.c: HPPA merge.
1992-06-16[time to file a PR on cvs...]Ken Raeburn1-76/+64
Various changes to get linker working again for a.out: * don't set/adjust section file positions or vmas more than once * use correct page size and segment size when calculating them * deal with some variations in a.out implementations Tested on sun4 and sun4->sun3 so far, will be testing further but needed to get wider exposure&testing. See ChangeLog for details. Also: * coffcode.h (coff_write_relocs): Write out swapped reloc, not pre-swapped version. * hosts/sparc.h (abort, exit): Hide these names if compiling with gcc version 2, to avoid warnings.
1991-11-30New documentation styleSteve Chamberlain1-288/+387
1991-10-25RS/6000 support, by Metin G. Ozisik, Mimi Phûông-Thåo Võ, and John Gilmore.John Gilmore1-75/+105
1991-10-01*** empty log message ***Steve Chamberlain1-2/+2
1991-10-01Mon Sep 30 15:13:46 1991 Steve Chamberlain (steve at cygnus.com)Steve Chamberlain1-323/+442
* cpu-a29k.c, cpu-i386.c, cpu-m68k.c, cpu-mips.c, cpu-vax.c, cpu-h8300.c, cpu-i960.c, cpu-m88k.c, cpu-sparc.c: added. These files will eventually contain processor specific bits for bfd, like strange relocation information and dis/assembly. So far only the H8 has been even partially done. This work also ties in with the change in handling architectures. * aout-f1.h: (choose_reloc_size) now calls bfd_get_arch to discover the architecture of the bfd. (sunos4_callback) calls the function bfd_set_arch_mach rather than stuffing stuff directly into the bfd. (sunos4_write_object_contents), changed names of accessor functions. * aoutx.h: (set_arch_mach) now calls bfd_default_set_arch_mach to setup the environment. * archive.c: (bfd_slurp_coff_armap) coff archives always have the headers in big endian format, regardless of the endianess of the host or target. * archures.c: totally changed. Now an architecture is represented with a pointer to an info structure rather than an enumerated type and a long. The old info is available as two elements in the structure. Future enhancements to architecure support will involve pointers to methods being placed into the info structure. * bfd.c: changed the definition of the bfd structure for the new architecture stuff. * bout.c: (b_out_set_arch_mach) changed to use the new architecture mechanism. * coffcode.h: (coff_set_arch_mach, coff_set_flags) changed to use the new architecture mechanism. * configure.in: added h8 stuff. * ieee.c: too many changes to note. Now ieee files written with bfd gas and ld can be read by gld and ieee only linkers and simulators. * libbfd.c, libbfd.h: changed prototype of bfd_write. * newsos3.c: (newos3_callback) now calls bfd_set_arch_mach rather than fixing the structure directly. * oasys.c: (oasys_object_p) now calls bfd_default_set_arch_mach rather than fixing the structure directly. * opncls.c: (new_bfd) makes sure that bfd_init has been called before opening a bfd. * srec.c: (srec_set_arch_mach) now calls bfd_default_set_arch_mach rather than fixing the structure directly. * targets.c: (target_vector) now by defining SELECT_VECS (perhaps in the t/hmake file) a user can select which backends they want linked with bfd without changing the source. * init.c: new, looks after initializing modules. * howto.c: for future use, will allow an application to work out what cookie to use as a handle on a relcoatio howto.
1991-08-19Fixed minor typos.Roland Pesch1-1/+1
1991-08-19Mon Aug 19 13:48:22 1991 Roland H. Pesch (pesch at cygint.cygnus.com)Roland Pesch1-5/+5
* aoutx.h, archive.c, archures.c, bfd.c, bfd.texinfo, cache.c, coffcode.h, core.c, format.c, libbfd.c, libbfd.h, libcoff.h, opncls.c, reloc.c, section.c, syms.c, targets.c (documentation segments): used BFD (caps) more consistently as a name in discourse, fixed a few other minor typos and uses of fonts
1991-08-17DocumentationSteve Chamberlain1-112/+210
1991-05-02Merge devo/bfd with GDB's bfd.John Gilmore1-30/+25
Remove obstack.h to ../include and obstack.c to ../libiberty. Move COFF symbol swapping code to coffswap.c where GDB can call it but it won't be duplicated if we have N different COFF targets. Add support for traditional Unix core files (with a upage). This support is from an Ultrix port, but is probably slightly broken now. Improve bfd_release's of obstack'd items on error returns. gcc -Wall fixes. Handle section alignment slightly better in coff, and comment where it needs more work (on page-aligning virtual vs file addresses for DPAGED). Use set_tdata everywhere that tdata is set, to avoid "cast to the left of assignment" problems with some compilers. Move bfd_alloc, bfd_zalloc, bfd_realloc, and bfd_release into libbfd.h (from bfd.h) since they are internal routines. Remove the redundant suffix "_struct" from struct tags. Set symbol count early in file reading, before slurping in the syms, for GDB's use.
1991-04-24Changed the shape of the howto type yet again.Steve Chamberlain1-5/+8
Now m88kbcs support can self host.
1991-03-21Initial revisionDavid Henkel-Wallace1-0/+368