aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1995-09-06Fix brk system call.Michael Meissner2-15/+42
1995-09-06 * sparc-dis.c: Remove all references to NO_V9.David Edelsohn1-0/+4
1995-09-06 * configure.in: Rewrite to use autoconf.Ian Lance Taylor7-750/+1588
* aclocal.m4: New file. * configure: New file, built by autoconf. * acconfig.h: New file. * config.h.in: New file, built by autoheader. * Makefile.in: Various changes for new configure script. Also: (PROGS): Remove $(SYSINFO_PROG). (ALL_CFLAGS): Remove $(TDEFINES). (version.o): Use $(ALL_CFLAGS). (cplus-dem.o, dlltool.o, nlmconv.o): Likewise. (sysdump.o): Depend upon bucomm.h and config.h. (srconv.o, arsup.o, strings.o): Depend upon config.h. (filemode.o): Don't depend upon ../bfd/sysdep.h. (bucomm.o): Depend upon config.h, not ../bfd/sysdep.h. (size.o, objdump.o, nm.o, ar.o, objcopy.o): Likewise. (nlmheader.o, nlmconv.o): Likewise. (distclean): Don't remove sysdep.h. * bucomm.h: Include "ansidecl.h", <stdio.h>, and "config.h". Include "fopen-same.h" or "fopen-bin.h", based on USE_BINARY_FOPEN. Include <errno.h>, and declare errno if it is not a macro. Include <unistd.h>, <string.h>, <strings.h>, <stdlib.h>, and <fcntl.h> if they are present. Declare strchr, strrchr, and strstr if no string header file exists. Include <sys/file.h> if it exists and <fcntl.h> does not. Define O_RDONLY and O_RDWR if necessary. * ar.c: Don't include "sysdep.h". Do include <sys/types.h> and <sys/stat.h>. Use HAVE_GOOD_UTIME_H rather than POSIX_UTIME. Use HAVE_UTIMES rather than !USE_UTIME. Don't include <errno.h>, and don't declare errno. * arsup.c: Don't include <sysdep.h>. * bucomm.c: Don't include "sysdep.h". Include <stdio.h>, <sys/types.h>, and <sys/stat.h>. Include <time.h> if it defines time_t. Define time_t if necessary. * coffdump.c: Don't include "sysdep.h". * coffgrok.c, filemode.c, nlmconv.c, size.c: Likewise. * srconv.c, strings.c: Likewise. * nm.c: Don't include "sysdep.h". Don't try to define HAVE_SBRK. * objcopy.c: Don't include "sysdep.h". Include <sys/types.h> and <sys/stat.h>. (simple_copy): Use creat rather than assuming that O_CREAT is defined. * objdump.c: Don't include "sysdep.h". Use NEED_DECLARATION_PRINTF rather than !FPRINTF_ALREADY_DECLARED. * sysdump.c: Include "bfd.h" and "bucomm.h". Don't include "sysdep.h" or <stdlib.h>. (dump_symbol_info): Rename from symbol_info. Change all callers.
1995-09-06 * config/tc-mips.c: Remove CYGNUS LOCAL comments.Stan Shebs2-1/+12
(md_begin): Use 0/1 instead of TRUE/FALSE. (md_show_usage): Break up long format string for the benefit of lame compilers. * config/tc-m68k.c (md_show_usage): Ditto. * gasp.c (show_usage): Ditto. * macro.c (check_macro): Cast result of hash_find.
1995-09-06 * aclocal.m4: Just include ../bfd/aclocal.m4.Ian Lance Taylor1-0/+5
* configure: Rebuild.
1995-09-06 * aclocal.m4: Don't try to grep ../Makefile if it doesn't exist.Ian Lance Taylor3-2/+5
* configure: Rebuild.
1995-09-06add commentIan Lance Taylor1-0/+2
1995-09-05 * coff-sparc.c (CALC_ADDEND): Don't set the addend to the value ofIan Lance Taylor1-0/+5
a global symbol. PR 7908.
1995-09-05 * sparc-dis.c (X_DISP19): Define.David Edelsohn1-0/+6
(print_insn, case 'G'): Use it. (print_insn, case 'L'): Sign extend displacement.
1995-09-05* configure.in: When testing for a free() declaration in system header files,Ken Raeburn1-0/+35
cast the address to a function pointer, not to an integer. * write.c (fix_new_internal): Call TC_INIT_FIX_DATA if TC_FIX_TYPE is defined. Don't initialize fx_bsr. Verify that fx_size field is wide enough to hold stored value. * write.h (struct fix): Change tc_fix_data to type TC_FIX_TYPE if that is defined, otherwise omit it. Delete fx_bsr. Change fx_size to unsigned char. * config/tc-i960.h (TC_FIX_TYPE, fx_bsr, TC_INIT_FIX_DATA): New macros. * config/tc-ns32k.h (TC_FIX_TYPE, fx_bsr, TC_INIT_FIX_DATA): New macros. * config/tc-hppa.h (TC_FIX_TYPE): Define as PTR. * config/tc-i860.c (md_apply_fix): Delete code for checking fx_im_disp, and for handling non-zero values, since it never gets set after being initialized to zero. * write.h (struct fix): Make fx_im_disp always 2 bits, since the only tc-* files actually using it need that much. NS32K changes from Ian Dall: * configure.in: Treat ns32k-pc532-ux* like ns32k-pc532-mach*, and ns32k-pc532-lites* like ns32k-pc532-netbsd*. * config/tc-ns32k.h (LOCAL_LABELS_FB): Define to 1.
1995-09-05 * config.bfd: i386pe_ve -> i386pe_vec.Jason Molenda1-0/+4
1995-09-05some ns32k updates from Ian DallKen Raeburn7-19/+47
1995-09-04 * configure.in (host_makefile_frag): Don't set. Substitute forIan Lance Taylor3-9/+21
@CC@, @CFLAGS@, @HDEFINES@ and @LDFLAGS@ in Makefile. * Makefile.in (AR_FLAGS): Set to rc rather than qv. (CC): Define as @CC@. (CFLAGS): Set to @CFLAGS@. (LDFLAGS): Define as @LDFLAGS@. (ALL_CFLAGS): Use @HDEFINES@ rather than $(HDEFINES).
1995-09-04 * configure.host: Incorporate host Makefile fragments by settingIan Lance Taylor5-28/+215
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 * configure.in: Run ../bfd/configure.host before AC_PROG_CC.Ian Lance Taylor4-72/+157
Subsitute CFLAGS and AR. Call AC_PROG_INSTALL. Don't substitute host_makefile_frag or frags. * aclocal.m4: New file. * configure: Rebuild. * Makefile.in (INSTALL): Set to @INSTALL@. (INSTALL_PROGRAM): Set to @INSTALL_PROGRAM@. (INSTALL_DATA): Set to @INSTALL_DATA@. (AR): Set to @AR@. (AR_FLAGS): Set to rc rather than qc. (CC): Define as @CC@. (CFLAGS): Set to @CFLAGS@. (@host_makefile_frag@): Remove. (config.status): Remove dependency upon @frags@.
1995-09-04tipoIan Lance Taylor1-1/+1
1995-09-04 * configure.in: Don't bother to call config.bfd for each target.Ian Lance Taylor2-4/+10
Just call it for the default target, and use the shell variable to decide whether underscores are used.
1995-09-04 * config.bfd: Rewrite to incorporate the contents of the MakefileIan Lance Taylor5-281/+506
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-04 * configure.in: ../bfd/config.bfd now just sets shell variables.Ian Lance Taylor3-66/+1238
Use them rather than looking through target Makefile fragments. * configure: Rebuild.
1995-09-04Wrap "i[345]86" patterns in changequote lines.Ken Raeburn3-12/+19
1995-09-03 * som.c (som_bfd_print_private_bfd_data): Define to use theJeff Law1-0/+5
generic version.
1995-09-03sanitize changelog.2Ken Raeburn1-3/+3
1995-09-02 * gdb.base/setvar.exp: Add new testcases for truncation whenPeter Schauer1-0/+5
assigning invalid values to bitfields.
1995-09-02 * configure.in: Explicitly `exit 0' for broken shells.Peter Schauer4-0/+19
* configure: Rebuilt. * symtab.c (list_symbols): Add missing blank after `<function, no debug info>' output. * valops.c (value_assign): Handle truncation when assigning to bitfields. Use value_copy to construct the return value from toval. * values.c (value_copy): Copy VALUE_FRAME and VALUE_OPTIMIZED_OUT.
1995-09-02 * gdb.base/callfuncs.exp (do_function_calls): RemoveFred Fish2-3/+10
mips-sgi-irix* xfail for "call inferior func with struct - returns char *" and fix test so that an optional (unsigned char *) cast is accepted in the result.
1995-09-02Split.Steve Chamberlain3-8906/+8921
1995-09-01 * Makefile.in (OFILES): Remove $(TDEPFILES).Ian Lance Taylor2-2/+5
* config/apollo.mt (TDEPFILES): Remove. * config/README: Update.
1995-09-01 * configure.in: For a native configuration, set COREFILE andIan Lance Taylor5-48/+239
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-09-01 * gdb.base/funcargs.exp (float_and_integral_args): RemoveFred Fish3-4/+10
sparc-sun-solaris2* xfail for "print f1 after run to call2a". * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix. * gdb.base/signals.exp: Remove duplicate "handle all print" test that accidentally got checked in.
1995-09-01Fri Sep 1 15:18:50 1995 Kazumoto Kojima <kkojima@info.kanagawa-u.ac.jp>Ian Lance Taylor3-7/+67
* elflink.h (elf_bfd_final_link): Don't change a DT_INIT or DT_FINI entry if the appropriate symbol is not in the hash table. * libelf.h (struct elf_backend_data): Add create_program_headers and want_hdr_in_seg fields. * elfxx-target.h (elf_backend_want_hdr_in_seg): Define if not defined. (elf_backend_create_program_headers): Likewise. (elfNN_bed): Initialize create_program_headers and want_hdr_in_seg. * elf.c (get_program_header_size): Call create_program_headers backend routine. (map_program_segments): Check want_hdr_in_seg backend field. Call create_program_headers backend routine. * elf.c (assign_file_positions_except_relocs): Align non allocated sections when creating an executable. * elfcode.h (elf_swap_phdr_in): Make non static. (elf_swap_phdr_out): Make non static. * libelf.h (bfd_elf32_swap_phdr_in): Declare. (bfd_elf32_swap_phdr_out): Declare. (bfd_elf64_swap_phdr_in): Declare. (bfd_elf64_swap_phdr_out): Declare.
1995-09-01 * elflink.h (elf_link_add_object_symbols): Handle indirect andIan Lance Taylor2-8/+87
warning symbols. If any section is named .gnu.warning.XXX, treat the contents as a warning to be issued if the symbol XXX is referenced. (elf_link_output_extsym): For an indirect or warning symbol, just output the symbol it points to.
1995-09-01 * ldmain.c (warning_callback): Add abfd, section, and addressIan Lance Taylor1-0/+11
parameters. * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Change call to warning accordingly. * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): If not relocateable and not shared, put .gnu.warning.SYMBOL sections into the .text section.
1995-09-01NEC VR4300 target (IDT SIM monitor) support.Jackie Smith Cashion7-0/+64
Fri Sep 1 08:35:16 1995 James G. Smith <jsmith@beauty.cygnus.com> * configure.in: Added mips*vr4300-idt-elf* and mips*vr4300el-idt-elf* targets. * Makefile.in: Added eelf32vr4300* targets. * emulparams/{elf32vr4300.sh, elf32vr4300el.sh}: Added. * config/{mips-vr4300.mt, mips-vr4300el.mt}: Added.
1995-09-01Ideally the "remote-mips.c" prompt spotting code should be updated toJackie Smith Cashion9-3/+87
spot different prompts at run-time, so as to avoid having target specific versions of gdb. This is a pending TODO. Fri Sep 1 08:25:50 1995 James G. Smith <jsmith@beauty.cygnus.com> * configure (mips64*vr4300*-*-elf): Support added. * remote-mips.c (mips_readchar): Change to allow build-time prompt string. * config/mips/tm-mips.h: Added TARGET_MONITOR_PROMPT. * config/mips/{vr4300.mt, vr4300el.mt, tm-vr4300.h, tm-vr4300el.h}: Added.
1995-09-01This change does not affect the MIPS instruction assembly. It isJackie Smith Cashion1-0/+5
present only to stop gas complaining when gcc passes through the "-mcpu=vr4300" switch. Fri Sep 1 08:20:19 1995 James G. Smith <jsmith@beauty.cygnus.com> * config/tc-mips.c (md_parse_option, md_begin, md_show_usage): Add support for "-mcpu=vr4300" as processor identifier.
1995-09-01Fri Sep 1 08:12:50 1995 James G. Smith <jsmith@beauty.cygnus.com>Jackie Smith Cashion2-0/+9
* config.bfd: Add mips*vr4300-*-elf* target. * config/mipsbvr4300.mt: Added.
1995-09-01Fri Sep 1 08:06:58 1995 James G. Smith <jsmith@beauty.cygnus.com>Jackie Smith Cashion1-0/+5
* config.sub: recognise mips64vr4300 and mips64vr4300el as valid targets.
1995-09-01 * scripttempl/a29k.sc: Fix to be reasonable. From Brendan KehoeIan Lance Taylor1-0/+5
<brendan@cygnus.com>.
1995-09-01 * configure.in: match i[3-6]86-*-win32, not just i386-*-win32.Jason Molenda2-8/+44
1995-08-31Thu Aug 31 16:51:50 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain3-13/+45
* internal.h (internal_aouthdr, internal_filehdr): don't indirect the pe stuff.
1995-08-31Thu Aug 31 16:41:06 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain3-58/+160
* write.c (fixup_segment): Remove change of 29th. * config/tc-{i386,arm}.h (TC_FORCE_RELOCATION): Keep RVA relocs.
1995-08-31Thu Aug 31 16:37:07 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain2-0/+494
* ldemul.c (ldemul_parse_args): New. * ldemul.h (ld_emulation_xfer_struct): Add parse_args. * lexsup.c (all pe stuff): Moved into pe.em (parse_args): Call emulation arg parser. * emultempl/pe.em (parse_args): handle PE specfic args.
1995-08-31Thu Aug 31 16:30:22 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain2-20/+55
* dlltool.c (add_indirect): New. (asm_prefix): New (gen_exp_file): Timestamp should be 0. Insert prefix when needed. New code for indirection. (gen_lib_file): Timestamp should be 0. Insert prefix when needed. (usage): Document --add-indirect. (main): Cope with new option. * objdump.c (dump_private_headers): New. (usage): Document new option. (long_option): Add private-headers. (dump_bfd_private_header): New. (main): Cope with new option.
1995-08-31Thu Aug 31 16:00:53 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain10-124/+1262
* 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-08-31 * ldlang.c (lang_memory_region_lookup): Don't use the first regionIan Lance Taylor1-0/+23
as the default region. Create a new region instead.
1995-08-31 * config/sh/sh.mt (SIM): Add -lm.Jim Wilson2-1/+5
1995-08-31Fix bug in SH3e ftrc instruction.Jim Wilson2-1/+7
1995-08-31Tue Aug 29 19:42:58 1995 Andreas Schwab ↵Ian Lance Taylor1-0/+6
<schwab@issan.informatik.uni-dortmund.de> * config/tc-m68k.c (m68k_ip) [case POST/PRE/BASE]: Fix typo when looking at outer displacement. Don't set the postindex bit if the index suppress bit is set (for memory indirect addressing mode).
1995-08-31 * bfd-in.h: Add extern "C" if __cplusplus.Ian Lance Taylor3-22/+48
* bfd-in2.h: Rebuild. PR 7882.
1995-08-31 * coff-mips.c (mips_relocate_section): Don't convert a relocIan Lance Taylor1-0/+5
against an absolute symbol into a reloc against a section. PR 7880.