diff options
author | Pat Pannuto <pat.pannuto@gmail.com> | 2017-01-11 23:50:19 -0500 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2017-01-25 13:32:09 +0100 |
commit | 3ebc26958e6456befd95809faa6d88481f29bc89 (patch) | |
tree | 36659b5751c161de672e7e3c4eabe364565f2f04 /etc/add-log.el | |
parent | b219285f873cc79361355938bd2a994957b4a6ef (diff) | |
download | cygnal-3ebc26958e6456befd95809faa6d88481f29bc89.tar.gz cygnal-3ebc26958e6456befd95809faa6d88481f29bc89.tar.bz2 cygnal-3ebc26958e6456befd95809faa6d88481f29bc89.zip |
arm: Remove RETURN macro
LTO can re-order top-level assembly blocks, which can cause this
macro definition to appear after its use (or not at all), causing
compilation failures. On modern toolchains (armv4t+), assembly
should write `bx lr` in all cases, and linkers will transparently
convert them to `mov pc, lr`, allowing us to simply remove the
macro.
(source: https://groups.google.com/forum/#!topic/comp.sys.arm/3l7fVGX-Wug
and verified empirically)
For the armv4.S file, preserve this macro to maximize backwards
compatibility.
Diffstat (limited to 'etc/add-log.el')
0 files changed, 0 insertions, 0 deletions