From 6c14d225fddb527b55f9c33264ee1c3925f4f62c Mon Sep 17 00:00:00 2001 From: fincs Date: Thu, 21 Sep 2017 01:11:28 +0200 Subject: [PATCH] Disallow relocations in read-only segments --- buildscripts/lib/switch.specs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildscripts/lib/switch.specs b/buildscripts/lib/switch.specs index 77d2670f..323475f2 100644 --- a/buildscripts/lib/switch.specs +++ b/buildscripts/lib/switch.specs @@ -1,7 +1,7 @@ %rename link old_link *link: -%(old_link) -T switch.ld%s -pie --gc-sections +%(old_link) -T switch.ld%s -pie --gc-sections -z text *startfile: switch_crt0%O%s crti%O%s crtbegin%O%s