Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/csu/common MIPS wants a read/write eh_frame.



details:   https://anonhg.NetBSD.org/src/rev/c4db1c7b3f63
branches:  trunk
changeset: 789606:c4db1c7b3f63
user:      matt <matt%NetBSD.org@localhost>
date:      Mon Aug 26 14:20:53 2013 +0000

description:
MIPS wants a read/write eh_frame.

diffstat:

 lib/csu/common/crtbegin.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r e9c4432bf8f2 -r c4db1c7b3f63 lib/csu/common/crtbegin.c
--- a/lib/csu/common/crtbegin.c Mon Aug 26 12:24:10 2013 +0000
+++ b/lib/csu/common/crtbegin.c Mon Aug 26 14:20:53 2013 +0000
@@ -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 @@
 #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);



Home | Main Index | Thread Index | Old Index