aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-01-27 * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_16_DTPREL>Hans-Peter Nilsson2-2/+10
<R_CRIS_32_DTPREL>: Correct relocation value.
2009-01-27 * ld-cris/tls-e-20.d, ld-cris/tls-e-20a.d, ld-cris/tls-e-22.d,Hans-Peter Nilsson8-9/+14
ld-cris/tls-ldgde-14.d, ld-cris/tls-ldgde-15.d, ld-cris/tls-ldgdex-14.d, ld-cris/tls-ldgdex-15.d: Adjust for change in relocation values.
2009-01-27 * ld-cris/weakhiddso.d, ld-cris/weakhid.s: New test.Hans-Peter Nilsson3-0/+48
2009-01-27 * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_8>Hans-Peter Nilsson2-1/+16
<R_CRIS_16, R_CRIS_32>: Don't call BFD_ASSERT for weak undefined symbols with non-default visibility.
2009-01-27*** empty log message ***gdbadmin1-1/+1
2009-01-27daily updateAlan Modra1-1/+1
2009-01-26 * linux-nat.c (linux_child_follow_fork): Copy attach_flag from thePedro Alves4-6/+27
parent to the child. * inf-ttrace.c (inf_ttrace_follow_fork): Likewise. * inf-ptrace.c (inf_ptrace_follow_fork): Likewise. Use remove_breakpoints to remove breakpoints from the parent.
2009-01-26Add forgotten PR tags:Pedro Alves1-0/+1
PR backtrace/9458, PR backtrace/8864
2009-01-26 * frame.c (create_new_frame): Update the frame's cached PC beforePedro Alves3-7/+17
finding its unwinder. Use frame_id_build to build the new frame's id. * stack.c (parse_frame_specification_1): Correct setting ``addrs'' array values from the ``args'' array values.
2009-01-26 * gdbtypes.c (alloc_type, alloc_type_instance, create_range_type)Pedro Alves2-36/+25
(create_array_type, create_set_type, init_flags_type) (copy_type_recursive): Replace pairs of calls to XALLOC and memset with a call to XZALLOC or XCALLOC, and pairs of calls to obstack_alloc and memset with a call to OBSTACK_ZALLOC.
2009-01-26gdb/Pedro Alves4-31/+185
Add "maint set|show internal-error|internal-warning quit|corefile ask|yes|no" commands. PR gdb/7580: * utils.c (internal_problem_ask, internal_problem_yes) (internal_problem_no, internal_problem_modes): New. (struct internal_problem): Remove FIXME. Make should_quit and should_dump_core types to char *. (internal_vproblem, internal_error_problem) (internal_warning_problem): Adjust. (set_internal_problem_cmd, show_internal_problem_cmd): New dummy functions. (add_internal_problem_command): New. (_initialize_utils): New. gdb/doc/ PR gdb/7580: * gdb.texinfo (Maintenance Commands): Document "maint set|show internal-error|internal-warning quit|corefile ask|yes|no".
2009-01-26gdb/gdbserver/Pedro Alves4-7/+21
* server.c (gdbserver_usage): Mention --remote-debug. (main): Accept '--remote-debug' switch. gdb/doc/ * gdb.texinfo (Using the `gdbserver' Program): Document --remote-debug.
2009-01-26 PR 9766Nick Clifton2-2/+9
* dlltool.c (xlate): When strip text after the @ sign, look for the last one not the first one.
2009-01-26 * ld-powerpc/powerpc.exp: Add vxworks relax testcase.Nathan Sidwell8-11/+83
* ld-powerpc/vxworks-relax.s, ld-powerpc/vxworks-relax.rd: New. * ld-powerpc/vxworks1.ld: Add .pad and .far input sections. * ld-powerpc/vxworks1.rd: Correct regexp for undefined symbols.
2009-01-26 * lexsup.c (parse_args): Set check_section_addresses to 1 or 0.Nathan Sidwell5-7/+21
* ld.h (args_type): Make check_section_addresses a char. ldlang.c (lang_process): Don't consider relocatable flag when checking for overlap. * ldmain.c (main): Default check_section_addresses to -1. Check it for relocatable links. * ld.texinfo (--check-sections): Update documentation.
2009-01-262009-01-26 Andrew Stubbs <ams@codesourcery.com>Andrew Stubbs106-41/+1138
gas/ * config/tc-arm.c (attributes_set_explicitly): New array. (s_arm_eabi_attribute): Check return value from s_vendor_attribute. (cpu_arch): Add ARM_ARCH_V5T. (aeabi_set_attribute_int): New function. (aeabi_set_attribute_string): New function. (aeabi_set_public_attributes): Set attributes according to the user's intentions, rather than the actual state of the binary. Use aeabi_set_attribute_int and aeabi_set_attribute_string instead of bfd_elf_add_proc_attr_int and bfd_elf_add_proc_attr_string. Support WMMXv2. Use attribute names instead of numbers. * read.c (s_vendor_attribute): Change return type to int. Return the tag number that was set. * read.h (s_vendor_attribute): Change return type to int. gas/testsuite/ * gas/arm/attr-cpu-directive.d: New file. * gas/arm/attr-cpu-directive.s: New file. * gas/arm/attr-default.d: New file. * gas/arm/attr-march-all.d: New file. * gas/arm/attr-march-armv1.d: New file. * gas/arm/attr-march-armv2.d: New file. * gas/arm/attr-march-armv2a.d: New file. * gas/arm/attr-march-armv2s.d: New file. * gas/arm/attr-march-armv3.d: New file. * gas/arm/attr-march-armv3m.d: New file. * gas/arm/attr-march-armv4.d: New file. * gas/arm/attr-march-armv4t.d: New file. * gas/arm/attr-march-armv4txm.d: New file. * gas/arm/attr-march-armv4xm.d: New file. * gas/arm/attr-march-armv5.d: New file. * gas/arm/attr-march-armv5t.d: New file. * gas/arm/attr-march-armv5te.d: New file. * gas/arm/attr-march-armv5tej.d: New file. * gas/arm/attr-march-armv5texp.d: New file. * gas/arm/attr-march-armv5txm.d: New file. * gas/arm/attr-march-armv6-m.d: New file. * gas/arm/attr-march-armv6.d: New file. * gas/arm/attr-march-armv6j.d: New file. * gas/arm/attr-march-armv6k.d: New file. * gas/arm/attr-march-armv6kt2.d: New file. * gas/arm/attr-march-armv6t2.d: New file. * gas/arm/attr-march-armv6z.d: New file. * gas/arm/attr-march-armv6zk.d: New file. * gas/arm/attr-march-armv6zkt2.d: New file. * gas/arm/attr-march-armv6zt2.d: New file. * gas/arm/attr-march-armv7-a.d: New file. * gas/arm/attr-march-armv7-m.d: New file. * gas/arm/attr-march-armv7-r.d: New file. * gas/arm/attr-march-armv7.d: New file. * gas/arm/attr-march-armv7a.d: New file. * gas/arm/attr-march-armv7m.d: New file. * gas/arm/attr-march-armv7r.d: New file. * gas/arm/attr-march-iwmmxt.d: New file. * gas/arm/attr-march-iwmmxt2.d: New file. * gas/arm/attr-march-xscale.d: New file. * gas/arm/attr-mcpu.d: New file. * gas/arm/attr-mfpu-arm1020e.d: New file. * gas/arm/attr-mfpu-arm1020t.d: New file. * gas/arm/attr-mfpu-arm1136jf-s.d: New file. * gas/arm/attr-mfpu-arm1136jfs.d: New file. * gas/arm/attr-mfpu-arm7500fe.d: New file. * gas/arm/attr-mfpu-fpa.d: New file. * gas/arm/attr-mfpu-fpa10.d: New file. * gas/arm/attr-mfpu-fpa11.d: New file. * gas/arm/attr-mfpu-fpe.d: New file. * gas/arm/attr-mfpu-fpe2.d: New file. * gas/arm/attr-mfpu-fpe3.d: New file. * gas/arm/attr-mfpu-maverick.d: New file. * gas/arm/attr-mfpu-neon-fp16.d: New file. * gas/arm/attr-mfpu-neon.d: New file. * gas/arm/attr-mfpu-softfpa.d: New file. * gas/arm/attr-mfpu-softvfp+vfp.d: New file. * gas/arm/attr-mfpu-softvfp.d: New file. * gas/arm/attr-mfpu-vfp.d: New file. * gas/arm/attr-mfpu-vfp10-r0.d: New file. * gas/arm/attr-mfpu-vfp10.d: New file. * gas/arm/attr-mfpu-vfp3.d: New file. * gas/arm/attr-mfpu-vfp9.d: New file. * gas/arm/attr-mfpu-vfpv2.d: New file. * gas/arm/attr-mfpu-vfpv3-d16.d: New file. * gas/arm/attr-mfpu-vfpv3.d: New file. * gas/arm/attr-mfpu-vfpxd.d: New file. * gas/arm/attr-order.d: Update Tag_ARM_ISA_use and Tag_THUMB_ISA_use. * gas/arm/attr-override-cpu-directive.d: New file. * gas/arm/attr-override-cpu-directive.s: New file. * gas/arm/attr-override-mcpu.d: New file. * gas/arm/attr-override-mcpu.s: New file. * gas/arm/blank.s: New file. * gas/arm/eabi_attr_1.d: Update Tag_ARM_ISA_use and Tag_THUMB_ISA_use. ld/testsuite/ * ld-arm/attr-merge-3.attr: Update following gas change. * ld-arm/attr-merge-2.attr: Update Tag_ARM_ISA_use and Tag_THUMB_ISA_use following gas changes. * ld-arm/attr-merge-4.attr: Likewise. * ld-arm/attr-merge-5.attr: Likewise. * ld-arm/attr-merge-arch-1.attr: Likewise. * ld-arm/attr-merge-arch-2.attr: Likewise. * ld-arm/attr-merge-unknown-2.d: Likewise. * ld-arm/attr-merge-unknown-2r.d: Likewise. * ld-arm/attr-merge-unknown-3.d: Likewise. * ld-arm/attr-merge-wchar-00-nowarn.d: Likewise. * ld-arm/attr-merge-wchar-00.d: Likewise. * ld-arm/attr-merge-wchar-02-nowarn.d: Likewise. * ld-arm/attr-merge-wchar-02.d: Likewise. * ld-arm/attr-merge-wchar-04-nowarn.d: Likewise. * ld-arm/attr-merge-wchar-04.d: Likewise. * ld-arm/attr-merge-wchar-20-nowarn.d: Likewise. * ld-arm/attr-merge-wchar-20.d: Likewise. * ld-arm/attr-merge-wchar-22-nowarn.d: Likewise. * ld-arm/attr-merge-wchar-22.d: Likewise. * ld-arm/attr-merge-wchar-24-nowarn.d: Likewise. * ld-arm/attr-merge-wchar-40-nowarn.d: Likewise. * ld-arm/attr-merge-wchar-40.d: Likewise. * ld-arm/attr-merge-wchar-42-nowarn.d: Likewise. * ld-arm/attr-merge-wchar-44-nowarn.d: Likewise. * ld-arm/attr-merge-wchar-44.d: Likewise. * ld-arm/attr-merge.attr: Likewise.
2009-01-26/gas:Eric B. Weddington3-2/+8
2009-01-26 Eric B. Weddington <eric.weddington@atmel.com> PR 9789 * config/tc-avr.c (mcu_types): Fix typo in atmega128rfa1 name. * doc/c-avr.texi: Likewise.
2009-01-262009-01-26 Kai Tietz <kai.tietz@onevision.com>Kai Tietz2-16/+95
* pe-dll.c (tmp_seq2): New static variable. (make_singleton_name_imp): New. (make_import_fixup_entry): Use for v2 the _imp_<name> symbol and avoid duplicate import table generation for same symbol. (pe_create_runtime_relocator_reference): Make reference for 64-bit 8 bytes.
2009-01-26* gas/arm/attr-order.d: Do not run this test for non-ELF based ARMNick Clifton2-0/+7
targets.
2009-01-26*** empty log message ***gdbadmin1-1/+1
2009-01-26daily updateAlan Modra1-1/+1
2009-01-25 * infcmd.c (program_info): Use paddress instead of casting stop_pcPedro Alves2-2/+6
to unsigned long.
2009-01-25 * elf-hppa.h (elf_hppa_final_link_relocate): Add check to ensure thatDave Anglin2-2/+30
branch targets can be reached for R_PARISC_PCREL22F, R_PARISC_PCREL17F and R_PARISC_PCREL12F relocations.
2009-01-25daily updateAlan Modra1-1/+1
2009-01-25*** empty log message ***gdbadmin1-1/+1
2009-01-24 * infrun.c (normal_stop): Don't callPedro Alves4-63/+16
deprecated_update_frame_pc_hack. * frame.c (deprecated_update_frame_pc_hack) (deprecated_update_frame_base_hack): Delete, and ... (create_new_frame): ... inline here. * frame.h (deprecated_update_frame_pc_hack) (deprecated_update_frame_base_hack): Delete declarations.
2009-01-24* gas/lns/lns.exp: Don't run lns-duplicate for d10v target.Andreas Schwab2-1/+9
2009-01-24 PR 6022Alan Modra2-92/+91
* elflink.c (find_version_for_sym): New function split out from, but without export_dynamic test, .. (_bfd_elf_link_assign_sym_version): ..here. (_bfd_elf_export_symbol): Use it.
2009-01-24daily updateAlan Modra1-1/+1
2009-01-24*** empty log message ***gdbadmin1-1/+1
2009-01-23 * gdb.texinfo: Add nexti to list of commands that supportDoug Evans2-0/+9
background execution.
2009-01-232009-01-23 Pedro Alves <pedro@codesourcery.com>Pedro Alves7-12/+81
* cli/cli-decode.c (add_setshow_zuinteger_cmd): New. * cli/cli-setshow.c (do_setshow_command): Handle it. * command.h (enum var_types): Add var_zuinteger. (add_setshow_zuinteger_cmd): Declare. * valprint.c (_initialize_valprint): Change the set input-radix and set output-radix commands to zuinteger type. 2009-01-23 Pedro Alves <pedro@codesourcery.com> * gdb.base/radix.exp: Add tests to ensure that that set input-radix 0 and set output-radix 0 are really rejected.
2009-01-23 * doc/c-arm.texi (): Document -mwarn-deprecated.Nathan Sidwell3-14/+31
* config/tc-arm.c (WARN_DEPRECATED): Remove. Replace with ... (warn_on_deprecated): ... this. (opcode_lookup, md_assemble): Check it before warning. (arm_opts): Add m[no-]warn-deprecated. (md_parse_option): Replace WARN_DEPRECATED with warn_on_deprecated.
2009-01-23* options.h (General_options::gc_sections): Define as a no-op for now.Christopher Faylor3-0/+20
(General_options::no_keep_memory): Ditto. (General_options::Bshareable): Define. * options.cc (General_options::finalize): Honor -Bshareable.
2009-01-23 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: UpdatePedro Alves3-2/+7
copyright years.
2009-01-232009-01-23 Pedro Alves <pedro@codesourcery.com>Pedro Alves5-10/+107
PR gdb/9664: * infrun.c (normal_stop): Tag threads as stopped, and run the hook-stop before printing the stack frame. 2009-01-23 Pedro Alves <pedro@codesourcery.com> PR gdb/9664: * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
2009-01-23* config/tc-mips.c (macro) [M_DINS, M_SEQ_I, M_SNE_I]: CastAndreas Schwab2-12/+15
arguments to macro_build to match format.
2009-01-23 * config/obj-elf.h (LOCAL_LABEL_PREFIX): Conditionally define.Andreas Schwab8-14/+28
* config/tc-s390.h (LOCAL_LABEL_PREFIX): Don't define. testsuite/: * gas/mips/mips16-e.d: Adjust for change in LOCAL_LABEL_PREFIX. * gas/mips/mipsel16-e.d: Likewise. * gas/mips/tmips16-e.d: Likewise. * gas/mips/tmipsel16-e.d: Likewise.
2009-01-23 * elf-bfd.h (struct elf_assign_sym_version_info): Delete.Alan Modra3-91/+65
(struct elf_info_failed, struct elf_find_verdep_info): Move to.. * elflink.c: ..here, somewhat modified. * elf-bfd.h (_bfd_elf_add_default_symbol, _bfd_elf_export_symbol, _bfd_elf_link_find_version_dependencies, _bfd_elf_link_assign_sym_version, _bfd_elf_link_size_reloc_section, _bfd_elf_fix_symbol_flags, _bfd_elf_adjust_dynamic_symbol, _bfd_elf_link_sec_merge_syms, bfd_elf_link_mark_dynamic_symbol): Don't declare.. * elflink.c: ..and make static here. (_bfd_elf_link_find_version_dependencies): Adjust for removal of output_bfd from struct elf_find_verdep_info. (_bfd_elf_link_assign_sym_version): Similarly adjust to use struct elf_info_failed. (bfd_elf_size_dynamic_sections): Adjust.
2009-01-23*** empty log message ***gdbadmin1-1/+1
2009-01-23daily updateAlan Modra1-1/+1
2009-01-222009-01-22 Pedro Alves <pedro@codesourcery.com>Pedro Alves5-1/+102
PR c++/9631: * gnu-v3-abi.c (gnuv3_baseclass_offset): Call check_typedef on vbasetype. 2009-01-22 Pedro Alves <pedro@codesourcery.com> PR c++/9631: * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
2009-01-222009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>Pierre Muller2-1/+6
* gdb.server/file-transfer.exp: Use EXEEXT variable for binfile definition to fix Windows OS failure.
2009-01-22 PR 6832Alan Modra2-8/+15
* dwarf2.c (find_line): Don't update stash->sec_info_ptr until after comp_unit_find_line call.
2009-01-222009-01-21 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-0/+35
* COPYING.NEWLIB: Add ARM license.
2009-01-22*** empty log message ***gdbadmin1-1/+1
2009-01-22daily updateAlan Modra1-1/+1
2009-01-21 PR 9769Nick Clifton2-3/+7
* vmsutil.c (vms_file_stats_name): Remove use of unsupported tm_gmtoff field in struct tm.
2009-01-21 * ld-spu/icache1.d: Add --non-ia-text to ld options.Alan Modra2-1/+5
2009-01-21bfd/Alan Modra5-11/+47
* elf32-spu.h (struct spu_elf_params): Add non_ia_text. * elf32-spu.c (mark_overlay_section): Only include .text.ia.* sections in soft-icache lines unless non_ia_text. Don't add rodata if doing so would exceed line size. ld/ * emultempl/spuelf.em (params): Init new field. (OPTION_SPU_NON_IA_TEXT): Define. (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --non-ia-text. (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_SPU_NON_IA_TEXT.