OLD | NEW |
1 #!/usr/bin/env perl | 1 #!/usr/bin/env perl |
2 ## | 2 ## |
3 ## Copyright (c) 2013 The WebM project authors. All Rights Reserved. | 3 ## Copyright (c) 2013 The WebM project authors. All Rights Reserved. |
4 ## | 4 ## |
5 ## Use of this source code is governed by a BSD-style license | 5 ## Use of this source code is governed by a BSD-style license |
6 ## that can be found in the LICENSE file in the root of the source | 6 ## that can be found in the LICENSE file in the root of the source |
7 ## tree. An additional intellectual property rights grant can be found | 7 ## tree. An additional intellectual property rights grant can be found |
8 ## in the file PATENTS. All contributing project authors may | 8 ## in the file PATENTS. All contributing project authors may |
9 ## be found in the AUTHORS file in the root of the source tree. | 9 ## be found in the AUTHORS file in the root of the source tree. |
10 ## | 10 ## |
(...skipping 14 matching lines...) Expand all Loading... |
25 s/PRESERVE8//; | 25 s/PRESERVE8//; |
26 s/^\s*ARM\s*$//; | 26 s/^\s*ARM\s*$//; |
27 s/AREA\s+\|\|(.*)\|\|/AREA |$1|/; | 27 s/AREA\s+\|\|(.*)\|\|/AREA |$1|/; |
28 s/qsubaddx/qsax/i; | 28 s/qsubaddx/qsax/i; |
29 s/qaddsubx/qasx/i; | 29 s/qaddsubx/qasx/i; |
30 | 30 |
31 thumb::FixThumbInstructions($_, 1); | 31 thumb::FixThumbInstructions($_, 1); |
32 | 32 |
33 s/ldrneb/ldrbne/i; | 33 s/ldrneb/ldrbne/i; |
34 s/ldrneh/ldrhne/i; | 34 s/ldrneh/ldrhne/i; |
| 35 s/^(\s*)ENDP.*/$&\n$1ALIGN 4/; |
35 | 36 |
36 print; | 37 print; |
37 } | 38 } |
38 | 39 |
OLD | NEW |