From 22ccf738dcfd79768da590e88b6ee70d5e78a21e Mon Sep 17 00:00:00 2001 From: notaz Date: Mon, 25 Mar 2013 00:03:27 +0100 Subject: [PATCH] gas-preprocessor: support .bss same as .data on Mach-O it seems --- tools/gas-preprocessor.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/gas-preprocessor.pl b/tools/gas-preprocessor.pl index 082f71bd..9787491e 100644 --- a/tools/gas-preprocessor.pl +++ b/tools/gas-preprocessor.pl @@ -121,6 +121,7 @@ while () { 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; -- 2.39.5