aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1997-01-31Fri Jan 31 13:15:05 1997 Alan Modra <alan@spri.levels.unisa.edu.au>Ian Lance Taylor2-33/+60
* config/tc-i386.c (i386_align_code): Add comments explaining the nop instructions.
1997-01-31 * mips-tdep.c (MIPS16_INSTLEN): Define.Mark Alexander2-42/+161
(mips_find_saved_regs): Replace hardcoded 2's with MIPS16_INSTLEN. (heuristic_proc_start): Recognize 'entry' pseudo-op as a start of function on MIPS16. (mips32_skip_prologue, mips16_skip_prologue): New helper functions for mips_skip_prologue. (mips_skip_prologue): Recognize both 16- and 32-bit prologues.
1997-01-31 * configure: Rebuild after change to aclocal.m4.Ian Lance Taylor2-187/+192
1997-01-31 * write.c (relax_segment): Give an error if a .space symbol isIan Lance Taylor3-3/+16
common or undefined. * read.c (read_a_source_file): Don't handle mri_pending_align if the handler is s_globl or s_ignore.
1997-01-31Fri Jan 31 10:33:07 1997 Andreas Schwab ↵Ian Lance Taylor2-0/+5
<schwab@issan.informatik.uni-dortmund.de> * objdump.c (disassemble_data): Initialize `aux.require_sec'.
1997-01-31 * aclocal.m4 (SIM_AC_COMMON): Move COMMON_MAKEFILE_FRAG from here.David Edelsohn2-14/+34
(SIM_AC_OUTPUT): To here.
1997-01-31 Miscellaneous fixes for config/slite.exp.Bob Manson2-17/+22
1997-01-31 Oops. goes with previous checkin.Bob Manson1-0/+7
1997-01-31 * lib/gdb.exp: Fix runto.Bob Manson3-5/+6
* gdb.base/signals.exp: Check for a gdb,nosignals feature of the target. * gdb.base/watchpoint.exp: Fix regexp. Random miscellaneous fixes. Gotta dig up all these global variables someday..
1997-01-31 * lib/gdb.exp(default_gdb_exit): Add a catch to theBob Manson2-3/+9
close and wait commands, as the descriptor may now be invalid. Always call "remote_close host". Makes sure things get cleaned up if gdb dies in the middle of a test.
1997-01-30 * config/tc-mips.c (mips_fix_adjustable): New function.Ian Lance Taylor3-12/+35
* config/tc-mips.h (tc_fix_adjustable): Call mips_fix_adjustable. (mips_fix_adjustable): Declare.
1997-01-30One minor fix I forgot in last checkin.Fred Fish1-1/+1
1997-01-30 * tic80-opc.c (tic80_predefined_symbols): Table of name/valueFred Fish3-90/+269
pairs for all predefined symbols recognized by the assembler. Also used by the disassembling routines. (tic80_symbol_to_value): New function. (tic80_value_to_symbol): New function. * tic80-dis.c (print_operand_control_register, print_operand_condition_code, print_operand_bitnum): Remove private tables and use tic80_value_to_symbol function.
1997-01-30 * tic80.h: Change all the OPERAND defines to use the form (1 << X)Fred Fish2-31/+113
rather than a constant that is 2**X. Reorder them to put bits for operands that have symbolic names in the upper bits, so they can be packed into an int where the lower bits contain the value that corresponds to that symbolic name. (predefined_symbo): Add struct. (tic80_predefined_symbols): Declare array of translations. (tic80_num_predefined_symbols): Declare size of that array. (tic80_value_to_symbol): Declare function. (tic80_symbol_to_value): Declare function.
1997-01-30 * config/tc-d10v.c (find_opcode): Remove unused variable "numops".Fred Fish4-3/+632
* config/tc-tic80.c: Many additions to previous placeholder file. * config/tc-tic80.h: Ditto.
1997-01-30Thu Jan 30 11:30:45 1997 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-0/+7
* d10v-dis.c (print_operand): Change address printing to correctly handle PC wrapping. Fixes PR11490.
1997-01-30Thu Jan 30 12:28:18 1997 Alan Modra <alan@spri.levels.unisa.edu.au>Ian Lance Taylor2-121/+36
* config/tc-i386.c (i386_align_code): Improve the nop patterns.
1997-01-30 Ideas from Srinivas Addagarla <srinivas@cdotd.ernet.in>:Ian Lance Taylor2-1/+32
* read.c (read_a_source_file): After doing an mri_pending_align, adjust the line_label if there is one. (s_space): Set mri_pending_align if an odd number of bytes were output.
1997-01-30 * gas/mips/mips16.d: Update for disassembler changes.Ian Lance Taylor1-0/+4
1997-01-30 * emultempl/sunos.em: Include <ctype.h>.Ian Lance Taylor2-32/+84
(gld${EMULATION_NAME}_find_so): Skip the directory name when searching for ".so.". (gld${EMULATION_NAME}_search_dir): Make sure that the library name has a version number, and that only version numbers follow .so.
1997-01-30Wed Jan 29 18:15:00 1997 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer1-0/+6
* scripttempl/pe.sc: * scripttempl/ppcpe.sc: add *(.gcc_except_table) to the text section so Win32 executables are valid.
1997-01-30Fix from Cagney so that new common files do not show up when using psim on ↵Michael Meissner4-2/+17
old gdbs
1997-01-29Wed Jan 29 15:31:12 1997 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-0/+10
* tc-d10v.h (md_do_align): Add this hook to call d10v_cleanup() when a ".align" is detected. Fixes PR11487. * tc-d10v.c (find_opcode): Correctly calculate branch displacement when .aligns are present.
1997-01-29Wed Jan 29 15:31:12 1997 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt2-6/+4
* config/tc-d10v.h (md_do_align): Add this hook to call d10v_cleanup() when a ".align" is detected. Fixes PR11487. * config/tc-d10v.c (find_opcode): Correctly calculate branch displacement when .aligns are present.
1997-01-29tweak last changeIan Lance Taylor1-1/+9
1997-01-29fix copyrights, add NEWS entryIan Lance Taylor3-5/+5
1997-01-29 * objdump.c (objdump_print_value): Add skip_zeroes parameter.Ian Lance Taylor4-40/+123
Change all callers. (objdump_print_addr_with_sym): Likewise. Call objdump_print_value to print address. (objdump_print_addr): New static function. (objdump_print_address): Just call objdump_print_addr. (disassemble_bytes): Print real address, not function offset. Skip a certain number of leading zeroes. * objdump.c (disassemble_zeroes): New static variable. (usage): Mention --disassemble-zeroes. (long_options): Add "disassemble-zeroes". (disassemble_bytes): Check disassemble_zeroes. Changes requested by LSI.
1997-01-29Remove ../sim/ppc/libsim.aMichael Meissner2-1/+6
1997-01-29build callback and targ-map from the common directoryMichael Meissner4-4/+67
1997-01-29 * config/tc-mn10200.c (md_relax_table): Define.Jeff Law3-97/+543
(md_convert_frag): Implement. (md_assemble): Handle relaxable operands/instructions correctly. (md_estimate_size_before_relax): Implement. * config/tc-mn10200.h (TC_GENERIC_RELAX_TABLE): Define. Some simple branch relaxing.
1997-01-29 * mn10200-opc.c (mn10200_operands): Make 8 and 16 bit pc-relativeJeff Law2-2/+7
branchs relaxable.
1997-01-29 * mn10200.h (MN10200_OPERAND_RELAX): Define.Jeff Law1-0/+4
Checking in some of the assembler branch relaxing code.
1997-01-29Major revision to testsuites for cross-testing and DOS testing support.Bob Manson96-12017/+5251
1997-01-29 * elf32-mn10200.c (reloc_type): Add 16bit pc-relative reloc.Jeff Law2-0/+22
(elf_mn10200_howto_table): Likewise. (mn10200_reloc_map): Likewise. How did I miss the 16bit pc-relative relocs?!?
1997-01-28 * blockframe.c: fix a null pointer ref in generic_get_saved_registerMichael Snyder2-1/+5
1997-01-28Tue Jan 28 15:39:50 1997 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer2-7/+11
* mn10200-tdep.c (mn10200_frame_chain): get basic backtracing working
1997-01-28 * mips-dis.c (print_insn_mips16): Set insn_info information.Ian Lance Taylor2-0/+49
(print_mips16_insn_arg): Likewise.
1997-01-28 * objdump.c (disassemble_bytes): Don't skip zeroes if theIan Lance Taylor2-202/+479
disassembler has told us that we are in a branch delay slot.
1997-01-28 * config/tc-mips.c (append_insn): Give an error for jumps to aIan Lance Taylor2-2/+10
misaligned address.
1997-01-28 * config/tc-mips.c (md_apply_fix): Make a branch to an odd addressIan Lance Taylor2-2/+5
an error rather than a warning.
1997-01-28 * mips-dis.c (print_insn_mips16): Better handling of an extendIan Lance Taylor2-7/+66
opcode followed by an instruction which can not be extended.
1997-01-28 * config/tc-mips.c (md_convert_frag): If the user explicitlyIan Lance Taylor2-2/+6
requested an extended opcode, pass warn as true to mips16_immed.
1997-01-28 * config/tc-mips.c (mips16_ip): Handle a missing expression likeIan Lance Taylor2-1/+12
an explicit 0, so that explicitly extended instructions work correctly.
1997-01-28First set of changes for mips16:Mark Alexander3-48/+224
* config/mips/tm-mips.h (MIPS16_BIG_BREAKPOINT, MIPS16_LITTLE_BREAKPOINT, BREAKPOINT_FROM_PC): Define. (ABOUT_TO_RETURN): Call new function mips_about_to_return. (mips_breakpoint_from_pc, mips_about_to_return): Declare. * mem-break.c (memory_breakpoint_from_pc): New function. (memory_insert_breakpoint, memory_remove_breakpoint): Use memory_breakpoint_from_pc to determine breakpoint contents and size. * target.h (memory_breakpoint_from_pc): Declare. * monitor.c (monitor_insert_breakpoint): Use memory_breakpoint_from_pc to determine size of breakpoint instruction. * mips-tdep.c (mips32_decode_reg_save, mips16_decode_reg_save): New helper functions for mips_find_saved_regs. (mips_find_saved_regs): Recognize mips16 prologues. (mips_addr_bits_remove): Strip off upper 32 bits of address when target CPU is 32 bits but CORE_ADDR is 64 bits. (mips_step_skips_delay): No branch delay slot on mips16. (gdb_print_insn_mips): Disassemble mips16 code. (mips_breakpoint_from_pc, mips_about_to_return): New functions.
1997-01-27 * ecoff.c (ecoff_build_symbols): Don't generate a local ECOFFIan Lance Taylor2-2/+17
symbol for a common symbol.
1997-01-27January 23rd mergeMichael Meissner18-2761/+6983
1997-01-27 * reloc.c: Add relocs BFD_RELOC_M32R_{HI16_[US]LO,LO16}.David Edelsohn5-9/+446
* bfd-in2.h, libbfd.h: Regenerated. * elf32-m32r.c: Add support for them.
1997-01-27 * internal.h (R_IPRMED, R_OPTCALL, R_OPTCALLX): Move definitionsIan Lance Taylor2-9/+18
from here... * i960.h (R_IPRMED, R_OPTCALL, R_OPTCALLX): ...to here.
1997-01-27 * aout-arm.c (MY_swap_std_reloc_in): Remove unused r_length.Ian Lance Taylor1-0/+8
* elf32-ppc.c (ppc_elf_check_relocs): Remove unused plt. start-sanitize-v850 * elf32-v850.c (v850_elf_final_link_relocate): Remove used r_format and r_pcrel. Always return a value. end-sanitize-v850 * riscix.c (MY_final_link_callback): Define to dummy value.
1997-01-27 * elf32-i386.c (elf_i386_size_dynamic_sections): When checking forIan Lance Taylor3-5/+23
relocations against the text segment, look up the output name of the reloc section. * elf32-m68k.c (elf_m68k_size_dynamic_sections): Likewise. * elf32-mips.c (mips_elf_size_dynamic_sections): Likewise. * elf32-ppc.c (ppc_elf_size_dynamic_sections): Likewise. * elf32-sparc.c (elf32_sparc_size_dynamic_sections): Likewise. * elf64-alpha.c (elf64_alpha_size_dynamic_sections): Likewise.