aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-01-13 * ld-spu/icache1.s: New file.Alan Modra3-0/+318
* ld-spu/icache1.d: New file.
2009-01-13gas/testsuite/H.J. Lu8-6/+31
2009-01-12 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/sse-noavx.s: Add tests for lfence, mfence and movnti. * gas/i386/x86-64-sse-noavx.s: Likewise. * gas/i386/sse-noavx.d: Updated. * gas/i386/x86-64-sse-noavx.d: Likewise. opcodes/ 2009-01-12 H.J. Lu <hongjiu.lu@intel.com> * i386-opc.tbl: Add NoAVX to movnti, lfence and mfence. * i386-tbl.h: Regenerated.
2009-01-13*** empty log message ***gdbadmin1-1/+1
2009-01-13daily updateAlan Modra1-1/+1
2009-01-12 * ppc-instructions (sync): Add L field.Nathan Froyd2-1/+5
2009-01-12Update gas/i386/sse2avx-opts.d, gas/i386/sse2avx-opts-intel.d,H.J. Lu5-0/+676
gas/i386/x86-64-sse2avx-opts.d and gas/i386/x86-64-sse2avx-opts-intel.d.
2009-01-12gas/testsuite/H.J. Lu9-16/+1041
2009-01-12 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/opts.s: Add tests for add, adc, and, cmp, or, sbb, sub and xor. * gas/i386/x86-64-opts.s: Likewise. * gas/i386/opts.d: Updated. * gas/i386/opts-intel.d: Likewise. * gas/i386/x86-64-opts.d: Likewise. * gas/i386/x86-64-opts-intel.d: Likewise. opcodes/ 2009-01-12 H.J. Lu <hongjiu.lu@intel.com> * i386-dis.c (dis386): Use EbS on addB, orB, adcB, sbbB, andB, subB, xorB and cmpB. Use EvS on addS, orS, adcS, sbbS, andS, subS, xorS and cmpS.
2009-01-12 * elf32-spu.c (spu_elf_build_stubs): Make __icache_base absolute.Alan Modra2-2/+6
2009-01-12 * objdump.c (disassemble_section): Don't assume non-instructionAlan Modra1-0/+5
data if object symbol at given address is in different section.
2009-01-12 * ld-elf/elf.exp: Save and restore LDFLAGS.Alan Modra5-2/+19
* ld-scripts/default-script.exp: Likewise. * ld-scripts/empty-orphan.exp: Likewise, and add to LDFLAGS rather than replacing. * ld-scripts/include.exp: Set --local-store for SPU.
2009-01-12really regenerate this timeAlan Modra2-0/+35
2009-01-12 * elf32-spu.c (remove_cycles): Always set call->max_depth.Alan Modra2-1/+5
2009-01-122009-01-12 Kai Tietz <kai.tietz@onevision.com>Kai Tietz2-101/+121
* dlltool.c (create_for_pep): New. (flush_page): Use create_for_pep instead of using macro DLLTOOL_MX86_64 clause. (generate_idata_ofile): Likewise. (make_one_lib_file): Likewise. (make_head): Likewise. (make_tail): Likewise. (main): Initialize create_for_pep.
2009-01-12 * elf32-spu.c (spu_elf_auto_overlay): Correct vma mask.Alan Modra2-1/+6
2009-01-12Fix linking with --enable-targets=all:Christopher Faylor19-2519/+62
* Makefile.in (ALL_TARGET_OBS): Add windows-tdep.o. (HFILES_NO_SRCDIR): Add windows-tdep.h. (ALLDEPFILES): Add windows-tdep.c. * win32-tdep.h: Delete. * windows-tdep.h: Rename from win32-tdep.h. * win32-nat.h: Delete. * windows-nat.h: Rename from win32-nat.h. * win32-nat.c: Delete. * windows-nat.c: Rename from win32-nat.c. * win32-termcap.c: Delete. * windows-termcap.c: Rename from win32-termcap.c. * amd64-windows-nat.c: Handle rename from win32-nat.h -> windows-nat.h. * configure.ac: Handle rename from win32-termcap.c -> windows-termcap.c. * configure: Regenerate. * gdb_curses.h: Change comment to reflect rename from win32-termcap.c -> windows-termcap.c. * i386-cygwin-tdep.c: Handle rename from win32-tdep.h -> windows-tdep.h. * i386-windows-nat.c: Refect rename from win32-nat.h -> windows-nat.h. * windows-nat.c: Ditto. Also reflect rename from from win32-tdep.h -> windows-tdep.h. (win32_make_so): Handle cygwin compiler warning due to change of load_addr from DWORD to LPVOID. (handle_load_dll): Use %p in format string to properly print address and avoid a compiler warning. (DEBUG_EXCEPTION_SIMPLE): Ditto. (handle_exception): Ditto. * windows-tdep.c: Handle rename from win32-tdep.h -> windows-tdep.h. * config/i386/cygwin.mh: Handle rename from win32-nat.o -> windows-nat.o. * config/i386/mingw.mh: Ditto. * config/i386/mingw64.mh: Ditto.
2009-01-12bfd/Alan Modra14-377/+1302
* elf32-spu.c (struct spu_link_hash_table): Add init, line_size_log2, num_lines_log2. (struct got_entry): Add br_addr. (struct call_info): Add priority. (struct function_info): Add lr_store and sp_adjust. (spu_elf_setup): Init line_size_log2 and num_lines_log2. (spu_elf_find_overlays): For soft-icache, mark any section within cache area as an overlay, and check that no other overlays exist. Look up icache overlay manager entry sym. (BRA_STUBS, BRA, BRASL): Define. (enum _stub_type): Replace ovl_stub with call_ovl_stub and br*_ovl_stub. (needs_ovl_stub): Adjust for soft-icache. Return priority encoded in branch insn. (count_stub, build_stub): Support soft-icache. (build_spuear_stubs, process_stubs): Adjust build_stub call. (spu_elf_size_stubs): Size soft-icache stubs. (overlay_index): New function. (spu_elf_build_stubs): Make static. Support soft-icache. (spu_elf_check_vma): Don't turn off auto_overlay if soft-icache. (find_function_stack_adjust): Save lr store and stack adjust insn offsets. (maybe_insert_function): Adjust find_function_stack_adjust call. (mark_functions_via_relocs): Retrieve priority. (remove_cycles): Only warn about pruned arcs when stack_analysis. (sort_calls): Sort by priority first. (mark_overlay_section): Ignore .ovl.init. (sum_stack): Only print when stack_analysis. (print_one_overlay_section): New function, extracted from.. (spu_elf_auto_overlay): ..here. Support soft-icache overlays. (spu_elf_stack_analysis): Only print when htab->stack_analysis. (spu_elf_final_link): Call spu_elf_stack_analysis for lrlive analysis. Call spu_elf_build_stubs. (spu_elf_relocate_section): For soft-icache encode overlay index into addresses. (spu_elf_output_symbol_hook): Support soft-icache. (spu_elf_modify_program_headers: Likewise. * elf32-spu.h (struct spu_elf_params): Add lrlive_analysis. Rename num_regions to num_lines. Add line_size and max_branch. (enum _ovly_flavour): Add ovly_soft_icache. (spu_elf_build_stubs): Delete. gas/ * config/tc-spu.c (md_pseudo_table): Add "brinfo". (brinfo): New var. (md_assemble): Poke brinfo into branch instructions. (spu_brinfo): New function. (md_apply_fix): Don't assume insn fields start off at zero, mask them to remove possible brinfo. ld/ * emultempl/spuelf.em (params): Init new fields. (num_lines_set, line_size_set, icache_mgr, icache_mgr_stream): New vars. (spu_place_special_section): Adjust placement for soft-icache. Pad soft-icache section to a fixed size. Clear addr_tree. (spu_elf_load_ovl_mgr): Support soft-icache. Map overlay manager sections a little more intelligently. (gld${EMULATION_NAME}_finish): Don't call spu_elf_build_stubs. (OPTION_SPU_NUM_LINES): Rename from OPTION_SPU_NUM_REGIONS. (OPTION_SPU_SOFT_ICACHE, OPTION_SPU_LINE_SIZE): Define. (OPTION_SPU_LRLIVE): Define. (PARSE_AND_LIST_LONGOPTS): Add new soft-icache options. (PARSE_AND_LIST_OPTIONS): Likewise. (PARSE_AND_LIST_ARGS_CASES): Handle them. * emultempl/spu_icache.S: Dummy file. * emultempl/spu_icache.o_c: Regenerate. * Makefile.am (eelf32_spu.c): Depend on spu_icache.o_c. (spu_icache.o_c): Add rule to build. (CLEANFILES): Zap temp files. (EXTRA_DIST): Add spu_icache.o_c. * Makefile.in: Regenerate. ld/testsuite/ * ld-spu/ovl.d: Allow for absolute branches in stubs. * ld-spu/ovl2.d: Likewise.
2009-01-12*** empty log message ***gdbadmin1-1/+1
2009-01-12daily updateAlan Modra1-1/+1
2009-01-11 * f-typeprint.c (f_type_print_varspec_suffix): Convert the autovariableJan Kratochvil2-9/+20
arrayprint_recurse_level to a parameter. Update all the callers. New comment at autovariables.
2009-01-11bfd/Jan Kratochvil6-0/+67
* elflink.c (_bfd_elf_section_already_linked): Handle g++-3.4 relocations in `.gnu.linkonce.r.*' referencing its `.gnu.linkonce.t.*'. ld/testsuite/ * ld-elf/linkoncerdiff.d, ld-elf/linkoncerdiff1.s, ld-elf/linkoncerdiff2.s: New.
2009-01-11 * gdbtypes.c (make_qualified_type, replace_type): Reformat to the GNUJan Kratochvil2-21/+30
coding style.
2009-01-11 * target.c (target_xfer_partial): Use host_address_to_string toJoel Brobecker2-7/+17
print the address of readbuf and writebuf. Cast the address of elements inside the myaddr buffer into intptr_t. (deprecated_debug_xfer_memory): Use paddress to print memaddr. Cast the address of elements inside the myaddr buffer into intptr_t.
2009-01-11 * amd64-windows-nat.c, amd64-windows-tdep.c: New files.Joel Brobecker8-1/+190
* config/i386/mingw64.mh, config/i386/nm-cygwin64.h: New files. * configure.host, configure.tgt: Add handling for x86_64/windows. * config/djgpp/fnchange.lst: Add entries for amd64-windows-nat.c and amd64-windows-tdep.c.
2009-01-11 * win32-tdep.h, win32-tdep.c: New files.Joel Brobecker9-29/+129
* i386-cygwin-tdep.h: Delete. * i386-cygwin-tdep.c: Include win32-tdep.h instead of i386-cygwin-tdep.h. (win32_xfer_shared_library): Delete. Moved to win32-tdep.c. * win32-nat.c: Likewise. * configure.tgt: Add win32-tdep.o to the list of target object files for i386-cygwin and i386-mingw targets.
2009-01-11 * win32-nat.h: New file.Joel Brobecker8-102/+171
* win32-nat.c (mappings): Initialize to NULL. (win32_set_context_register_offsets): New function. * i386-windows-nat.c: New file. (mappings): Moved here from win32-nat.c. (_initialize_i386_windows_nat): New function. * config/i386/mingw.mh (NATDEPFILES): Add i386-windows-nat.o. * config/i386/cygwin.mh (NATDEPFILES): Likewise.
2009-01-11daily updateAlan Modra1-1/+1
2009-01-11*** empty log message ***gdbadmin1-1/+1
2009-01-10Reformat.H.J. Lu1-2/+2
2009-01-102009-01-10 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+7
* doc/c-i386.texi: Reformat.
2009-01-10gas/H.J. Lu19-3262/+3397
2009-01-10 H.J. Lu <hongjiu.lu@intel.com> * gas/config/tc-i386.c (cpu_arch): Add corei7, .clflush and .syscall. (i386_align_code): Handle PROCESSOR_COREI7. (md_show_usage): Add corei7, clflush and syscall. (i386_target_format): Replace cpup4 with cpuclflush. * gas/config/tc-i386.h (processor_type): Add PROCESSOR_COREI7. * doc/c-i386.texi: Document corei7, clflush and syscall. gas/testsuite/ 2009-01-10 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/arch-10.s: Add clflush and syscall. * gas/i386/x86-64-arch-2.s: Likewise. * gas/i386/arch-10.d: Updated. * gas/i386/arch-10-1.l: Likewise. * gas/i386/arch-10-2.l: Likewise. * gas/i386/arch-10-3.l: Likewise. * gas/i386/arch-10-4.l: Likewise. * gas/i386/x86-64-arch-2.d: Likewise. opcodes/ 2009-01-10 H.J. Lu <hongjiu.lu@intel.com> * i386-gen.c (cpu_flag_init): Replace CpuP4 and CpuK6 with CpuClflush and CpuSYSCALL, respectively. Remove CpuK8. Add CPU_COREI7_FLAGS, CPU_CLFLUSH_FLAGS and CPU_SYSCALL_FLAGS. (cpu_flags): Remove CpuP4, CpuK6 and CpuK8. Add CpuClflush and CpuSYSCALL. (lineno): Removed. (set_bitfield): Take an argument, lineno. Don't report lineno on error if it is -1. (process_i386_cpu_flag): Take an argument, lineno. (process_i386_opcode_modifier): Likewise. (process_i386_operand_type): Likewise. (output_i386_opcode): Likewise. (opcode_hash_entry): Add lineno. (process_i386_opcodes): Updated. (process_i386_registers): Likewise. (process_i386_initializers): Likewise. * i386-opc.h (CpuP4): Removed. (CpuK6): Likewise. (CpuK8): Likewise. (CpuClflush): New. (CpuSYSCALL): Likewise. (CpuMMX): Updated. (i386_cpu_flags): Remove cpup4, cpuk6 and cpuk8. Add cpuclflush and cpusyscall. * i386-opc.tbl: Update movnti, clflush, lfence, mfence, pause, syscall and sysret. * i386-init.h: Regenerated. * i386-tbl.h: Likewise.
2009-01-10daily updateAlan Modra1-1/+1
2009-01-10*** empty log message ***gdbadmin1-1/+1
2009-01-09* Makefile.in (init.c): Set LANG/LC_ALL to C, not c.Andreas Schwab2-2/+6
2009-01-09gas/H.J. Lu18-2586/+2656
2009-01-09 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (cpu_arch): Add .rdtscp. (md_show_usage): Display rdtscp. * doc/c-i386.texi: Document rdtscp. gas/testsuite/ 2009-01-09 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/arch-10.s: Add rdtscp. * gas/i386/x86-64-arch-2.s: Likewise. * gas/i386/arch-10.d: Updated. * gas/i386/arch-10-1.l: Likewise. * gas/i386/arch-10-2.l: Likewise. * gas/i386/arch-10-3.l: Likewise. * gas/i386/arch-10-4.l: Likewise. * gas/i386/x86-64-arch-2.d: Likewise. opcodes/ 2009-01-09 H.J. Lu <hongjiu.lu@intel.com> * i386-gen.c (cpu_flag_init): Add CpuRdtscp to CPU_K8_FLAGS and CPU_AMDFAM10_FLAGS. Add CPU_RDTSCP_FLAGS. (cpu_flags): Add CpuRdtscp. (set_bitfield): Remove CpuSledgehammer check. * i386-opc.h (CpuRdtscp): New. (CpuLM): Updated. (i386_cpu_flags): Add cpurdtscp. * i386-opc.tbl: Replace CpuSledgehammer with CpuRdtscp. * i386-init.h: Regenerated. * i386-tbl.h: Likewise.
2009-01-09gas/Peter Bergner6-2754/+2771
* config/tc-ppc.c (ppc_setup_opcodes): Remove PPC_OPCODE_NOPOWER4 test. Test the new "deprecated" opcode field. include/opcode/ * ppc.h (struct powerpc_opcode): New field "deprecated". (PPC_OPCODE_NOPOWER4): Delete. opcodes/ * ppc-opc.c (PPCNONE): Define. (NOPOWER4): Delete. (powerpc_opcodes): Initialize the new "deprecated" field.
2009-01-09 * gdbtypes.c (append_composite_type_field): Correct the location ofPedro Alves2-4/+8
appended fields.
2009-01-09 * defs.h (deprecated_error_hook): Delete declaration.Pedro Alves5-19/+13
* interps.c (clear_interpreter_hooks): Adjust. * remote-sim.c (gdb_os_error): Don't try to call deprecated_error_hook. No need to call exit anymore. * top.c (deprecated_error_hook): Delete.
2009-01-09 * arch-utils.c (gdbarch_update_p): Use host_address_to_stringJoel Brobecker2-4/+9
to print the address of the gdbarch pointer.
2009-01-09 * gdbarch.sh: Fix all the compilation errors on amd64-windowsJoel Brobecker3-172/+180
due to casting a pointer to a long when printing a function address. Instead, use host_address_to_string to convert our address to a string. * gdbarch.c: Regenerate.
2009-01-09 * event-top.c (async_disconnect, async_stop_sig): use "raise"Joel Brobecker2-2/+7
instead of "kill" to raise a signal.
2009-01-09 * win32-nat.c (get_module_name): Change the type of parameterJoel Brobecker3-18/+30
"base_address" to LPVOID. Remove unnecessary cast. (struct lm_info): Change type of load_addr to LPVOID. (win32_make_so): Change the type of parameter "load_addr" to LPVOID. Remove some unnecessary casts. (handle_unload_dll): Change the type of "lpBaseOfDll" to LPVOID. (win32_xfer_shared_libraries): Add missing cast.
2009-01-09 * win32-nat.c (has_detach_ability, set_process_privilege):Joel Brobecker3-18/+26
Cast the result of GetProcAddress to (void *) to avoid a compilation warning.
2009-01-09 * win32-nat.c (CONTEXT_EXTENDED_REGISTERS): Define to 0 if notJoel Brobecker3-0/+17
already defined.
2009-01-09 * win32-nat.c (get_image_name, win32_xfer_memory): Fix typeJoel Brobecker3-8/+14
definition of local variable "done". (info_w32_command, handle_exception): Remove unnecessary cast.
2009-01-09 * win32-nat.c (kernel32_DebugSetProcessKillOnExit): RenamesJoel Brobecker3-21/+30
DebugSetProcessKillOnExit. Update all uses in this file. (kernel32_DebugActiveProcessStop): Renames DebugActiveProcessStop. Update all uses in this file.
2009-01-09 * win32-nat.c (do_initial_win32_stuff): Add new ops parameter,Joel Brobecker3-12/+21
and use it when pushing the target. (win32_attach, win32_create_inferior): Update call to do_initial_win32_stuff. (win32_detach, win32_mourn_inferior): Use our ops parameter instead of the global win32_ops to unpush the target.
2009-01-09 * ser-mingw.c (ser_windows_open): Use proper type when castingJoel Brobecker2-1/+6
in call to _open_osfhandle.
2009-01-092009-01-09 Kai Tietz <kai.tietz@onevision.com>Kai Tietz2-1/+5
* coff-pe-read.c (read_pe_exported_syms): Fix typo.
2009-01-09 * CONTRIBUTE: Minor reformatting.Joel Brobecker2-1/+6
2009-01-09*** empty log message ***gdbadmin1-1/+1