From b8563629e3a5ebede7c2860bb0d2dba8715475cb Mon Sep 17 00:00:00 2001 From: "Kyle J. McKay" Date: Tue, 3 May 2016 13:25:10 -0700 Subject: [PATCH] Util.pm: white list a few all-numeric tags Some processors are known by all-numeric tags so white list those. Signed-off-by: Kyle J. McKay --- Girocco/Util.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Girocco/Util.pm b/Girocco/Util.pm index 85b2a8e..3ac885a 100644 --- a/Girocco/Util.pm +++ b/Girocco/Util.pm @@ -316,7 +316,10 @@ BEGIN { %_oktags = ( # These are always okay (a "whitelist") even if they would otherwise # not be allowed - ".net"=>1, "2d"=>1, "3d"=>1, c=>1, cc=>1, make=>1, www=>1, x=>1 + ".net"=>1, "2d"=>1, "3d"=>1, "6502"=>1, "68000"=>1, "68008"=>1, + "68010"=>1, "68020"=>1, "68030"=>1, "68040"=>1, "68060"=>1, + "8086"=>1, "80286"=>1, "80386"=>1, "80486"=>1, "80586"=>1, + c=>1, cc=>1, make=>1, www=>1, x=>1 ); map({$_oktags{lc($_)}=1} @Girocco::Config::allowed_tags); # entries MUST be all lowercase to be effective -- 2.11.4.GIT