aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-07-05 * gas/mips/mips.exp (run_dump_test_arch): Check for the presenceMaciej W. Rozycki2-1/+12
of an architecture-specific test first and use it if found, before falling back to the generic one.
2010-07-05 * gas/mips/mips4-fp.d, gas/mips/mips4-fp.s: Remove checks forMaciej W. Rozycki8-38/+71
branch-likely instructions and place them... * gas/mips/mips4-branch-likely.d, gas/mips/mips4-branch-likely.s: ... in this new test. * gas/mips/mips4-fp.l: Update accordingly. * gas/mips/mips4-branch-likely.l: New stderr output for the new test. * gas/mips/mips.exp (mips4-branch-likely): Run a dump test and a list test with mips4-branch-likely similarly to mips4-fp.
2010-07-05 * gas/mips/beq.d, gas/mips/beq.s: Remove checks forMaciej W. Rozycki14-122/+154
branch-likely instructions. * gas/mips/bge.d, gas/mips/bge.s: Likewise. * gas/mips/bgeu.d, gas/mips/bgeu.s: Likewise. * gas/mips/blt.d, gas/mips/blt.s: Likewise. * gas/mips/bltu.d, gas/mips/bltu.s: Likewise. * gas/mips/branch-likely.d, gas/mips/branch-likely.s: New test, collecting checks for branch-likely instructions removed from the above. * gas/mips/mips.exp: Run the new test and update the constraints for the updated tests to include MIPS I.
2010-07-05 * gas/mips/mips4-fp.d: Reformat.Maciej W. Rozycki2-41/+45
2010-07-05 * gas/mips/beq.d: Reformat.Maciej W. Rozycki6-263/+269
* gas/mips/bge.d, gas/mips/bgeu.d: Likewise. * gas/mips/blt.d, gas/mips/bltu.d: Likewise.
2010-07-05 * gas/mips/beq.d: Remove leftover symbols/relocs from theMaciej W. Rozycki2-4/+9
change on 2009-02-06.
2010-07-05gdb/Jan Kratochvil4-9/+50
Fix re-run of PIE executable, PR shlibs/11776. * solib-svr4.c (svr4_relocate_main_executable) <symfile_objfile>: Remove the part of pre-set SYMFILE_OBJFILE->SECTION_OFFSETS. gdb/testsuite/ Fix re-run of PIE executable, PR shlibs/11776. * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization". Remove $displacement_main to match the solib-svr4.c change. New "kill" and re-"run" of the inferior.
2010-07-05gdb/testsuite/Jan Kratochvil2-1/+48
Cope with missing /usr/sbin/prelink. * lib/prelink-support.exp (prelink_no): <result == 1 && $output is "no such file or directory">: New. (prelink_yes): Likewise. Return on failed prelink_no.
2010-07-05gdb/testsuite/Jan Kratochvil5-225/+338
* gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace build_executable by build_executable_own_libs. Replace "prelink -R" execution by a call of prelink_yes. Comment why "prelink -r" needs no change. * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of copy to file_copy. Move setting opts --dynamic-linker and -rpath, mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp. Replace build_executable by build_executable_own_libs's function build_executable_own_libs. (prelinkNO): Create new stub to call prelink_no. (prelinkYES): Create new stub to call prelink_yes. (test_attach): Rename calls of copy to file_copy. (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve) (copy): Move to ... * lib/prelink-support.exp: ... a new file. Rename prelinkNO to prelink_no, prelinkYES to prelink_yes, copy to file_copy. * gdb.base/prelink.exp: Disable testcase also for is_remote and skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with special flags by gdb_compile_shlib. Replace second gdb_compile by build_executable_own_libs. Replace "prelink -R" execution by a call of prelink_yes. Replace "prelink -u" and second "prelink -R" execution by a second call of prelink_yes. Replace restart commands by clean_restart. (prelink): Rename to ... (seen displacement message): ... this test. Extend its expectation strictness.
2010-07-05gdb/Jan Kratochvil7-22/+281
* auxv.c (memory_xfer_auxv): Update attach comment. * solib-svr4.c (svr4_special_symbol_handling): Remove the call to svr4_relocate_main_executable. (svr4_solib_create_inferior_hook): Make the call to svr4_relocate_main_executable unconditional. gdb/testsuite/ * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New. * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each displacement message exactly once.
2010-07-05gdb/Jan Kratochvil4-3/+46
* auxv.c (ld_so_xfer_auxv): Do not error on failed read of data_address.
2010-07-05gdb/Jan Kratochvil4-46/+304
Fix attaching to PIEs prelinked on the disk after the process was started. * solib-svr4.c (svr4_exec_displacement): New variable arch_size. Verify it against bfd_get_arch_size. Try to match arbitrary displacement for the phdrs comparison. gdb/testsuite/ * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new code for it. New variable relink_args. (prelinkYES): Call prelinkNO. (test_attach): Accept new parameter relink_args. Re-prelink the binary in such case. Move the core code to ... (test_attach_gdb): ... a new function. Send GDB command "file". Extend expected "Attaching to " string.
2010-07-05Replace rdrnd with rdrand.H.J. Lu11-51/+68
gas/testsuite/ 2010-07-05 H.J. Lu <hongjiu.lu@intel.com> AVX Programming Reference (June, 2010) * gas/i386/rdrnd.s: Replace rdrnd with rdrand. * gas/i386/rdrnd-intel.d: Likewise. * gas/i386/rdrnd.d: Likewise. * gas/i386/x86-64-rdrnd-intel.d: Likewise. * gas/i386/x86-64-rdrnd.d: Likewise. * gas/i386/x86-64-rdrnd.s: Likewise. opcodes/ 2010-07-05 H.J. Lu <hongjiu.lu@intel.com> AVX Programming Reference (June, 2010) * i386-dis.c (mod_table): Replace rdrnd with rdrand. * i386-opc.tbl: Likewise. * i386-tbl.h: Regenerated.
2010-07-05Fix a typo in comments for CpuFSGSBase.H.J. Lu2-2/+6
2010-07-05 H.J. Lu <hongjiu.lu@intel.com> * i386-opc.h (CpuFSGSBase): Fix a typo in comments.
2010-07-05Don't generate .debug_line section if it isn't empty.H.J. Lu16-68/+970
binutils/testsuite/ 2010-07-05 H.J. Lu <hongjiu.lu@intel.com> PR gas/10531 PR gas/11789 * binutils-all/objdump.W: Remove bogus line debug info. gas/ 2010-07-05 Jim Wilson <wilson@codesourcery.com> PR gas/10531 PR gas/11789 * dwarf2dbg.c (dwarf2_finish): Don't generate .debug_line section if it isn't empty. gas/testsuite/ 2010-07-05 H.J. Lu <hongjiu.lu@intel.com> PR gas/10531 PR gas/11789 * gas/i386/dw2-compress-1.d: Remove bogus line debug info. * gas/elf/dwarf2-1.d: New. * gas/elf/dwarf2-1.s: Likewise. * gas/elf/dwarf2-2.d: Likewise. * gas/elf/dwarf2-2.s: Likewise. * gas/elf/dwarf2-3.d: Likewise. * gas/elf/dwarf2-3.s: Likewise. * gas/i386/debug1.d: Likewise. * gas/i386/debug1.s: Likewise. * gas/elf/elf.exp: Run dwarf2-1, dwarf2-2 and dwarf2-3. * gas/i386/i386.exp: Run debug1 for both 32bit and 64bit.
2010-07-05 * elf32-ppc.c: Formatting.Alan Modra2-24/+29
(ppc_elf_finish_dynamic_sections): Don't make plt_entry var static.
2010-07-05Remove bogus bugzilla references.Jan Beulich2-2/+0
2010-07-05 * config/tc-moxie.c (md_apply_fix): Delete set but otherwiseAlan Modra2-7/+5
unused var.
2010-07-05*** empty log message ***gdbadmin1-1/+1
2010-07-05daily updateAlan Modra1-1/+1
2010-07-04Add dw2-compress-1 for Linux/x86.H.J. Lu4-0/+339
2010-07-04 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/dw2-compress-1.d: New. * gas/i386/dw2-compress-1.s: Likewise. * gas/i386/i386.exp: Run dw2-compress-1 for Linux.
2010-07-04Remove CONFIG_OBJS, GENERIC_OBJS and OBJS.H.J. Lu3-77/+7
2010-07-04 H.J. Lu <hongjiu.lu@intel.com> * Makefile.am (CONFIG_OBJS): Removed. (GENERIC_OBJS): Likewise. (OBJS): Likewise. * Makefile.in: Regenerated.
2010-07-04missed from commitAlan Modra2-0/+158
2010-07-04*** empty log message ***gdbadmin1-1/+1
2010-07-04daily updateAlan Modra1-1/+1
2010-07-03Don't call section_symbol() with expr_section.H.J. Lu8-1/+54
gas/ 2010-07-03 Jan Beulich <jbeulich@novell.com> PR gas/11732 * config/tc-i386.c (i386_finalize_displacement): Don't call section_symbol() with expr_section. gas/testsuite/ 2010-07-03 Jan Beulich <jbeulich@novell.com> PR gas/11732 * gas/i386/i386.exp: Run new tests. * gas/i386/intel-got{32,64}.{s,d}: New.
2010-07-03bfd/ChangeLog:Cary Coutant15-58/+441
* compress.c (bfd_uncompress_section_contents): Add ATTRIBUTE_UNUSED. * dwarf2.c (read_and_uncompress_section): New function. (read_section): Call it. (find_line): Likewise. binutils/ChangeLog: * objdump.c (load_specific_debug_section): Decompress section contents before applying relocations. * readelf.c (load_specific_debug_section): Update section size after decompression. gas/ChangeLog: * Makefile.am: Add compress-debug.c and compress-debug.h. * Makefile.in: Regenerate. * config.in: Add HAVE_ZLIB_H. * configure.in: Check for zlib.h. * configure: Regenerate. * as.c (parse_args): Add --compress-debug-sections and --nocompress-debug-sections. * as.h (flag_compress_debug): New variable. * compress-debug.c: New file. * compress-debug.h: New file. * write.c: Include compress-debug.h. (compress_frag): New function. (compress_debug): New function. (write_object_file): Compress debug sections if requested.
2010-07-03Update.Andreas Schwab1-0/+2
2010-07-03gas/:Andreas Schwab4-7/+17
* config/tc-ppc.c (ppc_set_cpu): Cast PPC_OPCODE_xxx to ppc_cpu_t before inverting. binutils/: * ppc-dis.c (powerpc_init_dialect): Cast PPC_OPCODE_xxx to ppc_cpu_t before inverting.
2010-07-03include/opcode/Alan Modra7-157/+135
* ppc.h (PPC_OPCODE_32, PPC_OPCODE_BOOKE64, PPC_OPCODE_CLASSIC): Delete. Renumber other PPC_OPCODE defines. gas/ * config/tc-ppc.c (ppc_set_cpu): Remove old opcode flags. (ppc_setup_opcodes): Likewise. Simplify opcode selection. opcodes/ * ppc-dis.c (ppc_opts, powerpc_init_dialect): Remove old opcode flags. * ppc-opc.c (PPC32, POWER32, COM32, CLASSIC): Delete. (PPC64, MFDEC2): Update. (NON32, NO371): Define. (powerpc_opcode): Update to not use old opcode flags, and avoid -m601 duplicates.
2010-07-03* m32c.cpu (f-dsp-8-s24): Mask high byte after shifting it.DJ Delorie4-4/+12
* m32c-ibld.c: Regenerate.
2010-07-03 * ppc-opc.c (PWR2COM): Define.Alan Modra2-11/+20
(PPCPWR2): Add PPC_OPCODE_COMMON. (powerpc_opcodes): Add "subc", "subco", "subco.", "fcir", "fcir.", "fcirz", "fcirz." to -mcom opcodes. Remove "mfsri", "dclst", "rac" from -mcom.
2010-07-03 * ppc.h (PPC_OPCODE_COMMON): Expand comment.Alan Modra2-1/+8
2010-07-03*** empty log message ***gdbadmin1-1/+1
2010-07-03daily updateAlan Modra1-1/+1
2010-07-02 PR exp/11780:Tom Tromey2-1/+6
* libunwind-frame.c (libunwind_frame_prev_register): Don't set value as optimized-out.
2010-07-02* config/tc-rx.h (md_do_align): New.DJ Delorie3-0/+57
(MAX_MEM_FOR_RS_ALIGN_CODE): New. * config/tc-rx.c (nops): New. (rx_handle_align): Use various sized nops to align code.
2010-07-02* config/tc-rx.c (rx_bytesT): Add grown/shrank counters forDJ Delorie2-0/+23
relaxation. (rx_relax_frag): Prevent infinite loops of grow/shrink/grow/etc.
2010-07-022010-07-02 Ulrich Weigand <uweigand@de.ibm.com>Thiago Jung Bauermann2-2/+8
Thiago Jung Bauermann <bauerman@br.ibm.com> * breakpoint.c (can_use_hardware_watchpoint): Answer "what does this represent?" question in comment. Change comment to a proper sentence.
2010-07-02 * gdb.base/bitops.exp: Remove extraneous "pass".Tom Tromey2-1/+5
2010-07-022010-07-02 Ken Werner <ken.werner@de.ibm.com>Tom Tromey4-2/+11
gdb * c-valprint.c (c_val_print): Fix printing of character vectors. gdb/testsuite * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
2010-07-02sync config/ChangeLog with gccPaolo Bonzini1-1/+1
2010-07-02 * gc++filt.m4: New file.Rainer Orth2-0/+30
2010-07-02gdb/Jan Kratochvil2-1/+6
* spu-tdep.c (spu_catch_start): Adjust the caller of changed create_breakpoint prototype.
2010-07-02*** empty log message ***gdbadmin1-1/+1
2010-07-02daily updateAlan Modra1-1/+1
2010-07-01Update ChangeLog entry.H.J. Lu1-0/+2
2010-07-01Support AVX Programming Reference (June, 2010)H.J. Lu44-3007/+3878
gas/ 2010-07-01 H.J. Lu <hongjiu.lu@intel.com> AVX Programming Reference (June, 2010) * config/tc-i386.c (cpu_arch): Add .xsaveopt, .fsgsbase, .rdrnd and .f16c. * doc/c-i386.texi: Document xsaveopt, fsgsbase, rdrnd and f16c. gas/testsuite/ 2010-07-01 H.J. Lu <hongjiu.lu@intel.com> AVX Programming Reference (June, 2010) * gas/i386/arch-10.s: Add xsaveopt. * gas/i386/x86-64-arch-2.s: Likwise. * 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. * gas/i386/f16c-intel.d: New. * gas/i386/f16c.d: Likewise. * gas/i386/f16c.s: Likewise. * gas/i386/fsgs-intel.d: Likewise. * gas/i386/fsgs.d: Likewise. * gas/i386/fsgs.s: Likewise. * gas/i386/rdrnd-intel.d: Likewise. * gas/i386/rdrnd.d: Likewise. * gas/i386/rdrnd.s: Likewise. * gas/i386/x86-64-f16c-intel.d: Likewise. * gas/i386/x86-64-f16c.d: Likewise. * gas/i386/x86-64-f16c.s: Likewise. * gas/i386/x86-64-fsgs-intel.d: Likewise. * gas/i386/x86-64-fsgs.d: Likewise. * gas/i386/x86-64-fsgs.s: Likewise. * gas/i386/x86-64-rdrnd-intel.d: Likewise. * gas/i386/x86-64-rdrnd.d: Likewise. * gas/i386/x86-64-rdrnd.s: Likewise. * gas/i386/i386.exp: Run f16c, f16c-intel, fsgs, fsgs-intel, rdrnd, rdrnd-intel, x86-64-f16c, x86-64-f16c-intel, x86-64-fsgs, x86-64-fsgs-intel, x86-64-rdrnd, x86-64-rdrnd-intel. * gas/i386/x86-64-xsave.s: Add tests for xsaveopt64. * gas/i386/x86-64-xsave-intel.d: Updated. * gas/i386/x86-64-xsave.d: Likewise. opcodes/ 2010-07-01 H.J. Lu <hongjiu.lu@intel.com> AVX Programming Reference (June, 2010) * i386-dis.c (PREFIX_0FAE_REG_0): New. (PREFIX_0FAE_REG_1): Likewise. (PREFIX_0FAE_REG_2): Likewise. (PREFIX_0FAE_REG_3): Likewise. (PREFIX_VEX_3813): Likewise. (PREFIX_VEX_3A1D): Likewise. (prefix_table): Add PREFIX_0FAE_REG_0, PREFIX_0FAE_REG_1, PREFIX_0FAE_REG_2, PREFIX_0FAE_REG_3, PREFIX_VEX_3813 and PREFIX_VEX_3A1D. (vex_table): Add PREFIX_VEX_3813 and PREFIX_VEX_3A1D. (mod_table): Add PREFIX_0FAE_REG_0, PREFIX_0FAE_REG_1, PREFIX_0FAE_REG_2, PREFIX_0FAE_REG_3 xsaveopt and rdrnd. * i386-gen.c (cpu_flag_init): Add CPU_XSAVEOPT_FLAGS, CPU_FSGSBASE_FLAGS, CPU_RDRND_FLAGS and CPU_F16C_FLAGS. (cpu_flags): Add CpuXsaveopt, CpuFSGSBase, CpuRdRnd and CpuF16C. * i386-opc.h (CpuXsaveopt): New. (CpuFSGSBase):Likewise. (CpuRdRnd): Likewise. (CpuF16C): Likewise. (i386_cpu_flags): Add cpuxsaveopt, cpufsgsbase, cpurdrnd and cpuf16c. * i386-opc.tbl: Add xsaveopt, rdfsbase, rdgsbase, rdrnd, wrfsbase, wrgsbase, vcvtph2ps and vcvtps2ph.
2010-07-01 gdb/Pedro Alves4-8/+19
* breakpoint.c (BREAK_ARGS_HELP, _initialize_breakpoint): Clarify usefulness suggestion of multiple breakpoints at same location. gdb/testsuite/ * gdb.base/help.exp: Adjust expected output.
2010-07-01 gdb/Pedro Alves4-7/+15
* breakpoint.c (BREAK_ARGS_HELP): Add missing `the'. gdb/testsuite/ * gdb.base/help: Adjust expected output.