aboutsummaryrefslogtreecommitdiff
path: root/bfd/configure.in
AgeCommit message (Collapse)AuthorFilesLines
1995-09-28 * config.bfd: Add arm-*-coff.David Edelsohn1-0/+2
* configure.in, configure: Add armcoff_{little,big}_vec. * targets.c (armcoff_{little,big}_vec): Declare. (bfd_target_vector): Add armcoff_{little,big}_vec. * coff-arm.c (armcoff_{little,big}_vec): Always define.
1995-09-27Configury for new ppc bfdKim Knuttila1-0/+4
1995-09-22 Change arch info to be const, initialized at compile time.Ian Lance Taylor1-1/+1
* archures.c: Reindent many functions. Change CONST to const. (bfd_arch_info_type): Make arch_name const. Remove disassemble; nothing set it anyhow. Make next const. (bfd_arch_info_list): Remove. (bfd_archures_list): Rename from archures_init_table. Change from a table of function pointers to a table of bfd_arch_info_type structure addresses. (bfd_scan_arch): Rewrite accordingly. Return a const pointer. (bfd_lookup_arch): Likewise. (bfd_set_arch_info): Rewrite accordingly. Change argument to be a const pointer. (bfd_default_arch_struct): Make const. (bfd_arch_init, bfd_arch_linkin): Remove. (bfd_get_arch_info): Return a const pointer. * init.c (bfd_init): Don't call bfd_arch_init. * bfd.c (struct _bfd): Make arch_info const. * bfd-in2.h: Rebuild. * libbfd.h: Rebuild. * configure.in: Put & before everything in $selarchs. * configure: Rebuild. * cpu-*.c: Change bfd_*_arch from a function which calls bfd_arch_linkin to a const structure. * ieee.c (ieee_object_p): Make arch const.
1995-09-18Mon Sep 18 14:35:01 1995 Arne H. Juul <arnej@pvv.unit.no>Ian Lance Taylor1-0/+1
* config.bfd (mips-dec-netbsd*): New target. * configure.host (mips-dec-netbsd*): New host. * configure.in (mips-dec-netbsd*): New native. * configure: Rebuild.
1995-09-14 Convert i960 COFF to use COFF backend linker.Ian Lance Taylor1-2/+2
* coff-i960.c (coff_i960_relocate): Use a coff_section_data structure to store the symbol being used. (coff_i960_start_final_link): New static function. (coff_i960_relocate_section): New static function. (coff_i960_adjust_symndx): New static function. (coff_start_final_link): Define. (coff_relocate_section): Define. (coff_adjust_symndx): Define. * coffcode.h (bfd_coff_backend_data): Add new callback function _bfd_coff_start_final_link. (bfd_coff_start_final_link): Define. (coff_start_final_link): Define if not defined. (bfd_coff_std_swap_table): Add coff_start_final_link. * cofflink.c (_bfd_coff_internal_syment_name): Make globally visible. (_bfd_coff_final_link): Call bfd_coff_start_final_link if the function callback is not NULL. * libcoff-in.h (struct coff_section_tdata): Add tdata field. (_bfd_coff_internal_syment_name): Declare. * libcoff.h: Rebuild. * configure.in (icoff_big_vec): Add cofflink.o. (icoff_little_vec): Likewise. * configure: Rebuild.
1995-09-08 * configure.in: Only check for <sys/procfs.h> on a native system,Ian Lance Taylor1-1/+15
and make sure it defines prstatus_t. * configure: Rebuild.
1995-09-07tweak last changeIan Lance Taylor1-1/+1
1995-09-07 * config.in: Rename from config.h.in.Ian Lance Taylor1-1/+1
* configure.in: Call AC_CONFIG_HEADER with config.h:config.in. * configure: Rebuild. * Makefile.in (stamp-h): Set CONFIG_HEADERS to config.h:config.in when calling config.status.
1995-09-07 * Makefile.in (do_distclean): Remove config.h and stamp-h.Ian Lance Taylor1-1/+2
(Makefile): Just rebuild Makefile. (config.h, stamp-h): New targets. * configure.in: Create stamp-h when rebuilding config.h. * configure: Rebuild.
1995-09-06 * configure.in: Call AC_CONFIG_HEADER. SubstituteIan Lance Taylor1-43/+149
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-09-06add commentIan Lance Taylor1-0/+2
1995-09-04 * configure.host: Incorporate host Makefile fragments by settingIan Lance Taylor1-12/+18
shell variables. * configure.in: Call AC_PROG_CC. Substitute CFLAGS, HDEFINES and AR. Call AC_PROG_INSTALL. Substitute CC_FOR_BUILD, choosing a value based on whether the code is being compiled by a cross compiler. Don't substitute host_makefile_frag or frags. * aclocal.m4: New file to define local AC_PROG_CC. * configure: Rebuild. * Makefile.in (INSTALL): Set to @INSTALL@. (INSTALL_PROGRAM): Set to @INSTALL_PROGRAM@. (INSTALL_DATA): Set to @INSTALL_DATA@. (AR): Set to @AR@. (CC): Define as @CC@. (CFLAGS): Set to @CFLAGS@. (CC_FOR_BUILD): Set to @CC_FOR_BUILD@. (@host_makefile_frag@): Remove. (ALL_CFLAGS): Change $(HDEFINES) to @HDEFINES@. Move $(CFLAGS) after other options. (config.status): Remove dependency upon @frags@. * config/*.mh, config/README: Remove.
1995-09-04 * config.bfd: Rewrite to incorporate the contents of the MakefileIan Lance Taylor1-54/+31
fragments by setting shell variables, rather than merely returning the name of a Makefile fragment. * configure.in: Use shell variables set by config.bfd rather than looking at the target Makefile fragment files. Don't substitute target_makefile_frag. Do substitute TDEFINES. * configure: Rebuild. * Makefile.in (@target_makefile_frag@): Remove. (ALL_CFLAGS): Change $(TDEFINES) to @TDEFINES@. * config/*.mt: Remove.
1995-09-04Wrap "i[345]86" patterns in changequote lines.Ken Raeburn1-0/+2
1995-09-01 * configure.in: For a native configuration, set COREFILE andIan Lance Taylor1-20/+94
COREFLAG based on the canonical host name. * configure: Rebuild. * Makefile.in: Rebuild dependencies. (ALL_CFLAGS): Add @COREFLAG@. (OFILES): Replace $(HDEPFILES) with @COREFILE@. * coff-rs6000.c: Check AIX_CORE rather than HOST_AIX for core file support routines. Check LYNX_CORE rather than HOST_LYNX. * lynx-core.c: Check LYNX_CORE rather than HOST_LYNX. * i386lynx.c: Likewise. * m68klynx.c: Likewise. * sparclynx.c: Likewise. * rs6000-core.c: Check AIX_CORE rather than HOST_AIX. * *-core.c: Comment changes. * config/decstation.mh (HDEPFILES): Remove. (HDEFINES): Remove -DTRAD_CORE. * config/irix3.mh (RANLIB): Remove. * config/irix4.mh (HDEPFILES, RANLIB): Remove. (HDEFINES): Remove -DIRIX_CORE. * config/riscos.mh (RANLIB, HDEPFILES): Remove. (HDEFINES): Remove -DTRAD_CORE. * config/ncr3000.mh (AR_FLAGS, RANLIB): Remove. * config/ultra3.mh (RANLIB): Remove. * config/aix4.mh, config/alphaosf.mh, config/amix.mh: Remove. * config/apollo.mh, config/delta68.mh, config/delta88.mh: Remove. * config/dpx2.mh, config/esix.mh, config/harris.mh: Remove. * config/hp300.mh, config/hp300bsd.mh, config/hppabsd.mh: Remove. * config/hppahpux.mh, config/hppaosf.mh: Remove. * config/i386aix.mh, config/i386bsd.mh: Remove. * config/i386linux.mh, config/i386mach3.mh: Remove. * config/i386sco.mh, config/i386v.mh, config/i386v4.mh: Remove. * config/irix5.mh, config/m88kmach3.mh, config/mipsbsd.mh: Remove. * config/mipsmach3.mh, config/news-mips.mh: Remove. * config/news.mh, config/pc532mach.mh, config/riscix.mh: Remove. * config/rs600.mh, config/rs6000lynx.mh: Remove. * config/solaris2.mh, config/stratus.mh: Remove. * config/symmetry.mh, config/sysv4.mh, config/tahoe.mh: Remove. * config/vaxbsd.mh, config/vaxult.mh, config/vaxult2.mh: Remove.
1995-07-05 * configure.in: Use $ac_config_sub, not $configsub.Ian Lance Taylor1-1/+1
* configure: Likewise.
1995-07-05fix usage message on --enable optionsKen Raeburn1-2/+2
1995-07-05autoconfiscationKen Raeburn1-52/+73
1995-05-09Add little endian PowerPC support.Michael Meissner1-7/+14
1994-11-26Add changes from customer since last work.Michael Tiemann1-1/+1
1994-11-25Rename r16 files to rce, and fix some more .Sanitize typos.Michael Tiemann1-3/+3
1994-11-24Safely check in r16 targets for binutils.Michael Tiemann1-0/+3
1994-11-24 * coff-sh.c (shlcoff_vec): New target vector.Steve Chamberlain1-1/+2
(no_archive): New function. * coffcode.h (coff_set_arch_mach_hook, coff_set_flags): Handle little endian SH. * configure.in: Handle shl. * targets.c (bfd_target_vector): Add shlcoff_vec. * config/sh-coff.mt (SELECT_VECS): Handle shl_coff_vec.
1994-10-28NetBSD/m68k support, based on work by mikeb@snow.datametrics.com:J.T. Conklin1-2/+3
* config.bfd (m68*-*-netbsd*): Use m68k-nbsd as bfd_name. * configure.in (m68knetbsd_vec): Added. * targets.c (bfd_m68knetbsd_vec): Added. * hosts/m68knbsd.h, config/m68k-nbsd.mt, m68knetbsd.c: New files. * Makefile.in (BFD32_BACKENDS, CFILES): Add m68knetbsd.c. miscellaneous cleanup required by all netbsd targets, based on work by Andrew Cagney <cagney@highland.com.au>: * netbsd.h (N_MAGIC, N_SET_MAGIC, N_GETMAGIC, N_GETMAGIC2, N_TXTADDR, N_TXTOFF, N_ALIGN, N_DATADDR, N_DATOFF): Removed. Generic a.out definitions work. * i386nbsd.c, ns32knbsd.c, sparcnbsd.c (__LDPGSZ): Removed. (MY(write_object_contents)): Use NetBSD's magic numbers
1994-09-13* configure.host (sparc-*-netbsd): use sparcnbsd.J.T. Conklin1-2/+3
(ns32k-*-netbsd): use ns32knbsd. * hosts/{nbsd,i386nbsd,ns32knbsd,sparcnbsd}.h: New files, NetBSD host support. * sparcnetbsd.c: New file, adds support for NetBSD/sparc. * config/sparc-nbsd.mt: Likewise. * netbsd.h: New file, definitions common to all netbsd ports. * i386netbsd.c: Use it. * ns32knetbsd.c: Use it. * Makefile.in, configure.in, targets.c, config/i386-nbsd.mt, config/ns32k-nbsd.mt: canonicalize netbsd targets to conform to file/variable naming conventions. * i386netbsd.c: New file, renamed from netbsd386.c. * ns32knetbsd.c: New file, renamed from netbsd532.c.
1994-09-09 Convert m68k COFF to use new COFF backend linker.Ian Lance Taylor1-5/+5
* coff-m68k.c (coff_relocate_section): Define. * cf-m68klynx.c (coff_rtype_to_howto): Define. (coff_m68k_lynx_rtype_to_howto): New static function. * configure.in (m68kcoff_vec): Build cofflink.o. (m68kcoffun_vec, m68klynx_coff_vec): Likewise.
1994-09-06 Add new style linker support to COFF backend. a29k only for now.Ian Lance Taylor1-1/+1
* cofflink.c: New file. * libcoff-in.h: Include bfdlink.h. (obj_coff_external_syms, obj_coff_strings): Define accessor macro. (obj_coff_sym_hashes): Define accessor macro. (struct coff_tdata): Add fields external_syms, strings, and sym_hashes. (struct coff_link_hash_entry): Define. (struct coff_link_hash_table): Define. (coff_link_hash_lookup, coff_link_hash_traverse): Define. (coff_hash_table): Define. (_bfd_coff_link_hash_table_create): Declare. (_bfd_coff_link_add_symbols, _bfd_coff_final_link): Declare. * coffcode.h (bfd_coff_backend_data): Add fields _bfd_relsz, _bfd_coff_swap_reloc_in, _bfd_coff_sym_is_global, _bfd_coff_compute_section_file_positions, _bfd_coff_relocate_section. (bfd_coff_relsz, bfd_coff_swap_reloc_in): Define. (bfd_coff_sym_is_global): Define. (bfd_coff_compute_section_file_positions): Define. (bfd_coff_relocate_section): Define. (coff_mkobject_hook): Initialize obj_raw_syment_count and obj_conv_table_size. (coff_compute_section_file_positions): Set target_index of all sections. Set output_has_begun field. (coff_write_object_contents): Don't set target_index; now done by coff_compute_section_file_positions. Remove obsolete handling of scn_base and data_base. Don't bother to check that target_index is positive, since it always is. Remove use of pad, which is always zero. Check obj_raw_syment_count, not bfd_get_symcount, for the number of symbols, but only write them out if bfd_get_symcount is non-zero. (coff_slurp_symbol_table): Use obj_raw_syment_count, not bfd_get_symcount for the number of symbols. Don't set obj_conv_table_size. (coff_sym_is_global): New static function or macro. (coff_slurp_reloc_table): Call coff_swap_reloc_in, not bfd_swap_reloc_in. (coff_bfd_link_hash_table_create): If coff_relocate_section is defined, define as _bfd_coff_link_hash_table_create. (coff_bfd_link_add_symbols): Similar change. (coff_bfd_final_link): Similar change. (coff_relocate_section): Define as NULL if not defined. (bfd_coff_std_swap_table): Initialize new fields. * coffgen.c (coff_real_object_p): Don't set obj_raw_syment_count and obj_conv_table_size here. (coff_count_linenumbers): Reindent. If bfd_get_symcount is zero, add up the line numbers from the sections. (coff_write_symbols): Don't set bfd_get_symcount. (coff_pointerize_aux): Don't pointerize a nonpositive x_endndx field. (coff_get_normalized_symtab): Use obj_raw_syment_count, not bfd_get_symcount. (coff_print_symbol): If auxp->fix_end, print x_endndx value. * coffswap.h (coff_swap_reloc_in): Rename from bfd_swap_reloc_in. Reindent. Change argument type to PTR. * coff-a29k.c (coff_a29k_relocate_section): New static function. (coff_relocate_section): Define. * configure.in (a29kcoff_big_vec): Compile cofflink.o. * coff-alpha.c (alpha_ecoff_backend_data): Initialize new fields. * coff-mips.c (mips_ecoff_backend_data): Likewise. * libcoff.h: Rebuilt. * Makefile.in: Rebuilt dependencies. (BFD32_BACKENDS): Add cofflink.o. (CFILES): Add cofflink.c.
1994-09-05ARM Acorn/RISCiX target and host patches from Richard EarnshawKen Raeburn1-14/+16
1994-06-15unsanitize v9Ken Raeburn1-6/+5
1994-03-01Modified Files:Kung Hsu1-5/+6
ChangeLog configure.in * configure.in : Add i396os9k_vec.
1993-12-01handle sparccoff_vecKen Raeburn1-0/+1
1993-12-01 * config.bfd: Don't set target64 here, as the setting is ignored.Ian Lance Taylor1-2/+4
* configure.in (ecoffalpha_little_vec): Set target64.
1993-10-29A number of minor Lynx-related changes, plus basic Sparc Lynx support.Stan Shebs1-2/+4
1993-10-28 * configure.in, config/i386-mach3.mt: Update for new configurationJim Kingdon1-1/+3
(--with-targets and so on). * hosts/i386mach3.h: Declare errno. * targets.c: Declare i386mach3_vec.
1993-10-13for m68klynx_coff_vec, include coff-m68k.o for nowKen Raeburn1-1/+1
1993-10-08 * configure.in: Do not define SELECT_VECS, SELECT_ARCHITECTURESPeter Schauer1-8/+8
if configuring --with-targets=all.
1993-10-01 * configure.in: i386lynx_coff_vec requires coff-i386lynx.o.Stan Shebs1-5/+4
* coff-i386lynx.c: New file, defines Lynx target vector and name, includes coff-i386.c. * coff-i386.c (i386coff_vec): Allow redefinition of target vector symbol and name, if TARGET_SYM and/or TARGET_NAME are defined. * i386lynx.c: Remove coff vector definition entirely. (lynx_32_swap_ext_reloc_in): Define. (lynx_32_swap_std_reloc_in): Define, get reloc bits in i386 Lynx-specific way. (lynx_32_swap_ext_reloc_out): Define. (lynx_32_swap_std_reloc_out): Define. (lynx_32_slurp_reloc_table): Define, call Lynx swapping fns. (lynx_32_squirt_out_relocs): Define, call Lynx swapping fns. (lynx_32_canonicalize_reloc): Define, call Lynx swapping fns. (WRITE_HEADERS): Define, call Lynx swapping fns. * config/i386-lynx.mt (SELECT_VECS): Remove redundant vector.
1993-09-09* configure.in: Make 64-bit stuff work with "--with-targets=all".Ken Raeburn1-132/+137
1993-09-03Reorganized setting of makefile variables so 64-bit stuff works again.Ken Raeburn1-21/+32
1993-08-28More patches from Jeff Law, plus a little cleanup of my own.Ken Raeburn1-1/+6
These changes separate PA-SOM support from PA-ELF support. A sun4-x-hppaosf assembler can now be built. * elf32-hppa.c (elf_hppa_howto_table): Now static. (symext_rootP, symext_lastP, global_value, GOT_value, global_symbol, global_sym_defined, symextn_contents, symextn_contents_real_size, elf_hppa_stub_rootP, elf32_hppa_symextn_map, elf32_hppa_symextn_map_size): Rely on default initialization. (hppa_elf_gen_reloc_type): Macro "UNDEFINED" doesn't need a trailing semicolon. (hppa_look_for_stubs_in_section): Introduce temporaries to make code more readable in 80 columns. * libhppa.h (all functions): Now inline under GNU C. * elf32-hppa.c (AR_WARN): Give argument which caused the invalid argument relocation. (AR_UNIMP): Delete unused macro. (hppa_elf_set_section_contents): Always return a value. (elf32_hppa_backend_table_processing): Likewise. (elf32_hppa_backend_section_processing: Likewise. * som.c: New file containing SOM specific code extracted from hppa.c * som.h: New file containing SOM specific code extracted from libhppa.h * hppa.c: Deleted. * libhppa.h: Delete SOM specific code. Add generic PA code which can be shared by both SOM and ELF backends. * Makefile.in: Replace hppa.c with som.c. elf32-hppa.o depends on libhppa.h now. * configure.in (hppa_vec): Needs som.o module instead of hppa.o. * elf32-hppa.c: Include libhppa.h. Do not define BYTES_IN_WORD. * elf32-hppa.h (hppa_reloc_field_selector_type): Delete now lives in libhppa.h. (hppa_reloc_field_selector_type_alt): Likewise. * elf32-hppa.c (hppa_elf_relocate_unwind_table): Delete unused variables. (elf_hppa_reloc_type_lookup): Likewise. (elf_hppa_tc_make_sections): Likewise. (hppa_elf_arg_reloc_needed_p): Likewise. (hppa_elf_build_long_branch_stub): Likewise. (elf_reloc_map): Delete, no longer used. (elf_hppa_reloc_map): Likewise. (elf32_hppa_symextn_map_max_size): Likewise. (elf32_hppa_get_sym_extn): Abort if type is bogus. * elf32-hppa.c (elf32_hppa_backend_fake_sections): Add processing of the .hppa_unwind section.
1993-08-20 * config.bfd (mips-*-elfl*, mips-*-elf*): New targets, usingIan Lance Taylor1-1/+1
mipslelf and mipsbelf respectively. * config/mipslelf.mt, config/mipsbelf.mt: New files. * elf32-mips.c: Added some reloc information. * configure.in: Fixed error message.
1993-08-19add more missing vectorsDavid MacKenzie1-17/+14
1993-08-19Thu Aug 19 09:45:51 1993 David J. Mackenzie (djm@thepub.cygnus.com)David MacKenzie1-8/+28
* configure.in, targets.c: Add missing vectors to the tables. * targets.c (target_vector) [!SELECT_VECS]: Add DEFAULT_VECTOR.
1993-08-12Thu Aug 12 10:32:47 1993 David J. Mackenzie (djm@thepub.cygnus.com)David MacKenzie1-103/+24
* config/u68k-coff.mt: Fix typo, DEFAULT_TARGET for DEFAULT_VECTOR. * config/h8300-coff.mt, h8500-coff.mt, sh-coff.mt, st2000.mt, z8k-coff.mt (DEFAULT_VECTOR): Define. Don't explicitly add S-records via SELECT_VECS. * targets.c (target_vector), Makefile.in (BFD_LIBS): Always support S-records, for convenience. * config.bfd: New file, broken out of configure.in. * configure.in: Use it, and use standard target names for --with-targets, replacing --with-bfd-targets.
1993-08-12more cleanupsDavid MacKenzie1-3/+2
1993-08-11really do last changeDavid MacKenzie1-1/+1
1993-08-11 * configure.in: Include coff-m68k.o for m68kcoffun_vec.David MacKenzie1-1/+1
Include nlm32.o and nlm.o for bfd_nlm32_i386_vec.
1993-08-11Include stab-syms.o for a.out/b.out targets and hp300{bsd,hpux}.David MacKenzie1-16/+49
1993-08-10configure.in: Include aout32.o for any a.out/b.out formats.Ken Raeburn1-10/+10
1993-08-08remove unused testDavid MacKenzie1-5/+0