aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1995-09-08Update to new config schemeMichael Meissner7-32/+978
1995-09-08 Add Linux style directory searching.Ian Lance Taylor6-11/+219
* configure.tgt: Add i386lelf to targ_extra_emuls for i[345]86-*-linuxaout* and i[345]86-*-linuxoldld. For i[345]86-*-linux*, set targ_emul to i386lelf, and add elf_i386 to targ_extra_emuls. * emulparams/i386lelf.sh: New file, a copy of elf_i386.sh. * emultempl/elf32.em: If TARGET_IS_i386lelf, use autoconf recommended mechanism to define DIR and struct dirent. (libcmp): New static function use only when TARGET_IS_i386lelf. (gld${EMULATION_NAME}_open_dynamic_archive): Likewise. * Makefile.in (ALL_EMULATIONS): Add ei386lelf.o (ei386lelf.c): New target.
1995-09-08 * elfcode.h (align_file_position): Remove; not used.Ian Lance Taylor2-14/+7
1995-09-08 * ldemul.h (ldemul_set_symbols): Declare.Ian Lance Taylor1-0/+4
(ldemul_parse_args): Declare. * ldemul.c (ldemul_parse_args): Fix indentation.
1995-09-08 * ld-cdtest/cdtest.exp: If the compiler does not exist, mark theIan Lance Taylor1-0/+9
tests as untested rather than unresolved.
1995-09-08 * configure.in: Call AC_HEADER_DIRENT.Ian Lance Taylor2-12/+25
* configure, config.in: Rebuild. * emultempl/sunos.em: Use autoconf recommend mechanism to define DIR and struct dirent.
1995-09-08 * configure.in: Build ld in mips*-*-bsd* case.Ian Lance Taylor2-1/+5
1995-09-08 * configure.tgt (mips*-*-bsd*): New case.Ian Lance Taylor2-0/+3
1995-09-08 * configure.host (i[345]86-sequent-ptx* | i[345]86-sequent-sysv*)Ian Lance Taylor3-0/+131
New case. * configure.tgt (i[345]86-*-ptx*): New case.
1995-09-08 * solib.c (solib_map_sections): Copy full path name into so_listKung Hsu2-8/+35
structure so that symbol_file_add can find it.
1995-09-08 * app.c (do_scrub_chars): In MRI mode, keep a space before aIan Lance Taylor3-4/+30
possible comment character. * config/tc-m68k.c (m68k_ip): In MRI mode, ignore anything after an instruction which takes no operands.
1995-09-08 * Makefile.in (install): Don't install gasp in $(tooldir).Ian Lance Taylor2-10/+5
1995-09-08 * Makefile.in (install): Don't install in $(tooldir).Ian Lance Taylor2-5/+4
1995-09-08 * Makefile.in (install): Don't install in $(tooldir).Ian Lance Taylor2-11/+3
1995-09-08 * configure.in: Define CC_FOR_BUILD. Don't call AC_PROG_INSTALL.Ian Lance Taylor3-11/+28
* configure: Rebuild. * Makefile.in (INSTALL): Revert to using install.sh. (INSTALL_PROGRAM, INSTALL_DATA): Set to $(INSTALL). (INSTALL_XFORM, INSTALL_XFORM1): Restore. (CC_FOR_BUILD): Restore. (gencode): Build using $(CC_FOR_BUILD). (install): Don't install in $(tooldir).
1995-09-08 * configure.in: Remove AC_PROG_INSTALL.Ian Lance Taylor3-16/+20
* configure: Rebuild. * Makefile.in (INSTALL): Revert to using install.sh. (INSTALL_PROGRAM, INSTALL_DATA): Set to $(INSTALL). (INSTALL_XFORM, INSTALL_XFORM1): Restore. (mostlyclean): Make the same as clean, not distclean. (clean): Remove config.log. (install): Don't install in $(tooldir).
1995-09-08 * configure.in: Convert to use autoconf.Ian Lance Taylor9-67/+1194
* configure: New file, built by autoconf. * acconfig.h: New file. * config.in: New file, built by autoheader. * Makefile.in: Various changes for new configure script. Also: (INSTALL): Go up two levels, not one. (ALLOCA, MALLOC, OPCODES): Remove. (gencode): Use $(CC_FOR_BUILD). (case.o): Remove. (run.o, interp.o): Depend upon config.h. * interp.c: Include "config.h". Don't include "sysdep.h". Include <stdlib.h>, <time.h>, and <unistd.h> if they exist. * run.c: Include "config.h". Don't include "sysdep.h". Include <stdlib.h> if it exists. Include "getopt.h". Declare printf if necessary.
1995-09-08mention new config.in fileIan Lance Taylor1-0/+1
1995-09-08 * configure.in: Call AC_CONFIG_HEADER. Don't try to useIan Lance Taylor5-36/+75
bfd/hosts/*.h file or bfd/config/*.mh file. Call AC_PROG_CC and AC_PROG_RANLIB. Substitute in values for CFLAGS, HDEFINES and AR. Call AC_CHECK_HEADERS for stdlib.h and time.h. Touch stamp.h if creating config.h. * configure: Rebuild. * Makefile.in (AR): Define as @AR@. (CC): New variable, defined as @CC@. (CFLAGS): Define as @CFLAGS@. (RANLIB): Define as @RANLIB@. (HDEFINES, TDEFINES): New variables. (@host_makefile_frag@): Remove. (compile.o, run.o): Depend upon config.h. (mostlyclean): Make the same as clean, not distclean. (clean): Remove config.log. (distclean): Remove config.h and stamp-h. (Makefile): Don't depend upon @frags@. Just rebuild Makefile when invoking config.status. (config.h, stamp-h): New targets. * compile.c: Include "config.h". Don't include <sys/times.h>. Include <time.h> and <stdlib.h> if they exist. Don't include "sysdep.h". (get_now): Remove unused local b. * run.c: Include "config.h". Include <stdlib.h> if it exists. Don't include "sysdep.h". * writecode.c: Don't include "bfd.h" or "sysdep.h". Include <stdio.h>.
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.