On Mon, 24 Mar 2014, Martin Storsjo wrote:

A branch instruction in thumb mode might either be narrow or
wide, depending on the offset to the branch location.

armasm seems to have a bug when calculating the difference
between two symbols, where there's such a branch inbetween.
If the branch immediately seems to require a wide instruction,
the symbol difference is calculated properly, but if the
branch is made wide as a consequence from another branch
being made wide, the symbol difference isn't calculated
properly.
---
gas-preprocessor.pl | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)

FWIW, I reported this bug upstream at https://connect.microsoft.com/VisualStudio/feedback/details/839866.

// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to