Files
FFmpeg/libavcodec/arm
Martin Storsjö 9dde6ab06c arm: Fix SIGBUS on ARM when compiled with binutils 2.29
In binutils 2.29, the behavior of the ADR instruction changed so that 1 is
added to the address of a Thumb function (previously nothing was added). This
allows the loaded address to be passed to a BLX instruction and the correct
mode change will occur.

See: https://sourceware.org/bugzilla/show_bug.cgi?id=21458

By using adr with a label that isn't annotated as a thumb function,
we avoid the new behaviour in binutils 2.29 and get the same behaviour
as in prior releases, and as in other assemblers (ms armasm.exe,
clang's built in assembler) - an idea that Janne Grunau came up with.

Signed-off-by: Martin Storsjö <martin@martin.st>
2017-09-02 22:18:20 +03:00
..
2014-03-09 00:45:34 +01:00
2013-01-24 10:44:43 +01:00
2013-01-24 10:44:43 +01:00
2017-05-04 14:08:39 +02:00
2017-05-04 14:08:39 +02:00
2013-01-22 18:32:56 -08:00
2013-01-22 18:32:56 -08:00
2013-12-20 14:53:39 +02:00
2012-12-20 14:07:23 +01:00
2014-04-04 04:00:11 +02:00
2014-04-04 04:00:11 +02:00
2014-04-04 04:00:11 +02:00
2016-07-06 22:58:51 +03:00
2014-04-04 04:00:11 +02:00