Fix Thumb2 bl range options.
authorRamana Radhakrishnan <ramana.r@gmail.com>
Mon, 21 Dec 2009 12:56:41 +0000 (12:56 +0000)
committerRamana Radhakrishnan <ramana.r@gmail.com>
Mon, 21 Dec 2009 12:56:41 +0000 (12:56 +0000)
commit4a42ebbc0e5d1256809d8c969e848ecf462c0dc1
tree07a948bd62faf20e49db0dbae264adf07a763f06
parent1a7bd2debe2158a6a296a147512ae3345481cfba
Fix Thumb2 bl range options.

2009-12-21  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
            Richard Earnshaw  <richard.earnshaw@arm.com>

        * config/tc-arm.c (encode_thumb2_b_bl_offset): New. Refactored
        from md_apply_fix.
        (md_apply_fix): Fixup range checks for Thumb2 version
        of unconditional calls. Call encode_thumb2_b_bl_offset for
        unconditional branches / function calls.
gas/ChangeLog
gas/config/tc-arm.c