aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-09-07 * elf32-mips.c (mips_elf_calculate_relocation): Fix overflow handlingThiemo Seufer15-14/+165
of R_MIPS_PC16. * config/tc-mips.c (append_insn): Handle BFD_RELOC_16_PCREL. (macro_build): Use BFD_RELOC_16_PCREL_S2 only for embedded PIC, BFD_RELOC_16_PCREL for the rest. (mips_ip): Likewise. (md_pcrel_from): return the right offset for the differently shifted pcrel relocs. (md_apply_fix): Handle BFD_RELOC_16_PCREL. * gas/mips/beq.d: Check branches to external labels. * gas/mips/beq.s: Likewise. * gas/mips/bge.d: Likewise. * gas/mips/bge.s: Likewise. * gas/mips/bgeu.d: Likewise. * gas/mips/bgeu.s: Likewise. * gas/mips/blt.d: Likewise. * gas/mips/blt.s: Likewise. * gas/mips/bltu.d: Likewise. * gas/mips/bltu.s: Likewise. * gas/mips/elempic.d: Switch from R_MIPS_GNU_REL16_S2 to R_MIPS_PC16. * gas/mips/empic.d: Likewise. * gas/mips/empic.s: Likewise. * gas/mips/telempic.d: Likewise. * gas/mips/tempic.d: Likewise.
2001-09-07*** empty log message ***gdbadmin1-1/+1
2001-09-06 * elf64-mips.c (mips_elf64_howto_table_rel): Fix relocation HOWTOThiemo Seufer2-6953/+6908
definitions. (mips_elf64_howto_table_rel): Likewise.
2001-09-06 From Ian Roxborough <irox@redhat.com>Keith Seitz3-424/+407
* configure.in: Use ITCL_LIB_FULL_PATH and ITK_LIB_FULL_PATH to set Itcl and Itk dependancies for gdb. * configure: Regenerated.
2001-09-06Don't use error result from find_stab_function_addr().Kevin Buettner3-6/+47
2001-09-06 * gas/mips/tmips16-f.d: New file, testcase for big endian MIPS16Thiemo Seufer2-0/+39
relocations, tradtional variant.
2001-09-06Fix import symbols for AIX.Tom Rix9-76/+114
2001-09-062001-09-04 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-1/+18
* gdbint.texinfo (Target Architecture Definition): Add explanation of TARGET_PRINT_INSN macro.
2001-09-06*** empty log message ***gdbadmin1-1/+1
2001-09-052001-09-05 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni13-19/+94
* gdbarch.sh: Move include of dis-asm.h so it is generated earlier in gdbarch.h. (TARGET_PRINT_INSN): Multiarch. * gdbarch.h: Regenerate. * gdbarch.c: Regenerate. * arch-utils.c (legacy_print_insn): New function. * arch-utils.h (legacy_print_insn): Export. * cris-tdep.c (cris_delayed_get_disassembler): Use TARGET_PRINT_INSN, instead of tm_print_insn. * d10v-tdep.c (print_insn): Ditto. * d30v-tdep.c (print_insn): Ditto. * m32r-tdep.c (dump_insn): Ditto. * v850-tdep.c (v850_scan_prologue): Ditto. * mcore-tdep.c (mcore_dump_insn): Ditto. * sh-tdep.c (sh_gdbarch_init): Set print_insn gdbarch field.
2001-09-05Fix typo.Michael Snyder1-1/+6
2001-09-05* gdbtypes.h (struct type): Doc fix.Jim Blandy2-15/+27
2001-09-052001-08-31 Jason Molenda (jmolenda@apple.com)Michael Snyder1-1/+0
* c-valprint.c (c_val_print): Second call to check_typedef () is no longer necessary.
2001-09-05 * config/tc-ia64.c (FUNC_IPLT_RELOC): New.Richard Henderson2-1/+34
(pseudo_func): Add @iplt. (pseudo_opcode): Add data16 and data16.ua. (md_begin): Set iplt pseudo. (ia64_cons_fix_new): Handle 16 byte iplt reloc specially.
2001-09-05Set correct value for default (PE) stack size.Nick Clifton2-1/+6
2001-09-05 * elf64-alpha.c (SKIP_HOWTO): New.Richard Henderson5-237/+74
(elf64_alpha_howto_table): Use it to remove dead ECOFF relocs. Fix sizes of 16-bit mem format relocs. (elf64_alpha_reloc_map): Update to match. (elf64_alpha_relax_with_lituse): Use GPREL16 as appropriate. (elf64_alpha_relax_without_lituse): Likewise. (elf64_alpha_check_relocs): Handle GPREL16. (elf64_alpha_relocate_section): Likewise. * reloc.c (BFD_RELOC_ALPHA_USER_*): Remove. (BFD_RELOC_ALPHA_GPREL_HI16, BFD_RELOC_ALPHA_GPREL_LO16): New. * bfd-in2.h, libbfd.h: Rebuild.
2001-09-05 * alpha.h (R_ALPHA_OP*, R_ALPHA_IMMED*, R_ALPHA_GPVALUE): Remove.Richard Henderson2-17/+14
(R_ALPHA_GPREL16): Rename from R_ALPHA_IMMED_GP_16.
2001-09-052001-09-04 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni4-6/+21
From Daniel Jacobowitz <drow@mvista.com> * dbxread.c (free_header_files): Make global. (init_header_files): Likewise. * stabsread.h (free_header_files): Add prototype. (init_header_files): Likewise. * mdebugread.c (mdebug_build_psymtabs): Initialize properly before using the stabs debug reader.
2001-09-05 * alpha.h (struct alpha_operand): Pack elements into bitfields.Richard Henderson2-4/+8
2001-09-05 * config/tc-alpha.c (struct alpha_insn): Make sequence scalar long.Richard Henderson16-851/+731
(MACRO_LITERAL, MACRO_BASE, MACRO_BYTOFF, MACRO_JSR): Remove. (alpha_macros): Remove occurrences of same. (O_lituse_addr, O_gprel): New. (DUMMY_RELOC_LITUSE_*): New. (s_alpha_ucons, s_alpha_arch): Prototype. (alpha_reloc_op): Construct elements via DEF macro. (ALPHA_RELOC_SEQUENCE_OK): Remove. (struct alpha_reloc_tag): Rename from alpha_literal_tag; rename members to not be literal specific. (next_sequence_num): New. (md_apply_fix3): Cope with missing GPDISP_LO16. Adjust for added/removed BFD relocations. (alpha_force_relocation, alpha_fix_adjustable): Likewise. (alpha_adjust_symtab_relocs): Handle GPDISP relocs as well. (tokenize_arguments): Parse ! relocations properly. (find_macro_match): Delete unused macro argument types. (assemble_insn): Add reloc parameter; emit that instead of the default as appropriate. (get_alpha_reloc_tag): New. Split from ... (emit_insn): ... here. Allocate a reloc tag for GPDISP. (assemble_tokens): Don't search macros if user relocation present. Copy reloc sequence number to insn struct. (emit_ldgp): Remove user reloc handling. (load_expression, emit_lda, emit_ldah, emit_ir_load): Likewise. (emit_loadstore, emit_ldXu, emit_ldil, emit_stX): Likewise. (emit_sextX, emit_division, emit_jsrjmp, emit_retjcr): Likewise. * config/tc-alpha.h (tc_adjust_symtab): Always define. (struct alpha_fix_tag): Name members less literal specific. * gas/alpha/alpha.exp: New file. * gas/alpha/elf-reloc-1.[sd]: New test. * gas/alpha/elf-reloc-2.[sl]: New test. * gas/alpha/elf-reloc-3.[sl]: New test. * gas/alpha/elf-reloc-4.[sd]: New test. * gas/alpha/fp.exp: Remove file. * gas/alpha/fp.s: Output to .data not .rdata. * gas/alpha/fp.d: Adjust to match.
2001-09-05 * readelf.c: Include elf/h8 for H8 series definitions.Jeff Law4-1/+22
(guess_is_rela): H8 series if RELA. (dump_relocations): Handle H8 series relocations. * testsuite/binutils/all/readelf.exp: Expect readelf -wi to fail for the H8 series.
2001-09-052001-09-04 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni6-10/+24
From Daniel Jacobowitz <drow@mvista.com> * dbxread.c (dbx_symfile_read): Only reinitialize the psymbol list if mainline or if both static and global lists are empty. * dwarf2read.c (dwarf2_build_psymtabs): Likewise. * dwarfread.c (dwarf_build_psymtabs): Likewise. * xcoffread.c (xcoff_initial_scan): Likewise. * os9kread.c (os9k_symfile_read): Likewise.
2001-09-05Tue Sep 4 20:06:09 2001 Jeffrey A Law (law@cygnus.com)Jeff Law6-113/+129
* gas/all/gas.exp (930509a): Expect failure on the H8/300 ELF port. * gas/h8300/ffxx1-elf.d: Update due to recent changes to H8/300 ELF toolchain. * gas/h8300/h8300-elf.exp: Likewise. * gas/macros/macros.exp: Expect failure on all H8/300 ports. * gas/vtable/vtable.exp: Do not run tests on H8/300 ELF ports.
2001-09-052001-09-04 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-5/+38
From Daniel Jacobowitz <drow@mvista.com> * mdebugread.c (psymtab_to_symtab_1): Handle N_SO stabs without a name specially.
2001-09-05 * tc-h8300.c (tc_gen_reloc): Give an error if we try to take theJeff Law2-2/+17
address of two symbols in different sections.
2001-09-05*** empty log message ***gdbadmin1-1/+1
2001-09-04merge from gccDJ Delorie3-37/+25
2001-09-04 * elf32-h8300.c (elf32_h8_relax_section): New function.Jeff Law2-0/+867
(elf32_h8_relax_delete_bytes): Likewise. (elf32_h8_symbol_address_p): Likewise. (elf32_h8_get_relocated_section_contents): Likewise. (bfd_elf32_bfd_relax_section): Define. (bfd_elf32_bfd_get_relocated_section_contents): Likewise.
2001-09-04 * elf32-h8300.c (special): New function.Jeff Law2-12/+65
(h8_elf_howto_table): Use it for SPECIAL_FUNCTION field in all relocations. (elf32_h8_final_link_relocate): Treat R_H8_DIR24A8 like 32bit relocations. Fix problems with the true 24bit reloc R_H8_DIR24R8. Fix minor problems with 8bit and 16bit PC relative relocations.
2001-09-04 * i386-dis.c (grps): Don't print the implicit al/ax/eax registerAlan Modra2-8/+13
for opcode 0xf6 or 0xf7 forms of mul, imul, div, idiv insns.
2001-09-04*** empty log message ***gdbadmin1-1/+1
2001-09-032001-08-30 Jeff Holcomb <jeffh@redhat.com>Jeff Holcomb2-4/+9
* gdb.base/remote.c: Use a small buffer for targets with 16-bit ints.
2001-09-032001-09-03 Jeff Holcomb <jeffh@redhat.com>Jeff Holcomb2-1/+7
* configure.in: Enable libstdc++-v3 for h8300 targets.
2001-09-03 * emultempl/beos.em: Declare prototypes for comparions functions,Andreas Jaeger2-29/+32
adjust definitions.
2001-09-03 * emultempl/aix.em: Add missing prototype.Andreas Jaeger10-7/+58
* emultempl/lnk960.em: Likewise. * emultempl/vanilla.em: Likewise. * emultempl/armcoff.em: Likewise. * emultempl/armelf_oabi.em: Likewise. * emultempl/beos.em: Likewise. * emultempl/gld960c.em: Likewise. * emultempl/gld960.em: Likewise. * emulparams/elf64alpha.sh (PARSE_AND_LIST_PROLOGUE): Add parameter for prototype declaration.
2001-09-03*** empty log message ***gdbadmin1-1/+1
2001-09-02*** empty log message ***gdbadmin1-1/+1
2001-09-01Make GDB use libiberty regex implementation.Mark Kettenis7-6402/+45
* gdb_regex.h: Normalize protection against multiple inclusion. Include "xregex.h" instead of "gnu-regex.h". * cli/cli-cmds.c: Include "gdb_regex.h" instead of "gnu-regex.h". * cli/cli-decode.c: Likewise. * Makefile.in (REGEX): Remove. (GDB_CFLAGS): Remove reference to gnu-regex.h in comment. (ADD_FILES, ADD_DEPS): Remove $(REGEX). (POSSLIBS): Remove. (TAGFILES_NO_SRCDIR): Remove $(POSSLIBS). (irix5-nat.o, solib.o, solib-svr4.o, source.o, symtab.o, xcoffsolib.o, cli-decode.o, cli-cmd.o): Replace gnu-regex.h with gdb_regex.h in list of dependencies. (gnu-regex.o): Remove rule. * gnu-regex.c, gnu-regex.h: Remove files.
2001-09-01 * vms-tir.c: Add missing prototypes.Andreas Jaeger5-5/+34
* vms-hdr.c: Likewise. * vms-gsd.c: Likewise. * vms-misc.c: Likewise.
2001-09-01*** empty log message ***gdbadmin1-1/+1
2001-08-31 * config/tc-h8300.c (build_bytes): For OBJ_ELF, make relocation'sJeff Law2-2/+39
offset match H8 ELF spec. (md_section_align): Alternate implementation for BFD_ASSEMBLER. (md_apply_fix): Fix argument and return types for BFD_ASSEMBLER.
2001-08-312001-08-31 H.J. Lu <hjl@gnu.org>H.J. Lu2-2/+14
* elf32-mips.c (_bfd_mips_elf_check_relocs): Report filename with bad relocation.
2001-08-312001-08-31 Eric Christopher <echristo@redhat.com>Eric Christopher2-1/+8
Jason Eckhardt <jle@redhat.com> * ldmain.c (get_emulation): Add support for -mips32 and -mips64.
2001-08-312001-08-31 Eric Christopher <echristo@redhat.com>Eric Christopher6-34/+32
Jason Eckhardt <jle@redhat.com> * bfd/archures.c: Add mipsisa32 and mipsisa64. Remove mips32, mips32_4k and mips64. * bfd/aoutx.h: Remove bfd_mach_mips32, bfd_mach_mips32_4k, bfd_mach_mips64. Add bfd_mach_mipsisa32, bfd_mach_mipsisa64. * bfd/cpu-mips.c: Ditto. * bfd/elf32-mips.c (_bfd_mips_elf_final_write_processing): Ditto. * bfd/bfd-in2.h: Regenerate.
2001-08-31mips3264 supportEric Christopher4-5/+10
2001-08-312001-08-31 Eric Christopher <echristo@redhat.com>Eric Christopher4-18/+25
Jason Eckhardt <jle@redhat.com> * mips-dis.c: Add support for bfd_mach_mipsisa32 and bfd_mach_mipsisa64. Remove bfd_mach_mips32, bfd_mach_mips32_4k, bfd_mach_mips64.
2001-08-312001-08-31 Eric Christopher <echristo@redhat.com>Eric Christopher2-19/+18
Jason Eckhardt <jle@redhat.com> * config/tc-mips.c (mips_cpu_info): Add support for mipsisa32, 5kc, and 20kc. Clean up old entries.
2001-08-31 * tic54x-opc.c: Add default initializers to avoid warnings.Andreas Jaeger4-361/+370
* arc-opc.c: Include "sysdep.h" to get stdio.h as include file. * arc-ext.c: Likewise.
2001-08-31Don't let a branch unit nop terminate the prologue scan.Kevin Buettner2-3/+9
2001-08-31 * elf64-alpha.c (elf64_alpha_relocate_section): Duplicate memoryJakub Jelinek2-3/+9
value into R_ALPHA_RELATIVE's addend. (elf64_alpha_finish_dynamic_symbol): Likewise.