[Object] Add symbol attribute flags: ST_ThreadLocal, ST_Common, and ST_Undefined...
authorDavid Meyer <pdox@google.com>
Wed, 29 Feb 2012 02:11:55 +0000 (02:11 +0000)
committerDavid Meyer <pdox@google.com>
Wed, 29 Feb 2012 02:11:55 +0000 (02:11 +0000)
commit2c67727046234ad9702ab5acb72700b5ac99a676
tree8dccb4673583b529cf8ca2a898407105b5c01f91
parent37c02bce277078902924af897736d87bb0b106a0
[Object] Add symbol attribute flags: ST_ThreadLocal, ST_Common, and ST_Undefined. Implement these completely for ELF.
Rename ST_External to ST_Unknown, and slightly change its semantics. It now only indicates that the symbol's type
is unknown, not that the symbol is undefined. (For that, use ST_Undefined).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151696 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Object/ELF.h
include/llvm/Object/ObjectFile.h
lib/Object/COFFObjectFile.cpp
lib/Object/MachOObjectFile.cpp
tools/llvm-objdump/llvm-objdump.cpp