aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-04-08merge from gccDJ Delorie3-2/+7
2009-04-08bfd/H.J. Lu8-0/+48
2009-04-08 H.J. Lu <hongjiu.lu@intel.com> * elflink.c (elf_link_add_object_symbols): Warn alternate ELF machine code. include/ 2009-04-08 H.J. Lu <hongjiu.lu@intel.com> * bfdlink.h (bfd_link_info): Add warn_alternate_em. ld/ 2009-04-08 H.J. Lu <hongjiu.lu@intel.com> * lexsup.c (option_values): Add OPTION_WARN_ALTERNATE_EM. (ld_options): Likewise. (parse_args): Likewise. * ld.texinfo: Document --warn-alternate-em. * NEWS: Mention --warn-alternate-em.
2009-04-08 Implement -exec-jump.Vladimir Prus4-0/+17
* mi/mi-cmds.h (mi_cmd_exec_jump): Declare. * mi/mi-main.c (mi_cmd_exec_jump): New. * mi/mi-cmds.c (mi_cmds): Register exec-jump.
2009-04-08[include/elf]DJ Delorie12-6/+58
* mep.h (EF_MEP_CPU_C5): New. [bfd] * archures.c: Add bfd_mach_mep_c5. * bfd-in2.h: Likewise. * cpu-mep.c: Add bfd_c5_arch. * elf32-mep.c: Support it. [gas] * config/tc-mep.c: Add UCI/DSP instruction support. Add C5 support. (md_show_usage): Change default endian to little. * config/tc-mep.h (TARGET_BYTES_BIG_ENDIAN): Change default to little. [ld] * emulparams/elf32mep.sh: Change default endian to little.
2009-04-08daily updateAlan Modra1-1/+1
2009-04-08*** empty log message ***gdbadmin1-1/+1
2009-04-07 * symfile.c (symbol_file_clear): Fix indentation.Doug Evans2-9/+13
2009-04-072009-04-07 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-2/+8
* elflink.c (_bfd_elf_section_already_linked): Add `\n' for info->callbacks->einfo. * linker.c (_bfd_generic_section_already_linked): Likewise.
2009-04-07opcodes/Peter Bergner4-8/+20
* ppc-opc.c (powerpc_opcodes) <"tlbilxlpid", "tlbilxpid", "tlbilxva", "tlbilx">: Use secondary opcode "18" as per the ISA 2.06 documentation. Reorder entries so the extended mnemonics are listed before tlbilx. gas/testsuite/ * gas/ppc/e500mc.d: Update to match extended mnemonics.
2009-04-07[bfd]DJ Delorie6-67/+186
* elf32-h8300.c (elf32_h8_relax_section): Relax MOVA opcodes. [gas] * tc-h8300.c (do_a_fix_imm): Pass the insn, force relocs for MOVA immediates. (build_bytes): Pass insn to do_a_fix_imm. [include/opcode] * h8300.h: Add relaxation attributes to MOVA opcodes.
2009-04-07 * ld.texinfo (Output Section Address): Note that specifying anNick Clifton2-1/+8
address for an output section will only change the location counter if the output section is used.
2009-04-07daily updateAlan Modra1-1/+1
2009-04-07*** empty log message ***gdbadmin1-1/+1
2009-04-062009-04-06 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu4-3/+23
* coff-x86_64.c (bfd_pe_print_pdata): Defined to _bfd_pex64_print_pdata only if PE is defined. * libpei.h (_bfd_pep_print_x64_pdata): Renamed to ... (_bfd_pex64_print_pdata): This. * peXXigen.c (_bfd_pep_print_x64_pdata): Renamed to ... (_bfd_pex64_print_pdata): This. Defined only if COFF_WITH_pex64 is defined.
2009-04-06 * ldfile.c (ldfile_find_command_file): Initialize result.Kazu Hirata2-1/+5
2009-04-06daily updateAlan Modra1-1/+1
2009-04-06 * ld.texinfo (-L): Mention that -L options do not affect how ldKazu Hirata5-19/+64
searches for a linker script unless -T option is specified. * ldfile.c (ldfile_find_command_file): Append the path obtained from the program name to the search path instead of prepending. Add a new parameter "default_only". Restrict the search to the default script location if the new parameter is true. (ldfile_open_command_file_1): New. (ldfile_open_command_file): Call ldfile_open_command_file_1. (ldfile_open_default_command_file): New.
2009-04-06*** empty log message ***gdbadmin1-1/+1
2009-04-05* sparc64nbsd-nat.c (sparc64nbsd_supply_pcb): Fix comment.Mark Kettenis2-4/+7
2009-04-052009-04-05 Kai Tietz <kai.tietz@onevision.com>Kai Tietz4-3/+90
* coff-x86_64.c (bfd_pe_print_pdata): Define as _bfd_pep_print_x64_pdata. * libpei.h (_bfd_pep_print_x64_pdata): Add prototype. * peXXigen.c (_bfd_pep_print_x64_pdata): New.
2009-04-05daily updateAlan Modra1-1/+1
2009-04-05*** empty log message ***gdbadmin1-1/+1
2009-04-04*** empty log message ***gdbadmin1-1/+1
2009-04-04daily updateAlan Modra1-1/+1
2009-04-03 * inferiors.c (get_thread_process): Make global.Ulrich Weigand4-2/+17
* server.h (get_thread_process): Add prototype. * thread-db.c (find_one_thread): Use get_thread_process instead of current_process. (thread_db_get_tls_address): Do not crash if called when thread layer is not yet initialized.
2009-04-03 * ppc-linux-nat.c (ppc_linux_target_wordsize): New function.Ulrich Weigand2-19/+63
(ppc_linux_auxv_parse): New function. (ppc_linux_read_description): Use ppc_linux_target_wordsize. (_initialize_ppc_linux_nat): Install ppc_linux_auxv_parse.
2009-04-032009-04-02 Sterling Augustine <sterling@jaw.hq.tensilica.com>Sterling Augustine2-6/+6
* elf32-xtensa.c (relax_property_section): Always set r_offset to zero.
2009-04-03 * remote-utils.c (prepare_resume_reply): Null-terminate packet.Ulrich Weigand3-23/+49
* spu-low.c (current_tid): Rename to ... (current_ptid): ... this. (fetch_ppc_register, fetch_ppc_memory, store_ppc_memory, spu_proc_xfer_spu, spu_resume, spu_request_interrupt): Use ptid_get_lwp (current_ptid) instead of current_tid. (spu_kill, spu_detach, spu_join, spu_wait): Use pid argument instead of current_tid. Use find_process_pid to verify pid argument is valid. Pass proper argument to remove_process. (spu_thread_alive): Compare current_ptid instead of current_tid. (spu_resume): Likewise.
2009-04-03 * spu-linux-nat.c (spu_bfd_open): Set filename of in-memoryUlrich Weigand2-1/+25
BFD to contents of SPU name note. (spu_symbol_file_add_from_memory): Call symbol_file_add_from_bfd with "from_tty" argument 1 instead of 0.
2009-04-03 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.Ulrich Weigand3-10/+5
* gdb.server/ext-attach.exp: Likewise.
2009-04-03 * linux-low.c (usr_store_inferior_registers): Declare local `pid'Pedro Alves2-0/+6
variable.
2009-04-03 Eliminate some sleep usage.Vladimir Prus2-2/+15
* gdb.mi/basics.c (do_nothing): New. (main): Use do_nothing instead of printf, so that not to introduce race condition between output of inferiour and output of gdb. Do not use sleep as it is not generally available on embedded targets.
2009-04-03 * ld-scripts/rgn-at.s: Use explicit .section pseudos.Nathan Sidwell2-3/+7
2009-04-03 * ld-pe/image_size.d (#target): Also run test on Cygwin and x86_64Dave Korn2-1/+6
MinGW targets.
2009-04-03 * ldlang.c (lang_leave_output_section_statement): Set lma_regionNathan Sidwell11-0/+141
if it is not overridden and section is for the same vma region as the previous section. * ld-scripts/rgn-at.exp: New. * ld-scripts/rgn-at.s: New. * ld-scripts/rgn-at1.d: New. * ld-scripts/rgn-at1.t: New. * ld-scripts/rgn-at2.d: New. * ld-scripts/rgn-at2.t: New. * ld-scripts/rgn-at3.d: New. * ld-scripts/rgn-at3.t: New.
2009-04-03 * ld-pe/export_dynamic_warning.s: Make dummy code portable.Dave Korn2-2/+5
2009-04-03daily updateAlan Modra1-1/+1
2009-04-03*** empty log message ***gdbadmin1-1/+1
2009-04-02 * gdb.server/ext-attach.exp: Expect an optional process id afterPedro Alves2-1/+6
"Detached from remote process".
2009-04-02gdb/Jan Kratochvil7-2/+278
* dwarf2read.c (new_symbol <DW_TAG_variable> <!DW_AT_location> <DW_AT_external>): Create the symbol in local scope. * symtab.h (cu->list_in_scope <LOC_UNRESOLVED>): New comment part. gdb/testsuite/ * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/dw2-unresolved.exp: New.
2009-04-02 * stabsread.c (read_member_functions): GCC may emit an extra spaceKeith Seitz2-2/+8
at the end of the names "__base_ctor" and "__base_dtor"; so ignore whitespace when looking for these functions.
2009-04-02 * ld-pe/export_dynamic_warning.d (#warning): Fix regex pattern.Dave Korn2-1/+5
2009-04-02 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. UsePedro Alves2-37/+12
mi_run_to_main.
2009-04-02 * gdb.texinfo (Backtrace): Add a parameter in frame 1 of the firstJoel Brobecker2-11/+28
example, and add a small explanation about it. (Print Settings): Change the documentation of the "set print frame-arguments" to reflect the fact that the default is now "scalars".
2009-04-02 * gdb.texinfo (Print Settings): Add kindex for command "setJoel Brobecker2-0/+6
print frame-arguments".
2009-04-02 * gdb.mi/mi-nonstop.exp: Don't check isnative. UsePedro Alves5-122/+67
mi_run_to_main. Skip thread exit test on remote targets. * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use mi_run_to_main. * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use mi_run_to_main. * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor when expecting ^connected. Detect when the target doesn't support non-stop mode. (mi_run_cmd): Detect if non-stop mode was requested by isn't supported. Return -1 on error, 0 on success. (mi_runto_helper): Don't expect a stop if mi_run_cmd failed. (mi_runto): Return mi_runto_helper's result explicitly.
2009-04-02ld/ChangeLogDave Korn8-0/+42
PR ld/6744 * ld.texinfo (--export-dynamic): Mention --export-all-symbols. * emultempl/pe.em (gld_${EMULATION_NAME}_after_parse): Issue warning if --export-dynamic was passed on command-line. * emultempl/pep.em (gld_${EMULATION_NAME}_after_parse): Likewise. ld/testsuite/ChangeLog PR ld/6744 * ld-pe/export_dynamic_warning.d: New test control file. * ld-pe/export_dynamic_warning.s: New test source file. * ld-pe/pe.exp: Also run export_dynamic_warning dump test.
2009-04-022009-04-02 Christophe Lyon <christophe.lyon@st.com>Christophe Lyon5-21/+64
bfd/ * elf32-arm.c (elf32_arm_stub_long_branch_v4t_thumb_thumb, elf32_arm_stub_long_branch_v4t_thumb_thumb_pic): Two new long branch stubs. (elf32_arm_stub_type): New enum values for the two new stubs. (arm_type_of_stub): Make use of the two new stubs. (arm_size_one_stub): Handle the two new stubs. testsuite/ * ld-arm/farcall-thumb-thumb-pic-veneer.d: Update expected results. * ld-arm/farcall-thumb-thumb.d: Likewise.
2009-04-02 * inutils-all/objcopy.exp (strip_executable): Delete remote destDave Korn2-0/+10
file before downloading. (strip_executable_with_saving_a_symbol): Likewise. (keep_debug_symbols_and_test_copy): Likewise.
2009-04-02opcodes/Peter Bergner3-46/+50
* ppc-dis.c (powerpc_init_dialect): Do not choose a default dialect due to -many/-Many. (print_insn_powerpc): Make sure we only deprecate instructions using the original dialect and not a modified dialect due to -Many handling. Move the handling of the condition register and default operands to the end of the if/else if/else chain. * ppc-opc.c (powerpc_opcodes): Reorder the opcode table so that instructions from newer processors are listed before older ones. <"icblce", "sync", "eieio", "tlbld">: Deprecate for processors that have instructions with conflicting opcodes.