aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-06-202005-06-20 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu29-28/+195
PR 1025 * elf-m10300.c (mn10300_elf_check_relocs): Handle indirect symbol. * elf32-arm.c (elf32_arm_check_relocs): Likewise. * elf32-avr.c (elf32_avr_check_relocs): Likewise. * elf32-cris.c (cris_elf_check_relocs): Likewise. * elf32-d10v.c (elf32_d10v_check_relocs): Likewise. * elf32-dlx.c (elf32_dlx_check_relocs): Likewise. * elf32-fr30.c (fr30_elf_check_relocs): Likewise. * elf32-frv.c (elf32_frv_check_relocs): Likewise. * elf32-i370.c (i370_elf_check_relocs): Likewise. * elf32-iq2000.c (iq2000_elf_check_relocs): Likewise. * elf32-m32r.c (m32r_elf_check_relocs): Likewise. * elf32-m68hc1x.c (elf32_m68hc11_check_relocs): Likewise. * elf32-m68k.c (elf_m68k_check_relocs): Likewise. * elf32-mcore.c (mcore_elf_check_relocs): Likewise. * elf32-ms1.c (ms1_elf_check_relocs): Likewise. * elf32-msp430.c (elf32_msp430_check_relocs): Likewise. * elf32-openrisc.c (openrisc_elf_check_relocs): Likewise. * elf32-ppc.c (ppc_elf_check_relocs): Likewise. * elf32-s390.c (elf_s390_check_relocs): Likewise. * elf32-sh.c (sh_elf_check_relocs): Likewise. * elf32-v850.c (v850_elf_check_relocs): Likewise. * elf32-vax.c (elf_vax_check_relocs): Likewise. * elf64-mmix.c (mmix_elf_check_relocs): Likewise. * elf64-ppc.c (ppc64_elf_check_relocs): Likewise. * elf64-s390.c (elf_s390_check_relocs): Likewise. * elf64-sh64.c (sh_elf64_check_relocs): Likewise. * elfxx-mips.c (_bfd_mips_elf_check_relocs): Likewise. * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Likewise.
2005-06-202005-06-20 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+13
PR 1022 * elf32-hppa.c (elf32_hppa_check_relocs): Handle indirect symbol.
2005-06-202005-06-20 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-2/+18
PR 1025: * elf32-i386.c (elf_i386_check_relocs): Handle indirect symbol. * elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise.
2005-06-20(test_stack_locals_listing): Remove test for -stack-select-frame withoutNick Roberts1-7/+5
arguments. (test_stack_frame_listing): Add test for newly implemented command -stack-info-frame.
2005-06-20*** empty log message ***Nick Roberts1-0/+7
2005-06-20*** empty log message ***gdbadmin1-1/+1
2005-06-20daily updateAlan Modra1-1/+1
2005-06-19* hppa-tdep.c (hppa_pointer_to_address_hack): Remove function.Mark Kettenis2-12/+6
(unwind_command): Use %lx to print pointer.
2005-06-19* remote-sim.c (gdbsim_xfer_inferior_memory): Remove prototype.Mark Kettenis2-7/+7
Change type of second argument to`gdb_byte *'.
2005-06-19(GDB/MI Stack Manipulation):Nick Roberts1-0/+28
Re-instate -stack-info-frame with example. Say that it gets info on selected frame, not current frame.
2005-06-19*** empty log message ***Nick Roberts2-0/+15
2005-06-19(mi_cmds): Replace entry for -stack-info-frame.Nick Roberts1-0/+1
Make it use mi_cmd_stack_info_frame
2005-06-19(mi_cmd_stack_info_frame): New declaration.Nick Roberts1-0/+1
2005-06-19(mi_cmd_stack_info_frame): New function.Nick Roberts1-0/+10
2005-06-19*** empty log message ***gdbadmin1-1/+1
2005-06-19daily updateAlan Modra1-1/+1
2005-06-18* hppa-tdep.c (hppa_fallback_frame_cache): Don't error out if weMark Kettenis2-43/+40
can't find the bounds of the current function. Wrap some long lines in the process.
2005-06-18* regcache.c (regcache_raw_supply, regcache_raw_collect): ChangeMark Kettenis3-6/+10
type of last argument back to `void *'. * regcache.h (regcache_raw_supply, regcache_raw_collect): Likewise.
2005-06-182005-06-18 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-0/+10
* reloc.c: Add BFD_RELOC_X86_64_GOTOFF64 and BFD_RELOC_X86_64_GOTPC32. * bfd-in2.h: Regenerated.
2005-06-18(Backtrace): Document that free-standing environments do not needEli Zaretskii2-1/+7
to have a `main' function.
2005-06-18(Machine Code): Document possible problems with locations inEli Zaretskii2-0/+8
shared libraries.
2005-06-18(Files): Add more indexing for solib-absolute-prefix and --with-sysroot.Eli Zaretskii2-5/+10
2005-06-18(Files): Document the possibility of loading unlinked object files.Eli Zaretskii2-0/+13
2005-06-18(Threads): Add an @cindex entry for "thread apply".Eli Zaretskii2-0/+2
2005-06-18(Output Formats): More detailed description of the `c' format.Eli Zaretskii2-5/+12
(Memory): List explicitly all the formats supported by `x'.
2005-06-18(Server): Clarify that `file' should be used before connecting to the server.Eli Zaretskii2-5/+16
(Files): Add an xref to the above description.
2005-06-18(GDB/MI Stack Manipulation): Remove reference toNick Roberts1-20/+0
-stack-info-frame.
2005-06-18*** empty log message ***Nick Roberts2-0/+14
2005-06-18(mi_cmds): Remove entry for -stack-info-frame.Nick Roberts1-1/+0
2005-06-18(mi_cmd_stack_list_frames, mi_cmd_stack_info_depth):Nick Roberts1-16/+3
Don't test for stack. (mi_cmd_stack_select_frame): Make the argument mandatory. Don't test for stack.
2005-06-18Correct a typo.Daniel Jacobowitz1-2/+2
2005-06-18daily updateAlan Modra1-1/+1
2005-06-18*** empty log message ***gdbadmin1-1/+1
2005-06-17 * elf.c (bfd_section_from_shdr): Kill bogus warning.Jakub Jelinek2-1/+4
2005-06-17 * elf.c (bfd_section_from_shdr): Fail if sh_entsize is bogus forJakub Jelinek4-8/+38
symbol, relocation, group or versym sections. * coffcode.h (coff_slurp_reloc_table): Don't crash if native_relocs is NULL. * peXXigen.c (pe_print_idata): Don't crash if dll_name or start_address doesn't point into the section.
2005-06-17 * elf/external.h (GRP_ENTRY_SIZE): Define.Jakub Jelinek4-2/+47
* readelf.c (CHECK_ENTSIZE_VALUES, CHECK_ENTSIZE): Define. (process_section_headers): Use it. (process_relocs): Don't crash if symsec is not SHT_SYMTAB or SHT_DYNSYM. (process_version_sections): Use sizeof (Elf_External_Versym) instead of sh_entsize.
2005-06-17bfd/Jan Beulich11-39/+187
2005-06-17 Jan Beulich <jbeulich@novell.com> * bfd-in2.h (elf_x86_64_reloc_type): Add BFD_RELOC_X86_64_GOTOFF64 and BFD_RELOC_X86_64_GOTPC32. * libbfd.h (bfd_reloc_code_real_names): Likewise. * elf64-x86-64.c (x86_64_elf_howto_table): Add entries for R_X86_64_PC64, R_X86_64_GOTOFF64, and R_X86_64_GOTPC32. (x86_64_reloc_map): Add entries for R_X86_64_PC64, R_X86_64_GOTOFF64, and R_X86_64_GOTPC32. (elf64_x86_64_info_to_howto): Adjust bounding relocation type. (elf64_x86_64_check_relocs): Also handle R_X86_64_PC64, R_X86_64_GOTOFF64, and R_X86_64_GOTPC32. (elf64_x86_64_relocate_section): Likewise. (elf64_x86_64_gc_sweep_hook): Also handle R_X86_64_PC64. gas/ 2005-06-17 Jan Beulich <jbeulich@novell.com> * config/tc-i386.c (reloc): Also handle BFD_RELOC_64_PCREL. (tc_i386_fix_adjustable): Include BFD_RELOC_X86_64_GOTOFF64, BFD_RELOC_X86_64_DTPOFF64, and BFD_RELOC_X86_64_TPOFF64. (output_disp): Do GOTPC conversion also for BFD_RELOC_X86_64_32S and BFD_RELOC_32_PCREL. Use BFD_RELOC_X86_64_GOTPC32 instead of aborting. (output_imm): Do GOTPC conversion also for BFD_RELOC_X86_64_32S. Use BFD_RELOC_X86_64_GOTPC32 instead of aborting. (tc_gen_reloc): Do GOTPC conversion also for BFD_RELOC_32_PCREL. Use BFD_RELOC_X86_64_GOTPC32 instead of aborting. Also handle BFD_RELOC_X86_64_GOTOFF64, BFD_RELOC_X86_64_GOTPC32, BFD_RELOC_X86_64_DTPOFF64, and BFD_RELOC_X86_64_TPOFF64. Also convert 8-byte pc-relative relocations. (lex_got): Use BFD_RELOC_X86_64_GOTOFF64 for 64-bit @gotoff. (i386_validate_fix): Likewise. (x86_cons): Also handle quad values in 64-bit mode. (i386_displacement): Also handle BFD_RELOC_X86_64_GOTOFF64. (md_apply_fix): Include BFD_RELOC_X86_64_DTPOFF64 and BFD_RELOC_X86_64_TPOFF64 in the TLS check. Also convert BFD_RELOC_64 to pc-relative variant. Also check for BFD_RELOC_64_PCREL. gas/testsuite/ 2005-06-17 Jan Beulich <jbeulich@novell.com> * gas/i386/x86-64-pcrel.s: Add insn requiring 64-bit pc-relative relocation. Add insns for all widths of non-pc-relative relocations. * gas/i386/x86-64-pcrel.d: Adjust. include/elf/ 2005-06-17 Jan Beulich <jbeulich@novell.com> * x86-64.h (elf_x86_64_reloc_type): Adjust comment for R_X86_64_GOTPCREL. Add R_X86_64_PC64, R_X86_64_GOTOFF64, and R_X86_64_GOTPC32.
2005-06-17 * gdb.fortran/array_element.f: New file.Wu Zhou3-0/+97
* gdb.fortran/array_element.exp: New testcase.
2005-06-17 * linux-low.c (linux_wait, linux_send_signal): Don't testDaniel Jacobowitz4-5/+13
an unsigned long variable for > 0 if it could be MAX_ULONG. * server.c (myresume): Likewise. * target.c (set_desired_inferior): Likewise.
2005-06-17 * remote.c (set_thread, remote_thread_alive): Replace sprintfWu Zhou1-0/+8
call with xsnprintf. (remote_threads_extra_info, extended_remote_restart) (remote_check_symbols, store_register_using_P) (compare_sections_command): Ditto.
2005-06-17 * remote.c (set_thread, remote_thread_alive): Replace sprintfWu Zhou1-17/+20
call with xsnprintf. (remote_threads_extra_info, extended_remote_restart) (remote_check_symbols, store_register_using_P) (compare_sections_command): Ditto.
2005-06-17 * gencode.c (tab): Avoid lvalue casts. Suggested byDaniel Jacobowitz2-1/+8
Ralf Corsepius <ralf.corsepius@rtems.org>.
2005-06-17daily updateAlan Modra1-1/+1
2005-06-17*** empty log message ***gdbadmin1-1/+1
2005-06-16* mips16-opc.c (mips16_opcodes): Add the following MIPS16eDavid Ung2-0/+12
instructions to the table; seb/seh/sew/zeb/zeh/zew.
2005-06-16* mips.igen: New mips16e model and include m16e.igen.David Ung5-117/+204
(check_u64): Add mips16e tag. * m16e.igen: New file for MIPS16e instructions. * configure.ac (mipsisa32*-*-*, mipsisa32r2*-*-*, mipsisa64*-*-*, mipsisa64r2*-*-*): Change sim_gen to M16, add mips16 and mips16e models. * configure: Regenerate.
2005-06-16* MAINTAINERS (Write After Approval): Add self.David Ung2-0/+5
2005-06-16Add quotes to avoid a null test expression.Nick Clifton2-1/+6
2005-06-16rename.c (simple_copy): Only define if it is going to be used.Nick Clifton3-2/+13
(smart_rename): Mark the preserve_dates parameter as possibly being unused. resres.c (write_res_data): Prevent a potential compile time warning by casting the return value from fwrite.
2005-06-16* archive.c: Include "libiberty.h".Mark Kettenis2-0/+5