aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-12-11 PR 7041Alan Modra2-2/+8
* elf64-ppc.c (func_desc_adjust): Correct logic making fake function descriptors. Similarly correct making function descriptors dynamic.
2008-12-11*** empty log message ***gdbadmin1-1/+1
2008-12-11daily updateAlan Modra1-1/+1
2008-12-10merge from gccDJ Delorie4-0/+55
2008-12-10 * infcmd.c (until_next_command, finish_backward): Use get_frame_pcPedro Alves2-4/+11
instead of read_pc.
2008-12-10 * layout.cc (Layout::add_comdat): Allow COMDAT group from a replacementCary Coutant2-0/+14
object to override a kept COMDAT group from a plugin object.
2008-12-10bfd/Alan Modra5-75/+136
* elf32-spu.h (struct spu_elf_params): Add num_regions. * elf32-spu.c (spu_elf_auto_overlay): Handle multiple overlay regions. ld/ * emultempl/spuelf.em (params): Init new field. (OPTION_SPU_NUM_REGIONS): Define. (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --num-regions. (PARSE_AND_LIST_ARGS_CASES): Handle --num-regions.
2008-12-10bfd/Alan Modra5-312/+341
* elf32-spu.g (struct spu_elf_params, enum _ovly_flavour): New. (spu_elf_setup): Declare. (spu_elf_create_sections, spu_elf_size_stubs): Update prototype. (spu_elf_build_stubs, spu_elf_check_vma): Likewise. * elf32-spu.c (struct spu_link_hash_table): Add "params". Remove various other fields now in "params". Adjust code throughout. (struct call_info, struct function_info): Move earlier in file. (struct spu_elf_stack_info): Likewise. (spu_elf_setup): New function. (spu_elf_create_sections): Remove args other than "info". (spu_elf_size_stubs, spu_elf_build_stubs, spu_elf_check_vma): Likewise. (maybe_needs_stubs): Remove "output_bfd" arg. Adjust all calls. (interesting_section): Similarly with "obfd" arg. (needs_ovl_stub): Adjust output_section test. (allocate_spuear_stubs): Likewise. (OVL_STUB_SIZE): Don't define. (ovl_stub_size): New function, use in place of OVL_STUB_SIZE. (build_stub): Test params->ovly_flavour rather than OVL_STUB_SIZE. (spu_elf_auto_overlay): Remove args other than "info". Make use of size returned from spu_elf_load_ovl_mgr. (spu_elf_stack_analysis): Remove args other than "info". (spu_elf_relocate_section): Tidy setting of "ea". ld/ * emultempl/spuelf.em (params): New var, used instead of various others. Adjust use throughout file. (spu_after_open): Call spu_elf_setup. (spu_place_special_section): Tidy. (spu_elf_load_ovl_mgr): Return total size of sections loaded. Move code setting overlay section alignment to.. (spu_before_allocation): ..here.
2008-12-10 * elf32-spu.c (define_ovtab_symbol): Don't abort on symbolsAlan Modra2-12/+24
defined in linker scripts. (discover_functions): Consider STT_SECTION symbols too. (collect_lib_sections): Don't cut short call tree traversal when function size is too large.
2008-12-10gdbTom Tromey6-36/+114
PR gdb/1815: * cli/cli-decode.c (delete_cmd): Forward declare. (delete_cmd): Now static. Change return type. Remove command from alias chain. Rewrite. (add_cmd): Initialize new fields. Update cmd_pointer on all aliases. (add_alias_cmd): Put command on alias chain. * command.h (delete_cmd): Don't declare. * cli/cli-decode.h (delete_cmd): Don't declare. (struct cmd_list_element) <aliases, alias_chain>: New fields. gdb/testsuite * gdb.base/commands.exp (redefine_backtrace_test): New proc. Call it.
2008-12-10 * elf32-spu.c (find_function_stack_adjust): Don't limit numberAlan Modra2-12/+58
of insns scanned. Correct sp tests. Handle "fsmbi" and "andbi". (mark_detached_root): New function. (build_call_tree): Call it. (sort_calls): Don't do void* arithmetic.
2008-12-10daily updateAlan Modra1-1/+1
2008-12-10*** empty log message ***gdbadmin1-1/+1
2008-12-09bfdTom Tromey4-3/+12
* pef.c (bfd_pef_parse_traceback_table): Add parens to placate gcc 4.4. binutils * srconv.c (wr_hd): Add parens to placate gcc 4.4.
2008-12-09 * linux-low.h (struct process_info): Delete member tid, unused.Doug Evans3-3/+6
* thread-db.c (find_one_thread): Update. (maybe_attach_thread): Update.
2008-12-09 * config.in, configure: Rebuild.Tom Tromey5-4/+89
* configure.ac: Check for locale.h, setlocale. Call AM_LC_MESSAGES. * acinclude.m4: Include lcmessage.m4.
2008-12-09 * remote.c (remote_parse_stop_reply): Use REG only after its NULL check.Jan Kratochvil2-2/+6
2008-12-09 PR 7088Ian Lance Taylor2-0/+4
* yyscript.y (file_cmd): Handle INPUT.
2008-12-09 * testsuite/initpri1.c: Change all declarations to be fullIan Lance Taylor2-9/+14
prototypes by adding void, to avoid compiler warnings.
2008-12-092008-12-09 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-1/+11
* cpu-avr.c (compatible): Makes avr-6 compatible only with itself.
2008-12-092008-12-09 Andrew Stubbs <ams@codesourcery.com>Andrew Stubbs2-9/+67
* readelf.c (arm_attr_tag_CPU_arch): Add "v6-M" and "v6S-M". (arm_attr_tag_WMMX_arch): Add "WMMXv2". (arm_attr_tag_NEON_arch): Rename to ... (arm_attr_tag_Advanced_SIMD_arch): ... official name. (arm_attr_tag_ABI_PCS_config): Rename to ... (arm_attr_tag_PCS_config): ... official name. (arm_attr_tag_ABI_PCS_RO_DATA): Rename to ... (arm_attr_tag_ABI_PCS_RO_data): ... official name. (arm_attr_tag_ABI_FP_denormal): Add "Sign only". (arm_attr_tag_CPU_unaligned_access): New array. (arm_attr_tag_T2EE_use): New array. (arm_attr_tag_Virtualization_use): New array. (arm_attr_tag_MPextension_use): New array. (arm_attr_publ): NEON_arch -> Advanced_SIMD_arch. ABI_PCS_config -> PCS_config. ABI_PCS_RO_DATA -> ABI_PCS_RO_data. Add CPU_unaligned_access, nodefaults, also_compatible_with, T2EE_use, conformance, Virtualization_use and MPextension_use. (display_arm_attribute): Handle Tag_nodefaults and Tag_also_compatible_with.
2008-12-09*** empty log message ***gdbadmin1-1/+1
2008-12-09daily updateAlan Modra1-1/+1
2008-12-082008-12-08 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+5
* i386-gen.c (opcode_modifiers): Move VexNDS before VexNDD.
2008-12-082008-12-08 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+5
* config/tc-i386.c (build_modrm_byte): Remove an extra blank line.
2008-12-082008-12-08 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+4
* i386-dis.c (putop): Remove strayed comments.
2008-12-08 * python/python-value.c (values_in_python): Add specific initializationJoel Brobecker2-1/+8
to NULL to work-around a MacOS linker bug.
2008-12-08 Fix loc_type of `bp_location's created by update_watchpoint.Jan Kratochvil2-13/+20
* breakpoint.c (allocate_bp_location): Remove the bp_type parameter. Replace bp_type by bpt->type. Update prototype. All callers updated. (add_location_to_breakpoint): Remove the bp_type parameter. Replace bp_type by b->type. All callers updated. (set_breakpoint_location_function): Replace bptype by b->type.
2008-12-08daily updateAlan Modra1-1/+1
2008-12-08*** empty log message ***gdbadmin1-1/+1
2008-12-07 * breakpoint.c (update_global_location_list): Fix the comment.Jan Kratochvil2-1/+5
2008-12-07daily updateAlan Modra1-1/+1
2008-12-07*** empty log message ***gdbadmin1-1/+1
2008-12-06*** empty log message ***gdbadmin1-1/+1
2008-12-06daily updateAlan Modra1-1/+1
2008-12-05 * infcmd.c (step_1, step_once): Look up the stepping range basedPedro Alves2-4/+15
on the current frame's PC, not on stop_pc.
2008-12-052008-12-05 Rafael Avila de Espindola <espindola@google.com>Cary Coutant7-37/+80
* options.cc (General_options::parse_plugin_opt): New. (General_options::add_plugin): The argument now is just the filename. (General_options::add_plugin_option): New. * options.h (plugin_opt): New. (add_plugin): Change argument name. (add_plugin_option): New. * plugin.cc (Plugin::load): Don't parse the plugin option. * plugin.h (Plugin::Plugin): Rename argument. Init filename_. (Plugin::add_option): New. (Plugin::args_): Change type. (Plugin::filename_): New. (Plugin_manager::add_plugin_option): New. * testsuite/Makefile.am (plugin_test_1): Use new syntax. * testsuite/Makefile.in: Regenerate.
2008-12-05 * layout.cc (Layout::include_section): Check for SHF_EXCLUDE.Cary Coutant3-0/+19
Handle --strip-lto-sections option. * options.h (strip_lto_sections): New option.
2008-12-05 Fix compilation on 32-bit host configurations.Jan Kratochvil2-1/+6
* ia64-tdep.c (ia64_breakpoint_from_pc): Suffix a constant by `LL'.
2008-12-052008-12-05 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-0/+77
* i386-darwin-nat.c (i386_darwin_sstep_at_sigreturn): New function. (amd64_darwin_sstep_at_sigreturn): New function. (darwin_set_sstep): The sigreturn is a special case: the trace flag must be set in the mcontext structure.
2008-12-05 * infcmd.c (step_once): Remove dead code.Pedro Alves2-2/+4
2008-12-05daily updateAlan Modra1-1/+1
2008-12-05*** empty log message ***gdbadmin1-1/+1
2008-12-04 * infcall.c (call_function_by_hand): Clean up use of local dummy_addr.Doug Evans2-26/+21
2008-12-04 * gdb.server/ext-run.exp: Relax regexp for init program.Doug Evans2-1/+5
2008-12-042008-12-03 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-1/+11
* gdb.base/macscp.exp: Generate an object file during compilation to work around Darwin dsymutil limitations.
2008-12-04 * ld-x86-64/ifunc.d: New test (of STT_IFUNC for x86_64).Nick Clifton5-7/+227
* ld-x86-64/ifunc.s: Source file for new test. * ld-x86-64/x86-64.exp: Run the new test. * ld-i386/ifunc.d: Tidy up regexps for expected output.
2008-12-04opcodes/Ben Elliston17-471/+97
* ppc-dis.c (powerpc_init_dialect): Do not set PPC_OPCODE_BOOKE for -Mbooke. (print_ppc_disassembler_options): Update usage. * ppc-opc.c (DE, DES, DEO, DE_MASK): Remove. (BOOKE64): Remove. (PPCCHLK64): Likewise. (powerpc_opcodes): Remove all BOOKE64 instructions. gas/ * config/tc-ppc.c (parse_cpu): Remove booke64 support. Update usage strings. (ppc_setup_opcodes): Likewise, remove booke64 support. * doc/c-ppc.texi (PowerPC-Opts): Remove -mbooke32 and -mbooke64. * doc/as.texinfo (Overview): Likewise. binutils/ * doc/binutils.texi (objdump): Update booke documentation. * NEWS: Document user-visible changes to command line options.
2008-12-04* doc/as.texinfo (Type): Reword description of STT_IFUNC type.Nick Clifton2-2/+10
2008-12-042008-12-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>Andreas Krebbel2-0/+8
* elf64-s390.c (elf_s390_check_relocs): Initialize htab->elf.dynobj if necessary.