Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/csu/common Mark ___start as .hidden (for MKPIE=yes execu...
details: https://anonhg.NetBSD.org/src/rev/c42642d29bb9
branches: trunk
changeset: 766701:c42642d29bb9
user: matt <matt%NetBSD.org@localhost>
date: Thu Jun 30 20:07:35 2011 +0000
description:
Mark ___start as .hidden (for MKPIE=yes executables).
diffstat:
lib/csu/common/crt0-common.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 25add6a7d939 -r c42642d29bb9 lib/csu/common/crt0-common.c
--- a/lib/csu/common/crt0-common.c Thu Jun 30 19:48:43 2011 +0000
+++ b/lib/csu/common/crt0-common.c Thu Jun 30 20:07:35 2011 +0000
@@ -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))
Home |
Main Index |
Thread Index |
Old Index