aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1998-08-12 Avoid some overflow cases:Ian Lance Taylor19-86/+110
* basic_blocks.h (bb_min_calls): Change to unsigned long. * call_graph.h (cg_tally): Change count parameter to unsigned long. * cg_arcs.h (Arc): Change count field to unsigned long. (arc_add): Change count parameter to unsigned long. * source.h (Source_File): Change ncalls field to unsigned long. * symtab.h (Sym): Change fields ncalls, bb_calls, and cg.self_calls to unsigned long. * Many files: Update accordingly.
1998-08-12 * configure, Makefile.in, aclocal.m4: Rebuild with current tools.Ian Lance Taylor3-229/+340
1998-08-12 * libaout.h: Remove nested comment to avoid warning.Ian Lance Taylor1-4/+15
1998-08-12 From Peter Thiemann <thiemann@informatik.uni-tuebingen.de>:Ian Lance Taylor1-0/+6
* ppc-opc.c (insert_mbe): Handle wrapping bitmasks. (extract_mbe): Likewise.
1998-08-12 * gas/mn10300/udf.s: New test.Jeff Law2-1/+203
* gas/mn10300/basic.exp: Run it.
1998-08-12 * m10300-opc.c: Fix typo in udf20 .. udf25 instruction opcodes.Jeff Law1-0/+2
1998-08-12Document .req directiveNick Clifton2-48/+58
Improve error message when unrecognised register name is encountered.
1998-08-12Wed Aug 12 13:25:03 1998 Alan Modra <alan@spri.levels.unisa.edu.au>Ian Lance Taylor1-0/+6
* config/tc-i386.c (md_assemble): Emit a warning for stand-alone prefixes. (i386_operand): Fix an error message.
1998-08-12Wed Aug 12 13:25:38 1998 Alan Modra <alan@spri.levels.unisa.edu.au>Ian Lance Taylor1-6/+17
* gas/i386/white.l: Expect warning for stand-alone ss prefix.
1998-08-12 * m10300-opc.c: First cut at UDF instructions.Jeff Law2-8/+145
1998-08-12 * expprint.c (dump_prefix/postfix_expression): Don't try to print typeStu Grossman1-0/+5
expressions.
1998-08-12 * c-typeprint.c (c_print_type): Don't crash if varstring is null.Stu Grossman4-39/+389
* expprint.c expression.h (dump_expression): Rename to dump_prefix_expression. * Print out the expression in normal form. Call print_longest instead of trying to do it ourselves. * (dump_postfix_expression): New function, prints out the expression with indentation and better formatting and interpretation. * parse.c (parse_exp_1): Put calls to dump expressions under ifdef MAINTENANCE_CMDS and expressiondebug variable.
1998-08-12* Handle the possibility that some simulator commands may modify registerFrank Ch. Eigler1-0/+4
state behind gdb's back. Wed Aug 12 16:30:01 1998 Frank Ch. Eigler <fche@cygnus.com> * remote-sim.c (simulator_command): Reset register cache after simulator command.
1998-08-12sanitize-vr5400 -> sanitize-cygnus, for 98r2Ken Raeburn15-87/+6198
1998-08-12sanitize-vr5400 -> sanitize-cygnusKen Raeburn2-18/+18
1998-08-12sanitize-vr5400 -> sanitize-cygnusKen Raeburn5-110/+185
1998-08-12 * scripttempl/elfarm.sc: Change text start addressCatherine Moore2-3/+8
back to zero.
1998-08-11 * elf32-arm.c (elf32_arm_final_link_relocate): Remove unusedCatherine Moore2-28/+88
argument is_local. Add argument sym_flags. Check sym_flags in R_ARM_ABS32 case. Include addend for R_ARM_THM_PC22 case. (elf32_arm_relocate_section): Don't pass local sym and pass sym_flags to elf32_arm_final_link_relocate.
1998-08-11 * emulparms/mn10200.sh (MAX_PAGESIZE): Define to 1.Jeff Law1-0/+5
* emulparms/mn10300.sh (MAX_PAGESIZE): Define to 1.
1998-08-11 * elf64-alpha.c (elf64_alpha_calc_dynrel_sizes): Correct last changeRichard Henderson1-0/+13
to not count too few relocs for dynamicly linked executables.
1998-08-10 * elflink.h (elf_gc_common_finalize_got_offsets): For backendsRichard Henderson2-1/+14
that use a .got.plt section start the got offset at zero.
1998-08-10Fix PR 15003 - always perform alignment requestsNick Clifton1-0/+5
1998-08-10Mon Aug 10 17:48:09 1998 Alan Modra <alan@spri.levels.unisa.edu.au>Ian Lance Taylor1-0/+5
config/tc-i386.c (i386_operand): Size immediate constants by suffix (erroneously removed as part of July 7 change).
1998-08-10 * ieee.c (ieee_write_processor): Correct the processor ID writtenIan Lance Taylor1-0/+5
out for bfd_arch_m68k, accommodating change of March 25.
1998-08-10add armelf sanitizationIan Lance Taylor1-0/+28
1998-08-10Fix indentation.Catherine Moore1-0/+7
1998-08-10* elf32-arm.c (elf32_arm_final_link_relocate): ReworkCatherine Moore1-0/+7
R_ARM_THM_RPC22 relocations.
1998-08-10 * config/obj-elf.h: Check for redefinition of obj_frob_symbol.Catherine Moore1-0/+9
* config/tc-arm.c: Define S_GET_STORAGE_CLASS and S_SET_STORAGE_CLASS. (armelf_frob_symbol): New Routine. * config/tc-arm.h: Define obj_frob_symbol if OBJ_ELF.
1998-08-10 * scripttempl/elfarm.sc: Set text start address toCatherine Moore2-1/+9
0x8000. Add __bss_end definition.
1998-08-10 * arm-dis.c (print_insn_big_arm): Check for thumb symbolCatherine Moore3-20/+113
attributes. (print_insn_little_arm): Likewise.
1998-08-08 * config/tc-alpha.c (alpha_fix_adjustable): Don't adjust weak syms.Richard Henderson2-1/+5
1998-08-08 * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Undef weak symbolsRichard Henderson2-188/+229
are always dynamic. (elf64_alpha_calc_dynrel_sizes): Allow enough room for RELATIVE .got relocs in -Bsymbolic shared objects.
1998-08-07add sanitization markers.Catherine Moore1-0/+2
1998-08-07Add armelf sanitization.Catherine Moore1-0/+2
1998-08-06 * sim-main.h: track COP2 register definitions, define VIO_BASERon Unrau1-4/+4
* interp.c (sim_{fetch,store}_register): read/write VU0/1 control regs * sky-gdb.c: use VIO_BASE * sky-pke.h: move GDB_COMM area
1998-08-06 * txvu-tdep.c: add VU0/1 control registersRon Unrau1-0/+5
* config/mips/tm-txvu.h: ditto
1998-08-05Set BFD private flags based on command line switches.Nick Clifton2-27/+39
1998-08-05Add ARM ELF header flagsNick Clifton2-2/+20
1998-08-05Add ARM ELF private flagsNick Clifton2-4/+229
1998-08-04oops - move armelf sanitization before check for remaining sanitizeNick Clifton1-6/+6
1998-08-04 * txvu-tdep.c (txvu_insert_breakpoint): make sure CPU context isRon Unrau1-0/+8
set to correct VU memory space. (txvu_remove_breakpoint): use this instead of txvu_breakpoint_from_pc * config/tm-txvu.h: use new track-table address Do note define BREAKPOINT_FROM_PC anymore
1998-08-04fix armelf sanitizationNick Clifton3-0/+42
1998-08-04 Rename cpu m32r to m32rb to distinguish from architecture name.Doug Evans1-57/+57
* Makefile.in (mloop.c): cpu m32r renamed to m32rb. (stamp-cpu): Ditto. * sim-main.h (WANT_CPU_M32RB): Renamed from WANT_CPU_M32R. * tconfig.in (WANT_CPU_M32RB): Ditto. * m32r.c (WANT_CPU_M32RB): Ditto. (*): m32r_ cpu fns renamed to m32rb_. * sim-if.c (sim_stop,sim_sync_stop,sim_resume): Update. * arch.h,arch.c: Regenerate. * cpu.c,cpu.h,decode.c,decode.h,extract.c,model.c: Regenerate. * sem-switch.c,sem.c: Regenerate. * sim-if.c (sim_open): Don't allocate memory on top of any user specified memory. (h_gr_get,h_gr_set): Delete. * sim-main.h (h_gr_get,h_gr_set): Delete. * traps.c (m32r_trap): Replace calls to h_gr_[gs]et with a_m32r_h_gr_[gs]et.
1998-08-04fixed armelf sanitizationNick Clifton1-0/+8
1998-08-04 * elf32-sparc.c (elf32_sparc_check_relocs): Permit WPLT30 againstIan Lance Taylor1-0/+6
a local symbol. (elf32_sparc_relocate_section): Likewise.
1998-08-03 * cgen.h (GAS_CGEN_MAX_FIXUPS): GAS_ prepended, all uses updated.Doug Evans1-0/+20
(gas_cgen_opcode_desc): Declare. (gas_cgen_parse_operand): Declare. (*): Prepend gas_ to gas specific fns to denote them as such. All uses updated. * cgen.c (gas_cgen_opcode_desc): New global (gas_cgen_init_parse): Renamed from cgen_asm_init_parse. (queue_fixup): Renamed from cgen_queue_fixup. (*): Prepend gas_ to gas specific fns to denote them as such. All uses updated. (gas_cgen_md_apply_fix3): Update call to insert_operand. (gas_cgen_finish_insn): Renamed from cgen_asm_finish_insn. * config/tc-m32r.c (md_begin): Remove use of CGEN_SYM. Open opcode table and initialize it. (make_parallel): Use gas_cgen_opcode_desc. (assemble_parallel_insn): Ditto. Remove use of CGEN_SYM. (md_assemble): Ditto.
1998-08-03 * Makefile.in (INCLUDE_DEPS): Add include/opcode/cgen.h.Doug Evans3-117/+41
* sim-if.c (sim_open): Open opcode table. (sim_close): Close it.
1998-08-03 Move all global state data into opcode table struct, and treatDoug Evans4-46/+362
opcode table as something that is "opened/closed". * cgen-asm.c (all fns): New first arg of opcode table descriptor. (cgen_asm_init): Delete. (cgen_set_parse_operand_fn): New function. * cgen-dis.c (all fns): New first arg of opcode table descriptor. (cgen_dis_init): Delete. * cgen-opc.c (all fns): New first arg of opcode table descriptor. (cgen_current_{opcode_table_mach,endian}): Delete. * cgen-asm.in (all fns): New first arg of opcode table descriptor. * cgen-dis.in (all fns): Ditto. * cgen-opc.in (all fns): Ditto. * m32r-asm.c,m32r-dis.c,m32r-opc.c,m32r-opc.h: Regenerate. * cgen-asm.in (parse_insn_normal): Ignore case in mnemonics. * cgen-dis.in (print_normal): Split into two. (print_address): New function. (extract_insn_normal): Clarify insn_value arg. (print_int_insn): Renamed from print_insn. (print_insn): New arg. (print_insn_@arch@): Open opcode table if not already done so. Move reading of insn into print_insn.
1998-08-03 Move all global state data into opcode table struct, and treatDoug Evans2-147/+201
opcode table as something that is "opened/closed". * cgen.h (CGEN_OPCODE_DESC): New type. (all fns): New first arg of opcode table descriptor. (cgen_set_parse_operand_fn): Add prototype. (cgen_current_machine,cgen_current_endian): Delete. (CGEN_OPCODE_TABLE): New members mach,endian,operand_table, parse_operand_fn,asm_hash_table,asm_hash_table_entries, dis_hash_table,dis_hash_table_entries. (opcode_open,opcode_close): Add prototypes. * cgen.h (cgen_insn): New element `cdx'.
1998-08-03 * cgen-sim.h (cgen_state): New member opcode_table.Doug Evans1-1/+8
* cgen-utils.c (sim_disassemble_insn): Use it.