The attached patch fixes an assebler bug processing Thumb-2 branches to absolute addresses. We don't know how far away these really are, so if no size suffix is specified we must assume they require a long branch. Currently we end up with a narrow branch, which is almost never suficient. We also segfault in some circumstances. Tested on arm-none-eabi and arm-wrs-vxworks Applied to CVS head Paul 2011-05-31 Paul Brook gas/ * config/tc-arm.c (do_t_branch): Avoid relaxing branches to constant addresses. gas/testsuite/ * arm/t2-branch-global.d: New test. * arm/t2-branch-global.s: New test.