summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2017-10-26 19:01:07 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2017-10-26 19:01:07 +0000
commit12a71f8c107d83ada3cfb653e3dad9b511f7b574 (patch)
tree5b4dbcb317b60e7dc6e104e2e475097845bb3138 /sys
parent4dc9662ff3d790236f757442897f4131b0dfa366 (diff)
Discard exception handling information as we do on other architectures.
ok patrick@, deraadt@
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/arm/conf/ldscript.tail6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/arm/conf/ldscript.tail b/sys/arch/arm/conf/ldscript.tail
index dcf615cc5a2..36579dcaa4a 100644
--- a/sys/arch/arm/conf/ldscript.tail
+++ b/sys/arch/arm/conf/ldscript.tail
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldscript.tail,v 1.4 2009/06/27 14:44:39 drahn Exp $ */
+/* $OpenBSD: ldscript.tail,v 1.5 2017/10/26 19:01:06 kettenis Exp $ */
} =0
PROVIDE (__etext = .);
PROVIDE (_etext = .);
@@ -49,5 +49,9 @@
_end = .;
_bss_end__ = . ; __bss_end__ = . ; __end__ = . ;
PROVIDE (end = .);
+ /DISCARD/ :
+ {
+ *(.ARM.exidx)
+ }
}