Commit Graph

51112 Commits

Author SHA1 Message Date
Julian Brown
edd40341c5 * gas/arm/copro.s: Avoid ldcl which encodes as a bad Neon instruction.
* gas/arm/copro.d: Update accordingly.
	* gas/arm/neon-cond.s: New test. Conditional Neon opcodes in ARM mode.
	* gas/arm/neon-cond.d: Expected results of above.
	* gas/arm/neon-cov.s: New test. Coverage of Neon instructions.
	* gas/arm/neon-cov.d: Expected results of above.
	* gas/arm/neon-ldst-es.s: New test. Element and structure loads and
	stores.
	* gas/arm/neon-ldst-es.d: Expected results of above.
	* gas/arm/neon-ldst-rm.s: New test. Single and multiple register loads
	and stores.
	* gas/arm/neon-ldst-rm.d: Expected results of above.
	* gas/arm/neon-omit.s: New test. Omission of optional operands.
	* gas/arm/neon-omit.d: Expected results of above.
	* gas/arm/vfp1.d: Expect Neon syntax for some VFP instructions.
	* gas/arm/vfp1_t2.d: Likewise.
	* gas/arm/vfp1xD.d: Likewise.
	* gas/arm/vfp1xD_t2.d: Likewise.
	* gas/arm/vfp2.d: Likewise.
	* gas/arm/vfp2_t2.d: Likewise.
	* gas/arm/vfp3-32drs.s: New test. Extended D register range for VFP
	instructions.
	* gas/arm/vfp3-32drs.d: Expected results of above.
	* gas/arm/vfp3-const-conv.s: New test. VFPv3 constant-load and
	conversion instructions.
	* gas/arm/vfp3-const-conv.d: Expected results of above.
2006-04-26 15:42:17 +00:00
Julian Brown
9e49821477 * opcode/arm.h (FPU_VFP_EXT_V3): Define constant.
(FPU_NEON_EXT_V1): Likewise.
	(FPU_VFP_HARD): Update.
	(FPU_VFP_V3): Define macro.
	(FPU_ARCH_VFP_V3, FPU_ARCH_VFP_V3_PLUS_NEON_V1): Define macros.
2006-04-26 15:41:16 +00:00
Julian Brown
16980d0b05 * opcodes/arm-dis.c (coprocessor_opcodes): Add %A, %B, %k, convert
%<code>[zy] into %[zy]<code>.  Expand meaning of %<bitfield>['`?].
	Add unified load/store instruction names.
	(neon_opcode_table): New.
	(arm_opcodes): Expand meaning of %<bitfield>['`?].
	(arm_decode_bitfield): New.
	(print_insn_coprocessor): Add pc argument. Add %A & %B specifiers.
	Use arm_decode_bitfield and adjust numeric specifiers. Adjust %z & %y.
	(print_insn_neon): New.
	(print_insn_arm): Adjust print_insn_coprocessor call. Call
	print_insn_neon. Use arm_decode_bitfield and adjust numeric specifiers.
	(print_insn_thumb32): Likewise.
2006-04-26 15:40:55 +00:00
H.J. Lu
af3c5dea22 2006-04-26 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/2593
	* binutils-all/copy-1.d: New file.
	* binutils-all/copy-1.s: Likewise.
	* binutils-all/copy-2.d: Likewise.

	* binutils-all/objcopy.exp: Add run_dump_test "copy-1" and
	run_dump_test "copy-2".

	* lib/utils-lib.exp (run_dump_test): New.
	(slurp_options): Likewise.
	(regexp_diff): Likewise.
	(file_contents): Likewise.
	(verbose_eval): Likewise.
2006-04-26 13:37:05 +00:00
H.J. Lu
e843e0f880 2006-04-26 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/2593
	* elf.c (_bfd_elf_new_section_hook): Don't set section ELF type
	and flags if its BFD flags have been set.
	(_bfd_elf_init_private_section_data): Don't copy the output ELF
	section type from input if it has been set to something
	different.
2006-04-26 13:32:26 +00:00
Andreas Jaeger
9ca26584e9 Add missing changelog entry 2006-04-26 09:24:07 +00:00
Alan Modra
c0d4d74377 daily update 2006-04-26 00:00:05 +00:00
gdbadmin
a903b014ab *** empty log message *** 2006-04-26 00:00:04 +00:00
H.J. Lu
eaa628a1d3 2006-04-25 H.J. Lu <hongjiu.lu@intel.com>
* ld-alpha/tlsbin.rd: Updated for readelf change.
	* ld-alpha/tlsbinr.rd: Likewise.
	* ld-alpha/tlspic.rd: Likewise.
2006-04-25 22:05:15 +00:00
H.J. Lu
69552b439a Regenerate libbfd.h. 2006-04-25 19:09:58 +00:00
Mark Kettenis
bc0c849e87 From Masaki MURANAKA <monaka@monami-software.com>:
* mips-mdebug-tdep.c (mips_mdebug_frame_prev_register): Change
type of last argument to `gdb_byte *'
2006-04-25 18:58:09 +00:00
Jim Blandy
5f1fb6dcb3 2006-04-11 Jim Blandy <jimb@codesourcery.com>
Add support for 'target remote |' on MinGW.
	* ser-mingw.c (struct pipe_state): New structure.
	(make_pipe_state, free_pipe_state, cleanup_pipe_state)
	(pipe_windows_open, pipe_windows_close, pipe_windows_read)
	(pipe_windows_write, pipe_wait_handle): New functions.
	(_initialize_ser_windows): Register a "pipe" interface based on
	them.
2006-04-25 18:02:13 +00:00
H.J. Lu
b25e3d8745 2006-04-25 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/2467
	* elf.c (_bfd_elf_close_and_cleanup): Check elf_tdata (abfd)
	is NULL first.

	* elf32-arm.c (elf32_arm_close_and_cleanup): Check if
	abfd->sections is NULL.
	(elf32_arm_bfd_free_cached_info): New.
	(bfd_elf32_bfd_free_cached_info): Defined.

	* elfxx-target.h (bfd_elfNN_bfd_free_cached_info): Default it
	to _bfd_free_cached_info.

	* libbfd-in.h (_bfd_free_cached_info): New.
	* libbfd: Regenerated.

	* opncls.c (_bfd_delete_bfd): Check if abfd->memory is NULL.
	(_bfd_free_cached_info): New.
2006-04-25 17:46:15 +00:00
Bob Wilson
1946c96e94 * config/xtensa-relax.c (widen_spec_list): Use new "WIDE.<opcode>"
syntax instead of hardcoded opcodes with ".w18" suffixes.
	(wide_branch_opcode): New.
	(build_transition): Use it to check for wide branch opcodes with
	either ".w18" or ".w15" suffixes.
2006-04-25 17:11:10 +00:00
Bob Wilson
5033a6459b * config/tc-xtensa.c (xtensa_create_literal_symbol,
xg_assemble_literal, xg_assemble_literal_space): Do not set the
	frag's is_literal flag.
2006-04-25 16:32:56 +00:00
Nick Clifton
253a23950d PR 2587
* Makefile.am: Add empty rule for .m -> .o build in order to work around bug
  in gmake shipped by Apple.
* Makefile.in: Regenerate.
2006-04-25 16:20:47 +00:00
Bob Wilson
395fa56f0f * config/xtensa-relax.c (XCHAL_HAVE_WIDE_BRANCHES): Provide default. 2006-04-25 15:41:16 +00:00
H.J. Lu
8648f88f4c 2006-04-25 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/2467
	* binutils-all/objcopy.exp (strip_test): Also test "strip -g"
	on archive.
2006-04-25 14:06:10 +00:00
Michael Snyder
e61e6fd132 Remove spurious entry 2006-04-25 00:18:25 +00:00
Alan Modra
4c6fe4b4a6 daily update 2006-04-25 00:00:06 +00:00
gdbadmin
c9c3374ac3 *** empty log message *** 2006-04-25 00:00:03 +00:00
Michael Snyder
0271fba4a3 forgotten changelog entry 2006-04-24 22:39:03 +00:00
Julian Brown
c77d28aca7 * floatformat.c (floatformat_to_double): Fix (biased) exponent=0 case. 2006-04-24 21:34:41 +00:00
Daniel Jacobowitz
c3e2b812d0 * ser-mingw.c: Include <conio.h>.
(struct ser_console_state, struct net_windows_state): Add exit_select,
	have_stopped, thread.
	(pipe_select_thread, console_select_thread)
	(net_windows_select_thread): Don't create a local state copy or
	close stop_select.  Exit on exit_select instead of stop_select.  Set
	have_stopped.
	(console_select_thread): Don't report control keypresses as pending
	input.
	(pipe_select_thread): Allow stop_select to interrupt sleeping.
	(set_console_wait_handle): Create exit_select and have_stopped.
	Save the thread handle.  Check _kbhit before starting a thread.
	(ser_console_done_wait_handle): New.
	(ser_console_close): Close new handles.  Wait for the thread to
	exit.
	(new_windows_select_thread): Assert that an event occurred.
	(net_windows_wait_handle): Check for pending input before starting
	a thread.
	(net_windows_done_wait_handle): New.
	(net_windows_open): Create exit_select and have_stopped.
	Save the thread handle.
	(net_windows_close): Close new handles.  Wait for the thread to
	exit.
	(_intiialize_ser_windows): Register done_wait_handle methods.

	* serial.c [USE_WIN32API] (serial_done_wait_handle): New.
	* serial.h [USE_WIN32API] (struct serial_ops): Add done_wait_handle.
	[USE_WIN32API] (serial_done_wait_handle): New prototype.
	* mingw-hdep.c (gdb_select): Use serial_done_wait_handle.
2006-04-24 21:00:13 +00:00
Alan Modra
fbefa34ecb daily update 2006-04-24 00:00:05 +00:00
gdbadmin
655200ca7d *** empty log message *** 2006-04-24 00:00:03 +00:00
Kazu Hirata
708587a480 * config/obj-coff.c, config/tc-arm.c, config/tc-bfin.c,
config/tc-cris.c, config/tc-crx.c, config/tc-i386.c,
	config/tc-ia64.c, config/tc-maxq.c, config/tc-maxq.h,
	config/tc-mips.c, config/tc-msp430.c, config/tc-sh.c,
	config/tc-tic4x.c, config/tc-xtensa.c: Fix comment typos.
2006-04-23 22:12:43 +00:00
Andreas Schwab
d8006e0592 * Makefile.in (tmp-ld-decode): Fix dependencies.
(tmp-ld-cache): Likewise.
	(tmp-ld-insn): Likewise.
2006-04-23 14:54:42 +00:00
Andreas Schwab
b8eb021a30 * rs6000-tdep.c: Include "reggroups.h" only once.
* Makefile.in (rs6000-tdep.o): Update dependencies.
2006-04-23 14:15:01 +00:00
Alan Modra
ac734b46c8 daily update 2006-04-23 00:00:05 +00:00
gdbadmin
3f14f3d103 *** empty log message *** 2006-04-23 00:00:02 +00:00
Andrew Cagney
c5e30d0156 2006-04-22 Andrew Cagney <cagney@redhat.com>
* gdb.texinfo (Contributors): Credit frame unwinder contributors.
	* gdbint.texinfo (Algorithms): Fix errors in frame documentation.
2006-04-22 23:12:03 +00:00
gdbadmin
9aa8aaf750 *** empty log message *** 2006-04-22 00:00:33 +00:00
Alan Modra
4a26dea61c daily update 2006-04-22 00:00:05 +00:00
Frederic Riss
4f1520fbca 2006-04-21 Frederic Riss <frederic.riss@st.com>
* dwarf2read.c (dwarf2_start_subfile): Change prototype to accept
	compilation directory as last argument.
	Always pass comp_dir as second argument to start_subfile and prepend
	dirname to the filename when necessary.
	Remove now superfluous search for pre-existing subfile.
	(dwarf_decode_lines): Pass the compilation directory to
	dwarf2_start_subfile.
2006-04-21 20:26:07 +00:00
Alan Modra
5c182d5fce * elf.c (assign_file_positions_except_relocs): Move code setting
file position of non-loaded sections..
	(assign_file_positions_for_segments): ..to here.
2006-04-21 07:26:09 +00:00
H.J. Lu
3eb70a79d6 2006-04-20 H.J. Lu <hongjiu.lu@intel.com>
PR ld/2537
	* elf.c (bfd_section_from_shdr): Allow sections reserved for
	applications. Issue an error on sections we don't know how
	to handle.
2006-04-21 03:42:47 +00:00
gdbadmin
fbd9c86b6b *** empty log message *** 2006-04-21 00:00:33 +00:00
Alan Modra
2f888b0295 daily update 2006-04-21 00:00:06 +00:00
Michael Snyder
c702009a72 2006-04-20 Michael Snyder <msnyder@redhat.com>
* 2006-03-22  Jim Blandy  <jimb@redhat.com>
	Add support for the Renesas M32C and M16C.

	* gdb.asm/asm-source.exp: Add m32c target.
	* gdb.asm/m32c.inc: Support for m32c target.
2006-04-20 23:24:23 +00:00
Michael Snyder
9630918965 2006-04-20 Michael Snyder <msnyder@redhat.com>
* 2006-03-22  Jim Blandy  <jimb@redhat.com>
	Add support for the Renesas M32C and M16C.

	* configure.tgt (m32c-*-*): New entry.
	* config/m32c/m32c.mt: New file.
	* m32c-tdep.c: New file.
	* Makefile.in (elf_m32c_h): New variable.
	(m32c-tdep.o): New rule.
	* NEWS: Mention new target.
	* MAINTAINERS: Designate Jim Blandy as responsible maintainer.
2006-04-20 23:18:48 +00:00
Elena Zannoni
9d54351548 touched all sources to ease import of readline-5.1 2006-04-20 20:13:20 +00:00
Elena Zannoni
01f0fe5e04 This commit was generated by cvs2svn to track changes on a CVS vendor
branch.
2006-04-20 20:05:52 +00:00
Elena Zannoni
b585a9fad5 import of readlilne 5.1 2006-04-20 20:05:52 +00:00
Daniel Jacobowitz
cba5fab953 * m68klinux-tdep.c (m68k_linux_sigtramp_frame_prev_register):
Correct type of VALUEP.  Reported by Jean-Rene Peulve
	<jr.peulve@wanadoo.fr>.
2006-04-20 17:29:47 +00:00
Paul Brook
8463be011b 2005-04-20 Paul Brook <paul@codesourcery.com>
gas/
	* config/tc-arm.c (s_arm_arch, s_arm_cpu, s_arm_fpu): Enable for
	all targets.
	(md_pseudo_table): Enable .arch, .cpu and .fpu for all targets.
gas/testsuite/
	* gas/arm/arch7.d: Remove skip.
	* gas/arm/svc.d: Ditto.
	* gas/arm/thumb2_bcond.d: Ditto.
	* gas/arm/thumb2_it_bad.d: Ditto.
2006-04-20 12:39:51 +00:00
Alan Modra
c9f2a989ad daily update 2006-04-20 00:00:07 +00:00
gdbadmin
55a9e67fe5 *** empty log message *** 2006-04-20 00:00:03 +00:00
Alan Modra
f26a5955b0 * Makefile.am (CPU_TYPES): Add maxq and mt. Sort.
(CPU_OBJ_VALID): Change sense of COFF test to default to invalid.
	Make some cpus unsupported on ELF.  Run "make dep-am".
	* Makefile.in: Regenerate.
2006-04-19 12:10:46 +00:00
Alan Modra
ec3fcc5688 * Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
2006-04-19 12:10:21 +00:00