summaryrefslogtreecommitdiff
path: root/build/make/ads2gas_apple.pl
diff options
context:
space:
mode:
Diffstat (limited to 'build/make/ads2gas_apple.pl')
-rwxr-xr-xbuild/make/ads2gas_apple.pl7
1 files changed, 5 insertions, 2 deletions
diff --git a/build/make/ads2gas_apple.pl b/build/make/ads2gas_apple.pl
index 5014c61fb..1b3039374 100755
--- a/build/make/ads2gas_apple.pl
+++ b/build/make/ads2gas_apple.pl
@@ -41,6 +41,9 @@ sub trim($)
while (<STDIN>)
{
+ # Load and store alignment
+ s/@/,:/g;
+
# Comment character
s/;/@/g;
@@ -137,8 +140,8 @@ while (<STDIN>)
# 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;