mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-09-22 10:43:39 -04:00
out: Elf32, Elfx32, Elf64 -- more unifications
Some elf_ section numbers may be unused. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
@@ -177,12 +177,11 @@ static void dwarf_findsect(const int);
|
||||
|
||||
/*
|
||||
* Special NASM section numbers which are used to define ELF special
|
||||
* symbols, which can be used with WRT to provide PIC and TLS
|
||||
* relocation types.
|
||||
* symbols.
|
||||
*/
|
||||
static int32_t elf_gotpc_sect, elf_gotoff_sect;
|
||||
static int32_t elf_got_sect, elf_plt_sect;
|
||||
static int32_t elf_sym_sect, elf_tlsie_sect;
|
||||
static int32_t elf_sym_sect, elf_gottpoff_sect, elf_tlsie_sect;
|
||||
|
||||
static void elf_init(void)
|
||||
{
|
||||
|
@@ -177,14 +177,12 @@ static void dwarf_findfile(const char *);
|
||||
static void dwarf_findsect(const int);
|
||||
|
||||
/*
|
||||
* Special section numbers which are used to define ELF special
|
||||
* symbols, which can be used with WRT to provide PIC relocation
|
||||
* types.
|
||||
* Special NASM section numbers which are used to define ELF special
|
||||
* symbols.
|
||||
*/
|
||||
static int32_t elf_gotpc_sect, elf_gotoff_sect;
|
||||
static int32_t elf_got_sect, elf_plt_sect;
|
||||
static int32_t elf_sym_sect;
|
||||
static int32_t elf_gottpoff_sect;
|
||||
static int32_t elf_sym_sect, elf_gottpoff_sect, elf_tlsie_sect;
|
||||
|
||||
static void elf_init(void)
|
||||
{
|
||||
|
Reference in New Issue
Block a user