Skip to content

Commit 22ccf73

Browse files
committed
gas-preprocessor: support .bss
same as .data on Mach-O it seems
1 parent a53073e commit 22ccf73

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/gas-preprocessor.pl

+1
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@
121121
s/\.global/.globl/x;
122122
# also catch .section .rodata since the equivalent to .const_data is .section __DATA,__const
123123
s/(.*)\.rodata/.const_data/x;
124+
s/\.bss/.data/x;
124125
s/\.int/.long/x;
125126
s/\.float/.single/x;
126127

0 commit comments

Comments
 (0)