Mark ___start as .hidden (for MKPIE=yes executables).

This commit is contained in:
matt 2011-06-30 20:07:35 +00:00
parent 226567c8f9
commit 0d4e6aae2a
1 changed files with 3 additions and 3 deletions

View File

@ -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 @@ struct ps_strings *__ps_strings = 0;
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))