mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-03-07 17:46:58 +08:00
Merge branch 'master' of git+ssh://repo.or.cz/srv/git/nasm
This commit is contained in:
commit
c8c62fe4d3
@ -484,7 +484,8 @@ static int32_t elf_section_names(char *name, int pass, int *bits)
|
||||
type = SHT_PROGBITS;
|
||||
} else if (!nasm_stricmp(q, "nobits")) {
|
||||
type = SHT_NOBITS;
|
||||
}
|
||||
} else if (pass == 1) error(ERR_WARNING, "Unknown section attribute '%s' ignored on"
|
||||
" declaration of section `%s'", q, name);
|
||||
}
|
||||
|
||||
if (!strcmp(name, ".comment") ||
|
||||
|
@ -520,7 +520,8 @@ static int32_t elf_section_names(char *name, int pass, int *bits)
|
||||
type = SHT_PROGBITS;
|
||||
} else if (!nasm_stricmp(q, "nobits")) {
|
||||
type = SHT_NOBITS;
|
||||
}
|
||||
} else if (pass == 1) error(ERR_WARNING, "Unknown section attribute '%s' ignored on"
|
||||
" declaration of section `%s'", q, name);
|
||||
}
|
||||
|
||||
if (!strcmp(name, ".comment") ||
|
||||
|
Loading…
Reference in New Issue
Block a user