aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-11-21 * coff-mcore.c (SWAP_IN_RELOC_OFFSET): Define.Alan Modra2-0/+10
(SWAP_OUT_RELOC_OFFSET): Define.
2002-11-21 * config/tc-mcore.c (mcore_pool_count): New function.Alan Modra2-98/+65
(mcore_cons, mcore_float_cons, mcore_stringer, mcore_fill): Use it.
2002-11-212002-11-20 Klee Dienes <kdienes@apple.com>Klee Dienes3-17/+15
* config/tc-mcore.c (md_begin): Use a const iterator. Don't coalesce the name fields to use the same pointer. * config/tc-sh.c (md_begin): Use a const iterator. Don't coalesce the name fields to use the same pointer. (get_specific): Check for opcodes with the same name using strcmp as well as comparing the pointer.
2002-11-21*** empty log message ***gdbadmin1-1/+1
2002-11-20daily updateAlan Modra1-1/+1
2002-11-20* elf.c (_bfd_elf_link_hash_table_init): Make sureAlexandre Oliva2-1/+10
can_refcount is properly extended to the type of init_refcount.
2002-11-20 * linux-s390-low.c (s390_regmap): Check GPR_SIZE instead ofDaniel Jacobowitz2-1/+7
defined(PT_FPR0_HI).
2002-11-20 * write.c (adjust_reloc_syms): Don't reduce SEC_MERGE fixups withAlan Modra2-1/+7
fx_subsy non-NULL.
2002-11-202002-11-19 Klee Dienes <kdienes@apple.com>Klee Dienes3-7/+39
Adam Fedor <fedor@gnu.org> * completer.c (skip_quoted_chars): Renamed from skip_chars. Add the ability to explicitly specify the quote characters and word break characters; if NULL is specified for either, use the old behavior of using the characters used by the completer. (skip_chars): New function. Convenience wrapper around skip_quoted_chars to provide the original skip_chars behavior. * completer.h (skip_quoted_chars): Add prototype.
2002-11-20* xstormy16-desc.c: Regenerate.DJ Delorie4-3/+42
* xstormy16-opc.c: Regenerate. * xstormy16-opc.h: Regenerate.
2002-11-20* gas/xstormy16/allinsn.sh: Add sdiv, divlh, and sdivlh.DJ Delorie4-155/+194
* gas/xstormy16/allinsn.d: Regenerate. * gas/xstormy16/allinsn.s: Regenerate.
2002-11-20move testsuite entries to the correct changelogAlan Modra2-125/+133
2002-11-20 * config/obj-elf.c (obj_elf_visibility): Overwrite only theRichard Henderson2-1/+7
visibility portion of st_other.
2002-11-20 * emulparams/elf64ppc.sh (SEGMENT_SIZE): Don't define.Alan Modra3-11/+20
Also move some changelog entries to where they belong.
2002-11-202002-11-19 Andrew Cagney <ac131313@redhat.com>Andrew Cagney4-2/+14
Problems reported by Paul Eggert. * gdbarch.sh: Use `sort -k 3`. Fix PR gdb/527. Index: doc/ChangeLog 2002-11-19 Andrew Cagney <ac131313@redhat.com> Fix POSIX problem reported by Paul Eggert. * Makefile.in (GDBvn.texi): Use `sed q' instead of `head -1'.
2002-11-20*** empty log message ***gdbadmin1-1/+1
2002-11-19 * m68klinux-nat.c (IS_SIGTRAMP, IS_RT_SIGTRAMP)Andreas Schwab5-98/+137
(m68k_linux_in_sigtramp, SIGCONTEXT_PC_OFFSET) (UCONTEXT_PC_OFFSET, m68k_linux_sigtramp_saved_pc) (m68k_linux_frame_saved_pc): Move to ... * m68klinux-tdep.c: ... here. New file. * Makefile.in (m68klinux-tdep.o): Add dependencies. * config/m68k/linux.mt (TDEPFILES): Add m68klinux-tdep.o.
2002-11-19daily updateAlan Modra1-1/+1
2002-11-192002-11-19 Klee Dienes <kdienes@apple.com>Klee Dienes2-55/+97
* config/tc-h8300.c (struct h8_instruction): New type, used to wrap h8_opcodes with length, noperands, idx, and size fields (computed at run-time). (h8_instructions): New variable. (md_begin): Allocate the storage for h8_instructions. Fill h8_instructions with pointers to the appropriate opcode and the correct value for the additional fields. (clever_message): Update to use h8_instructions instead of h8_opcodes. (build_bytes): Ditto. (get_specific): Ditto. (md_assemble): Ditto.
2002-11-192002-11-19 Klee Dienes <kdienes@apple.com>Klee Dienes2-22/+26
* h8300.h (h8_opcode): Remove 'noperands', 'idx', and 'size' fields. (h8_opcodes). Modify initializer and initializer macros to no longer initialize the removed fields.
2002-11-19* elfxx-mips.c (MIPS_RELOC_RELA_P): New macro.Alexandre Oliva2-1/+24
(_bfd_mips_elf_relocate_section): Use it.
2002-11-19* elfxx-mips.c (MNAME): New macro.Alexandre Oliva2-16/+17
(_bfd_mips_elf_check_relocs): Use it. (_bfd_mips_elf_discard_info): Likewise. (_bfd_mips_elf_final_link): Likewise.
2002-11-19Revert to old skip_quoted usage.Adam Fedor2-3/+5
2002-11-19* Makefile.in (SFILES): Add objc-exp.y objc-lang.c.Adam Fedor2-0/+37
(objc_lang_h): Define. (YYFILES): Add objc-exp.tab.c. (local-maintainer-clean): Remove objc-exp.tab.c. (objc-exp.tab.c, objc-exp.tab.o, objc-lang.o): New target.
2002-11-19* config/tc-s390.c (tc_s390_fix_adjustable): Re-add patch to preventMartin Schwidefsky2-0/+8
adjustments to symbols in merge sections.
2002-11-192002-11-19 Pierre Muller <muller@ics.u-strasbg.fr>Pierre Muller2-4/+42
* p-exp.y (typecast rule): Add automatic dereference of pascal classes if needed. (THIS): Set current_type. Automatically dereference pascal classes. (typebase rule): Add ^typebase recognition.
2002-11-19Fixed LDHI constraintSvein Seldal2-2/+6
2002-11-19 * config/tc-alpha.c (s_alpha_prologue): as_bad when sym is NULL.Alan Modra2-1/+10
2002-11-19 * elf64-ppc.c (ppc64_elf_edit_opd): When deleting relocs, adjustAlan Modra2-0/+10
rel_hdr.sh_size too.
2002-11-19* expprint.c (print_subexp): Handle OP_OBJC_NSSTRING,Adam Fedor3-1/+64
OP_OBJC_MSGCALL, and OP_OBJC_SELF. (op_name): Handle OP_OBJC_SELF. * Makefile.in (expprint.o): Add additional depends.
2002-11-19* expression.h: Rename ObjC ops to OP_OBJC_MSGCALL,Adam Fedor4-27/+34
OP_OBJC_SELECTOR, OP_OBJC_NSSTRING, and OP_OBJC_SELF. * parse.c (length_of_subexp, prefixify_subexp): Likewise. * objc-exp.y: Likewise.
2002-11-19gdb/parser-defs.h: (struct objc_class_str): New structureAdam Fedor2-0/+13
for parsing ObjC classes.
2002-11-192002-11-18 Andrew Cagney <ac131313@redhat.com>Andrew Cagney3-16/+17
* stack.c (frame_relative_level): Copy function from here ... * frame.c (frame_relative_level): ...to here.
2002-11-19*** empty log message ***gdbadmin1-1/+1
2002-11-18daily updateAlan Modra1-1/+1
2002-11-182002-11-18 Andrew Cagney <ac131313@redhat.com>Andrew Cagney26-133/+286
* frame.h (enum frame_type): Define. (get_frame_type): Declare. (struct frame_info): Add field `type'. Delete field signal_handler_caller. (deprecated_set_frame_signal_handler_caller): Declare. * frame.c (get_frame_type): New function. (deprecated_set_frame_type): New function. (create_new_frame): Set the frame's type. (get_prev_frame): Similar. * sparc-tdep.c: Use get_frame_type instead of signal_handler_caller. * s390-tdep.c: Ditto. * m68klinux-nat.c: Ditto. * ns32k-tdep.c: Ditto. * x86-64-linux-tdep.c: Ditto. * vax-tdep.c: Ditto. * rs6000-tdep.c: Ditto. * ppc-linux-tdep.c: Ditto. * i386-interix-tdep.c: Ditto. * mips-tdep.c: Ditto. * m68k-tdep.c: Ditto. * hppa-tdep.c: Ditto. * ia64-tdep.c: Ditto. * cris-tdep.c: Ditto. * arm-tdep.c: Ditto. * alpha-tdep.c: Ditto. * i386-tdep.c: Ditto. * stack.c: Ditto. * ada-lang.c: Ditto. * blockframe.c: Update. * i386-interix-tdep.c (i386_interix_back_one_frame): Use deprecated_set_frame_type instead of signal_handler_caller. * ppc-linux-tdep.c (ppc_linux_init_extra_frame_info): Ditto. * rs6000-tdep.c (rs6000_init_extra_frame_info): Ditto. * breakpoint.h: Delete FIXME suggesting get_frame_type. Index: tui/ChangeLog 2002-11-18 Andrew Cagney <ac131313@redhat.com> * tuiStack.c (tuiShowFrameInfo): Use get_frame_type instead of signal_handler_caller.
2002-11-182002-11-18 Klee Dienes <kdienes@apple.com>Klee Dienes2-3/+7
* Makefile.in (buildsym.o): Add dependency for gdb_assert.h.
2002-11-18Add support for 64-bit DWARF 2 formats to gas.Kevin Buettner6-6/+116
2002-11-182002-11-18 Klee Dienes <kdienes@apple.com>Klee Dienes2-0/+7
* buildsym.c (pop_context): Add comment.
2002-11-18* config/tc-mips.c (s_change_section): Make sure input bufferAlexandre Oliva2-1/+13
is not accessed past the end. Don't hand obj_elf_change_section a pointer into the input buffer.
2002-11-18* config/tc-mips.c (tc_gen_reloc): Fix typo in handling ofAlexandre Oliva2-1/+6
GOT_LO16 on NEWABI.
2002-11-182002-11-18 Klee Dienes <kdienes@apple.com>Klee Dienes4-6/+36
* buildsym.h (pop_context): Convert to function, defined in buildsym.c. * buildsym.c: Include gdb_assert.h. (pop_context): Implement as C function. Add check for stack underflow. * dbxread.c (process_one_symbol): Complain and stop processing that symbol if we are already at the top of the context stack for a function-end N_FUN (this would imply an umatched RBRAC). Ditto when processing N_RBRAC.
2002-11-182002-11-12 Klee Dienes <kdienes@apple.com>Klee Dienes2-11/+34
* avr-dis.c: Include libiberty.h (for xmalloc). (struct avr_opcodes_s): Remove 'bin_mask' field (it's automatically computed in the init routine). (AVR_INSN): No longer provide bin_mask field in initializer. (avr_opcodes_s): Declare as const. (print_insn_avr): Store the bin_mask field in a separate table (allocated with xmalloc); iterate through it at the same time as we iterate through the opcodes.
2002-11-182002-11-11 Klee Dienes <kdienes@apple.com>Klee Dienes4-31/+71
* h8300.h (h8_opcode): Remove 'length' field. (h8_opcodes): Mark as 'const' (both the declaration and definition). Modify initializer and initializer macros to no longer initialize the length field. 2002-11-11 Klee Dienes <kdienes@apple.com> * h8300-dis.c: Include libiberty.h (for xmalloc). (struct h8_instruction): New type, used to wrap h8_opcodes with a length field (computed at run-time). (h8_instructions): New variable. (bfd_h8_disassemble_init): Allocate the storage for h8_instructions. Fill h8_instructions with pointers to the appropriate opcode and the correct value for the length field. (bfd_h8_disassemble): Iterate through h8_instructions instead of h8_opcodes.
2002-11-182002-11-18 Klee Dienes <kdienes@apple.com>Klee Dienes12-12/+38
* arc.h (arc_ext_opcodes): Declare as extern. (arc_ext_operands): Declare as extern. * i860.h (i860_opcodes): Declare as const. 2002-11-18 Klee Dienes <kdienes@apple.com> * arc-opc.c (arc_ext_opcodes): Define. (arc_ext_operands): Define. * i386-dis.c (Suffix3DNow): Declare as const. * arm-opc.h (arm_opcodes): Declare as const. (thumb_opcodes): Declare as const. * h8500-opc.h (h8500_table): Declare as const. (h8500_table): Use a NULL for the opcode in the terminator, so that code testing (opcode->name) behaves correctly. * mcore-opc.h (mcore_table): Declare as const. * sh-opc.h (sh_table): Declare as const. * w65-opc.h (optable): Declare as const. * z8k-opc.h (z8k_table): Declare as const.
2002-11-182002-11-16 Klee Dienes <kdienes@apple.com>Klee Dienes17-1127/+1344
* Makefile.am (BFD32_LIBS): Add bfdwin.lo, bfdio.lo. (BFD32_LIBS_CFILES): Add bfdwin.c, bfdio.c. (BFD_H_FILES): Add bfdwin.c, bfdio.c. (LIBBFD_H_FILES): Add bfdwin.c, bfdio.c. Add dependencies for bfdwin.c, bfdio.c. * bfd.c: Remove bfd_get_mtime, bfd_get_size. * libbfd.c: Remove real_read, bfd_bread, _bfd_window_internal, bfd_init_window, bfd_free_window, bfd_get_file_window, bfd_bwrite, bfd_tell, bfd_flush, bfd_stat, bfd_seek. * bfdio.c: New file. Contains real_read, bfd_bread, bfd_write, bfd_tell, bfd_flush, bfd_stat, bfd_seek, bfd_ge_mtime, bfd_get_size (moved from libbfd.c and bfd.c). * bfdwin.c New file. Contains _bfd_window_internal, bfd_init_window, bfd_free_window, bfd_get_file_window (moved from libbfd.c and bfd.c). * po/SRC-POTFILES.in: Regenerate. * po/bfd.pot: Regenerate. * libbfd.h: Regenerate. * bfd-in2.h: Regenerate. * aclocal.m4: Regenerate. * Makefile.in: Regenerate. * configure: Regenerate. 2002-11-16 Klee Dienes <kdienes@apple.com> * Makefile.am (DOCFILES): Add bfdwin.texi, bfdio.texi. (PROTOS): Add bfdio.p, bfdwin.p. (SRCDOC): Add bfdio.c, bfdwin.c. (SRCPROT): Add bfdio.c, bfdwin.c. (SRCIPROT): Add bfdio.c, bfdwin.c. (LIBBFD_H_DEP): Add bfdio.c, bfdwin.c. (BFD_H_DEP): Add bfdio.c, bfdwin.c. Add rules for bfdio.texi, bfdwin.text. * bfd.texinfo: Include bfdio.texi.
2002-11-18Fixups in ChangeLog entries which has been filed in the wrong place.Svein Seldal4-49/+44
2002-11-18 * gas/config/tc-tic4x.c: Fixed proper commandlineSvein Seldal16-1211/+2714
parameters. Added support for new opcode-list format. General error message fixups. (c4x_inst_add): Reject insn not for our CPU (md_begin): Added matrix for setting the proper opcode-level & device-flags according to cpu type and revision. Rewrite the opcode hasher. (c4x_operand_parse): Fix opcode bug (c4x_operands_match): New function argument. Added dry-run mechanism, that is optional error generation. Added constraint 'i' and 'j'. (c4x_insn_check): Added new function for post-verification of the generated insn. (md_assemble): Check all opcodes before croaking because of an argument mismatch. Need this to be able to fully support ortogonally arguments. (md_parse_options): Revised commandprompt swicthes and added new ones. (md_show_usage): Complete rewrite of printout. * gas/testsuite/gas/tic4x/addressing.s: Fix bug in one insn * gas/testsuite/gas/tic4x/addressing_c3x.d: Update thereafter * gas/testsuite/gas/tic4x/addressing_c4x.d: Update thereafter * gas/testsuite/gas/tic4x/allopcodes.S: Add support for new opclass.h changes * gas/testsuite/gas/tic4x/opclasses.h: Added testsuites for the new enhanced opcodes. * gas/testsuite/gas/tic4x/opcodes.s: Regenerate * gas/testsuite/gas/tic4x/opcodes_c3x.d: Update from above * gas/testsuite/gas/tic4x/opcodes_c4x.d: Update from above * gas/testsuite/gas/tic4x/opcodes_new.d: Added new testsuite for the enhanced and special insns. * gas/testsuite/gas/tic4x/tic4x.exp: Added the opcodes_new testsuite * include/opcode/tic4x.h: File reordering. Added enhanced opcodes. * opcodes/tic4x-dis.c: Added support for enhanced and special insn. (c4x_print_op): Added insn class 'i' and 'j' (c4x_hash_opcode_special): Add to support special insn (c4x_hash_opcode): Update to support the new opcode-list format. Add support for the new special insns. (c4x_disassemble): New opcode-list support.
2002-11-18TIC4X testcase commitSvein Seldal27-8/+6354
* binutils/testsuite/binutils-all/objcopy.exp: Disable tic4x from test * binutils/testsuite/binutils-all/objdump.exp: Setup proper values for tic4x testcase * gas/testsuite/gas/all/gas.exp: Setup for tic4x testcase * gas/testsuite/gas/macros/macros.exp: Ditto * gas/testsuite/gas/all/gas.exp: Setup for tic4x testcase * gas/testsuite/gas/macros/macros.exp: Ditto * gas/testsuite/gas/tic4x: New tic4x gas testsuite directory * ld/testsuite/ld-scripts/script.exp: Setup for tic4x testcase
2002-11-18 * linux-arm-low.c (arm_num_regs): Increase.Daniel Jacobowitz3-3/+12
(arm_regmap): Include status register. * linux-low.c (register_addr): Remove incorrect -1 check.