Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/gen report STT_COMMON symbols as data.
details: https://anonhg.NetBSD.org/src/rev/deb3438a2d2d
branches: trunk
changeset: 770401:deb3438a2d2d
user: christos <christos%NetBSD.org@localhost>
date: Sat Oct 15 21:06:58 2011 +0000
description:
report STT_COMMON symbols as data.
diffstat:
lib/libc/gen/nlist_elf32.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (34 lines):
diff -r 02266bbc8477 -r deb3438a2d2d lib/libc/gen/nlist_elf32.c
--- a/lib/libc/gen/nlist_elf32.c Sat Oct 15 21:06:05 2011 +0000
+++ b/lib/libc/gen/nlist_elf32.c Sat Oct 15 21:06:58 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nlist_elf32.c,v 1.32 2010/08/28 21:30:02 joerg Exp $ */
+/* $NetBSD: nlist_elf32.c,v 1.33 2011/10/15 21:06:58 christos Exp $ */
/*
* Copyright (c) 1996 Christopher G. Demetriou
@@ -36,7 +36,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: nlist_elf32.c,v 1.32 2010/08/28 21:30:02 joerg Exp $");
+__RCSID("$NetBSD: nlist_elf32.c,v 1.33 2011/10/15 21:06:58 christos Exp $");
#endif /* LIBC_SCCS and not lint */
/* If not included by nlist_elf64.c, ELFSIZE won't be defined. */
@@ -162,6 +162,7 @@
case STT_NOTYPE:
p->n_type = N_UNDF;
break;
+ case STT_COMMON:
case STT_OBJECT:
p->n_type = N_DATA;
break;
@@ -274,6 +275,7 @@
p->n_type = N_UNDF;
break;
case STT_OBJECT:
+ case STT_COMMON:
p->n_type = N_DATA;
break;
case STT_FUNC:
Home |
Main Index |
Thread Index |
Old Index