Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752513AbdDIJDZ (ORCPT ); Sun, 9 Apr 2017 05:03:25 -0400 Received: from mout.web.de ([212.227.17.11]:60172 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751970AbdDIJDR (ORCPT ); Sun, 9 Apr 2017 05:03:17 -0400 Subject: Re: ia64: fix module loading for gcc-5.4 To: Sergei Trofimovich Cc: linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org, Andrew Morton , Fenghua Yu , "H . J . Lu" , Tony Luck References: <20170408195318.18080-1-slyfox@gentoo.org> <79cc2afd-1655-c276-a53f-2e2202a7e0ee@users.sourceforge.net> <20170409095121.5f0b6a1e@sf> From: SF Markus Elfring Message-ID: Date: Sun, 9 Apr 2017 11:02:43 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.0 MIME-Version: 1.0 In-Reply-To: <20170409095121.5f0b6a1e@sf> Content-Type: text/plain; charset=windows-1252 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:J+XISXTl/aZ0p0haKq/d1oesTiYesiCnLu9itIzH83i1YrSN5Y9 CjwbAxAK8/8gVysgLO03j1nPXj6C5oLX1c8JFE2Kd35JW2pctPkCAs1WLu2gsd8/dr2TE6y qQsCQ1E8yHyjW6t3PaGCQZSfK3NPtHSs/crZxG1t8fQfxaESBdEap11V22IC0dwYGe5SZG+ EDb+e2wmYuy0nJM7rORmA== X-UI-Out-Filterresults: notjunk:1;V01:K0:SGnSTrhTmho=:uBhltNKoQqePvhURLPrOm9 8+0+53pXVZ46NRJFKhLs+BMjGeHAiyCjFqYceK2SoOA/sWEYktBOMwhE9XVgCWJzS2sII+Dc9 7dotNgXrS4tmd6p9/snondH8Sb2z9vjMq6suhQwSujDO4Yi16/R4ysgX4MqiiRagxiKjLtq4k TV3YShjn2Ms/mjxt/KkJ0q+pHdnpkzPY/Mtx2SfEm45l10TOxR8m00N1wuErUAPrAa3Mc0PHf /iQzdq2WH9XP6pIwE9YMUdsQpZL9gKslla17EVkW+6bs1tmZ1+R82BSESrpFwvVtzX3ahWKrN KcLkwiQks8sYfmEYnEd9t706gODqCGvQoaNly1KMZzLr2WiYynaUvdkLz9ktO+C3yvGOu9HMu D434wEc1eH9T7WhEEneyRPsyEHEQnMPnuWDw1Z0dPS+HrHyyt/jyGF9B+HWNTwXZAPAjRLbr4 Ayi45qSlk6TNDMTTlLIl090sju+VHAe4Uvezj2wWoFaCqVotrlbiaxVehUIQNoBAuGlDGAgEy VKL+igXnZpDALufkPXXeIF8+4jJ25qEn4QF4w4xWw3Qhb5foroTTddtLEtB9AXDVkRbh9xzJ5 zj6HjewO69FlzbDw6FK7xIGLQSXgcBQAmULbRzo5WVcVKZPrrvBLX0t5/2VCLdFw9zMpmjfau Q6Hjc3hpT60KkwWi9I8sc54Mb/4nJi9q/CXV4AO+o1/e2Kzyd0qLjDLfp72PwUMLWkDygyCw/ cZTKFlRIR/pAJ/S5pCMlCZw6MOPA4BW7fhkah7iTLdjLVjV7k+9ykGs03U/U1GfvvZcVsCHtb 2WTHNWr Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 460 Lines: 15 >>> That caused ia64 module loader to choke >>> on such instructions: >>> fuse: invalid slot number 1 for IMM64 >> >> Why does it matter to check such a value? > > I'm not sure I follow the question. Is your question about > linux kernel relocation code handler, gcc or ia64 instruction format? I am just curious if this source code could also work without the mentioned check. Would it make sense to check more than two values there? Regards, Markus