Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S266049AbUALBQE (ORCPT ); Sun, 11 Jan 2004 20:16:04 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S266059AbUALBQE (ORCPT ); Sun, 11 Jan 2004 20:16:04 -0500 Received: from kluizenaar.xs4all.nl ([213.84.184.247]:11337 "EHLO samwel.tk") by vger.kernel.org with ESMTP id S266049AbUALBQC (ORCPT ); Sun, 11 Jan 2004 20:16:02 -0500 Message-ID: <4001F548.3010807@samwel.tk> Date: Mon, 12 Jan 2004 02:15:52 +0100 From: Bart Samwel User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031221 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Martin Schlemmer CC: Davide Libenzi , Linux Kernel Mailing List Subject: Re: [PATCH][TRIVIAL] Remove bogus "value 0x37ffffff truncated to 0x37ffffff" warning. References: <1073856580.23742.2.camel@nosferatu.lan> In-Reply-To: <1073856580.23742.2.camel@nosferatu.lan> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 890 Lines: 24 Martin Schlemmer wrote: > Hmm. Ok, ours is compiled with --enable-64-bit-bfd ... > might do this? Bit late now, but I'll try to test > tomorrow ... That might definitely do it. offsetT (the type of values in gas) is defined as: typedef bfd_signed_vma offsetT; That DEFINITELY looks like the bit-size of bfd has an influence. In my program, offsetT is 64-bits -- looks like the default for Debian is --enable-64-bit-bfd. This explains why I didn't get a warning for my custom-built version, but I *did* get it for the version built by dpkg-buildpackage. Looks like we've got the final cause of the suddenly appearing warning. -- Bart - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/