aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1995-12-02 * alpha-tdep.c (heuristic_proc_desc): Add heuristic toPeter Schauer2-1/+59
determine the return address register, needed for OSF/1-3.2C. * config/alpha/tm-alpha.h (T7_REGNUM, T9_REGNUM): Define.
1995-12-02 * ld-srec/srec.exp: Don't use [] in setup_xfail expressions.Ian Lance Taylor2-5/+9
1995-12-02 * ihex.c: New file; support for Intel Hex format.Ian Lance Taylor5-0/+942
* targets.c (enum bfd_flavour): Add bfd_target_ihex_flavour. (ihex_vec): Declare. (bfd_target_vector): Always include ihex_vec. * bfd.c (struct _bfd): Add ihex_data field to tdata union. * Makefile.in: Rebuild dependencies. (BFD_LIBS): Add ihex.o (BFD_LIBS_CFILES): Add ihex.c. * bfd-in2.h: Rebuild.
1995-12-02 * srec.c (srec_scan): Set lma as well as vma.Ian Lance Taylor1-0/+1
1995-12-02Fix typo; some progress in ppcbug supportMichael Meissner3-7/+14
1995-12-01Ooops. Fix to work with new scheme (where runtest invokes the compiler).Per Bothner1-5/+9
1995-12-01 * mpw-make.sed (install, install-only): Edit in Mac-specificStan Shebs2-0/+23
install procedure.
1995-12-01 * mpw-config.in: Don't always use te-generic.h for emulation.Stan Shebs3-3/+43
(powerpc-apple-macos): Use emulation te-macos.h. start-sanitize-gm (mips-gm-magic): New configuration. end-sanitize-gm * mpw-make.sed (install, install-only): Edit in Mac-specific install procedure.
1995-12-01 * pr-8405.ch, pr-8405.exp, Makefile.in: New test case.Per Bothner5-1/+81
1995-12-01 * ldgram.y (PHDRS): New token.Ian Lance Taylor2-2/+168
(ifile_p1): Accept phdrs. (section): Accept phdr_opt at the end of the section definition. (phdr_op): New nonterminal. (phdrs, phdr_list, phdr, phdr_type, opt_hdrs, hdr): Likewise. * ldlex.l: Accept PHDRS. * ldlang.h (struct lang_output_section_phdr_list): Define. (lang_output_section_statement_type): Add phdrs field. (struct lang_phdr): Define. (LANG_PHDR_FILEHDR, LANG_PHDR_PHDRS): Define. (lang_new_phdr): Declare. * ldlang.c (lang_phdr_list): New static variable. (lang_output_section_statement_lookup): Initialize phdrs field. (lang_process): Call lang_record_phdrs. (lang_new_phdr): New function. (lang_section_in_phdr): New function. (lang_record_phdrs): New static function. * ld.texinfo: Document PHDRS.
1995-12-01 * bfd.c (bfd_record_phdr): New function.Ian Lance Taylor4-5/+68
* bfd-in.h (bfd_record_phdr): Declare. * bfd_in2.h: Rebuild.
1995-12-01 * elf.c (assign_file_positions_for_segments): Sort the sections inIan Lance Taylor1-3/+17
each segment. (get_program_header_size): Return the right size if segment_map is not NULL. (copy_private_bfd_data): Don't bother to sort the sections.
1995-12-01 * elf32-sparc.c (elf32_sparc_relocate_section): Remove bogusIan Lance Taylor1-0/+3
BFD_ASSERT. PR 8562.
1995-12-01 * libbfd.c (bfd_malloc, bfd_realloc): New functions.Ian Lance Taylor22-494/+242
(bfd_zmalloc): Return PTR, not char *. Take size_t, not bfd_size_type. * libbfd-in.h (bfd_malloc, bfd_realloc): Declare. (bfd_zmalloc): Change declaration. * libbfd.h: Rebuild. * Many files: Use bfd_malloc and bfd_realloc rather than malloc and realloc. Don't set bfd_error_no_memory if they fail.
1995-12-01 * configure.in: Improve message about unsupported ELF targets.Ian Lance Taylor1-0/+3
* configure: Rebuild.
1995-12-01 * tests1.exp, tests2.exp (test_print_reject): Remove; causesPer Bothner3-229/+40
conflicts with later tests using test_print_reject in ../lib/gdb.exp. (passcount): Remove. * tests2.exp (test_print_accept): Removed. (test_write): Re-write to use gdb_test rather than test_print_accept. * tests1.exp (test_print_accept_exact): Removed. (tests_locations): Rewrite to use gdb_test and not above proc.
1995-12-01 * ld-srec/srec.exp: Add setup_xfails for MIPS ELF targets.Ian Lance Taylor2-0/+10
1995-12-01* gencode.c: Tidied instruction decoding, and added FP instructionJackie Smith Cashion3-509/+4253
support. * interp.c: Added dineroIII, and BSD profiling support. Also run-time FP handling. At the moment the options are still mostly build-time controlled, rather than run-time. Also work still needs to be done to remove (long long) usage (However this is trivial, just time-consuming). The out-standing instruction work to be done is in supporting round and trunc for FP operations, and providing better exception support.
1995-12-01 * config/tc-m88k.c (m88k_do_align): Correct check for whether fillIan Lance Taylor2-1/+6
pattern is zero. From Manfred Hollstein.
1995-12-01Fix subfc.,subfco,subco,subco. to be in the proper classificationsMichael Meissner1-0/+5
1995-12-01fix typoMichael Meissner2-1/+5
1995-12-01 * tests1.ch, tests1.exp, tests2.ch, tests2.exp, Makefile.in:Per Bothner8-53/+1730
New (extensive) test cases. * chexp.exp: Fix relations to return TRUE or FALSE.
1995-12-01 * language.c (lang_bool_type), language.h: New function.Per Bothner4-8/+42
* language.h (LA_BOOL_TYPE): New macro. * eval.c (evaluate_subexp_standard) Use LA_BOOL_TYPE instead of builtin_type_int where appropriate, * valarith.c (value_subscript): Likewise.
1995-12-01 * valops.c (value_slice): Implement (value) bitstring slices.Per Bothner2-20/+49
* valprint.c (val_print): If TYPE_LENGTH is zero, don't automatically print "<incomplete type>" - Chill has zero-length (string) types.
1995-12-01 * gdbtypes.c (check_stub_type): Removed; no longes needed.Per Bothner3-9/+7
* ch-exp.c (expect, parse_call): Tweak error messages.
1995-12-01PowerPC changesKim Knuttila2-29/+306
1995-12-01PowerPC DLL SupportKim Knuttila3-57/+159
1995-11-30* config/mt-v810 (CC_FOR_TARGET): Add -ansi flag. NEC compilerJ.T. Conklin1-0/+6
defaults to K&R mode, but doesn't have varargs.h, so we have to compile in ANSI mode.
1995-11-30 * elf.c (_bfd_elf_make_section_from_shdr): Don't set lma based onIan Lance Taylor2-69/+149
p_paddr if p_paddr is zero. (make_mapping): Set includes_filehdr and includes_phdrs for first PT_LOAD segment. (map_sections_to_segments): Set includes_phdrs for PT_PHDR segment. (assign_file_positions_for_segments): Handle includes_filehdr and includes_phdrs. Remove special handling of PT_PHDR and first PT_LOAD segments. (copy_private_bfd_data): Set includes_filehdr and includes_phdr when appropriate. Remove special handling of PT_PHDR segment. Use a more complex condition for when a section is included in a segment to handle Solaris linker oddities.
1995-11-30 * config.guess: Recognize Pentium under SCO.Per Bothner2-12/+17
1995-11-30idata alignment in .s filesKim Knuttila2-2/+28
1995-11-30Expose .edata sectionKim Knuttila2-0/+200
1995-11-30Add a comment saying .junk sections are discarded by the linker.David Edelsohn1-0/+1
1995-11-30Thu Nov 30 11:32:34 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 ↵Ian Lance Taylor1-0/+7
<manfred@lts.sel.alcatel.de> * configure.host (m68*-motorola-sysv): Define HOSTING_CRT0 and HOSTING_LIBS for testing. (m88*-motorola-sysv3): Define HOSTING_CRT0 and HOSTING_LIBS for testing.
1995-11-30Thu Nov 30 11:23:42 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 ↵Ian Lance Taylor2-3/+12
<manfred@lts.sel.alcatel.de> * config/obj-coff.c (fixup_segment): If TC_M88K is defined, do not add section's paddr to add_number; compatibility to native as and ld forbids.
1995-11-30Thu Nov 30 11:17:33 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 ↵Ian Lance Taylor2-51/+226
<manfred@lts.sel.alcatel.de> * coff-m88k.c (howto_table): Reformatted for easier reading; special_function now points to new function m88k_special_reloc. (howto_hvrt16): Function previously used for handling HVRT16 relocs removed. (rtype2howto): Do not add reloc's r_offset to the addend, this will be done correctly by m88k_special_reloc. (reloc_processing): New function to be used by RELOC_PROCESSING. (RELOC_PROCESSING): Define to call reloc_processing.
1995-11-30Let autoconf determine if host is big endian or notMichael Meissner4-84/+630
1995-11-30configure.in: handle m68k-sysv4 correctlyKen Raeburn3-18/+22
1995-11-30Move struct hash_entry from hash.h to hash.c.Ken Raeburn1-0/+3
1995-11-30(elf_frob_symbol): Don't free and clear sy_obj if it's already known to be null.Ken Raeburn1-0/+5
1995-11-30 * Makefile.in: Add .exp.check rule.Per Bothner8-15/+40
* callch.ch: Add missing "%." to format strings. * callch.exp: Fix argument to gdb_load. * chexp.exp: Add specific error messages to test_print_reject calls. * misc.exp: Add a test for PR 8496. * pr-6632.exp, pr-8136.exp: Link executables from two .o files.
1995-11-30 * ch-exp.y: Replaced by ...Per Bothner13-2165/+2388
* ch-exp.c: New file. Use recursive-descent. Recognize labelled array tuples and powerset ranges. * Makefile.in: Update for no longer using yacc for ch-exp. * c-lang.c: Make various functions non-static. * c-lang.h: Add bunches of prototypes. * cp-valprint.c (cp_print_value_fields): Also take address. (cp_print_value): Likewise. Use baselcass_offset. * stabsread.c (current_symbol): New static variable. (type_synonym_name): Remove. (read_type): If copying, make copy be a TYPE_CODE_TYPEDEF. (read_array_type): Don't need to handle undefined element type here. (cleanup_undefined_types): Ditto. (read_range_type): Look for Chill ranges. * valops.c (value_assign): Fix case lval_internalvar - don't try to assign into old value (which might be too small!). (value_coerce_array): No longer need special VALUE_REPEATED handling. (value_arg_coerce): Cleaner array->pointer decay mechanism. (search_struct_field): Use baseclass_offset rather than baseclass_addr. (value_slice): Use get_discrete_bounds. * value.h (COERCE_VARYING_ARRAY): Take type argumnt as well. * values.c (baseclass_offset): Change parameter interface. (baseclass_addr): Removed. * c-typeprint.c, c-valprint.c, ch-valprint.c, values.c, valops.c: Add check_typedef/CHECK_TYPEDEF as needed.
1995-11-30 * scm-valprint.c (scm_isymnames): Remove "#@" prefix.Per Bothner3-21/+23
(scm_scmval_print): Do not print "#@" prefix. * mdebugread.c: Add check_typedef/CHECK_TYPEDEF as needed.
1995-11-30Fix MPW tool installationStan Shebs1-0/+14
1995-11-30 * f-typeprint.c, valarith.c, valprint.c, typeprint.c, eval.c:Per Bothner6-251/+355
Add check_typedef/CHECK_TYPEDEF as needed. * f-typeprint.c: Various cleaning up. * valarith.c (value_subscript): Also subscript bitstrings (for Chill). * typeprint.c (print_type_scalar): Also support TYPE_CODE_RANGE. * eval.c (evaluate_subexp_standard case OP_ARRAY): Implement support for labelled array tuples and ranges in powerset tuples. (init_array_element): New function.
1995-11-30 * alpha-tdep.c, c-exp.y, h8500-tdep.c, f-exp.y, f-valprint.c,Per Bothner10-40/+69
findvar.c, hppa-tdep.c, infcmd.c, language.c, printcmd.c, rs6000-tdep.c, symmisc.c, symtab.c: Add check_typedef/CHECK_TYPEDEF as needed.
1995-11-30 * gdbtypes.h (enum type_code): Added TYPE_CODE_TYPEDEF.Per Bothner5-106/+161
(check_typedef): New prototype. (CHECK_TYPEDEF): New macro. (TYPE_DUMMY_RANGE): Removed. * gdbtypes.c (get_discrete_bounds): Fix paren error; make more robust. (create_array_type): Don't force_to_range_type; users of the array are responsible for handling non-range index types. (create_set_type): Likewise. (force_to_range_type): Removed. (check_typedef): New function handles stub types and typedefs. (check_stub_type): Just call check_typedef. (To be removed.) (recursive_dump_type): Handle TYPE_CODE_TYPEDEF. * ch-lang.c (type_lower_upper): Use get_discrete_bounds. (evaluate_subexp_chill): Handle string repetition. Re-arrange to handle EVAL_AVOID_SIDE_EFFECTS better. * ch-typeprint.c (chill_type_print_base): Handle TYPE_CODE_TYPEDEF. Pass show=0 in recursive calls various places. (case TYPE_CODE_ARRAY): Don't require index type to have TYPE_CODE_RANGE. (case TYPE_CODE_RANGE): Don't need to support TYPE_DUMMY_RANGE. * gdbtypes.c, ch-lang.c, ch-typeprint.c (numerous places): Add check_typedef/CHECK_TYPEDEF as needed.
1995-11-29 * top.c (command_line_input): Only strip out an initial #-comment.Per Bothner2-40/+10
Looking for internal comments is language-specific (breaks Scheme).
1995-11-29 * expression.h (enum exp_opcode): Add BINOP_RANGE.Per Bothner3-4/+19
* expprint.c (dump_expression): Support BINOP_RANGE. * eval.c (evaluate_subexp_standard): Handle BINOP_RANGE (as error). (case MULTI_SUBSCRIPT): Fix broken f77 value->int ad hoc conversion. * ch-lang.c (chill_op_print_tab): Support BINOP_RANGE. (evaluate_subexp_chill): Error on BINOP_COMMA.
1995-11-29 * peicode.h (pe_print_idata): Call malloc rather than xmalloc.Ian Lance Taylor2-4/+22
(pe_print_pdata): Likewise.