aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authornotaz2013-03-25 00:03:27 +0100
committernotaz2013-03-25 03:45:19 +0200
commit22ccf738dcfd79768da590e88b6ee70d5e78a21e (patch)
tree63f865ff45abd104db2d177998ba5b47d56d3f1f /tools
parenta53073ec52f5944c7833e176fec5ac49dc9e1e45 (diff)
downloadpcsx_rearmed-22ccf738dcfd79768da590e88b6ee70d5e78a21e.tar.gz
pcsx_rearmed-22ccf738dcfd79768da590e88b6ee70d5e78a21e.tar.bz2
pcsx_rearmed-22ccf738dcfd79768da590e88b6ee70d5e78a21e.zip
gas-preprocessor: support .bss
same as .data on Mach-O it seems
Diffstat (limited to 'tools')
-rw-r--r--tools/gas-preprocessor.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/gas-preprocessor.pl b/tools/gas-preprocessor.pl
index 082f71b..9787491 100644
--- a/tools/gas-preprocessor.pl
+++ b/tools/gas-preprocessor.pl
@@ -121,6 +121,7 @@ while (<ASMFILE>) {
s/\.global/.globl/x;
# also catch .section .rodata since the equivalent to .const_data is .section __DATA,__const
s/(.*)\.rodata/.const_data/x;
+ s/\.bss/.data/x;
s/\.int/.long/x;
s/\.float/.single/x;