projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aee436b
)
Do not globalize internal symbols
author
Chris Lattner
<sabre@nondot.org>
Fri, 28 Oct 2005 18:44:07 +0000
(18:44 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 28 Oct 2005 18:44:07 +0000
(18:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24064
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PowerPC/PPCAsmPrinter.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/PPCAsmPrinter.cpp
b/lib/Target/PowerPC/PPCAsmPrinter.cpp
index f2e2396c50585e8fa07fdf548458391be24953f5..0004424fd21751a97f450dc980188f28780af8bc 100644
(file)
--- a/
lib/Target/PowerPC/PPCAsmPrinter.cpp
+++ b/
lib/Target/PowerPC/PPCAsmPrinter.cpp
@@
-390,7
+390,8
@@
bool DarwinAsmPrinter::runOnMachineFunction(MachineFunction &MF) {
// Print out labels for the function.
O << "\t.text\n";
emitAlignment(4);
- O << "\t.globl\t" << CurrentFnName << "\n";
+ if (!MF.getFunction()->hasInternalLinkage())
+ O << "\t.globl\t" << CurrentFnName << "\n";
O << CurrentFnName << ":\n";
// Print out code for the function.