From 9278316b834c47188856bd6eea78193f90e164a3 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Wed, 20 Aug 2014 00:44:31 +0200 Subject: [PATCH] sync architecture specific hardening support with dpkg 1.17.13. --- NEWS | 2 +- bin/blhc | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/NEWS b/NEWS index ec4abe2..23a9e85 100644 --- a/NEWS +++ b/NEWS @@ -19,7 +19,7 @@ Version 0.XX - Better handling of libtool commands (Debug bug #717598), reported by Stefan Fritsch. -- Sync architecture specific hardening support with dpkg 1.17.11. +- Sync architecture specific hardening support with dpkg 1.17.13. - Check for -fstack-protector-strong on supported platforms (since dpkg 1.17.11) (Debian bug #757885), reported by Markus Koschany. - Consider lines with -O0 or -Og debug builds and disable checks for -O2 diff --git a/bin/blhc b/bin/blhc index 6817a85..9db9fe2 100755 --- a/bin/blhc +++ b/bin/blhc @@ -1000,9 +1000,6 @@ foreach my $file (@ARGV) { $harden_stack = 0; $harden_stack_strong = 0; } - if ($arch =~ /^(?:m68k|or1k|powerpcspe|sh4|x32)$/) { - $harden_stack_strong = 0; - } if ($cpu =~ /^(?:ia64|hppa|avr32)$/) { $harden_relro = 0; $harden_bindnow = 0; -- 2.43.2