mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
move production of .reference directives for static ctor/dtor list on
darwin into common code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93849 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -36,7 +36,13 @@ namespace llvm {
|
||||
|
||||
/// HasMachoZeroFillDirective - True if this is a MachO target that supports
|
||||
/// the macho-specific .zerofill directive for emitting BSS Symbols.
|
||||
bool HasMachoZeroFillDirective; // Default is false.
|
||||
bool HasMachoZeroFillDirective; // Default is false.
|
||||
|
||||
/// HasStaticCtorDtorReferenceInStaticMode - True if the compiler should
|
||||
/// emit a ".reference .constructors_used" or ".reference .destructors_used"
|
||||
/// directive after the a static ctor/dtor list. This directive is only
|
||||
/// emitted in Static relocation model.
|
||||
bool HasStaticCtorDtorReferenceInStaticMode; // Default is false.
|
||||
|
||||
/// NeedsSet - True if target asm treats expressions in data directives
|
||||
/// as linktime-relocatable. For assembly-time computation, we need to
|
||||
@@ -314,7 +320,9 @@ namespace llvm {
|
||||
// Accessors.
|
||||
//
|
||||
bool hasMachoZeroFillDirective() const { return HasMachoZeroFillDirective; }
|
||||
|
||||
bool hasStaticCtorDtorReferenceInStaticMode() const {
|
||||
return HasStaticCtorDtorReferenceInStaticMode;
|
||||
}
|
||||
const char *getNonexecutableStackDirective() const {
|
||||
return NonexecutableStackDirective;
|
||||
}
|
||||
|
Reference in New Issue
Block a user