aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1995-09-08 * configure.in: Only check for <sys/procfs.h> on a native system,Ian Lance Taylor3-2/+58
and make sure it defines prstatus_t. * configure: Rebuild.
1995-09-08 * Makefile.in (Makefile): Just rebuild Makefile when runningIan Lance Taylor3-162/+136
config.status. (config.h, stamp-h): New targets. * configure.in: Call AC_CONFIG_HEADER and AC_CANONICAL_SYSTEM earlier. Don't bother to call AC_ARG_PROGRAM. Touch stamp-h when rebuilding config.h. * configure: Rebuild.
1995-09-08Do not include sysdep.h, bfd no longer provides itMichael Meissner5-10/+815
1995-09-08 * mips-opc.c: Change unaligned loads and stores with "t,A"Ian Lance Taylor1-0/+16
operands to use "t,A(b)". PR 7947.
1995-09-08 * config/tc-mips.c (macro): Handle a non zero base register forIan Lance Taylor1-0/+3
M_U{L,S}{D,W,H}_A. PR 7947.
1995-09-08 * gasp.c (show_usage): Put program_name argument in first fprintf,Ian Lance Taylor2-2/+7
not second.
1995-09-08* config.sub: Accept -lites* OS. From Ian Dall.Ken Raeburn1-0/+10
1995-09-07(Try to) Update to new bfd autoconf scheme.J.T. Conklin5-47/+1069
* run.c: Don't include sysdep.h. * Makefile.in (INSTALL{,_PROGRAM,_DATA}): Use autoconf computed value. (CC, CFLAGS, AR, RANLIB): Likewise. (HDEFINES, TDEFINES): Define. (CC_FOR_BUILD): Delete. (host_makefile_frag): Delete. (Makefile): Don't depend on frags. * configure.in (sysdep.h): Don't create symlink. (host_makefile_frag, frags): Deleted. (CC, CFLAGS, AR, RANLIB, INSTALL): Compute values. * configure: Regenerated.
1995-09-07 * expr.c (operand): Handle 08 and 09 in MRI mode.Ian Lance Taylor4-9/+1231
* macro.c (ISSEP): Remove duplicated `"' character. (get_any_string): Copy some characters for which ISSEP is true: ';', '>', '(', ')'. Otherwise we can get in an infinite loop. * read.c (s_space): In MRI mode, the expressions stop at the first unquoted space. (cons_worker): In MRI mode, restore the terminating character at the end of the function.
1995-09-07 * sunos.c (sunos_write_dynamic_symbol): Correct m68k abort test.Ian Lance Taylor2-240/+665
1995-09-07 (Try to) Update to new bfd autoconf scheme.David Edelsohn5-38/+930
* run.c: Don't include sysdep.h. * Makefile.in (INSTALL{,_PROGRAM,_DATA}): Use autoconf computed value. (CC, CFLAGS, AR, RANLIB): Likewise. (HDEFINES, TDEFINES): Define. (CC_FOR_BUILD): Delete. (host_makefile_frag): Delete. (Makefile): Don't depend on frags. * configure.in (sysdep.h): Don't create symlink. (host_makefile_frag, frags): Deleted. (CC, CFLAGS, AR, RANLIB, INSTALL): Compute values. * configure: Regenerated.
1995-09-07 * config.in: Rename from config.h.in.Ian Lance Taylor6-809/+1090
* configure.in: Call AC_CONFIG_HEADER with config.h:config.in. Check for config.h:config.in when creating stamp-h. * configure: Rebuild. * Makefile.in (stamp-h): Depend upon config.in rather than config.h.in. Set CONFIG_HEADERS to config.h:config.in when calling config.status.
1995-09-07 * config.in: Rename from config.h.in.Ian Lance Taylor6-23/+63
* configure.in: Call AC_CONFIG_HEADER with config.h:config.in. Check for config.h:config.in when creating stamp-h. * configure: Rebuild. * Makefile.in (stamp-h): Depend upon config.in rather than config.h.in. Set CONFIG_HEADERS to config.h:config.in when calling config.status.
1995-09-07tweak last changeIan Lance Taylor3-4/+6
1995-09-07 * config.in: Rename from config.h.in.Ian Lance Taylor6-49/+12
* 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 (distclean): Remove config.h and stamp-h.Ian Lance Taylor2-2/+6
1995-09-07 * Makefile.in (distclean): Remove config.h, stamp-h, andIan Lance Taylor2-1/+4
config.log.
1995-09-07 * Makefile.in (do_distclean): Remove config.h and stamp-h.Ian Lance Taylor4-4/+17
(Makefile): Just rebuild Makefile. (config.h, stamp-h): New targets. * configure.in: Create stamp-h when rebuilding config.h. * configure: Rebuild.
1995-09-07 * read.c (cons_worker): Don't use #elif; old compilers don'tIan Lance Taylor2-1/+8
support it.
1995-09-07 * nm.c (value_format): Initialize based on BFD64 andIan Lance Taylor1-0/+14
BFD_HOST_64BIT_LONG. (print_radix): New static variable. (set_print_radix): Set print_radix. Adjust changes to value_format. (print_value): New static function, to print 64 bit octal and decimal values correctly. (print_symbol_info_bsd): Check BFD64, not BFD_HOST_64_BIT. Use print_value. (print_symbol_info_sysv): Use print_value. (print_symbol_info_posix): Likewise.
1995-09-07 * configure.host (sparc-*-sunos64*): Remove.Ian Lance Taylor3-3/+122
* ldlang.c (lang_map): Check BFD64, not HOST_64_BIT.
1995-09-07 * ldexp.c (exp_fold_tree): Don't warn about moving the locationIan Lance Taylor1-0/+29
counter backward in the absolute section. PR 7942.
1995-09-07 * gas/mri/comment.s, gas/mri/comment.d: New test.Ian Lance Taylor5-3/+45
* gas/mri/mri.exp: Run it. * gas/mri/expr.s: Remove whitespace in operand field. * gas/mri/for.s: Add comments for further testing. * gas/macros/test2.s: Put in an upper case ELSE to test case insensitivity.
1995-09-07 * Makefile.in (ALL_CFLAGS): Define.Ian Lance Taylor4-41/+51
(.c.o, disassemble.o): Use $(ALL_CFLAGS). (MOSTLYCLEAN): Add config.log. (distclean): Don't remove config.log. * configure.in: Substitute HDEFINES. * configure: Rebuild.
1995-09-07 * app.c (do_scrub_chars): In MRI mode, silently end quoted stringsIan Lance Taylor4-516/+897
at newline characters. In MRI mode, always keep spaces in the operands field. In MRI mode, treat a line comment character as a regular comment character following a space. * cond.c (ignore_input): Use strncasecmp rather than strncmp when looking for special pseudo-ops. * read.c (cons_worker): In MRI mode, the expressions stop at the first unquoted space. (equals): Likewise.
1995-09-07 * Makefile.in (*.o): Remove incorrect dependencies onIan Lance Taylor2-14/+28
$(BFDDIR)/hosts/std-host.h.
1995-09-06 * configure.in: Call AC_CONFIG_HEADER. SubstituteIan Lance Taylor61-1831/+1055
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-06Fix gas bugs in SH3e handling of fmac instruction.Jim Wilson1-0/+11
1995-09-06 * config/sparc/tm-sp64.h (REGISTER_RAW_SIZE): Lower 32 fp regsDavid Edelsohn1-5/+8
have size 4. (REGISTER_VIRTUAL_SIZE): Likewise. (REGISTER_VIRTUAL_TYPE): Lower 32 fp regs have type float. Upper 32 fp regs have type double. * sparc-tdep.c (NUM_SPARC_FPREGS): Replace with (FP_REGISTER_BYTES): this, and update all uses. (FP_MAX_REGNUM): Define if not already. (get_saved_register): Handle new sparc64 fp regs. (sparc_frame_find_saved_regs): Likewise. (sparc_print_register_hook): Only print fp regs < 32 as doubles. Add code to handle long doubles when gdb does. (_initialize_sparc_tdep): Use print_insn_sparc64 if sparc64.
1995-09-06* cfg-ml-com.in (sh-*-*): Add sh3e support.J.T. Conklin2-0/+32
Plus sanitize foo.
1995-09-06 * configure.in: Rewrite to use autoconf.Ian Lance Taylor103-415/+156
* configure.host: New file. * configure.tgt: New file. * aclocal.m4: New file. * configure: New file, built by autoconf. * acconfig.h: New file. * config.h.in: New file, built by autoheader. * sysdep.h: New file. * ld.h: Incorporate old contents of config.h. * config.h: Remove. * Makefile.in: Various changes for new configure script. Also: (CC_FOR_BUILD): Remove. (ldmain.o): Don't bother to ensure that EMUL is non-empty. (dep.sed): Use @SRCDIR@, not @srcdir@. * dep-in.sed: Use @SRCDIR@, not @srcdir@. * genscripts.sh: Create ldscripts if it does not exist. * ldemul.c, lexsup.c, mpw-emipsidt.c: Don't include "config.h". * mpw-esh.c, emultemp/*.em: Likewise. * ldmain.c: Likewise. Include <ctype.h>. Don't try to set HAVE_SBRK here. * config/*.mt, config/*.mh: Remove.
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.