aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1996-02-19 * ld.texinfo: Mention that -R can be used for -rpath.Ian Lance Taylor2-135/+349
1996-02-19 * elf32-sparc.c (elf32_sparc_reloc_type_lookup): Renamed fromDavid Edelsohn1-0/+14
_bfd_sparc_elf_reloc_type_lookup. (bfd_elf32_bfd_reloc_type_lookup): Update. * elf64-sparc.c (SPARC64_OLD_RELOCS): Define. (sparc64_elf_howto_table): Define. (sparc_reloc_map): Define. (sparc64_elf_reloc_type_lookup): New function. (sparc_elf_wdisp16_reloc): New function. (elf_info_to_howto): Use sparc64_elf_howto_table. (sparc64_elf_relocate_section): Likewise. (bfd_elf64_bfd_reloc_type_lookup): Update.
1996-02-19 * gas/sparc/{asi,membar,prefetch,rdpr,synth64,wrpr}.d: Pass -Av9David Edelsohn4-0/+51
to gas. * gas/sparc/addend.exp: Execute for any sparc cpu. * gas/sparc/{mismatch.exp,mism-1.s}: New test.
1996-02-19 * config/tc-sparc.c (max_architecture): Change to sparclite forDavid Edelsohn2-27/+80
32 bit arch. (default_compatible): Delete. (sparc_ffs): New function. (md_begin): Only call SPARC_OPCODE_CONFLICT_P once. (sparc_ip): Rewrite architecture match and bump logic.
1996-02-19 * sparc-dis.c (MASK_V9,V9_ONLY_P,V9_P): Define.David Edelsohn1-0/+11
(print_insn_sparc): Rewrite v9/not-v9 tests. (compare_opcodes): Likewise. * sparc-opc.c (MASK_<ARCH>): Define. (v6,v7,v8,sparclite,v9,v9a): Redefine. (sparclet,v6notv9): Define. (sparc_opcode_archs): Delete member `conflicts'. Add `supported'. (sparc_opcodes): Delete F_NOTV9, use v6notv9 instead.
1996-02-18 * mipsread.c (mipscoff_symfile_read): Unconditionally addPeter Schauer1-0/+7
alpha coff dynamic symbols for all symbol files. Makes skipping over the trampoline code work when stepping from a function in a shared library into a function in a different shared library.
1996-02-18 * configure.in: Check for 'do not mix' from native linker beforeIan Lance Taylor6-0/+20
trying to use -rpath. * configure: Rebuild.
1996-02-18 * configure.host: Check for 'do not mix' from native linker beforeIan Lance Taylor4-0/+14
trying to use -rpath.
1996-02-18 * config/sparc/tm-sparc.h: Define PS_FLAG_CARRY. DefineStu Grossman2-0/+11
RETURN_VALUE_ON_STACK to return long doubles on the stack.
1996-02-17 * Makefile.in (ch-exp.o): Add dependencies.Fred Fish1-0/+5
(various): Add gdb_string.h to dependencies that need it.
1996-02-17 * symmisc.c (print_symbol_bcache_statistics): Update description forFred Fish1-0/+5
printing byte cache statistics.
1996-02-17 * Add native support for long double data type.Stu Grossman11-65/+250
* c-exp.y (%union): Change dval to typed_val_float. Use DOUBLEST to store actual data. Change types of INT and FLOAT tokens to typed_val_int and typed_val_float respectively. Create new token DOUBLE_KEYWORD to specify the string `double'. Make production for FLOAT use type determined by parse_number. Add production for "long double" data type. * (parse_number): Use sscanf to parse numbers as float, double or long double depending upon the type of typed_val_float.dval. Also allow user to specify `f' or `l' suffix to explicitly specify float or long double constants. Change typed_val to typed_val_int. * (yylex): Change typed_val to typed_val_int. Also, scan for "double" keyword. * coffread.c (decode_base_type): Add support for T_LNGDBL basic type. * configure, configure.in: Add check for long double support in the host compiler. * defs.h: Define DOUBLEST appropriatly depending on whether HAVE_LONG_DOUBLE (from autoconf) is defined. Also, fix prototypes for functions that handle this type. * expression.h (union exp_element): doubleconst is now type DOUBLEST. * m2-exp.y f-exp.y (%union): dval becomes type DOUBLEST. * findvar.c (extract_floating): Make return value be DOUBLEST. Also, add support for numbers with size of long double. * (store_floating): Arg `val' is now type DOUBLEST. Handle all floating types. * parser-defs.h parse.c (write_exp_elt_dblcst): Arg expelt is now DOUBLEST. * valarith.c (value_binop): Change temp variables v1, v2 and v to type DOUBLEST. Coerce type of result to long double if either op was of that type. * valops.c (value_arg_coerce): If argument type is bigger than double, coerce to long double. * (call_function_by_hand): If REG_STRUCT_HAS_ADDR is defined, and arg type is float and > 8 bytes, then use pointer-to-object calling conventions. * valprint.c (print_floating): Arg doub is now type DOUBLEST. Use appropriate format and precision to print out floating point values. * value.h: Fixup prototypes for value_as_double, value_from_double, and unpack_double to use DOUBLEST. * values.c (record_latest_value): Remove check for invalid floats. Allow history to store them so that people may examine them in hex if they want. * (value_as_double unpack_double): Change return value to DOUBLEST. * (value_from_double): Arg `num' is now DOUBLEST. * (using_struct_return): Use RETURN_VALUE_ON_STACK macro (target specific) to expect certain types to always be returned on the stack.
1996-02-16 * config/unix-gdb.exp: Remove extraneous newlines from end of file.Fred Fish2-9/+6
1996-02-16 * bcache.c, bcache.h: New files to implement a byte cache.Fred Fish16-115/+458
* Makefile.in (SFILES): Add bcache.c. (symtab_h): Add bcache.h. (HFILES_NO_SRCDIR): add bcache.h (COMMON_OBJS): Add bcache.o (bcache.o): New target. * dbxread.c (start_psymtab): Make global_syms & static_syms type "partial_symbol **". * hpread.c (hpread_start_symtab): Ditto. * os9kread.c (os9k_start_psymtab): Ditto. * stabsread.h (start_psymtab): Ditto. * {symfile.c, symfile.h} (start_psymtab_common): Ditto. * maint.c (maintenance_print_statistics): Call print_symbol_bcache_statistics. * objfiles.c (allocate_objfile): Initialize psymbol bcache malloc and free pointers. * solib.c (allocate_rt_common_objfile): Ditto. * symfile.c (reread_symbols): Ditto. (free_objfile): Free psymbol bcache when objfile is freed. (objfile_relocate): Use new indirect psymbol pointers. * objfiles.h (struct objfile): Add psymbol cache. * symfile.c (compare_psymbols): Now passed pointers to pointers to psymbols. (reread_symbols): Free psymbol bcache when freeing other objfile resources. (add_psymbol_to_list, add_psymbol_addr_to_list): Initialize new psymbol using the psymbol bcache. (init_psymbol_list): Psymbol lists now contain pointers rather than the actual psymbols. * symfile.h (psymbol_allocation_list): Psymbol lists now dynamically grown arrays of pointers. (ADD_PSYMBOL_VT_TO_LIST): Initialize new symbol using the psymbol bcache. * symmisc.c (print_partial_symbols): Now takes pointer to pointer to partial symbol. (print_symbol_bcache_statistics): New function to print per objfile bcache statistics. (print_partial_symbol, print_partial_symbols, maintenance_check_symtabs, extend_psymbol_list): Account for change to pointer to pointer to partial symbol. * symtab.c (find_pc_psymbol, lookup_partial_symbol, decode_line_2, make_symbol_completion_list): Account for change to pointer to pointer to partial symbol. * symtab.h (bcache.h): Include. * xcoffread.c (xcoff_start_psymtab): Make global_syms & static_syms type "partial_symbol **".
1996-02-16 * config/obj-coff.h (SF_ADJ_LNNOPTR): Define (non BFD_ASSEMBLER).Ian Lance Taylor1-0/+10
(SF_GET_ADJ_LNNOPTR): Define (non BFD_ASSEMBLER). (SF_SET_ADJ_LNNOPTR): Define (non BFD_ASSEMBLER). * config/obj-coff.c (obj_coff_endef): Set ADJ_LNNOPTR when LNNOPTR is set. (w_symbols): If ADJ_LNNOPTR is set, add the section lnnoptr field to the symbol lnnoptr field, to get the correct file offset. PR 7428.
1996-02-16 * dwarfread.c (free_utypes): New function.Fred Fish2-3/+34
(read_file_scope): Call free_utypes as cleanup, rather than just freeing the utypes pointer.
1996-02-16 * bfd.c (_bfd_get_gp_value): New function.Ian Lance Taylor4-43/+74
(_bfd_set_gp_value): New function. * libbfd-in.h (_bfd_get_gp_value): Declare. (_bfd_set_gp_value): Declare. * libbfd.h: Rebuild. * coff-alpha.c (alpha_ecoff_get_relocated_section_contents): Use _bfd_get_gp_value and _bfd_set_gp_value rather than referring directly to the fields in the tdata information. (alpha_relocate_section): Likewise. * coff-mips.c (mips_adjust_reloc_in): Likewise. (mips_gprel_reloc): Likewise. (mips_relocate_section): Likewise. * elf32-mips.c (mips_elf_hi16_reloc): Likewise. (mips_elf_lo16_reloc): Likewise. (mips_elf_final_gp): Likewise. (mips_elf_gprel16_reloc): Likewise. (mips_elf_gprel32_reloc): Likewise. (mips_elf_relocate_section): Likewise. (mips_elf_finish_dynamic_symbol): Likewise. PR 8449.
1996-02-16 * sparc.h (sparc_opcode_lookup_arch) Make return type inJeff Law2-2/+9
declaration consistent with return type in definition.
1996-02-16 * bout.c (b_out_set_arch_mach): Recognize bfd_mach_i960_jx.Ian Lance Taylor2-9/+15
1996-02-16fix up i960xl sanitizationIan Lance Taylor2-29/+1
1996-02-16Update to rev 1.0 from andrewMichael Meissner7-737/+1252
1996-02-16 * demangle.c (is_cplus_marker): New function, checks if aFred Fish10-45/+104
character is one of the commonly used C++ marker characters. * defs.h (is_cplus_marker): Add prototype. * c-typeprint.c (c_type_print_base), ch-lang.c (chill_demangle), cp-valprint.c (cp_print_class_method), mdebugread.c (parse_symbol), stabsread.c (define_symbol, read_member_functions, read_struct_fields), symtab.h (OPNAME_PREFIX_P, VTBL_PREFIX_P, DESTRUCTOR_PREFIX_P), values.c (vb_match): Use is_cplus_marker instead of comparison with CPLUS_MARKER.
1996-02-16 * symfile.h (INLINE_ADD_PSYMBOL): Default this to 0 and possiblyFred Fish2-29/+46
delete entirely someday.
1996-02-16Do not build gdb if building native NT compilers on a UNIX host with a cross ↵Michael Meissner2-2/+7
compiler
1996-02-15Make configure work on first stage of HP/UX and Solaris.Michael Meissner2-204/+69
1996-02-15 * mpw-make.sed: Edit out makefile rebuild rule.Stan Shebs2-2/+12
(host_alias, target_alias): Comment out instead of deleting. (@LIBS@): Edit out references.
1996-02-15Make simulator build on Solaris 2.4Michael Meissner1-0/+7
1996-02-15 * mh-cxux (CC): New variable.Ian Lance Taylor1-1/+1
(CFLAGS, LDFLAGS): Remove. * mh-ncrsvr43 (CC): New variable. (CFLAGS): Remove. * mh-solaris (CFLAGS): Remove.
1996-02-15 * configure.in: Don't get CC from the host Makefile fragment if weIan Lance Taylor2-30/+48
can find gcc in PATH, or if this is a Canadian Cross. Move the Solaris test for /usr/ucb/cc to the post target script, just after the compiler sanity test.
1996-02-15 * configure.in: Remove explicit substitution of CFLAGS; autoconfIan Lance Taylor2-0/+6
does it anyhow. * configure: Rebuild. * Makefile.in (LDFLAGS): Set to @LDFLAGS@.
1996-02-15 * configure.in: Don't tamper with LDFLAGS. Call AC_PROG_CC beforeIan Lance Taylor1-0/+4
configure.host. * configure: Rebuild.
1996-02-15 * configure.in: Call AC_PROG_CC before configure.host.Ian Lance Taylor3-7/+30
* configure: Rebuild.
1996-02-15modify last changeIan Lance Taylor1-3/+1
1996-02-15 * configure.in: Call AC_PROG_CC before configure.host. Don'tIan Lance Taylor3-41/+11
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-15Do not set undefined symbols to BSF_OBJECT.Michael Meissner1-1/+2
1996-02-15 * configure.in: Call AC_PROG_CC before configure.host.Ian Lance Taylor4-17/+18
* configure: Rebuild. * configure.host: Remove go32 host, since it should no longer be necessary. Don't set CC for romp host.
1996-02-15 * configure.host: Remove go32 and win32 host information, since itIan Lance Taylor2-8/+3
should no longer be needed.
1996-02-15 * mh-go32: Remove most variable settings, since they presumed aIan Lance Taylor2-24/+4
Canadian Cross, which is now handled correctly by the configure script.
1996-02-15 * scripttempl/elf.sc: Don't skip a page in virtual memory space ifIan Lance Taylor1-0/+3
the text segment ends exactly on a page boundary.
1996-02-15 * elf.c (map_sections_to_segments): If we have a .dynamic section,Ian Lance Taylor2-10/+42
then start a new segment rather than put a writable section in a readonly segment.
1996-02-15Force all PPC symbols that otherwise do not have a symbol type to be BSF_OBJECTMichael Meissner2-0/+21
1996-02-15 * Makefile.in (SONAME): Remove leading ../bfd/ from $(SHLIB).Ian Lance Taylor2-7/+46
1996-02-15 * configure: Set and substitute RPATH_ENVVAR.Ian Lance Taylor3-0/+12
* configure: Rebuild. * Makefile.in (RPATH_ENVVAR): New variable. (check): Use $(RPATH_ENVVAR) rather than LD_LIBRARY_PATH.
1996-02-15 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, upFred Fish2-2/+17
from dejagnu's apparent default of 10 seconds, which gives random results when running the tests over NFS on moderately loaded systems. * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
1996-02-15 * configure.in: Substitute RPATH_ENVVAR.Ian Lance Taylor5-10/+26
* configure: Rebuild. * configure.host: Set RPATH_ENVVAR. * Makefile.in (RPATH_ENVVAR): New variable. (check): Use $(RPATH_ENVVAR) rather than LD_LIBRARY_PATH.
1996-02-15 * configure.in: Substitute RPATH_ENVVAR.Ian Lance Taylor4-12/+23
* configure: Rebuild. * Makefile.in (RPATH_ENVVAR): New variable. (check): Use $(RPATH_ENVVAR) rather than LD_LIBRARY_PATH.
1996-02-15 * configure.host: Set RPATH_ENVVAR.Ian Lance Taylor2-8/+18
1996-02-15 * mh-sparcpic (PICFLAG): Set to -fPIC, not -fpic.Ian Lance Taylor1-0/+28
1996-02-15 * Makefile.in: Rebuild dependencies.Ian Lance Taylor2-2/+4
1996-02-15 * objcopy.c (smart_rename): Rather than doing chmod then chown, doIan Lance Taylor1-0/+5
chmod without setuid, then chown, then chmod with setuid.