summaryrefslogtreecommitdiff
path: root/output
diff options
context:
space:
mode:
Diffstat (limited to 'output')
-rw-r--r--output/outelf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/output/outelf.c b/output/outelf.c
index 0c889bb6..787a3aab 100644
--- a/output/outelf.c
+++ b/output/outelf.c
@@ -872,7 +872,7 @@ static void elf_deflabel(char *name, int32_t segment, int64_t offset,
if (!nasm_strnicmp(spcword, "notype", wlen))
type = STT_NOTYPE;
else if (!nasm_strnicmp(spcword, "object", wlen))
- type = STT_NOTYPE;
+ type = STT_OBJECT;
else if (!nasm_strnicmp(spcword, "hidden", wlen))
sym->other = STV_HIDDEN;
else if (!nasm_strnicmp(spcword, "strong", wlen))