Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Unified Diff: source/libvpx/build/make/ads2gas_apple.pl

Issue 7671004: Update libvpx snapshot to v0.9.7-p1 (Cayuga). (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/libvpx/
Patch Set: '' Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « source/libvpx/build/make/ads2gas.pl ('k') | source/libvpx/build/make/configure.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/libvpx/build/make/ads2gas_apple.pl
===================================================================
--- source/libvpx/build/make/ads2gas_apple.pl (revision 96967)
+++ source/libvpx/build/make/ads2gas_apple.pl (working copy)
@@ -41,6 +41,9 @@
while (<STDIN>)
{
+ # Load and store alignment
+ s/@/,:/g;
+
# Comment character
s/;/@/g;
@@ -97,7 +100,10 @@
s/CODE([0-9][0-9])/.code $1/;
# No AREA required
- s/^\s*AREA.*$/.text/;
+ # But ALIGNs in AREA must be obeyed
+ s/^\s*AREA.*ALIGN=([0-9])$/.text\n.p2align $1/;
+ # If no ALIGN, strip the AREA and align to 4 bytes
+ s/^\s*AREA.*$/.text\n.p2align 2/;
# DCD to .word
# This one is for incoming symbols
@@ -137,8 +143,8 @@
# put the colon at the end of the line in the macro
s/^([a-zA-Z_0-9\$]+)/$1:/ if !/EQU/;
- # Strip ALIGN
- s/\sALIGN/@ ALIGN/g;
+ # ALIGN directive
+ s/ALIGN/.balign/g;
# Strip ARM
s/\sARM/@ ARM/g;
« no previous file with comments | « source/libvpx/build/make/ads2gas.pl ('k') | source/libvpx/build/make/configure.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698