aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1994-08-28Removed pcrel_adjust and bsr arguments from calling interface ofKen Raeburn1-0/+7
frag_variant, since they're only used on one machine. Let that machine deal with them specially.
1994-08-28Makefile.in (distclean, realclean): Remove new configure-generated files.Ken Raeburn2-1/+6
1994-08-28keep new autoconf-related filesKen Raeburn1-0/+4
1994-08-28 * gdb.base/default.exp: Update expect pattern for load commandPeter Schauer1-0/+5
without arguments.
1994-08-28 * symfile.c (symbol_file_add): Move reinit_frame_cache call toPeter Schauer7-10/+59
the callers of symbol_file_add. Gets rid of heuristic fence-post warnings on mips and alpha targets when the PC resides in a shared library which is not yet read in. * coff-solib.c (coff_solib_add), cxux-nat.c (add_shared_symbol_files), irix5-nat.c (solib_add), osfsolib.c (solib_add), remote-vx.c (vx_open), solib.c (solib_add): Add call to reinit_frame_cache after all shared libraries are read in. * remote-udi.c (udi_load), remote-vx.c (vx_load_command), symfile.c (symbol_file_command, add_symbol_file_command): Add call to reinit_frame_cache after symbol_file_add.
1994-08-28Conversion to autoconf:Ken Raeburn10-235/+2526
* acconfig.h, aclocal.m4: New files. * configure.in: Rewritten (except for some target-specific code) for autoconf. * conf.in, configure: New files, generated from the above. * Makefile.in: Changed magic sequence indicating insertion of makefile fragments. (VPATH, srcdir, CC, LIBS, OBJS dependencies): Use @-substitutions from configure. (LINKED_HEADERS): Deleted a.out.gnu.h, a.out.h, and host.h. (config.status, configure): Rewrite rules. (config-stamp): Depend on conf. Skip variables that configure is now substituting itself. (*.o dependencies): Deleted host.h. (distclean, realclean): Don't delete host.h. * as.c: Don't include stdio.h, string.h, sys/types.h. Include signal.h after as.h. * as.h: Include alloca-conf.h first. Include ctype.h, string.h, strings.h, stdlib.h, unistd.h, sys/types.h, fopen-bin.h, fopen-same.h, as suggested by autoconf test results. [BROKEN_ASSERT]: Don't include assert.h. (strdup): Declare. (volatile, const): Define if not __STDC__ and not already defined. (malloc, realloc) [NEED_MALLOC_DECLARATION]: Declare. (free) [NEED_FREE_DECLARATION]: Declare. * gasp.c: Include config.h, stdlib.h (if HAVE_STDLIB_H). Don't include host.h. (malloc) [NEED_MALLOC_DECLARATION]: Declare. * messages.c: Include as.h first. Include errno.h only if HAVE_ERRNO_H. If HAVE_VARARGS_H and not __STDC__, undefine HAVE_STDARG_H. Set NO_STDARG and NO_VARARGS as appropriate. * doc/Makefile.in (srcdir, INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Use autoconf @-substitutions.
1994-08-28input-file.c: Don't include assert.h here.Ken Raeburn1-0/+3
1994-08-28* config/tc-alpha.c: Added various prototypes for static functions.Ken Raeburn2-34/+264
(in_range): New function, tests whether a value can fit in an N-bit field. (build_mem, build_operate_n): New functions for constructing opcode values. (emit_sll_n, emit_ldah_num, emit_addq_r, emit_lda_n): New functions for emitting single instructions, no longer requiring a recursive call to md_assemble. (emit_add64): New function for expanding a REG:=REG+CONST operation into one or more instructions, to handle wide constants. (clear_insn): New variable. (md_begin): Fill it in with zeros and BFD_RELOC_NONE values. (alpha_ip): Use it to initialize local variable insns. (alpha_ip, label "immediate" and cases 'P', 'G'): Use emit_add64 for calculations.
1994-08-27 * config.guess: Fix i486-ncr-sysv43 -> i486-ncr-sysv4.3.Per Bothner2-3/+34
Fix type: *-next-neststep -> *-next-nextstep. * config.guess: Merge from FSF: Fri Aug 26 18:45:25 1994 Philippe De Muyter (phdm@info.ucl.ac.be) * config.guess: Recognize powerpc-ibm-aix3.2.5. Wed Apr 20 06:36:32 1994 Philippe De Muyter (phdm@info.ucl.ac.be) * config.guess: Recognize UnixWare 1.1 (UNAME_SYSTEM is SYSTEM_V instead of UNIX_SV for UnixWare 1.0).
1994-08-27 * Makefile.in (all-gdb): Add dependencies on all-gcc and all-ldStu Grossman1-0/+5
to make gdb/nlm/* build after the compiler and linker.
1994-08-26 * config.guess (netbsd, freebsd, linux): Accept any machine,Per Bothner2-7/+11
not just i[34]86. (m68k-atari-sysv4): Relocate to match FSF version.
1994-08-26Remove RCS ID'sJ.T. Conklin2-8/+2
1994-08-26write.c(write_contents): always enable BFD_FAST_SECTION_FILL codeKen Raeburn1-0/+4
1994-08-26subsegs.c: fix EMIT_SECTION_SYMBOLS handlingKen Raeburn1-0/+5
1994-08-26 * config.guess: More merges from the FSF.Per Bothner2-25/+50
1994-08-26More merges from FSF.Per Bothner2-12/+28
1994-08-26configure: Accept and ignore --cache*, for compat w/autoconf 2.Ken Raeburn2-3/+11
1994-08-26 * (config.guess): Merge from FSF.Per Bothner2-2/+57
1994-08-26 * coffgen.c (coff_real_object_p): Set obj_raw_syment_count.Ian Lance Taylor2-2/+11
(coff_get_normalized_symtab): Verify obj_raw_syment_count, rather than setting it.
1994-08-26 * configure.in: Recognize --with-headers and --with-libs.Ian Lance Taylor3-10/+85
* Makefile.in (all-xiberty): Depend upon all-ld.
1994-08-26* sparcnbsd.mh,sparcnbsd.mt: New files, support for NetBSD/sparc.J.T. Conklin4-2/+13
1994-08-26 * configure.in: Recognize --without-newlib.Ian Lance Taylor2-6/+12
1994-08-25 * archive.c (bsd_write_armap): Remove host dependencies.Ian Lance Taylor1-0/+2
1994-08-25 * aoutx.h (add_to_stringtab): Check for _bfd_stringtab_add errorIan Lance Taylor2-3/+14
before adding BYTES_IN_WORD.
1994-08-25 * coffgen.c (coff_find_nearest_line): Look for the best C_FILE,Ian Lance Taylor2-19/+32
not merely the first.
1994-08-25 * coffgen.c (coff_write_alien_symbol): If we are not using theIan Lance Taylor2-1/+9
symbol, clear the name so that it is not put in the string table. From Antti.Miettinen@ntc.nokia.com.
1994-08-25fix typoJ.T. Conklin1-2/+2
1994-08-25* config/xm-nbsd.h: New file, support for all NetBSD ports.J.T. Conklin4-0/+97
* config/sparc/{nm-sparcnbsd.h,tm-sparcnbsd.h,xm-sparcnbsd.h}: New files, support for NetBSD/sparc. * configure.in: Add sparc-*-netbsd target.
1994-08-25* config/xm-nbsd.h: New file, support for all NetBSD ports.J.T. Conklin4-0/+47
* config/sparc/{nm-nbsd.h,tm-nbsd.h,xm-nbsd.h}: New files, support for NetBSD/sparc. * configure.in: Add sparc-*-netbsd target.
1994-08-24 * config/tc-mips.h (LOCAL_LABEL): Define as 0, for compatibilityIan Lance Taylor3-2/+6
with native MIPS assembler. * configure.in (mips-*-irix*): Don't set emulation. * config/te-irix.h: Remove. With these changes, gas works with mips-tfile.
1994-08-24 * ecoff.c (ecoff_symbol_new_hook): Don't add a new file if weIan Lance Taylor2-2/+7
haven't seen any input files yet. * config/tc-alpha.c (md_begin): Just call symbol_create, rather than calling symbol_new and then removing the symbol from the list. With these changes, Alpha gas will work with mips-tfile.
1994-08-24gcc lint.Ian Lance Taylor6-106/+158
* as.c (main): Move a inside the #if 0 block which uses it. * ecoff.c (current_stabs_filename): Make const. * frags.h (frag_align_pattern): Declare. * gasp.c (new_file): Cast isp to long, and use %ld to print it. * config/tc-alpha.h (md_operand): Add cast to void. (alpha_do_align): Declare argument types. (tc_get_register): Declare. (alpha_frob_ecoff_data): Declare. * config/tc-alpha.c: Include <ctype.h>. (s_mask): Don't declare; does not exist. (line_comment_chars): Remove /* from descriptive comment. (tc_get_register): Remove unused local reg. (tc_gen_reloc): Don't bother to compare unsigned to zero. (s_base): Correct warning to actually print register number. (md_begin): Remove unused locals retval, lose, and i. (alpha_fix_adjustable): Move default case inside switch to avoid warning. (load_symbol_address): Remove unused locals reloc_addr, p, sym, and addend. (emit_byte_manip_r): Declare types for all arguments. (emit_extract_r, emit_insert_r, emit_mask_r): Likewise. (emit_sign_extend, emit_bis_r, s_proc): Likewise. (alpha_ip): Use sprint_value to print offsetT value. Remove unused local size. Remove unused label get_macro. (alpha_do_align): Make fill const. (md_apply_fix): Remove unused label check_zov.
1994-08-24 * coffgen.c (coff_print_symbol): Cast pointer different to longIan Lance Taylor2-1/+8
and use %ld to print it. * osf-core.c (osf_core_core_file_p): Remove unused variable dseccnt. * ecoffswap.h (ecoff_swap_ext_out): If ECOFF_64, clear remaining bytes in bits2.
1994-08-24 * remote-vx.c (vx_attach): Interpret the command argument as anStan Shebs2-4/+12
unsigned long.
1994-08-24 * configure.in: Change i386 to i[345]86.Ian Lance Taylor4-5/+12
* gdb.base/configure.in: Likewise. * gdb.c++/configure.in: Likewise. * gdb.chill/configure.in: Likewise.
1994-08-24 * configure.in: Change i[34]86 to i[345]86.Ian Lance Taylor4-114/+120
* nlm/configure.in: Likewise. * gdbserver/configure.in: Likewise.
1994-08-24 * configure.in: Change i[34]86 to i[345]86.Ian Lance Taylor1-0/+4
1994-08-24 * configure.in: Change i[34]86 to i[345]86.Ian Lance Taylor2-17/+26
1994-08-24 * configure.in: Change i386-*-* to i[345]86-*-*.Ian Lance Taylor2-1/+5
1994-08-24 * configure.in: Recognize i586 as a synonym for i[34]86.Ian Lance Taylor2-7/+29
1994-08-24 * configure.in, binutils.all/configure.in: Change i386 toIan Lance Taylor2-1/+14
i[345]86.
1994-08-24* configure.in (i386-*-netware): Automatically configure nlmJ.T. Conklin2-1/+7
subdir.
1994-08-24 * configure.host, config.bfd: Change i[34]86 to i[345]86.Ian Lance Taylor3-41/+45
1994-08-24 * configure.in: Change i[34]86 to i[345]86.Ian Lance Taylor2-18/+26
1994-08-24 * coffgen.c (coff_real_object_p): Set obj_conv_table_size here,Ian Lance Taylor2-13/+63
rather than waiting until coff_slurp_symbol_table. (coff_write_alien_symbol): Just ignore BSF_DEBUGGING symbols. From Antti.Miettinen@ntc.nokia.com.
1994-08-24 * section.c (bfd_make_section_anyway): Fix failure check ofIan Lance Taylor1-0/+3
bfd_make_empty_symbol. From Antti.Miettinen@ntc.nokia.com.
1994-08-24 * aoutx.h (translate_to_native_sym_flags): Use the output_sectionIan Lance Taylor2-290/+226
(and output_offset) if there is one. * aoutx.h (aout_link_check_archive_element): Discard the symbols if the archive element was not needed. * aoutx.h (aout_get_external_symbols): Ensure that a zero string index yields an empty string. (aout_link_write_symbols): If info->keep_memory is false, use name from original hash table entry, not from entry in *sym_hash. * aoutx.h (struct aout_final_link_info): Add fields contents, relocs, symbol_map and output_syms. (NAME(aout,final_link)): Work out the largest section size, reloc size, and number of symbols. Use them to preallocate buffers that are large enough for all cases. (aout_link_input_bfd): Use preallocated symbol_map. (aout_link_write_symbols): Remove symbol_map argument; use preallocated symbol_map instead. Change all callers. Use preallocated output_syms. (aout_link_input_section): Remove symbol_map argument. Change all callers. Use preallocated contents and relocs. (aout_link_input_section_std): Remove symbol_map argument; use preallocated symbol_map instead. Change all callers. (aout_link_input_section_ext): Likewise.
1994-08-24 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expectStan Shebs2-11/+23
patterns, since that is not a valid context for comments.
1994-08-24* nlm/gdbserve.c: conditionalize header file inclusion for eitherJ.T. Conklin3-3/+30
NetWare 4.0 or PIN targets. * nlm/i386.c: include appropriate header files. * nlm/prelude.c: define TERMINATE_BY_UNLOAD for NetWare 4.0 targets.
1994-08-24* gdbserve.c: conditionalize header file inclusion for eitherJ.T. Conklin1-0/+8
NetWare 4.0 or PIN targets. * nlm/i386.c: include appropriate header files. * nlm/prelude.c: define TERMINATE_BY_UNLOAD for NetWare 4.0 targets.