current code which has a local _eprol label in the inline asm and a
global _eprol declaration results in an incorrect relocation. This
also removes an unnecessary relocation on hppa (and possible on
other architectures as well).
ok guenther@
-/* $OpenBSD: crt0.c,v 1.17 2022/01/12 21:41:06 guenther Exp $ */
+/* $OpenBSD: crt0.c,v 1.18 2023/07/27 18:17:14 kettenis Exp $ */
/*
* Copyright (c) 1995 Christopher G. Demetriou
#ifdef MCRT0
#include <sys/gmon.h>
-extern unsigned char _etext, _eprol;
+extern __dso_hidden unsigned char _etext, _eprol;
#endif /* MCRT0 */
#ifdef RCRT0