mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Emit .comm alignment in bytes but .align in powers of 2 for ARM ELF.
Original patch by Sandeep Patel and updated by me. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94582 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -181,6 +181,10 @@ namespace llvm {
|
||||
/// directive.
|
||||
bool HasLCOMMDirective; // Defaults to false.
|
||||
|
||||
/// COMMDirectiveAlignmentIsInBytes - True is COMMDirective's optional
|
||||
/// alignment is to be specified in bytes instead of log2(n).
|
||||
bool COMMDirectiveAlignmentIsInBytes; // Defaults to true;
|
||||
|
||||
/// HasDotTypeDotSizeDirective - True if the target has .type and .size
|
||||
/// directives, this is true for most ELF targets.
|
||||
bool HasDotTypeDotSizeDirective; // Defaults to true.
|
||||
@@ -378,6 +382,9 @@ namespace llvm {
|
||||
}
|
||||
bool hasLCOMMDirective() const { return HasLCOMMDirective; }
|
||||
bool hasDotTypeDotSizeDirective() const {return HasDotTypeDotSizeDirective;}
|
||||
bool getCOMMDirectiveAlignmentIsInBytes() const {
|
||||
return COMMDirectiveAlignmentIsInBytes;
|
||||
}
|
||||
bool hasSingleParameterDotFile() const { return HasSingleParameterDotFile; }
|
||||
bool hasNoDeadStrip() const { return HasNoDeadStrip; }
|
||||
const char *getWeakRefDirective() const { return WeakRefDirective; }
|
||||
|
Reference in New Issue
Block a user