Module Name:    src
Committed By:   matt
Date:           Mon Aug 26 14:20:53 UTC 2013

Modified Files:
        src/lib/csu/common: crtbegin.c

Log Message:
MIPS wants a read/write eh_frame.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/lib/csu/common/crtbegin.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/crtbegin.c
diff -u src/lib/csu/common/crtbegin.c:1.4 src/lib/csu/common/crtbegin.c:1.5
--- src/lib/csu/common/crtbegin.c:1.4	Mon Aug 19 22:15:13 2013
+++ src/lib/csu/common/crtbegin.c	Mon Aug 26 14:20:53 2013
@@ -27,7 +27,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: crtbegin.c,v 1.4 2013/08/19 22:15:13 matt Exp $");
+__RCSID("$NetBSD: crtbegin.c,v 1.5 2013/08/26 14:20:53 matt Exp $");
 
 typedef void (*fptr_t)(void);
 
@@ -53,7 +53,11 @@ __dso_hidden void *__dso_handle;
 #endif
 
 #if !defined(__ARM_EABI__)
-__dso_hidden const long __EH_FRAME_LIST__[0] __section(".eh_frame");
+__dso_hidden
+#if !defined(__mips__)
+	const
+#endif
+	long __EH_FRAME_LIST__[0] __section(".eh_frame");
 
 __weakref_visible void register_frame_info(const void *, const void *)
 	__weak_reference(__register_frame_info);

Reply via email to