Commit Graph

53924 Commits

Author SHA1 Message Date
Richard Earnshaw
37b37b2d7a * arm-dis.c (arm_opcodes): Disassemble to unified syntax.
(thumb_opcodes): Add missing white space in adr.
	(arm_decode_shift): New parameter, print_shift.  Only decode the
	shift parameter if set.  Adjust callers.
	(print_insn_arm): Support for operand type q with no shift decode.
2007-04-21 19:44:09 +00:00
Richard Earnshaw
d301303549 * binutils-all/readelf.exp (regexp_diff): Delete. 2007-04-21 19:01:20 +00:00
Alan Modra
541d2ffd36 * config/atof-vax.c (atof_vax_sizeof): Change return type to unsigned.
(md_atof): Make number_of_chars unsigned.  Revert last change.
	* config/tc-or32.c (md_apply_fix): Delete bogus assertions.
	* config/tc-sh.c (sh_optimize_expr): Only define for OBJ_ELF.
	* config/tc-sh.h (md_optimize_expr): Likewise.
	* config/tc-sh64.c (shmedia_md_pcrel_from_section): Delete bogus
	assertion.
	* config/tc-xtensa.c (convert_frag_immed_finish_loop): Likewise.
2007-04-21 13:04:14 +00:00
Nick Clifton
2523cd0a81 * config/atof-vax.c (md_atof): Fix comparison inside know(). 2007-04-21 12:50:49 +00:00
Nick Clifton
c13781b849 Fix typo. 2007-04-21 12:25:13 +00:00
Nick Clifton
1b0b5b1b6a * ecoff.c (_bfd_ecoff_write_armap): Initialise rehash.
(ecoff_link_add_archive_symbols): Likewise.
* coff-m68k.c (m68kcoff_common_addend_rtype_to_howto): Initialise relent.howto.
* ieee.c (parse_int): Initialise x.
  (must_parse_int): Initialise result.
  (ieee_slurp_external_symbols): Initialise value.
2007-04-21 07:49:29 +00:00
Alan Modra
db55703487 gas/
* expr.c (expr): Assert on rankarg, not rank which can be unsigned.
	* read.c (read_a_source_file): Remove buffer_limit[-1] assertion.
	Don't skip over NUL char.
	(pseudo_set): Set X_op for registers to O_register.
	* symbols.c (symbol_clone): Remove assertion that sym is defined.
	(resolve_symbol_value): Resolve O_register symbols.
	* config/tc-i386.c (parse_real_register): Don't use i386_float_regtab.
	Instead find st(0) by hash lookup.
	* config/tc-ppc.c (ppc_macro): Warning fix.
opcodes/
	* i386-opc.c (i386_float_regtab, i386_float_regtab_size): Delete.
	Move contents to..
	(i386_regtab): ..here.
	* i386-opc.h (i386_float_regtab, i386_float_regtab_size): Delete.
2007-04-21 06:54:57 +00:00
Alan Modra
c43a438d5e * as.h (ENABLE_CHECKING): Default define to 0.
(know): Assert if ENABLE_CHECKING.
	(struct relax_type): Remove superfluous declaration.
	* configure.in (--enable-checking): New.
	* configure: Regenerate.
	* config.in: Regenerate.
	* config/tc-ppc.c (ppc_setup_opcodes): Do checks when ENABLE_CHECKING.
	Check for duplicate powerpc_operands entries.
2007-04-21 05:15:41 +00:00
Alan Modra
717bbdf181 * ppc-opc.c (powerpc_operands): Delete duplicate entries.
(BA_MASK, FXM_MASK, STRM_MASK, VA_MASK, VB_MASK, VC_MASK): Delete.
	(VD_MASK, WS_MASK, MTMSRD_L, XRT_L): Delete.
	(powerpc_opcodes): Replace uses of MTMSRD_L and XRT_L.
2007-04-21 05:14:21 +00:00
Alan Modra
bd7803a985 * config.bfd (spu-*-elf): Delete targ_selvecs. 2007-04-21 05:01:22 +00:00
gdbadmin
9ac70ad2c9 *** empty log message *** 2007-04-21 00:00:36 +00:00
Alan Modra
57d9f5132f daily update 2007-04-21 00:00:08 +00:00
Nathan Sidwell
d5be95937e * config/tc-m68k.c (mcf5253_ctrl): New.
(mcf52223_ctrl): New.
	(m68k_cpus): Add 5253, 52221, 52223.
2007-04-20 14:41:38 +00:00
Nathan Sidwell
7833670643 gas/
* config/m68k-parse.h (RAMBAR_ALT): New.
	* config/tc-m68k.c (mcf5206_ctrl, mcf5307_ctrl): New.
	(mcf_ctrl, mcf5208_ctrl, mcf5210a_ctrl, mcf5213_ctrl, mcf52235_ctrl,
	mcf5225_ctrl, mcf5235_ctrl, mcf5271_ctrl, mcf5275_ctrl,
	mcf5282_ctrl, mcf5329_ctrl, mcf5373_ctrl, mcfv4e_ctrl,
	mcf5475_ctrl, mcf5485_ctrl): Add RAMBAR synonym for
	RAMBAR1.
	(mcf5272_ctrl): Add RAMBAR0, replace add RAMBAR with RAMBAR_ALT.
	(m68k_cpus): Adjust 5206, 5206e & 5307 entries.
	(m68k_ip) <Case J>: Detect when RAMBAR_ALT should be used.  Add it
	to control register mapping.

	gas/testsuite/
	* gas/m68k/ctrl-1.d, gas/m68k/ctrl-1.s: New.
	* gas/m68k/ctrl-2.d, gas/m68k/ctrl-2.s: New.
	* gas/m68k/all.exp: Add them.

	opcodes/
	* m68k-dis.c (print_insn_arg): Show c04 as rambar0 and c05 as
	rambar1.
2007-04-20 14:09:00 +00:00
Nick Clifton
c6e15d68d9 * rclex.l: Allow underscores at the start of identifiers. 2007-04-20 13:52:58 +00:00
Alan Modra
c5c2803a66 * gas/ppc/range64.s: New.
* gas/ppc/range64.l: New.
	* gas/ppc/range.s: New.
	* gas/ppc/range.l: New.
	* gas/ppc/ppc.exp (run_list_test): New.  Use to run new tests.
2007-04-20 13:42:48 +00:00
Alan Modra
931774a953 * messages.c (as_internal_value_out_of_range): Fix typo in
error message.  Return after printing domain error.
	* config/tc-ppc.c (ppc_insert_operand): Preserve low zero bits
	in max when shifting right.
2007-04-20 13:42:03 +00:00
Nick Clifton
f6da2ec281 Changelog entry for previous delta 2007-04-20 13:05:18 +00:00
Nick Clifton
98693b73e9 Restore from version 1.1 2007-04-20 12:57:02 +00:00
Alan Modra
b84bf58af1 include/opcode/
* ppc.h (struct powerpc_operand): Replace "bits" with "bitm".
	(num_powerpc_operands): Declare.
	(PPC_OPERAND_SIGNED et al): Redefine as hex.
	(PPC_OPERAND_PLUS1): Define.
opcodes/
	* ppc-dis.c (print_insn_powerpc): Adjust for struct powerpc_operand
	change.
	* ppc-opc.c (powerpc_operands): Replace bit count with bit mask
	in all entries.  Add PPC_OPERAND_SIGNED to DE entry.  Remove
	references to following deleted functions.
	(insert_bd, extract_bd, insert_dq, extract_dq): Delete.
	(insert_ds, extract_ds, insert_de, extract_de): Delete.
	(insert_des, extract_des, insert_li, extract_li): Delete.
	(insert_nb, insert_rsq, insert_rtq, insert_ev2, extract_ev2): Delete.
	(insert_ev4, extract_ev4, insert_ev8, extract_ev8): Delete.
	(num_powerpc_operands): New constant.
	(XSPRG_MASK): Remove entire SPRG field.
	(powerpc_opcodes <bcctre, bcctrel>): Use XLBB_MASK not XLYBB_MASK.
gas/
	* messages.c (as_internal_value_out_of_range): Extend to report
	errors for values with invalid low bits set.
	* config/tc-ppc.c (ppc_setup_opcodes): Check powerpc_operands bitm
	fields.  Check that operands and opcode fields are disjoint.
	(ppc_insert_operand): Check operands using mask rather than bit
	count.   Check low bits too.  Handle PPC_OPERAND_PLUS1.  Adjust
	insertion code.
	(md_apply_fix): Adjust for struct powerpc_operand change.
2007-04-20 12:25:15 +00:00
Mark Shinwell
1f90c7572b * MAINTAINERS (Write After Approval): Add myself. 2007-04-20 12:19:11 +00:00
Mark Shinwell
bf1242a5f8 Correct erroneous ChangeLog commit. 2007-04-20 12:15:41 +00:00
Mark Shinwell
0ebdb72899 * Makefile.in: Adjust dependencies of m68klinux-tdep.c.
* m68klinux-tdep.c (m68k_uclinux_sigcontext_reg_offset): New.
	(m68k_linux_sigcontext_reg_offset): Fix typo.
	(target_is_uclinux): New.
	(m68k_linux_inferior_created): New.
	(m68k_linux_get_sigtramp_info):  Check for uClinux or
	normal Linux.  Use m68k_uclinux_sigcontext_reg_offset for
	uClinux.
	(_initialize_m68k_linux_tdep): Register
	m68k_linux_inferior_created.
2007-04-20 12:13:52 +00:00
Alan Modra
0bbdef9222 * ppc-opc.c (DCM, DGM, TE, RMC, R, SP, S): Correct shift.
(Z2_MASK): Define.
	(powerpc_opcodes): Use Z2_MASK in all insns taking RMC operand.
2007-04-20 10:24:37 +00:00
Richard Earnshaw
86ad2a1353 * arm-dis.c (print_insn): Only look for a mapping symbol in the section
being disassembled.
2007-04-20 00:00:21 +00:00
Alan Modra
12741b1efd daily update 2007-04-20 00:00:06 +00:00
gdbadmin
9953b07e6e *** empty log message *** 2007-04-20 00:00:05 +00:00
Richard Earnshaw
90723616dd * gas/arm/mapshort.s: Add a small .data section.
* gas/arm/mapshort-eabi.d: Check the data section doesn't confuse
	disassembly.
	* gas/arm/mapshort-elf.d: Likewise.
2007-04-19 23:59:45 +00:00
Richard Earnshaw
9401f88dfe * binutils-all/arm/thumb2-cond.s: Allow for tab expansion by the pty.
Rename the second test.
2007-04-19 23:27:03 +00:00
Pedro Alves
96998ce73a * win32-nat.c (win32_detach): Remove delete_command call.
Resume inferior with win32_resume instead of win32_continue.
2007-04-19 19:35:24 +00:00
H.J. Lu
f6fdceb738 Correct SSE4.2 ChangeLog entry. 2007-04-19 17:08:56 +00:00
Paul Brook
076d447c31 2007-04-19 Paul Brook <paul@codesourcery.com>
gas/testsuite/
	* gas/arm/thumb1_unified.d: New test.
	* gas/arm/thumb1_unified.s: New test.

	gas/
	* config/tc-arm.c (md_assemble): Only allow 16-bit instructions on
	Thumb-1.  Add sanity check for bogus relaxations.
2007-04-19 17:08:21 +00:00
Paul Brook
16a4cf1777 2007-04-19 Paul Brook <paul@codesourcery.com>
gas/
	* config/tc-arm.c (insns): Allow rsb and rsbs on Thumb-1.
2007-04-19 17:05:12 +00:00
Nick Clifton
964597d07b * coffcode.h (coff_rtype_to_howto): Initialise genrel.howto. 2007-04-19 13:36:41 +00:00
Jerome Guitton
7e71daaa7b * ser-mingw.c (fd_is_file): New function.
(file_select_thread): New function.
	(ser_console_wait_handle): Add special handling for files.
2007-04-19 13:04:30 +00:00
Alan Modra
ec5fb24f94 revert hunk that belongs to a future patchset 2007-04-19 10:55:25 +00:00
Alan Modra
a33e055d81 .. 2007-04-19 10:52:48 +00:00
Alan Modra
e30daadc12 duh 2007-04-19 10:52:36 +00:00
Alan Modra
3fad56a3d4 missed from last commit 2007-04-19 10:51:34 +00:00
Alan Modra
5c068be831 * Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
2007-04-19 10:47:50 +00:00
Alan Modra
d10f054912 * Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
	* po/POTFILES.in: Regenerate.
2007-04-19 10:47:26 +00:00
Alan Modra
8db406db3c * corefile.c (core_create_function_syms, core_create_line_syms): Don't
set discard_underscores.
	* gprof.c (discard_underscores): Delete.
	* gprof.h (discard_underscores): Delete.
	* sym_ids.c (match): Use bfd_get_symbol_leading_char to check for
	leading underscores.
	* utils.c (print_name_only): Call bfd_demangle rather than
	cplus_demangle.
	* Makefile.am: Run "make dep-am".
	* Makefile.in: Regenerate.
2007-04-19 10:46:56 +00:00
Alan Modra
73705ac309 * ldcref.c (cref_fill_array): Call bfd_demangle rather than demangle.
* ldlang.c (lang_one_common): Likewise.
	* ldmisc.c (vfinfo): Likewise.
	(demangle): Delete.
	* ldmisc.h (demangle): Delete.
	* Makefile.am: Run "make dep-am".
	* Makefile.in: Regenerate.
2007-04-19 10:45:59 +00:00
Alan Modra
ed180cc5db * budemang.c: Delete.
* budemang.h: Delete.
	* addr2line.c (translate_addresses): Call bfd_demangle rather than
	demangle.
	* nm.c (print_symname): Likewise.
	* objdump.c (objdump_print_symname, dump_symbols): Likewise.
	(dump_bfd): Likewise.
	* prdbg.c (struct pr_handle <demangler>): Add int param.
	(tg_variable, tg_start_function): Adjust demangler calls.
	* Makefile.am: Remove mention of budemang.[ch].  Run "make dep-am".
	* Makefile.in: Regenerate.
	* po/POTFILES.in: Regenerate.
2007-04-19 10:43:47 +00:00
Alan Modra
01e7679297 * bfd.c (bfd_demangle): New function.
* Makefile.am: Run "make dep-am".
	* Makefile.in: Regenerate.
	* bfd-in2.h: Regenerate.
2007-04-19 10:41:30 +00:00
Alan Modra
360b160092 * ppc-opc.c (powerpc_opcodes): Add cctpl, cctpm, cctph, db8cyc,
db10cyc, db12cyc, db16cyc.
2007-04-19 01:39:31 +00:00
Alan Modra
7a467a2831 * doc/c-ppc.texi (PowerPC-Opts): Document -me500, -me500x2, -mspe. 2007-04-19 00:05:32 +00:00
Alan Modra
9e420ec8b4 daily update 2007-04-19 00:00:07 +00:00
gdbadmin
8360b4ab8a *** empty log message *** 2007-04-19 00:00:03 +00:00
Alan Modra
ec25e08f41 * gas/ppc/booke.s: Add tlbsx, tlbsxe.
* gas/ppc/booke.d: Update.
2007-04-18 23:58:12 +00:00