gdbadmin
12866c24f6
*** empty log message ***
2007-04-24 00:00:35 +00:00
Alan Modra
87a87f7063
daily update
2007-04-24 00:00:07 +00:00
Nick Clifton
9e48b4c6ec
* objcopy.c (reverse_bytes): New variable.
...
(command_line_switch, copy_main): Add OPTION_REVERSE_ENDIAN.
(copy_options, copy_usage): Add "reverse-bytes" entry.
(copy_section): Reverse bytes within output sections.
* doc/binutils.texi: Document new objcopy option.
* testsuite/binutils-all/objcopy.exp: Add test for --reverse-bytes.
2007-04-23 10:59:07 +00:00
Nathan Sidwell
9a2e615a9f
gas/testsuite/
...
* gas/m68k/br-isaa.s: New.
* gas/m68k/br-isaa.d: New.
* gas/m68k/br-isab.s: New.
* gas/m68k/br-isab.d: New.
* gas/m68k/br-isac.s: New.
* gas/m68k/br-isac.d: New.
* gas/m68k/all.exp: Adjust.
gas/
* config/tc-m68k.c (mcf54455_ctrl): New.
(HAVE_LONG_DISP, HAVE_LONG_CALL, HAVE_LONG_COND): New.
(m68k_archs): Add isac.
(m68k_cpus): Add 54455 family.
(m68k_ip): Split Bg into Bb, Bs, Bg.
(m68k_elf_final_processing): Add ISA_C.
* doc/c-m68k.texi (M680x0 Options): Add isac.
include/opcode/
* m68k.h (mcfisa_c): New.
(mcfusp, mcf_mask): Adjust.
bfd/
* archures.c (bfd_mach_mcf_isa_c, bfd_mach_mcf_isa_c_mac,
bfd_mach_mcf_isa_c_emac): New.
* elf32-m68k.c (ISAC_PLT_ENTRY_SIZE, elf_isac_plt0_entry,
elf_isac_plt_entry, elf_isac_plt_info): New.
(elf32_m68k_object_p): Add ISA_C.
(elf32_m68k_print_private_bfd_data): Print ISA_C.
(elf32_m68k_get_plt_info): Detect ISA_C.
* cpu-m68k.c (arch_info): Add ISAC.
(m68k_arch_features): Likewise,
(bfd_m68k_compatible): ISAs B & C are not compatible.
opcodes/
* m68k-opc.c: Mark mcfisa_c instructions.
2007-04-23 07:51:33 +00:00
Alan Modra
d069994d0e
daily update
2007-04-23 00:00:07 +00:00
gdbadmin
1a119b77bf
*** empty log message ***
2007-04-23 00:00:02 +00:00
Alan Modra
d2bdaea822
* read.c (read_a_source_file): Skip multiple spaces to
...
cover hack in mmix md_start_line_hook which overwrites a
colon with a space. Delete sermon and needless assertion.
2007-04-22 05:27:58 +00:00
Alan Modra
0224c58ec6
daily update
2007-04-22 00:00:08 +00:00
gdbadmin
170e218a29
*** empty log message ***
2007-04-22 00:00:04 +00:00
Richard Earnshaw
5f69fa6d84
* gas/arm/arch4t.d: Convert to unified syntax.
...
* gas/arm/archv6.d: Likewise.
* gas/arm/archv6t2.d: Likewise.
* gas/arm/arch3.d: Likewise.
* gas/arm/arch7dm.d: Likewise.
* gas/arm/arch7t.d: Likewise.
* gas/arm/archv1.d: Likewise.
* gas/arm/copro.d: Likewise.
* gas/arm/inst.d: Likewise.
* gas/arm/macro1.d: Likewise.
* gas/arm/tcompat.d: Likewise.
* gas/arm/wince_inst.d: Likewise.
* gas/arm/xscale.d: Likewise.
* gas/arm/thumb.d: White space cleanup.
* gas/arm/thumb2_relax.d: Likewise.
* gas/arm/thumb32.d: Likewise.
2007-04-21 19:45:05 +00:00
Richard Earnshaw
743b2a1e9e
* ld-arm/arm-app-abs32.d: Convert to unified syntax.
...
* ld-arm/arm-app.d: Likewise.
* ld-arm/arm-lib-plt32.d: Likewise.
* ld-arm/arm-lib.d: Likewise.
* ld-arm/arm-static-app.d: Likewise.
* ld-arm/armthumb-lib.d: Likewise.
* ld-arm/mixed-app-v5.d: Likewise.
* ld-arm/mixed-app.d: Likewise.
* ld-arm/mixed-lib.d: Likewise.
2007-04-21 19:44:40 +00:00
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