aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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.
2001-08-31 * tc-h8300.c (relocation mappings): Remove. Moved to tc-h8300.h.Jeff Law3-18/+55
(build_bytes): Mark fixups for PCrel branches as signed. For OBJ_ELF, make sure the reloc's offset points to the first byte to be modified. (md_convert_frag): Update definiton based on BFD_ASSEMBLER. * tc-h8300.h (relocation mappings): Add.
2001-08-31amend entry to mention only if not USE_RELNick Clifton1-1/+1
2001-08-31Do not rightshift recomputed addend during relocatable link if not USE_REL.Nick Clifton2-3/+5
2001-08-31Fix off-by-one error whilst sweeping vtable relocsNick Clifton2-3/+10
2001-08-31 * emultempl/pe.em: Add missing prototypes.Andreas Jaeger2-65/+94
(gld_${EMULATION_NAME}_after_open): Remove extra args to pe_find_data_imports. (pr_sym): Add unused attribute.
2001-08-312001-08-30 Eric Christopher <echristo@redhat.com>Eric Christopher2-3/+8
Jason Eckhardt <jle@redhat.com> * config.sub: Add support for mipsisa32.
2001-08-312001-08-30 Eric Christopher <echristo@redhat.com>Eric Christopher3-5/+15
* config.sub, config.guess: Import latest from subversions.
2001-08-31* gdb.texinfo (`add-symbol-file'): Correct synopsis.Jim Blandy2-1/+119
Explain what it means to load relocatable files.
2001-08-31* symfile.c (sections_overlap): New function.Jim Blandy2-5/+24
(map_overlay_command): Call sections_overlap, instead of using incorrect logic to recognize overlapping sections.
2001-08-31* symfile.c (load_command): Invalidate the overlay cache.Jim Blandy2-0/+8
2001-08-31*** empty log message ***gdbadmin1-1/+1
2001-08-30*** empty log message ***Jim Blandy1-0/+5
2001-08-30* config/i386/xm-i386.h (HOST_BYTE_ORDER): Removed.Mark Kettenis2-4/+4
2001-08-302001-08-30 H.J. Lu <hjl@gnu.org>H.J. Lu2-5/+12
* elf32-mips.c (mips_elf_calculate_relocation): Revert the last 2 changes. (_bfd_mips_elf_adjust_dynamic_symbol): Allocate dynamic relocations for weak definitions.
2001-08-30 * gas/h8300/h8300.exp (do_h8300_cbranch): Remove invocation.Joern Rennecke14-7/+658
(do_h8300_branch, do_h8300h_cbranch, do_h8300h_branch): Likewise. (do_h8300s_cbranch, do_h8300s_branch, ffxx1): Likwise. * gas/h8300/h8300-coff.exp, gas/h8300/h8300-elf.exp: New files. * gas/h8300/branch-elf.s, gas/h8300/branchh-elf.s: Likewise. * gas/h8300/branchs-elf.s, gas/h8300/ffxx1-elf.d: Likewise. * gas/h8300/ffxx1-elf.s: Likewise. * gas/h8300/branch.s, gas/h8300/branchh.s: Move to: * gas/h8300/branch-coff.s, gas/h8300/branchh-coff.s * gas/h8300/branchs.s, gas/h8300/ffxx1.d: Move to: * gas/h8300/branchs-coff.s, gas/h8300/ffxx1-coff.d . * gas/h8300/ffxx1.s: Move to: * gas/h8300/ffxx1-coff.s .