mirror of
https://github.com/serge1/ELFIO.git
synced 2024-12-26 18:15:40 +00:00
Fix formatting
This commit is contained in:
parent
d950ddbb90
commit
a528c2e99b
@ -1213,10 +1213,10 @@ struct Elf64_Sym
|
||||
};
|
||||
|
||||
#define ELF_ST_BIND( i ) ( ( i ) >> 4 )
|
||||
#define ELF_ST_TYPE( i ) ( (i)&0xf )
|
||||
#define ELF_ST_INFO( b, t ) ( ( ( b ) << 4 ) + ( (t)&0xf ) )
|
||||
#define ELF_ST_TYPE( i ) ( ( i ) & 0xf )
|
||||
#define ELF_ST_INFO( b, t ) ( ( ( b ) << 4 ) + ( ( t ) & 0xf ) )
|
||||
|
||||
#define ELF_ST_VISIBILITY( o ) ( (o)&0x3 )
|
||||
#define ELF_ST_VISIBILITY( o ) ( ( o ) & 0x3 )
|
||||
|
||||
// Relocation entries
|
||||
struct Elf32_Rel
|
||||
@ -1250,9 +1250,9 @@ struct Elf64_Rela
|
||||
#define ELF32_R_INFO( s, t ) ( ( ( s ) << 8 ) + (unsigned char)( t ) )
|
||||
|
||||
#define ELF64_R_SYM( i ) ( ( i ) >> 32 )
|
||||
#define ELF64_R_TYPE( i ) ( (i)&0xffffffffL )
|
||||
#define ELF64_R_TYPE( i ) ( ( i ) & 0xffffffffL )
|
||||
#define ELF64_R_INFO( s, t ) \
|
||||
( ( ( (int64_t)( s ) ) << 32 ) + ( (t)&0xffffffffL ) )
|
||||
( ( ( (int64_t)( s ) ) << 32 ) + ( ( t ) & 0xffffffffL ) )
|
||||
|
||||
// Dynamic structure
|
||||
struct Elf32_Dyn
|
||||
|
Loading…
Reference in New Issue
Block a user