aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-07-18bfd:Joseph Myers30-7/+416
* bfd-in.h (bfd_elf32_arm_set_target_relocs): Add new parameter. * bfd-in2.h: Regenerate. * elf32-arm.c (struct elf_arm_obj_tdata): Add field no_wchar_size_warning. (bfd_elf32_arm_set_target_relocs): Add new parameter no_wchar_warn. (elf32_arm_merge_eabi_attributes): Give a warning, not an error, for conflicting wchar_t attributes. Do not warn if --no-wchar-size-warning. Make diagnostic text more specific. ld: * ld.texinfo (--no-wchar-size-warning): Document new ARM option. * emultempl/armelf.em (no_wchar_size_warning): New. (arm_elf_create_output_section_statements): Pass no_wchar_size_warning to arm_elf_create_output_section_statements. (OPTION_NO_WCHAR_SIZE_WARNING): New. (PARSE_AND_LIST_LONGOPTS): Add no-wchar-size-warning. (PARSE_AND_LIST_OPTIONS): List --no-wchar-size-warning. (PARSE_AND_LIST_ARGS_CASES): Handle --no-wchar-size-warning. ld/testsuite: * ld-arm/attr-merge-wchar-0.s,ld-arm/attr-merge-wchar-2.s, ld-arm/attr-merge-wchar-4.s, ld-arm/attr-merge-wchar-00-nowarn.d, ld-arm/attr-merge-wchar-00.d, ld-arm/attr-merge-wchar-02-nowarn.d, ld-arm/attr-merge-wchar-02.d, ld-arm/attr-merge-wchar-04-nowarn.d, ld-arm/attr-merge-wchar-04.d, ld-arm/attr-merge-wchar-20-nowarn.d, ld-arm/attr-merge-wchar-20.d, ld-arm/attr-merge-wchar-22-nowarn.d, ld-arm/attr-merge-wchar-22.d, ld-arm/attr-merge-wchar-24-nowarn.d, ld-arm/attr-merge-wchar-24.d, ld-arm/attr-merge-wchar-40-nowarn.d, ld-arm/attr-merge-wchar-40.d, ld-arm/attr-merge-wchar-42-nowarn.d, ld-arm/attr-merge-wchar-42.d, ld-arm/attr-merge-wchar-44-nowarn.d, ld-arm/attr-merge-wchar-44.d: New. * ld-arm/arm-elf.exp: Run new tests.
2008-07-18 * configure.ac: Put old value of $LIBS after -lbfd -liberty $intlJoseph Myers3-2/+8
in BFD ELF check. * configure: Regenerate.
2008-07-182008-07-18 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-0/+13
PR ld/6748 * elf32-arm.c (elf32_arm_link_hash_table_create): Initialize new fields added for ARM long call support.
2008-07-18 * pe-arm-wince.c (pe_print_compressed_pdata): Define new function toNick Clifton40-52/+458
print compressed pdata structure as described on MSDN. This only applies to a limited set of architectures (ARM, SH4). (slurp_symtab, my_symbol_for_address): Define static helper functions for pe_print_compressed_pdata. * coffcode.h (bfd_coff_backend_data): Add _bfd_coff_print_pdata field. (bfd_coff_have_print_pdata, bfd_coff_print_pdata): Define. * bfd/peXXigen.c (_bfd_XX_print_private_bfd_data_common): Add check on bfd_coff_backend_data, call the function if non-null. * pei-mcore.c: Add target dependent initialisation for bfd_coff_backend_data. * coff-sh.c: Likewise. * coff64-rs6000.c: Likewise. * coff-rs6000.c: Likewise. * libcoff-in.h: Likewise. * cf-i386lynx.c: Likewise. * coff-alpha.c: Likewise. * coff-apollo.c: Likewise. * coff-arm.c: Likewise. * coff-aux.c: Likewise. * coff-h8300.c: Likewise. * coff-h8500.c: Likewise. * coff-i386.c: Likewise. * coff-i860.c: Likewise. * coff-i960.c: Likewise. * coff-ia64.c: Likewise. * coff-m68k.c: Likewise. * coff-m88k.c: Likewise. * coff-maxq.c: Likewise. * coff-mips.c: Likewise. * coff-or32.c: Likewise. * coff-sparc.c: Likewise. * coff-tic30.c: Likewise. * coff-tic4x.c: Likewise. * coff-tic54x.c: Likewise. * coff-tic80.c: Likewise. * coff-w65.c: Likewise. * coff-we32k.c: Likewise. * coff-x86_64.c: Likewise. * coff-z80.c: Likewise. * coff-z8k.c: Likewise. * pe-mcore.c: Likewise. * pe-mips.c: Likewise. * pe-ppc.c: Likewise. * peXXigen.c: Likewise. * pei-ppc.c: Likewise. * libcoff.h: Regenerate.
2008-07-18 * symtab.cc (Symbol_table::add_from_object): Rewrite the caseIan Lance Taylor8-16/+108
where we see NAME/NULL and NAME/VERSION as separate symbols. * testsuite/ver_test_main.cc (main): Call t4. (t4, t4_2a): Define. * testsuite/ver_test_2.cc (t4_2): Define. * testsuite/ver_test_2.script: Put t4_2a in VER2. * testsuite/ver_test_4.cc (t4_2a): Define. * testsuite/ver_test_4.script: Put t4_2a in VER2. * testsuite/ver_test.h (t4, t4_2, t4_2a): Declare.
2008-07-18 * dynobj.cc (Versions::add_def): If we give an error about aIan Lance Taylor2-5/+7
missing version, go ahead and create the version anyhow.
2008-07-18daily updateAlan Modra1-1/+1
2008-07-18*** empty log message ***gdbadmin1-1/+1
2008-07-17Fix for Linux/VDSO failure.Paul Pluzhnikov2-2/+6
2008-07-17Fix for failing gdb.base/auxv.exp on LinuxPaul Pluzhnikov2-0/+6
2008-07-17Fix for gdb.base/corefile.exp failure on LinuxPaul Pluzhnikov2-1/+6
2008-07-17daily updateAlan Modra1-1/+1
2008-07-17*** empty log message ***gdbadmin1-1/+1
2008-07-16 * elf32-bfin.c (bfin_check_relocs, bfin_relocate_section,Bernd Schmidt2-618/+624
bfin_final_link_relocate, bfin_gc_mark_hook, bfin_gc_sweep_hook, ELF_DYNAMIC_INTERPRETER, DEFAULT_STACK_SIZE, struct _bfinfdpic_dynamic_got_info): Moved around to keep FD-PIC code separate from non-FD-PIC.
2008-07-16daily updateAlan Modra1-1/+1
2008-07-16*** empty log message ***gdbadmin1-1/+1
2008-07-15Revert frame_unwind_caller_pc / frame_unwind_caller_id.Daniel Jacobowitz10-50/+20
2008-07-15* valops.c (value_cast_pointers): Follow typedefs when checkingAndreas Schwab2-397/+402
result of coercion.
2008-07-15Fix for 'FAIL: gdb.cp/class2.exp: p acp->c2' on spu-elfPaul Pluzhnikov2-2/+6
2008-07-15 * block.c (block_function): Renamed to ...Daniel Jacobowitz6-10/+20
(block_linkage_function): ... this. All callers changed. * block.h (block_function): Renamed to ... (block_linkage_function): ... this.
2008-07-15 * frame.c (frame_unwind_id): Renamed to ...Daniel Jacobowitz10-20/+50
(frame_unwind_caller_id): ... this. All callers updated. (frame_pc_unwind): Renamed to ... (frame_unwind_caller_pc): ... this. All callers updated. * frame.h: Document frame_unwind_caller_WHAT functions. (frame_unwind_id): Renamed to ... (frame_unwind_caller_id): ... this. (frame_pc_unwind): Renamed to ... (frame_unwind_caller_pc): ... this. * hppa-tdep.c (hppa_find_unwind_entry_in_block): Correct comment. * stack.c (parse_frame_specification_1): Do not rely on frame_unwind_id.
2008-07-15 * mn10300-tdep.c (set_reg_offsets): Use get_frame_register_unsigned.Daniel Jacobowitz2-2/+6
2008-07-15 * frame.c (frame_sp_unwind): Delete.Daniel Jacobowitz3-12/+12
(get_frame_sp): Do not use it. * frame.h (frame_sp_unwind): Delete prototype.
2008-07-152008-07-15 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-16/+12
* objdump.c (load_debug_section): Initialize section_is_compressed for gcc 3.4/ia64. * readelf.c (load_debug_section): Likewise.
2008-07-15* elf-m10300.c (mn10300_elf_final_link_relocate): Correct overflowDJ Delorie2-9/+25
checks for PCREL8, PCREL16, GOTPC16, GOTOFF16, PLT16, and GOT16 relocs. (mn10300_elf_relax_section): Correct jump offset check when target is in a different section.
2008-07-15 * ia64-tdep.c (ia64_dummy_id): Use get_frame_pc.Daniel Jacobowitz2-1/+5
2008-07-15Add missing ChangeLog entries forH.J. Lu1-0/+12
http://sourceware.org/ml/binutils-cvs/2008-05/msg00092.html
2008-07-15* dwarf2-frame.c (dwarf2_frame_cache): Update comment.Daniel Jacobowitz5-42/+56
* frame.c (frame_unwind_address_in_block): Delete. (get_frame_address_in_block): Do not use it. Check the type of the next frame first. (frame_cleanup_after_sniffer): Update comment. * frame.h (frame_unwind_address_in_block): Delete prototype. * hppa-tdep.c (hppa_find_unwind_entry_in_block): Update comment.
2008-07-15* frame.c (frame_func_unwind): Delete.Daniel Jacobowitz5-24/+24
(get_frame_func): Do not use it. * frame.h (frame_func_unwind): Delete prototype. * hppa-tdep.c (hppa_frame_cache): Update comment. * rs6000-tdep.c (rs6000_frame_cache): Update comment.
2008-07-15 * remote-sim.c (init_gdbsim_ops): RemoveStan Shebs2-4/+5
TARGET_REDEFINE_DEFAULT_OPS.
2008-07-15 * findvar.c (read_var_value): Remove unused variable.Daniel Jacobowitz2-2/+4
2008-07-15 * infrun.c (handle_inferior_event): Tag threads as stoppedLuis Machado2-23/+28
before inserting breakpoints.
2008-07-15 bfd/Jie Zhang4-0/+38
* elf32-bfin.c (elf32_bfin_special_sections[]): New. (elf_backend_special_sections): Define. ld/ * emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Define.
2008-07-15* MAINTAINERS: Added myself to section Write After Approval.Hui Zhu2-0/+5
2008-07-15*** empty log message ***gdbadmin1-1/+1
2008-07-15daily updateAlan Modra1-1/+1
2008-07-14Fix for PR gdb/2477Paul Pluzhnikov6-3/+37
2008-07-14 * i386-dicos-tdep.c (i386_dicos_frame_align): Delete.Pedro Alves2-8/+22
(i386_dicos_push_dummy_code): New. (i386_dicos_init_abi): Don't register i386_dicos_frame_align. Register i386_dicos_push_dummy_code.
2008-07-14 * mips-tdep.c (fp_register_arg_p): Add gdbarch as paramter.Markus Deuling5-106/+170
(mips_n32n64_push_dummy_call, mips_o64_return_value) (mips_eabi_push_dummy_call): Update call to fp_register_arg_p. (MIPS_FPU_TYPE): Add gdbarch as parameter and replace current_gdbarch. (fp_register_arg_p, mips_dump_tdep, show_mipsfpu_command) (mips_n32n64_fp_arg_chunk_p): Update caller. (mips_n32n64_fp_arg_chunk_p): Add gdbarch as paramter. (mips_n32n64_push_dummy_call): Update caller. (MIPS_LAST_ARG_REGNUM): Add gdbarch as parameter and replace current_gdbarch. (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call) (mips_o32_push_dummy_call, mips_o64_push_dummy_call): Update caller. (MIPS_LAST_FP_ARG_REGNUM): Add gdbarch as parameter and replace current_gdbarch. (mips_eabi_push_dummy_call, mips_o32_push_dummy_call) (mips_o64_push_dummy_call): Update caller. (MIPS_EABI): Add gdbarch as parameter and replace current_gdbarch. (fp_register_arg_p, mips_dump_tdep): Update caller. (set_reg_offset): Add gdbarch as parameter and replace current_gdbarch. (mips16_scan_prologue, mips32_scan_prologue): Update caller. (reset_saved_regs): Make static. Add gdbarch as parameter. Replace current_gdbarch. (mips32_scan_prologue): Update caller. (heuristic_proc_start): Add gdbarch as parameter. Replace current_gdbarch. (mips_insn16_frame_cache, mips_insn32_frame_cache): Update caller. * mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers) (mipsnbsd_store_inferior_registers): Use get_regcache_arch to get at the current architecture. Update call to getregs_supplies. (getregs_supplies): Add gdbarch as parameter and replace current_gdbarch. * mipsnbsd-tdep.c (mipsnbsd_get_longjmp_target): Use get_frame_arch to get at the current architecture. Update call to NBSD_MIPS_JB_OFFSET and NBSD_MIPS_JB_ELEMENT_SIZE. (NBSD_MIPS_JB_ELEMENT_SIZE, NBSD_MIPS_JB_OFFSET): Add gdbarch and replace current_gdbarch. * remote-mips.c (mips_map_regno): Add gdbarch as parameter and replace current_gdbarch. (mips_fetch_registers, mips_store_registers): Update call to mips_map_regno. (mips_load): Use get_regcache_arch to get at the current_architecture and replace current_gdbarch.
2008-07-14 * gas/bfin/{bit2.s, cache2.s, control_code2.s, event2.s,Jie Zhang14-2075/+2082
logical2.s, move2.s, parallel.s, parallel2.s, parallel3.s, parallel4.s, shift2.s, stack2.s, video2.s}: Remove DOS line endings.
2008-07-14Mention "PR ld/6741" in ChangeLog.H.J. Lu1-0/+1
2008-07-14Mention "PR binutils/6743" in ChangeLog.H.J. Lu1-0/+1
2008-07-142008-07-13 Craig Silverstein <csilvers@google.com>Craig Silverstein2-5/+20
* dwarf2.c (struct dwarf2_debug): New variable info_ptr_memory. (find_line): Use info_ptr_memory instead of sec_info_ptr. (_bfd_dwarf2_cleanup_debug_info): Likewise.
2008-07-14*** empty log message ***gdbadmin1-1/+1
2008-07-14daily updateAlan Modra1-1/+1
2008-07-13 * thread.c (restore_selected_frame): On fail to restore, selectPedro Alves2-3/+11
the innermost frame, and don't crash when warning the user.
2008-07-13 * symtab.c (expand_line_sal): Fix a memory leak.Joel Brobecker2-2/+6
2008-07-13 * gdb.base/randomize.exp: Catch non-Linux targets as untested.Jan Kratochvil2-1/+9
2008-07-13 * utils.c (struct continuation): Define as inheriting structPedro Alves2-12/+34
cleanup. (add_continuation, do_all_continuations) (discard_all_continuations, add_intermediate_continuation) (do_all_intermediate_continuations) (discard_all_intermediate_continuations): Adjust.
2008-07-13 Skip varobj in running threads.Vladimir Prus3-3/+25
* mi/mi-cmd-var.c (mi_cmd_var_update): If varobj's thread is not stopped, skip the varobj. * Makefile.in: Update dependencies.