Commit Graph

50790 Commits

Author SHA1 Message Date
Paolo Bonzini a6df5a19a5 2006-03-14 Paolo Bonzini <bonzini@gnu.org>
Sync with gcc:
	2006-03-10  Aldy Hernandez  <aldyh@redhat.com>

        * configure.in: Handle --disable-<component> generically.
        * configure: Regenerate.

	2006-02-21 Rafael Avila de Espindola <rafael.espindola@gmail.com>

        * Makefile.tpl  (BUILD_CONFIGDIRS): Remove.
        (TARGET_CONFIGDIRS): Remove.
        * configure.in: Remove AC_SUBST(target_configdirs).
        * Makefile.in, configure: Regenerated.
2006-03-14 16:10:08 +00:00
Richard Sandiford 81d43bffb5 bfd/
* elf32-mips.c (mips_elf_adjust_addend): New function, mostly split
	out from...
	(_bfd_mips_elf_relocate_section): ...here.  Use it to adjust r_addend
	for final links too.

ld/testsuite/
	* ld-mips/emit-relocs-1a.s, ld-mips/emit-relocs-1b.s,
	* ld-mips/emit-relocs-1.ld, ld-mips/emit-relocs-1.d: New test.
	* ld-mips/mips-elf.exp: Run it.
2006-03-14 07:47:49 +00:00
Jim Blandy 2f83030ff5 2006-03-13 Jim Blandy <jimb@codesourcery.com>
* MAINTAINERS: Use my work address.
2006-03-14 06:16:13 +00:00
DJ Delorie 5398310abc * m32c-asm.c: Regenerate.
* m32c-desc.c: Likewise.
* m32c-desc.h: Likewise.
* m32c-dis.c: Likewise.
* m32c-ibld.c: Likewise.
* m32c-opc.c: Likewise.
* m32c-opc.h: Likewise.
2006-03-14 04:23:52 +00:00
DJ Delorie 43aa3bb1d4 * m32c.cpu (Bit3-S): New.
(btst:s): New.
* m32c.opc (parse_bit3_S): New.
2006-03-14 04:20:53 +00:00
DJ Delorie 727b6b4b41 * mem.c (mem_put_byte): Hook simulated UART to stdout.
(mem_put_hi): Hook in simulated trace port.
(mem_get_byte): Hook in simulated uart control port.
* opc2c: Be more picky about matching special comments.
* r8c.opc (shift_op): Limit shift counts to -16..16.
(BMcnd): Map conditional codes.
* reg.c (condition_true): Mask condition code to 4 bits.
* syscalls.c: Include local syscall.h.
* syscall.h: New, copied from libgloss.
2006-03-14 03:34:28 +00:00
DJ Delorie 1f810f7808 * MAINTAINERS: Add self as m32c sim maintainer. 2006-03-14 02:37:35 +00:00
DJ Delorie 5348b81e4c i* m32c-desc.c: Regenerate.
* m32c-opc.c: Likewise.
* m32c-opc.h: Likewise.
2006-03-14 00:30:59 +00:00
DJ Delorie 8d0e267915 * m32c.cpu (decimal-subtraction16-insn): Add second operand.
(btst): Add optional :G suffix for MACH32.
(or.b:S): New.
(pop.w:G): Add optional :G suffix for MACH16.
(push.b.imm): Fix syntax.
2006-03-14 00:29:59 +00:00
gdbadmin 501f44f76d *** empty log message *** 2006-03-14 00:00:35 +00:00
Alan Modra dafe05ffa7 daily update 2006-03-13 23:00:06 +00:00
Ben Elliston 91610c0c67 * bucomm.c (display_target_list): Make local variable `a' to be of
type enum bfd_architecture.  Thus no need to cast enums to int.
	(display_info_table): Likewise.
2006-03-13 22:27:22 +00:00
Bob Wilson 80ca4e2ca2 * config/tc-xtensa.c (xg_translate_sysreg_op): Remove has_underbar
flag and avoid double underscore prefixes.
2006-03-13 21:46:53 +00:00
DJ Delorie 9223c9457d merge from gcc 2006-03-13 20:00:44 +00:00
Richard Sandiford d329bcd1df bfd/
* elfxx-mips.c (mips_elf_create_got_section): Initialize hgot.
2006-03-13 19:14:23 +00:00
gdbadmin 9282a62962 *** empty log message *** 2006-03-13 00:00:04 +00:00
Alan Modra 11b27b0b1d daily update 2006-03-12 23:00:06 +00:00
gdbadmin 8fe6d4e1cb *** empty log message *** 2006-03-12 00:00:32 +00:00
Alan Modra f6534c351b daily update 2006-03-11 23:00:05 +00:00
H.J. Lu 75a657ba49 2006-03-11 H.J. Lu <hongjiu.lu@intel.com>
PR ld/2443
	* dwarf2.c (concat_filename): Don't issue an error if file is
	0.
2006-03-11 15:01:18 +00:00
DJ Delorie 253d272cfc * m32c.cpu (mul.l): New.
(mulu.l): New.
* m32c-desc.c: Regenerate with mul.l, mulu.l.
* m32c-opc.c: Likewise.
* m32c-opc.h: Likewise.
2006-03-11 02:23:19 +00:00
gdbadmin b48d36ea3f *** empty log message *** 2006-03-11 00:00:03 +00:00
Alan Modra 3ac842ab2a daily update 2006-03-10 23:00:06 +00:00
Michael Snyder 56aac7e845 2006-03-09 Michael Snyder <msnyder@redhat.com>
* linux-nat.c (kill_inferior): Just call target_mourn_inferior
	instead of getting tricky for the multi-fork case.
	* linux-fork.c (linux_fork_killall): Call PT_KILL and waitpid
	for each fork, and then use init_fork_list to delete them.
2006-03-10 20:15:42 +00:00
Paul Brook 3a4a14e9ea 2006-03-10 Paul Brook <paul@codesourcery.com>
bfd/
	* elf32-arm.c (INTERWORK_FLAG): Handle EABIv5.
	(elf32_arm_print_private_bfd_data): Ditto.
binutils/
	* readelf.c (decode_ARM_machine_flags):  Handle EABIv5.
gas/
	* config/tc-arm.c (md_begin): Handle EABIv5.
	(arm_eabis): Add EF_ARM_EABI_VER5.
	* doc/c-arm.texi: Document -meabi=5.
include/elf/
	* arm.h (EF_ARM_EABI_VER5): Define.
2006-03-10 17:20:30 +00:00
Paul Brook 0715c38784 2006-03-10 Paul Brook <paul@codesourcery.com>
include/opcode/
	* arm.h (ARM_AEXT_V7_ARM): Include v6ZK extensions.
2006-03-10 17:16:49 +00:00
Alan Modra 1617e5712a * dwarf.c (process_extended_line_op): Remove pointer_size param.
Use length instead to determine address size.
	(get_pointer_size_and_offset_of_comp_unit): Delete.
	(display_debug_lines): Adjust for above.
	(display_debug_aranges): Don't stop on finding two zeros.
	(display_debug_frames): For warning, print offset not pointer.
2006-03-10 13:30:10 +00:00
Ben Elliston 518051dc53 * app.c (do_scrub_chars): Simplify string handling. 2006-03-10 10:57:18 +00:00
Joel Brobecker a987790595 * MAINTAINERS (Patch Champions): Remove self. 2006-03-10 02:05:51 +00:00
gdbadmin 2326b8c6fd *** empty log message *** 2006-03-10 00:00:33 +00:00
Paul Brook 384060486d 2006-03-09 Paul Brook <paul@codesourcery.com>
bfd/
	* cpu-arm.c (bfd_is_arm_mapping_symbol_name): Recognise additional
	mapping symbols.
gas/testsuite/
	* gas/arm/nomapping.d: New test.
	* gas/arm/nomapping.s: New test.
2006-03-09 23:05:59 +00:00
Alan Modra b74ef8b837 daily update 2006-03-09 23:00:06 +00:00
Danny Smith 671659efa0 * dlltool.c: Update copyright year.
* doc/binutils.texi: Likewise.
2006-03-09 21:50:53 +00:00
Jim Blandy 66b8c7f657 2006-03-07 Jim Blandy <jimb@red-bean.com>
* gdb.texinfo (Connecting): Document 'target remote pipe'.
2006-03-09 21:44:27 +00:00
Jim Blandy 1a10341b71 2006-03-07 Jim Blandy <jimb@red-bean.com>
* gdb.texinfo (Target Commands): Update text describing how to
	specify a target.  Refer to the detailed section on remote
	debugging, not the brief mention.
2006-03-09 21:42:31 +00:00
Danny Smith 14288fdc16 * dlltool.c (add_stdcall_underscore): New flag.
(xlate): Also add underscore to stdcall symbol if
	add_stdcall_underscore set.
	(usage): Document --add-stdcall-underscore option.
	(OPTION_ADD_STDCALL_UNDERSCORE): New define.
	(long_options): Use it for --add-stdcall-underscore option.
	(main): Handle it.
	* doc/binutils.texi: Document --add-stdcall-underscore option
	and differentiate from --add-underscore.
2006-03-09 20:28:49 +00:00
Jim Blandy 86941c2759 2006-03-07 Jim Blandy <jimb@red-bean.com>
* gdb.texinfo (Connecting): Organize the different 'target remote'
	connection methods into a table.  Add a 'target remote' index
	entry. (!!!)
2006-03-09 17:59:12 +00:00
Nick Clifton f530741d16 Update Swedish translations 2006-03-09 17:28:11 +00:00
Nick Clifton eed62c48bf * elf32-arm.c(elf32_arm_finish_dynamic_sections): Use unsigned char type. 2006-03-09 17:06:58 +00:00
Alexandre Oliva 831004b79b gdb/ChangeLog:
* solib-svr4.c (svr4_current_sos): Move up initialization of
l_addr, such that it clearly covers all cases.
gdb/testsuite/ChangeLog:
* gdb.base/prelink.exp: Anchor tested-for regular expression
on gdb prompt.
2006-03-09 00:22:09 +00:00
gdbadmin d61ed39eac *** empty log message *** 2006-03-09 00:00:05 +00:00
Alan Modra a445151c30 daily update 2006-03-08 23:00:05 +00:00
H.J. Lu 6d2cf7d80b 2006-03-08 H.J. Lu <hongjiu.lu@intel.com>
* elfxx-ia64.c (elfNN_ia64_choose_gp): Properly choose gp.
2006-03-08 21:24:22 +00:00
Andreas Schwab f1b4b38ecb * ia64-tdep.c (ia64_libunwind_frame_this_id): Adapt uses of
libunwind_frame_prev_register to use a gdb_byte buffer and
	extract_unsigned_integer.
	(ia64_libunwind_sigtramp_frame_prev_register): Likewise.

	* libunwind-frame.c (libunwind_frame_prev_register): Change type
	of last argument to `gdb_byte *'
	* libunwind-frame.h: Adjust declaration.
2006-03-08 15:28:17 +00:00
Paul Brook f53f0d0bde 2006-03-08 Paul Brook <paul@codesourcery.com>
* arm-tdep.c (arm_push_dummy_call): Remove stack alignment.
	(arm_frame_align): New function.
	(arm_gdbarch_init): Use it.
2006-03-08 14:22:47 +00:00
gdbadmin b5678df9a4 *** empty log message *** 2006-03-08 00:00:03 +00:00
Alan Modra 1816a695a5 daily update 2006-03-07 23:00:06 +00:00
Paul Brook effe49a0c7 2006-03-07 Paul Brook <paul@codesourcery.com>
* gdb.base/assign.exp: Correct fail message.
2006-03-07 21:40:50 +00:00
H.J. Lu 35c52694b9 gas/testsuite/
2006-03-07  H.J. Lu  <hongjiu.lu@intel.com>

	PR binutils/2428
	* gas/i386/i386.exp: Add rep, rep-suffix, x86-64-rep and
	x86-64-rep-suffix.

	* gas/i386/naked.d: Replace repz with rep.
	* gas/i386/x86_64.d: Likewise.

	* gas/i386/rep-suffix.d: New file.
	* gas/i386/rep-suffix.s: Likewise.
	* gas/i386/rep.d: Likewise.
	* gas/i386/rep.s: Likewise.
	* gas/i386/x86-64-rep-suffix.d: Likewise.
	* gas/i386/x86-64-rep-suffix.s: Likewise.
	* gas/i386/x86-64-rep.d: Likewise.
	* gas/i386/x86-64-rep.s: Likewise.

opcodes/

2006-03-07  H.J. Lu  <hongjiu.lu@intel.com>

	PR binutils/2428
	* i386-dis.c (REP_Fixup): New function.
	(AL): Remove duplicate.
	(Xbr): New.
	(Xvr): Likewise.
	(Ybr): Likewise.
	(Yvr): Likewise.
	(indirDXr): Likewise.
	(ALr): Likewise.
	(eAXr): Likewise.
	(dis386): Updated entries of ins, outs, movs, lods and stos.
2006-03-07 20:18:06 +00:00
Paul Brook 4b1d9c5854 2006-03-07 Paul Brook <paul@codesourcery.com>
* elfos.c (ARMul_OSHandleSWI): Call correct function for IsTTY.
2006-03-07 19:55:55 +00:00