aboutsummaryrefslogtreecommitdiff
path: root/scripts/checkstack.pl
diff options
context:
space:
mode:
authorHarm Hanemaaijer <fgenfb@yahoo.com>2013-07-12 00:11:56 +0200
committerMister Oyster <oysterized@gmail.com>2017-04-11 10:57:09 +0200
commit34ca1f77d4c63af9cc7083e06427f1adaaf768b7 (patch)
treedab50736f122c36b68044daa70fe6348805747b9 /scripts/checkstack.pl
parent7a4be1eb142e1b38d390748deef1631cd551a62f (diff)
Rename ARM assembler push/pull macros
The ARM assembler library functions use a macro called "push" that along with a macro called "pull" is used to shift bytes around in a word in an endian-independent way. However, the modern unified ARM assembler syntax also defines the instruction "push" to push data onto the stack, which has specific encodings in the Thumb2 instruction set. For prevent possible conflicts going forward, and to allow the use of the more transparent "push" instruction along with the modern unified assembler syntax, this patch renames all occurrences of the "push" macro to "pushbits", as well as renaming the macro argument, when also called "push", to "pushshift". For consistency, the macro called "pull" with its argument name "pull" are also renamed to "pullbits" and "pullshift", respectively. Signed-off-by: Harm Hanemaaijer <fgenfb@yahoo.com>
Diffstat (limited to 'scripts/checkstack.pl')
0 files changed, 0 insertions, 0 deletions