aboutsummaryrefslogtreecommitdiff
path: root/bfd/Makefile.in
AgeCommit message (Collapse)AuthorFilesLines
1996-02-15 * configure.in: Call AC_PROG_CC before configure.host. Don'tIan Lance Taylor1-1/+1
substitute CFLAGS. * configure: Rebuild. * configure.host: Don't set information which autoconf should figure out, namely CC, CFLAGS, LDFLAGS, AR, and RANLIB. * Makefile.in (CFLAGS): Set to -g, not @CFLAGS@.
1996-02-15 * Makefile.in: Rebuild dependencies.Ian Lance Taylor1-2/+2
1996-02-15Thu Feb 15 10:39:17 1996 H.J. Lu <hjl@zoom.com>Ian Lance Taylor1-3/+25
* Makefile.in ($(srcdir)/bfd-in2.h): Rename target from bfd-in2.h. ($(srcdir)/libbfd.h): Rename from libbfd.h. ($(srcdir)/libcoff.h): Rename from libcoff.h.
1996-02-06 * Makefile.in (program_transform_name): New variable.Ian Lance Taylor1-6/+9
(install): Transform library name before installing it.
1996-02-05 Support for building as a shared library, based on patches fromIan Lance Taylor1-18/+78
Alan Modra <alan@spri.levels.unisa.edu.au>: * configure.in: Add AC_ARG_ENABLE for shared and commonbfdlib. New substitutions: ALLLIBS, PICFLAG, SHLIB, SHLIB_CC, SHLIB_CFLAGS, COMMON_SHLIB, PICLIST, SHLINK. * configure: Rebuild. * configure.host: If --enable-shared, adjust shared library stuff based on the host. If the host is SunOS, and the linker supports -rpath, set HLDFLAGS to use it. * Makefile.in (ALLLIBS): New variable. (PICFLAG, SHLIB, SHLIB_CC, SHLIB_CFLAGS): New variables. (COMMON_SHLIB, SHLINK): New variables. (.c.o): If PICFLAG is set, compile twice, once PIC, once normal. (STAGESTUFF): Remove variable. (all): Depend upon $(ALLLIBS) and @PICLIST@ rather than $(TARGETLIB). (stamp-ofiles): New target, like old ofiles target, but build using a temporary file and move-if-change, and touch stamp-ofiles when done. (ofiles): Just depend upon stamp-ofiles. (stamp-piclist, piclist): New targets. ($(SHLIB), $(SHLINK)): New targets. (targets.o, archures.o): Build twice if PICFLAG is set. (do_mostlyclean): Remove pic/*.o. (do_clean): Remove stamp-ofiles, $(SHLIB), $(SHLINK), piclist, and stamp-piclist. (do_distclean): Remove pic and stamp-picdir. (install): Install shared libraries. ($(OFILES)): Depend upon stamp-picdir. (stamp-picdir): New target.
1996-01-31Wed Jan 31 12:55:49 1996 Richard Henderson <rth@tamu.edu>Ian Lance Taylor1-0/+5
* coff-aux.c: New file. * hosts/m68kaux.h: New file. * config.bfd (m68*-apple-aux*): New target. * configure.in (m68*-apple-aux*): New native host. (m68kaux_coff_vec): New vector. * configure: Rebuild. * targets.c (m68kaux_coff_vec): Declare. * coffcode.h (bfd_coff_backend_data): Add field _bfd_coff_link_add_one_symbol. (bfd_coff_link_add_one_symbol): Define. (compare_arelent_ptr): New static function if TARG_AUX. (coff_write_relocs): If TARG_AUX, sort the relocs. (coff_write_object_contents): Set A/UX aouthdr magic number. (coff_link_add_one_symbol): Define if not defined. (bfd_coff_std_swap_table): Initialize new field. * libcoff.h: Rebuild. * cofflink.c (coff_link_add_symbols): Call bfd_coff_link_add_one_symbol rather than _bfd_generic_link_add_one_symbol. * coff-m68k.c (COFF_PAGE_SIZE): Don't define if already defined. * coff-alpha.c (alpha_ecoff_backend_data): Initialize new field. * coff-mips.c (mips_ecoff_backend_data): Likewise. * Makefile.in: Rebuild dependencies. (BFD32_BACKENDS): Add coff-aux.o. (BFD32_BACKENDS_CFILES): Add coff-aux.c.
1996-01-30 * Makefile.in (do_maintainer_clean): Remove $(srcdir)/bfd-in2.h,Ian Lance Taylor1-5/+18
$(srcdir)/libbfd.h and $(srcdir)/libcoff.h. (maintainer-clean): Warn about deleting special files. (bfd-in2.h, libbfd.h, libcoff.h): New targets.
1996-01-26 * syms.c: Include "bfdlink.h".Ian Lance Taylor1-7/+8
(struct stab_find_info): Define. (_bfd_stab_section_find_nearest_line): New function. * libbfd-in.h (_bfd_stab_section_find_nearest_line): Declare. * libbfd.h: Rebuild. * elf-bfd.h (struct elf_obj_tdata): Add line_info field. * elf.c (_bfd_elf_find_nearest_line): Try calling _bfd_stab_section_find_nearest_line before searching the ELF symbol table. Find the closest STT_FUNC symbol, not the last one. * libcoff-in.h (coff_data_type): Add line_info field. * libcoff.h: Rebuild. * coffgen.c (coff_find_nearest_line): Try calling _bfd_stab_section_find_nearest_line before searching the COFF symbol table. * Makefile.in: Rebuild dependencies.
1996-01-05 * config.bfd (i[345]86-*-freebsd*): Add target.Fred Fish1-94/+123
* configure.in (i386freebsd_vec): Add vec. * configure: Regenerate. * Makefile.in (BFD32_BACKENDS): Add i386freebsd.o. (BFD32_BACKENDS_CFILES): Add i386freebsd.c. Rebuild dependencies.. * freebsd.h: New file. * i386freebsd.c: New file. * targets.c (i386freebsd_vec): Declare. (bfd_target_vector): Add i386freebsd_vec. * i386linux.c (SEGMENT_SIZE): Define as TARGET_PAGE_SIZE * i386netbsd.c (SEGMENT_SIZE): Define as TARGET_PAGE_SIZE
1995-11-06Mon Nov 6 17:13:15 1995 Harry Dolan <dolan@ssd.intel.com>Ian Lance Taylor1-0/+11
* coff-i860.c: New file, based on coff-i386.c. * cpu-i860.c: New file, based on cpu-i386.c. * hosts/i860mach3.h: New file, based on hosts/i386mach3.h. * config.bfd (i860-*-mach3*, i860-*-osf1*, i860-*-coff*): New targets, using i860coff_vec. * configure.in (i860-*-mach3*, i860-*-osf1*): New hosts, using trad-core.o and hosts/i860mach3.h. (i860coff_vec): Use coff-i860.o and cofflink.o. * configure: Rebuild. * Makefile.in: Rebuild dependencies. (ALL_MACHINES): Add cpu-i860.o. (BFD32_BACKENDS): Add coff-i860.o. (CFILES): Add cpu-i860.c and coff-i860.c. * targets.c (i860coff_vec): Declare. (bfd_target_vector): Add &i860coff_vec. * archures.c (bfd_i860_arch): Declare. (bfd_archures_list): Add &bfd_i860_arch. * coffcode.h (coff_set_arch_mach_hook): Handle I860 magic number. (coff_set_flags): Handle bfd_arch_i860. (coff_write_object_contents): Handle I860 a.out magic number.
1995-11-06real makefile change - CFILES, dependenciesKen Raeburn1-215/+327
1995-11-05 * core.c: Renamed to corefile.cFred Fish1-3/+3
* makefile.dos (OBJS): Change core.o to corefile.o * Makefile.in (CFILES, BFD_LIBS): Use corefile.c instead of core.c
1995-10-31 * libelf.h: Rename to elf-bfd.h to avoid conflict withFred Fish1-18/+18
systems that have a system <libelf.h>. * Makefile.in: Globally replace libelf.h with elf-bfd.h. * bfd.c, elf.c, elf32-arc.c, elf32-gen.c, elf32-hppa.c, elf32-hppa.h, elf32-i386.c, elf32-i860.c, elf32-m68k.c, elf32-m88k.c, elf32-mips.c, elf32-ppc.c, elf32-sparc.c, elf64-gen.c, elf64-sparc.c, elfcode.h, elflink.c, elfxx-target.h: Include elf-bfd.h rather than libelf.h. * elfxx-target.h: Change libelf.h reference to elf-bfd.h.
1995-10-25 * Makefile.in (diststuff): Don't make headers.Per Bothner1-1/+1
1995-10-25 * Makefile.in: Rebuild dependencies.Ian Lance Taylor1-12/+21
1995-09-28 * Makefile.in (BFD32_BACKENDS): Add coff-arm.o.Ian Lance Taylor1-0/+1
1995-09-27Configury for new ppc bfdKim Knuttila1-1/+7
1995-09-14 * Makefile.in (clean-info): Remove extraneous tab from lineFred Fish1-1/+1
following action.
1995-09-12 * Makefile.in (do_maintainer_clean): Rename from do_realclean.Ian Lance Taylor1-4/+4
(maintainer-clean): Rename from realclean, passing maintainer-clean down to subdirectories, but leave realclean as a synonym.
1995-09-12 Extensive minor changes to avoid various gcc warnings. Also:Ian Lance Taylor1-1/+0
* 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-07 * config.in: Rename from config.h.in.Ian Lance Taylor1-2/+2
* 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-2/+6
(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-36/+17
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-04 * config.bfd: Rewrite to incorporate the contents of the MakefileIan Lance Taylor1-2/+1
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-01 * Makefile.in (OFILES): Remove $(TDEPFILES).Ian Lance Taylor1-2/+1
* config/apollo.mt (TDEPFILES): Remove. * config/README: Update.
1995-09-01 * configure.in: For a native configuration, set COREFILE andIan Lance Taylor1-6/+6
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-08-31Thu Aug 31 16:00:53 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain1-2/+12
* Makefile.in: Update dependencies. * aout-target.h (MY_bfd_print_private_bfd_data): New. * bfd-in.h (PE STUFF): Deleted. * bfd.c (tdata->pe_obj_data): New. (bfd_print_private_bfd_data): New. * coff-i386.c, coff-arm.c (coff_*-rtype_to_howto): Get image base from new place. * libcoff.h, libbfd.h, bfd-in2.h: Rebuilt. * coffcode.h (pe_value): Delete (coff_mkobject, coff_mkobject_hook): Conditionally build. (coff_compute_section_file_positions): Look in new place. (add_data_entry, fill_pe_header_info): Deleted. (coff_write_object_contents): Remove PE stuff. (coff_bfd_print_private_bfd_data): New. * coffswap.h: Remove PE stuff. * elfxx-target.h (bfd_elfNN_bfd_print_private_bfd_data): New. * libbfd-in.h (_bfd_generic_bfd_print_private_bfd_data): New. * libcoff-in.h (pe_data_type): New. * libecoff.h (_bfd_ecoff_bfd_print_private_bfd_data): New. * targets.c (_bfd_print_private_bfd_data): New. * peicode.h: New file.
1995-07-10 * Makefile.in (Makefile): Don't depend upon @frags@.Ian Lance Taylor1-2/+2
(config.status): Depend upon @frags@.
1995-07-07fsf address update, but not in COPYING filesKen Raeburn1-1/+1
1995-07-07clean up new config stuff for mostlyclean, distcleanKen Raeburn1-2/+2
1995-07-06 * Makefile.in: Rebuild dependencies.Ian Lance Taylor1-9/+14
(CFILES): Added elflink.c. (Makefile): Depend upon config.status, not configure.in. (config.status): New target; depend upon configure configure.host and config.bfd.
1995-07-06* Makefile.in (BFD_LIBS): No, don't put elflink.o here.Ken Raeburn1-1/+1
* configure.in: Include it here whenever elf.o is specified.
1995-07-06Added new files elflink.c, elflink.h, elfcore.h.Ken Raeburn1-3/+5
Moved some mostly size-independent stuff from elfcode.h to elf.c, adding a data structure to elfcode.h with some misc data and callback functions. Added a pointer to that structure to the target back end data. More work can be done here. Renamed generic elf routines (not cpu-specific stuff) to start with bfd_elf or _bfd_elf. Updated most call sites, sometimes defined some macros. Moved some dynamic linking support code from m68k, sparc, i386 to common files, using target back end flags to control behavior. More work can probably be done here too. Moved core- and linker-support code out of elfcode.h to elf.c, elfcore.h, elflink.h, or elflink.c. Now elfcode.h contains only .o and executable support, plus #includes of elfcore.h and elflink.h. Much of the contents of these other header files can probably still be moved from the .h files to the .c files, to get compiled only once. Cleaned up some "gcc -Wall" warnings regarding unused or uninitialized variables, in generic and cpu-specific code.
1995-07-05autoconfiscationKen Raeburn1-11/+15
1995-07-03 * Makefile.in: Rebuild dependencies.Ian Lance Taylor1-10/+22
(BFD32_BACKENDS): Add versados.o. (CFILES): Add pe-i386.c, pei-i386.c, and versados.c. start-sanitize-arc (elf32-arc.o): New target. This should be removed when elf32-arc.c can be added to CFILES. end-sanitize-arc
1995-07-01generate elf*-target.h from common elfxx-target.h sourceKen Raeburn1-1/+12
1995-06-29Wed Jun 28 18:04:42 1995 Steve Chamberlain <sac@slash.cygnus.com>Steve Chamberlain1-3/+14
* Makefile.in: versados.o is now conditionally built. * coffcode.h (add_data_entry): New function. (coff_write_object_contents): Clean up. Calculate data entries. * cofflink.c (_bfd_coff_generic_relocate_section): .reloc and .edata sections are IMAGE_BASED too. If there's a base_file then write out base information. * configure.host (i386-*-pe): New. * syms.c (coff_section_type): Only scan prefixes. * targets.c (bfd_target_vector): Versados is now conditionally built. * config/m68k-coff.mt: Build versados.o * hosts/i386pe.h: New file.
1995-02-09update dependenciesIan Lance Taylor1-3/+8
1995-01-12(ALL_MACHINES, BFD32_BACKENDS): Include arc and rce, appropriately sanitized.Ken Raeburn1-10/+28
(diststuff): Include `headers'. Updated dependencies.
1994-10-25 * Makefile.in (ALL_MACHINES): Add tekhex.o.Ian Lance Taylor1-1/+2
* targets.c (bfd_target_vector): If SELECT_VECS is not defined, include tekhex_vec. * tekhex.c (NIBBLE, ISHEX): Cast array arguments to unsigned char. (getvalue, getsym, out): Likewise. (find_chunk): Remove unused variable s. (first_phase): Remove unused variable s. (pass_over): Remove unused variable address. (tekhex_object_p): Remove unused variable section. (move_section_contents): Change return type from boolean to void. (tekhex_write_object_contents): Remove unused variables tdata and list.
1994-10-18rebuilt dependenciesIan Lance Taylor1-0/+1
1994-10-18 * binary.c: New file for raw binary output format.Ian Lance Taylor1-4/+12
* Makefile.in (BFD_LIBS): Add binary.o. (CFILES): Add binary.c. * targets.c (binary_vec): Declare. (bfd_target_vector): Include binary_vec.
1994-09-14Rebuilt dependencies.Ian Lance Taylor1-4/+5
1994-09-13* configure.host (sparc-*-netbsd): use sparcnbsd.J.T. Conklin1-6/+6
(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-12 * ctor.c: Remove; obsolete.Ian Lance Taylor1-20/+29
* Makefile.in: Rebuild dependencies. (BFD_LIBS): Remove ctor.o. (CFILES): Remove ctor.c. * libbfd.h: Rebuild.
1994-09-06Makefile.in (ALL_MACHINES): ADded cpu-arm.o.Ken Raeburn1-2/+3
1994-07-25 * configure.in (pc532mach_vec): Change to pc532machaout_vec.Stan Shebs1-5/+12
* config.bfd (ns32k-*-netbsd*): Use ns32k-nbsd as bfd_name. * Makefile.in (ALL_MACHINES): Add cpu-ns32k.o. (BFD32_BACKENDS): Add aout-ns32k.o, netbsd532.o, m88kmach3.o, pc532-mach.o. * targets.c (pc532machaout_vec): Use instead of pc532mach_vec. * config/pc532-mach.mt (DEFAULT_VECTOR): Ditto. (SELECT_VECS): Remove. * config/ns32k-nbsd.mt: New file, was ns32k-netbsd.mt. * config/ns32k-netbsd.mt: Remove, name too long.
1994-06-15added elf64-sparc.*Ken Raeburn1-34/+43
1994-05-27changes from gas-2.3/binutils-2.4 dist (details in branch log msgs, changelogs)Ken Raeburn1-2/+13
1994-05-20Removed sanitization of PowerPC NetWare. Also rebuilt MakefileIan Lance Taylor1-124/+133
dependencies.