Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
[gecko.git] / media / libvpx / bug666931.patch
blob3e580735c03b2ce46d822598fd239799f8897d98
1 diff --git a/media/libvpx/build/make/ads2gas.pl b/media/libvpx/build/make/ads2gas.pl
2 --- a/media/libvpx/build/make/ads2gas.pl
3 +++ b/media/libvpx/build/make/ads2gas.pl
4 @@ -74,17 +74,20 @@ while (<STDIN>)
6 # Convert INCLUDE to .INCLUDE "file"
7 s/INCLUDE(\s*)(.*)$/.include $1\"$2\"/;
9 # Code directive (ARM vs Thumb)
10 s/CODE([0-9][0-9])/.code $1/;
12 # No AREA required
13 - s/^\s*AREA.*$/.text/;
14 + # But ALIGNs in AREA must be obeyed
15 + s/^\s*AREA.*ALIGN=([0-9])$/.text\n.p2align $1/;
16 + # If no ALIGN, strip the AREA and align to 4 bytes
17 + s/^\s*AREA.*$/.text\n.p2align 2/;
19 # DCD to .word
20 # This one is for incoming symbols
21 s/DCD\s+\|(\w*)\|/.long $1/;
23 # DCW to .short
24 s/DCW\s+\|(\w*)\|/.short $1/;
25 s/DCW(.*)/.short $1/;