summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorAttila Nagy <attilanagy@google.com>2011-11-18 12:28:43 +0200
committerAttila Nagy <attilanagy@google.com>2011-11-18 12:28:43 +0200
commitc5434abc02adcf089c4e8a808d5688cac82638cf (patch)
tree949a0dde3b44b4affb7bd8bcf97e6c69ae2d4e90 /build
parent3c755577b85f5bf0a875e5f8f33ecb99a26d316d (diff)
downloadlibvpx-c5434abc02adcf089c4e8a808d5688cac82638cf.tar
libvpx-c5434abc02adcf089c4e8a808d5688cac82638cf.tar.gz
libvpx-c5434abc02adcf089c4e8a808d5688cac82638cf.tar.bz2
libvpx-c5434abc02adcf089c4e8a808d5688cac82638cf.zip
ads2gas translates PRESERVE8, REQUIRE8 and ARM directives
Change-Id: I22c547af80e0bce0c7b5f6054ad0aa61f37d717b
Diffstat (limited to 'build')
-rwxr-xr-xbuild/make/ads2gas.pl13
1 files changed, 6 insertions, 7 deletions
diff --git a/build/make/ads2gas.pl b/build/make/ads2gas.pl
index 388133aa2..cea967f93 100755
--- a/build/make/ads2gas.pl
+++ b/build/make/ads2gas.pl
@@ -126,15 +126,14 @@ while (<STDIN>)
# ALIGN directive
s/ALIGN/.balign/g;
- # Strip ARM
- s/\sARM/@ ARM/g;
+ # ARM code
+ s/\sARM/.arm/g;
- # Strip REQUIRE8
- #s/\sREQUIRE8/@ REQUIRE8/g;
- s/\sREQUIRE8/@ /g; #EQU cause problem
+ # REQUIRE8 Stack is required to be 8-byte aligned
+ s/\sREQUIRE8/.eabi_attribute Tag_ABI_align_needed, 1/g;
- # Strip PRESERVE8
- s/\sPRESERVE8/@ PRESERVE8/g;
+ # PRESERVE8 Stack 8-byte align is preserved
+ s/\sPRESERVE8/.eabi_attribute Tag_ABI_align_preserved, 1/g;
# Use PROC and ENDP to give the symbols a .size directive.
# This makes them show up properly in debugging tools like gdb and valgrind.