summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/ELFCodeEmitter.cpp
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2010-07-16 07:53:29 +0000
committerEli Friedman <eli.friedman@gmail.com>2010-07-16 07:53:29 +0000
commit17c5a23559ab54dbecd74e0f9ba343c68adc7716 (patch)
treefda7817ed10a57c6ddf728836d88f6fb165359b5 /llvm/lib/CodeGen/ELFCodeEmitter.cpp
parentad543ecaa96bbee82baf2a6dfa25cfb702584e4c (diff)
downloadbcm5719-llvm-17c5a23559ab54dbecd74e0f9ba343c68adc7716.tar.gz
bcm5719-llvm-17c5a23559ab54dbecd74e0f9ba343c68adc7716.zip
Get rid of a bunch of duplicated ELF enum values.
llvm-svn: 108520
Diffstat (limited to 'llvm/lib/CodeGen/ELFCodeEmitter.cpp')
-rw-r--r--llvm/lib/CodeGen/ELFCodeEmitter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/ELFCodeEmitter.cpp b/llvm/lib/CodeGen/ELFCodeEmitter.cpp
index 36b0e6514b3..3fb087c5ea8 100644
--- a/llvm/lib/CodeGen/ELFCodeEmitter.cpp
+++ b/llvm/lib/CodeGen/ELFCodeEmitter.cpp
@@ -71,7 +71,7 @@ void ELFCodeEmitter::startFunction(MachineFunction &MF) {
bool ELFCodeEmitter::finishFunction(MachineFunction &MF) {
// Add a symbol to represent the function.
const Function *F = MF.getFunction();
- ELFSym *FnSym = ELFSym::getGV(F, EW.getGlobalELFBinding(F), ELFSym::STT_FUNC,
+ ELFSym *FnSym = ELFSym::getGV(F, EW.getGlobalELFBinding(F), ELF::STT_FUNC,
EW.getGlobalELFVisibility(F));
FnSym->SectionIdx = ES->SectionIdx;
FnSym->Size = ES->getCurrentPCOffset()-FnStartOff;
OpenPOWER on IntegriCloud