diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2011-05-16 16:17:21 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2011-05-16 16:17:21 +0000 |
| commit | e90c1cb22181b42741053e27d90bced53bea3273 (patch) | |
| tree | c7128b3e75c7ff1aaf3e59749781b93c48a392f9 /llvm/include | |
| parent | 71f8b08a808b12cdfc86113f6c206a8f03d130e5 (diff) | |
| download | bcm5719-llvm-e90c1cb22181b42741053e27d90bced53bea3273.tar.gz bcm5719-llvm-e90c1cb22181b42741053e27d90bced53bea3273.zip | |
sets bit 0 of the function address of thumb function in .symtab
("T is 1 if the target symbol S has type STT_FUNC and the
symbol addresses a Thumb instruction ;it is 0 otherwise."
from "ELF for the ARM Architecture" 4.7.1.2)
Patch by Koan-Sin Tan!
llvm-svn: 131406
Diffstat (limited to 'llvm/include')
| -rw-r--r-- | llvm/include/llvm/MC/MCELFSymbolFlags.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/include/llvm/MC/MCELFSymbolFlags.h b/llvm/include/llvm/MC/MCELFSymbolFlags.h index d798fb07727..2225ea07868 100644 --- a/llvm/include/llvm/MC/MCELFSymbolFlags.h +++ b/llvm/include/llvm/MC/MCELFSymbolFlags.h @@ -49,7 +49,8 @@ namespace llvm { ELF_STV_Hidden = (ELF::STV_HIDDEN << ELF_STV_Shift), ELF_STV_Protected = (ELF::STV_PROTECTED << ELF_STV_Shift), - ELF_Other_Weakref = (1 << ELF_Other_Shift) + ELF_Other_Weakref = (1 << ELF_Other_Shift), + ELF_Other_ThumbFunc = (2 << ELF_Other_Shift) }; } // end namespace llvm |

