Module Name: src Committed By: matt Date: Thu Jun 30 20:07:36 UTC 2011
Modified Files: src/lib/csu/common: crt0-common.c Log Message: Mark ___start as .hidden (for MKPIE=yes executables). To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/lib/csu/common/crt0-common.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/csu/common/crt0-common.c diff -u src/lib/csu/common/crt0-common.c:1.6 src/lib/csu/common/crt0-common.c:1.7 --- src/lib/csu/common/crt0-common.c:1.6 Thu Jun 30 19:48:43 2011 +++ src/lib/csu/common/crt0-common.c Thu Jun 30 20:07:35 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: crt0-common.c,v 1.6 2011/06/30 19:48:43 joerg Exp $ */ +/* $NetBSD: crt0-common.c,v 1.7 2011/06/30 20:07:35 matt Exp $ */ /* * Copyright (c) 1998 Christos Zoulas @@ -36,7 +36,7 @@ */ #include <sys/cdefs.h> -__RCSID("$NetBSD: crt0-common.c,v 1.6 2011/06/30 19:48:43 joerg Exp $"); +__RCSID("$NetBSD: crt0-common.c,v 1.7 2011/06/30 20:07:35 matt Exp $"); #include <sys/types.h> #include <sys/exec.h> @@ -74,7 +74,7 @@ static char empty_string[] = ""; char *__progname = empty_string; -void ___start(void (*)(void), const Obj_Entry *, +__dso_hidden void ___start(void (*)(void), const Obj_Entry *, struct ps_strings *); #define write(fd, s, n) __syscall(SYS_write, (fd), (s), (n))