mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Handle ELF mergeable sections
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53306 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -57,12 +57,12 @@ namespace llvm {
|
||||
EntitySize = 0xFF << 24 ///< Entity size for mergeable sections
|
||||
};
|
||||
|
||||
static inline unsigned getEntitySize(unsigned flags) {
|
||||
return (flags >> 24) & 0xFF;
|
||||
static inline unsigned getEntitySize(unsigned Flags) {
|
||||
return (Flags >> 24) & 0xFF;
|
||||
}
|
||||
|
||||
static inline unsigned setEntitySize(unsigned flags, unsigned size) {
|
||||
return ((flags & ~EntitySize) | ((size & 0xFF) << 24));
|
||||
static inline unsigned setEntitySize(unsigned Flags, unsigned Size) {
|
||||
return ((Flags & ~EntitySize) | ((Size & 0xFF) << 24));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user