mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-07-18 12:29:27 +00:00
On Darwin, GCC issues a ".globl" for something that has a "visibility protected"
attribute instead of ".protected". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48516 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
586ccac4ec
commit
bebc3642d3
@ -90,6 +90,7 @@ X86TargetAsmInfo::X86TargetAsmInfo(const X86TargetMachine &TM) {
|
|||||||
WeakDefDirective = "\t.weak_definition ";
|
WeakDefDirective = "\t.weak_definition ";
|
||||||
WeakRefDirective = "\t.weak_reference ";
|
WeakRefDirective = "\t.weak_reference ";
|
||||||
HiddenDirective = "\t.private_extern ";
|
HiddenDirective = "\t.private_extern ";
|
||||||
|
ProtectedDirective = "\t.globl\t";
|
||||||
|
|
||||||
// In non-PIC modes, emit a special label before jump tables so that the
|
// In non-PIC modes, emit a special label before jump tables so that the
|
||||||
// linker can perform more accurate dead code stripping.
|
// linker can perform more accurate dead code stripping.
|
||||||
|
Loading…
Reference in New Issue
Block a user