Mark ___start as .hidden (for MKPIE=yes executables).
This commit is contained in:
parent
226567c8f9
commit
0d4e6aae2a
|
@ -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
|
* Copyright (c) 1998 Christos Zoulas
|
||||||
|
@ -36,7 +36,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#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/types.h>
|
||||||
#include <sys/exec.h>
|
#include <sys/exec.h>
|
||||||
|
@ -74,7 +74,7 @@ struct ps_strings *__ps_strings = 0;
|
||||||
static char empty_string[] = "";
|
static char empty_string[] = "";
|
||||||
char *__progname = 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 *);
|
struct ps_strings *);
|
||||||
|
|
||||||
#define write(fd, s, n) __syscall(SYS_write, (fd), (s), (n))
|
#define write(fd, s, n) __syscall(SYS_write, (fd), (s), (n))
|
||||||
|
|
Loading…
Reference in New Issue