diff options
author | Fritz Koenig <frkoenig@google.com> | 2012-01-04 10:54:01 -0800 |
---|---|---|
committer | Fritz Koenig <frkoenig@google.com> | 2012-01-04 11:28:41 -0800 |
commit | b73e6c89cdc7242f7424704122eadd5cdcd47b41 (patch) | |
tree | 6aad152cf106adb4688016e9d6ef76f7e7117e44 /build/make/ads2gas.pl | |
parent | 5bfa29b6c54e31578cc377d49add31bddedc83a4 (diff) | |
download | libvpx-b73e6c89cdc7242f7424704122eadd5cdcd47b41.tar libvpx-b73e6c89cdc7242f7424704122eadd5cdcd47b41.tar.gz libvpx-b73e6c89cdc7242f7424704122eadd5cdcd47b41.tar.bz2 libvpx-b73e6c89cdc7242f7424704122eadd5cdcd47b41.zip |
Use number instead of string for eabi_attribute.
Current android ndk compiler does not recognize
strings for attributes. Numerical equivalents
can be found in the "ARM IHI 0045C" document.
Change-Id: I72de85b8949dc0ae5212af604fff1d5a91a828ea
Diffstat (limited to 'build/make/ads2gas.pl')
-rwxr-xr-x | build/make/ads2gas.pl | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/build/make/ads2gas.pl b/build/make/ads2gas.pl index cea967f93..c55ed0fe4 100755 --- a/build/make/ads2gas.pl +++ b/build/make/ads2gas.pl @@ -129,11 +129,14 @@ while (<STDIN>) # ARM code s/\sARM/.arm/g; + # eabi_attributes numerical equivalents can be found in the + # "ARM IHI 0045C" document. + # REQUIRE8 Stack is required to be 8-byte aligned - s/\sREQUIRE8/.eabi_attribute Tag_ABI_align_needed, 1/g; + s/\sREQUIRE8/.eabi_attribute 24, 1 \@Tag_ABI_align_needed/g; # PRESERVE8 Stack 8-byte align is preserved - s/\sPRESERVE8/.eabi_attribute Tag_ABI_align_preserved, 1/g; + s/\sPRESERVE8/.eabi_attribute 25, 1 \@Tag_ABI_align_preserved/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. |