Skip to content

Commit 62dcfbe

Browse files
committed
Do not null out zero directive for GAS
1 parent 3d9fed6 commit 62dcfbe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/lib/Target/Z80/MCTargetDesc/Z80MCAsmInfo.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Z80MCAsmInfoELF::Z80MCAsmInfoELF(const Triple &T) {
3838

3939
// Common to both GAS and fasmg
4040
CommentString = ";";
41-
ZeroDirective = AscizDirective = nullptr;
41+
AscizDirective = nullptr;
4242
Code32Directive = Code64Directive = nullptr;
4343
UseIntegratedAssembler = false;
4444
AssemblerDialect = !Is16Bit;
@@ -56,6 +56,7 @@ Z80MCAsmInfoELF::Z80MCAsmInfoELF(const Triple &T) {
5656
SeparatorString = nullptr;
5757
PrivateGlobalPrefix = PrivateLabelPrefix = "";
5858
SupportsQuotedNames = false;
59+
ZeroDirective = nullptr;
5960
BlockSeparator = " dup ";
6061
AsciiDirective = ByteListDirective = Data8bitsDirective = "\tdb\t";
6162
NumberLiteralSyntax = ANLS_PlainDecimal;

0 commit comments

Comments
 (0)