aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-06-01ld:Zack Weinberg10-40/+75
* ldlang.c (entry_symbol_default): New file-scope global. (lang_finish): Use it, not a hardwired "start". (lang_default_entry): Set it. * ldlang.h: Declare lang_default_entry. * emultempl/beos.em, emultempl/pe.em: Use lang_default_entry, not lang_add_entry, to override default entry point symbol. ld/testsuite: * ld-scripts/align.exp: Mark align1 XFAIL on PECOFF targets. * ld-scripts/data.exp: Mark data UNSUPPORTED on a.out targets. * ld-scripts/provide.exp, ld-scripts/size.exp: Mark all tests UNSUPPORTED on a.out targets. Tidy.
2005-06-01*** empty log message ***gdbadmin1-1/+1
2005-06-01daily updateAlan Modra1-1/+1
2005-05-31 * elf64-alpha.c (ALPHA_ELF_LINK_HASH_LU_JSRDIRECT): New.Richard Henderson2-12/+23
(ALPHA_ELF_LINK_HASH_TLS_IE): Renumber to 0x80. (ALPHA_ELF_LINK_HASH_LU_PLT): Rename from ALPHA_ELF_LINK_HASH_LU_FUNC. (elf64_alpha_want_plt): Update to match. (elf64_alpha_check_relocs): Collect JSRDIRECT in gotent_flags. (elf64_alpha_relax_with_lituse): Likewise. Handle JSRDIRECT.
2005-05-31 * config/tc-alpha.c (O_lituse_jsrdirect): New.Richard Henderson3-22/+44
(alpha_reloc_op): Add it. (debug_exp): Handle it. (DUMMY_RELOC_LITUSE_JSRDIRECT): New. (emit_insn): Handle it. * doc/c-alpha.texi (Alpha-Relocs): Document lituse_jsrdirect.
2005-05-31 * readelf.c (dump_relocations): Special case R_ALPHA_LITUSE.Richard Henderson2-3/+30
2005-05-31 * alpha.h (LITUSE_ALPHA_JSRDIRECT): New.Richard Henderson2-0/+5
2005-05-31 * elf32-arm.c (elf32_arm_reloc_type_lookup)Zack Weinberg2-16/+10
(elf32_arm_nabi_grok_prstatus, elf32_arm_nabi_grok_psinfo): Use ISO C90 function declaration style.
2005-05-31Fix for IA-64 gdb backtrace of threads in syscalls, reported by Jeff Johnson.Jim Wilson2-2/+13
* elfcode.h (NAME(bfd_elf,bfd_from_remote_memory)): Check for program header PF_R flag on PT_LOAD segments.
2005-05-312005-05-31 Christian Groessler <chris@groessler.org>Christian Groessler2-9/+11
* write.c (dump_section_relocs): Convert to ISO-C. (write_relocs): Avoid signed/unsigned and fprintf argument warnings in debug code.
2005-05-31*** empty log message ***gdbadmin1-1/+1
2005-05-31daily updateAlan Modra1-1/+1
2005-05-30 * elf64-alpha.c (elf64_alpha_relocate_section): Use dtp_base forRichard Henderson2-2/+7
the zero index relocs produced by elf64_alpha_relax_tls_get_addr.
2005-05-302005-05-30 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-15/+22
* MAINTAINERS (Can Commit Without Approval): New section, previously burried under "Target Instruction Set Architectures". Note that cagney "can commit" changes to powerpc-linux.
2005-05-302005-05-30 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-3/+7
* MAINTAINERS: Drop architecture and target vectors.
2005-05-30merge from gccDJ Delorie2-0/+20
2005-05-30*** empty log message ***gdbadmin1-1/+1
2005-05-30daily updateAlan Modra1-1/+1
2005-05-29 * readelf.c (get_alpha_dynamic_type): New.Richard Henderson2-0/+19
(get_dynamic_type): Call it.
2005-05-29 * alpha.h (DT_ALPHA_PLTRO): New.Richard Henderson2-0/+7
2005-05-29 * emulparams/elf64alpha.sh (PLT): New.Richard Henderson4-11/+108
(TEXT_PLT): New. * emultempl/alphaelf.em (disable_relaxation): New. (limit_32bit): Rename from elf64alpha_32bit; update all users. (elf64_alpha_use_secureplt): Declare. (bfd_elf64_alpha_vec, bfd_elf64_alpha_freebsd_vec): Declare. (alpha_after_open): New. (alpha_before_allocation): New. (OPTION_NO_RELAX, OPTION_SECUREPLT, OPTION_NO_SECUREPLT): New. (PARSE_AND_LIST_LONGOPTS): Include them. (PARSE_AND_LIST_OPTIONS): Likewise. (PARSE_AND_LIST_ARGS_CASES): Likewise. (LDEMUL_AFTER_OPEN, LDEMUL_BEFORE_ALLOCATION): New. * scripttempl/elf.sc (TEXT_PLT): New. (PLT): Use it.
2005-05-29 * configure.in (--enable-secureplt): New.Richard Henderson5-440/+456
* elf64-alpha.c (INSN_LDA, INSN_LDAH, INSN_LDQ, INSN_BR): New. (INSN_SUBQ, INSN_S4SUBQ, INSN_JMP): New. (INSN_A, INSN_AB, INSN_ABC, INSN_ABO, INSN_AD): New. (elf64_alpha_use_secureplt): New. (OLD_PLT_HEADER_SIZE, OLD_PLT_ENTRY_SIZE): New. (NEW_PLT_HEADER_SIZE, NEW_PLT_ENTRY_SIZE): New. (PLT_HEADER_SIZE, PLT_ENTRY_SIZE): Conditionalize on secureplt. (ALPHA_ELF_LINK_HASH_PLT_LOC): Remove. (struct alpha_elf_link_hash_entry): Add plt_offset. (PLT_HEADER_WORD1, PLT_HEADER_WORD2, PLT_HEADER_WORD3): Remove. (PLT_HEADER_WORD4, PLT_ENTRY_WORD1, PLT_ENTRY_WORD2): Remove. (PLT_ENTRY_WORD3): Remove. (elf64_alpha_create_dynamic_sections): If secureplt, set SEC_READONLY on .plt and create .got.plt. (elf64_alpha_output_extsym): Remove .plt frobbing for symbol values. (get_got_entry): Initialize plt_offset. (elf64_alpha_want_plt): New. (elf64_alpha_check_relocs): Use it. (elf64_alpha_adjust_dynamic_symbol): Likewise. Don't allocate plt entries here. (elf64_alpha_calc_got_offsets_for_symbol): Don't report internal error as user error. (elf64_alpha_size_plt_section_1): Allocate one plt entry per got subsection. (elf64_alpha_size_plt_section): Size .got.plt section. (elf64_alpha_size_rela_got_1): Don't allocate relocations if plt entries used. (elf64_alpha_size_dynamic_sections): Call elf64_alpha_size_plt_section. Add PLTRO DYNAMIC entry. (elf64_alpha_finish_dynamic_symbol): Generate secureplt format. (elf64_alpha_finish_dynamic_sections): Likewise.
2005-05-29 * config/djgpp/fnchange.lst: Add mappings for linux-ppc-low.c andEli Zaretskii2-0/+7
linux-ppc64-low.c.
2005-05-29This is a cleanup change. It is the beggining of allowing GDB/MI to beBob Rossi8-17/+190
better understood (internally).
2005-05-29 * gdb.arch/alpha-step.c: New file.Joel Brobecker3-0/+237
* gdb.arch/alpha-step.exp: New testcase.
2005-05-29 * alpha-tdep.c (alpha_next_pc): Use correct register numberJoel Brobecker2-1/+19
for floating-point branch instructions.
2005-05-29*** empty log message ***gdbadmin1-1/+1
2005-05-29daily updateAlan Modra1-1/+1
2005-05-28 PR backtrace/1760Daniel Jacobowitz2-9/+24
* frame.c (backtrace_limit): Change type to int. (get_prev_frame): Update backtrace limit support. (_initialize_frame): Use add_setshow_integer_cmd for backtrace_limit.
2005-05-28gdb/Daniel Jacobowitz7-4/+215
* configure.tgt (powerpc64-*-linux*): Enable gdbserver. * regformats/reg-ppc64.dat: New file. gdbserver/ * Makefile.in (SFILES): Add linux-ppc64-low.c. (linux-ppc64-low.o, reg-ppc64.c, reg-ppc64.o): New targets. * configure.srv: Add powerpc64-*-linux*. * linux-ppc64-low.c: New file.
2005-05-282005-05-28 David Daney <ddaney@avtrex.com>Daniel Jacobowitz2-12/+55
* elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections): Move calculation of DT_RELSZ to occur after all dynamic relocations are created.
2005-05-28merge from gccDJ Delorie6-5/+314
2005-05-28 From Wu Zhou <woodzltc@cn.ibm.com>:Daniel Jacobowitz2-2/+8
* remote.c (struct gdb_ext_thread_info): Fix a comment typo. (remote_unpack_thread_info_response): Likewise.
2005-05-28 * cli/cli-setshow.c (do_setshow_command): Partially revert previousDaniel Jacobowitz2-2/+7
change. Cast to "char **" for var_string.
2005-05-28 * cp-name-parser.y (parse_escape): Revert previous change. ReturnDaniel Jacobowitz2-2/+7
the input character by default.
2005-05-28 * dwarf2-frame.c (dwarf2_frame_prev_register): Use gdb_byte.Daniel Jacobowitz8-21/+37
* i386-linux-nat.c (fetch_register, store_register, supply_gregset) (fill_gregset): Likewise. * i386-tdep.c (i386_frame_prev_register) (i386_sigtramp_frame_prev_register): Likewise. * linux-nat.c (linux_nat_xfer_memory, linux_nat_make_corefile_notes): Likewise. * linux-thread-db.c (thread_db_xfer_memory): Likewise. * remote.c (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Likewise. * target.c (debug_to_insert_hw_breakpoint) (debug_to_remove_hw_breakpoint, update_current_target): Likewise.
2005-05-282005-05-28 Eli Zaretskii <eliz@gnu.org>Andreas Jaeger4-4/+163
* configure.in: Add snprintf and vsnprintf to AC_CHECK_DECLS. * config.in, configure: Regenerate.
2005-05-28 * MAINTAINERS: Change cris-elf state to non-broken.Hans-Peter Nilsson3-3/+7
* cp-name-parser.y (parse_escape): Initialize target_char to zero.
2005-05-28 * cris/Makefile.in (stamp-v32fmloop): Depend on stamp-v10fmloop.Hans-Peter Nilsson2-1/+7
2005-05-28daily updateAlan Modra1-1/+1
2005-05-28*** empty log message ***gdbadmin1-1/+1
2005-05-27 * config/default.exp (CC): Use find_gcc.Mark Mitchell2-5/+18
(CFLAGS): Define, if no definition is provided. (CXX): Likewise. (CXXFLAGS): Likewise.
2005-05-272005-05-27 Orjan Friberg <orjanf@axis.com>Orjan Friberg2-2/+55
* cris-tdep.c (crisv32_scan_prologue): Add. (cris_frame_unwind_cache, cris_skip_prologue): Call crisv32_scan_prologue when debugging CRISv32.
2005-05-27* Tweaked last ChangeLog entry.Orjan Friberg1-1/+1
2005-05-272005-05-27 Orjan Friberg <orjanf@axis.com>Orjan Friberg2-13/+22
* cris-tdep.c (cris_sigtramp_start, cris_rt_sigtramp_start) (cris_frame_prev_register, cris_sigtramp_frame_prev_register) (cris_return_value): Use gdb_byte for byte buffers. (struct cris_frame_unwind, struct cris_frame_base): Fix formatting.
2005-05-27 * config/tc-arm.h (TC_FIX_TYPE): Change to int.Zack Weinberg3-8/+28
(TC_INIT_FIX_DATA): Initialize to 0, not NULL. * config/tc-arm.c (fix_new_arm): Remove now-unnecessary cast. (md_apply_fix3): Delete fix_is_thumb variable; refer to fixP->tc_fix_data directly in the sole place it was used. Explicitly truncate value, *valP, fixP->fx_addnumber, and fixP->fx_offset to 32 bits, for consistent behavior between 32- and 64-bit hosts.
2005-05-27gas/Jan Beulich4-68/+120
2005-05-27 Jan Beulich <jbeulich@novell.com> * config/tc-ia64.c (struct proc_pending): New. (unwind): Replace proc_start with proc_pending. (unwind_diagnostic): Check unwind.proc_pending.sym. (dot_proc): Replace unwind.proc_start with unwind.proc_pending.sym. Check if previous proc not closed. Record all entry points. (dot_endp): Replace unwind.proc_start with unwind.proc_pending.sym. Set symbol sizes for entry points recorded in dot_proc. Check arguments for consistency with respective .proc's. (md_assemble): Replace unwind.proc_start with unwind.proc_pending.sym. gas/testsuite/ 2005-05-27 Jan Beulich <jbeulich@novell.com> * gas/ia64/proc.l: Adjust.
2005-05-27gas/Jan Beulich2-6/+14
2005-05-27 Jan Beulich <jbeulich@novell.com> * config/tc-ia64.c (emit_one_bundle): Restrict scope of ptr, end_ptr, and last_ptr. Check all in-use slots for first one with non-NULL unwind_record. Don't reload end_ptr before second update round.
2005-05-272005-05-26 Chris Demetriou <cgd@netbsd.org>Chris Demetriou2-1/+4
* MAINTAINERS (Write After Approval): Remove myself.
2005-05-272005-05-27 Andrew Cagney <cagney@gnu.org>Andrew Cagney12-20/+44
* jv-lang.c (get_java_utf8_name): Add cast. (evaluate_subexp_java): Use gdb_byte for buffers. * jv-valprint.c (java_value_print, java_value_print): Use gdb_byte for buffers. * scm-lang.c (scm_get_field, scm_unpack) (scm_evaluate_string): Use gdb_byte for buffers. (scm_lookup_name): Add cast. * scm-valprint.c (scm_scmval_print, scm_scmval_print): Use gdb_byte for buffers. * tui/tui.h (tui_get_command_dimension): Make parameters unsigned. * tui/tui.c (tui_get_command_dimension): Make parameters unsigned. * value.h (check_field): Change "name" to a string. * valops.c (check_field): Change "name" to a string. * scm-lang.h (scm_parse): Use gdb_byte for buffers. * source.c (get_current_source_symtab_and_line) (set_current_source_symtab_and_line): Initialize all fields of sal structures. * cli/cli-cmds.c (list_command): Use gdb_byte for buffers.