OSDN Git Service

bfd:
authorBob Wilson <bob.wilson@acm.org>
Mon, 15 May 2006 17:03:15 +0000 (17:03 +0000)
committerBob Wilson <bob.wilson@acm.org>
Mon, 15 May 2006 17:03:15 +0000 (17:03 +0000)
commit476a3e496bd7b1d05e8fbdcd2a1f11597c7ca8cb
tree728f4c1217fcc5a31c3b319216ac544c1f384a2c
parent4262845a11ef35a8a0fa9d1191db721d6188817e
bfd:
        * elf32-xtensa.c (check_loop_aligned): Fix reversed check for
        undefined opcode.  Clean up assertions.
        (narrow_instruction, widen_instruction): Remove "do_it" parameters.
        Factor most of the code into separate functions....
        (can_narrow_instruction, can_widen_instruction): New.
        (prev_instr_is_a_loop): New.
        (compute_ebb_proposed_actions): Combine error handling code for
        decode errors.  Replace call to insn_decode_len with inline code.
        Use can_narrow_instruction and can_widen_instruction.  Handle errors
        from call to xtensa_opcode_is_loop.
        (relax_section): Adjust calls to narrow_instruction and
        widen_instruction.
gas:
        * config/tc-xtensa.c (is_direct_call_opcode, is_branch_jmp_to_next,
        xg_assemble_vliw_tokens, xtensa_mark_narrow_branches,
        xtensa_fix_short_loop_frags, is_local_forward_loop, relax_frag_immed):
        Handle errors from calls to xtensa_opcode_is_* functions.
bfd/ChangeLog
bfd/elf32-xtensa.c
gas/ChangeLog
gas/config/tc-xtensa.c