llvm-6502/lib/MC
Jack Carter 77afbdce53 ELF symbol table field st_other support,
excluding visibility bits.

Generic STO handling at the Target level.

The st_other field of the ELF symbol table is one
byte in size. The first 2 bytes are used for generic
visibility and are currently handled by llvm.

The other six bits are processor specific and need 
to be set at the target level.

A couple of notes:

The new static methods for accessing and setting the "other"
flags in include/llvm/MC/MCELF.h match the style guide
and not the other methods in the file. I don't like the
inconsistency, but feel I should follow the prescribed 
lowerUpper() convention.

STO_ value definitions are not specified in gnu land as 
consistently as the STT_ and STB_ fields. Probably because
the latter were defined in a standards doc and the former
defined partially in code. I have stuck with the full byte
definition of the flags.

Contributer: Zoran Jovanovic




git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175561 91177308-0d34-0410-b5e6-96231b3b80d8
2013-02-19 21:57:35 +00:00
..
MCDisassembler
MCParser MCParser: Reject .balign with non-pow2 alignments. 2013-02-16 15:00:16 +00:00
CMakeLists.txt
ELFObjectWriter.cpp ELF symbol table field st_other support, 2013-02-19 21:57:35 +00:00
LLVMBuild.txt
MachObjectWriter.cpp
Makefile
MCAsmBackend.cpp
MCAsmInfo.cpp
MCAsmInfoCOFF.cpp
MCAsmInfoDarwin.cpp
MCAsmStreamer.cpp Fix another typo in the classof definitions that doesn't (currently) 2013-02-01 00:04:33 +00:00
MCAssembler.cpp Fix unnecessary removal of const through cast machinery 2013-02-11 01:16:51 +00:00
MCAtom.cpp
MCCodeEmitter.cpp
MCCodeGenInfo.cpp
MCContext.cpp Dwarf: support for LTO where a single object file can have multiple line tables 2013-02-05 21:52:47 +00:00
MCDisassembler.cpp
MCDwarf.cpp Formatting. 2013-02-07 21:19:56 +00:00
MCELF.cpp ELF symbol table field st_other support, 2013-02-19 21:57:35 +00:00
MCELFObjectTargetWriter.cpp
MCELFStreamer.cpp ELF symbol table field st_other support, 2013-02-19 21:57:35 +00:00
MCExpr.cpp
MCInst.cpp
MCInstPrinter.cpp
MCInstrAnalysis.cpp
MCLabel.cpp
MCMachObjectTargetWriter.cpp
MCMachOStreamer.cpp
MCModule.cpp
MCNullStreamer.cpp
MCObjectFileInfo.cpp Allow optionally generating pubnames section in DWARF info. Introduce 2013-02-12 18:00:14 +00:00
MCObjectStreamer.cpp Suppress a GCC -Wunused-variable warning in -Asserts builds 2013-02-15 23:12:33 +00:00
MCObjectWriter.cpp
MCPureStreamer.cpp
MCRegisterInfo.cpp
MCSection.cpp
MCSectionCOFF.cpp
MCSectionELF.cpp
MCSectionMachO.cpp Add static cast to unsigned char whenever a character classification function is called with a signed char argument, in order to avoid assertions in Windows Debug configuration. 2013-02-12 21:21:59 +00:00
MCStreamer.cpp ELF symbol table field st_other support, 2013-02-19 21:57:35 +00:00
MCSubtargetInfo.cpp
MCSymbol.cpp
MCValue.cpp
MCWin64EH.cpp
SubtargetFeature.cpp
WinCOFFObjectWriter.cpp
WinCOFFStreamer.cpp