From 89d91eaca338050a91a4758a41d288f45d5e0e64 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Tue, 30 Mar 2004 15:35:52 +0000 Subject: no need to force N_EXT as deducted later from type --- usr.bin/nm/elf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.bin') diff --git a/usr.bin/nm/elf.c b/usr.bin/nm/elf.c index 0b3131f909a..7c34f5bee08 100644 --- a/usr.bin/nm/elf.c +++ b/usr.bin/nm/elf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: elf.c,v 1.4 2004/03/30 15:29:44 mickey Exp $ */ +/* $OpenBSD: elf.c,v 1.5 2004/03/30 15:35:51 mickey Exp $ */ /* * Copyright (c) 2003 Michael Shalayeff @@ -180,7 +180,7 @@ elf2nlist(Elf_Sym *sym, Elf_Ehdr *eh, Elf_Shdr *shdr, char *shstr, struct nlist } else if (!strcmp(sn, ELF_DATA)) np->n_type = N_DATA; else if (!strcmp(sn, ELF_BSS)) - np->n_type = N_BSS | N_EXT; + np->n_type = N_BSS; else if (!strcmp(sn, ELF_SBSS)) np->n_type = N_BSS; else @@ -211,7 +211,7 @@ elf2nlist(Elf_Sym *sym, Elf_Ehdr *eh, Elf_Shdr *shdr, char *shstr, struct nlist else if (!strcmp(sn, ELF_SBSS)) np->n_type = N_BSS; else if (!strcmp(sn, ELF_BSS)) - np->n_type = N_BSS | N_EXT; + np->n_type = N_BSS; else if (!strcmp(sn, ELF_RODATA)) np->n_other = 'r'; break; -- cgit v1.2.3