summaryrefslogtreecommitdiff
path: root/lib/csu/arch
diff options
context:
space:
mode:
authorjoerg <joerg@NetBSD.org>2017-07-18 14:34:19 +0000
committerjoerg <joerg@NetBSD.org>2017-07-18 14:34:19 +0000
commit33b0ecb43e7daae74cfd3bc3eafe0dd17088dd7b (patch)
tree589b5dde12135d90ebf644be99bf02eaf16a28fd /lib/csu/arch
parent53a29db2cfc0089d0a10e922d53db7c810f84f18 (diff)
.eh_frame should be read-only on MIPS too.
Diffstat (limited to 'lib/csu/arch')
-rw-r--r--lib/csu/arch/mips/crtend.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/csu/arch/mips/crtend.S b/lib/csu/arch/mips/crtend.S
index 59b4f32b736..6dc72ea8316 100644
--- a/lib/csu/arch/mips/crtend.S
+++ b/lib/csu/arch/mips/crtend.S
@@ -1,4 +1,4 @@
-/* $NetBSD: crtend.S,v 1.3 2013/09/05 00:28:11 matt Exp $ */
+/* $NetBSD: crtend.S,v 1.4 2017/07/18 14:34:19 joerg Exp $ */
/*-
* Copyright (c) 2012 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -30,7 +30,7 @@
#include <mips/asm.h>
-RCSID("$NetBSD: crtend.S,v 1.3 2013/09/05 00:28:11 matt Exp $")
+RCSID("$NetBSD: crtend.S,v 1.4 2017/07/18 14:34:19 joerg Exp $")
.section .ctors, "aw", @progbits
.p2align PTR_SCALESHIFT
@@ -46,7 +46,7 @@ __CTOR_LIST_END__:
__DTOR_LIST_END__:
.word 0
- .section .eh_frame, "aw", @progbits
+ .section .eh_frame, "a", @progbits
.p2align PTR_SCALESHIFT
.space _MIPS_SZPTR / 8