shithub: libvpx

Download patch

ref: 70a5104eada4058524c3ce43754731f0c9e239a2
parent: 0780f258da950e6d0a600ede35968ced93f407c5
parent: b73e6c89cdc7242f7424704122eadd5cdcd47b41
author: Johann <johannkoenig@google.com>
date: Thu Jan 5 07:32:23 EST 2012

Merge "Use number instead of string for eabi_attribute."

--- a/build/make/ads2gas.pl
+++ b/build/make/ads2gas.pl
@@ -129,11 +129,14 @@
     # 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.