From cc3f29e6fa43ce20cbd9384419d33107b3b587fc Mon Sep 17 00:00:00 2001 From: Xie Qingtian Date: Mon, 9 Nov 2015 16:28:18 +0800 Subject: [PATCH] FIX: regression on generate reloc section --- system/formats/PE.r | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/system/formats/PE.r b/system/formats/PE.r index aca51f8861..b46d457ea1 100644 --- a/system/formats/PE.r +++ b/system/formats/PE.r @@ -653,9 +653,7 @@ context [ either all [spec/1 = 'global block? spec/4][ foreach ref spec/4 [append data-refs ref] ][ - if spec/1 <> 'import [ - foreach ref spec/3 [append code-refs ref] - ] + foreach ref spec/3 [append code-refs ref] ] ] sort code-refs