X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com Message-ID: <557B46BE.3090209@gmx.de> Date: Fri, 12 Jun 2015 22:53:18 +0200 From: "Juan Manuel Guerrero (juan DOT guerrero AT gmx DOT de)" User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.13) Gecko/20101206 SUSE/3.1.7 Thunderbird/3.1.7 MIME-Version: 1.0 To: Nicholas Clifton CC: binutils AT sourceware DOT org, djgpp AT delorie DOT com Subject: Re: DJGPP port of binutils broken due to 64 bit cygwin fix. References: <55703CF2 DOT 5030900 AT gmx DOT de> <20150609054442 DOT GC14752 AT bubble DOT grove DOT modra DOT org> <557AE1E4 DOT 8000806 AT redhat DOT com> In-Reply-To: <557AE1E4.8000806@redhat.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:roXpvVeOdiHDNYnKvDNVmfAgm5O+u1q3qT2QA/qnuLZD1gt/G8h IhHUaW3nFUTB3iVxvPxcFShv4aJRYgotpQGAPivZCU4GTvS8NuqgMM5QqkD864h0lG+B7Uz JkwJm/7PTr54lkujpy3f/cotLvsqHzwLmy71tbHjNka4thRGNI0Dzc6oyGGLmjgBmMI/2/T vfGAv/mgXLM7LH01hXZCw== X-UI-Out-Filterresults: notjunk:1;V01:K0:du98zqpehk4=:i4YDB8N2U4uzwA8yjTLgrX SBXQEptXiOVMSo06HWi7hnOYj44UHicQ5FyQA1RVYhjB5uGv4xgBAK+aYe/3SxTGHCX/IE6q5 3dpvss5QkpJmG+gZESqxdohHrONQLAxfWTjO1/tc1Ce3Dq/26F4R/ZB/hLxn2e4cXEMJLWGkw HsLcr/Z/MRxDlEyaePE6Id6KxlRDqHXPPW1L7mFrVD6Xf2xGBk+YvQ94yYXZSN702lZlr5tuU chDdr3Jtjm5PqZMsEzgEDNTrcXjcKKcKcy7Mp8Wdhlu0ZAYcP31XO0md9ckkuSDTekq3VKLoI 7OwAJIoI40NmGWGVara4WTdfXz+OvSzBOkkkLdckgUSTBxKFDWgPUZ6zpnsinWYY6Bza5oFLe H9GVwrhJ7QfDT2AA3tV8Wr+T9BQYG6uHUTKHfXuXjQHxziHxIVeNFwlqNshAC/diaDpMWg+RT eVznRW820U61SiFUvYJfg5oD5zSgCeGs/PHQ41cQfFz4PeP9ZsVU5+yHnIwMvFbpzyVPkW6+R whsaBz+gVFNz7OTYHO2z/ZmkDLdZsyeaugClJqnBNy5ZIgvJLHY28Hw/dyBBd5utBzvsrUoSU y7ccrbi8J0hPL7ngy4kK294V9enlFwRcGD5sPiBA//0h6XmwrYCOkBgd7MgKNKzvHV9BeCdLS QeKh8cuojDprayyOxj0FZis2dGBzuK4gV8BsVxrfc2pIaKt28A150WLki56GE7pOJwTM= Reply-To: djgpp AT delorie DOT com Am 12.06.2015 15:43, schrieb Nicholas Clifton: > Hi Guys, > > > > Nick's patch https://sourceware.org/ml/binutils/2014-03/msg00270.html> looks wrong on a number of fronts. Why the odd test for a discarded >> section? I think we ought to apply something like the following, >> handling not just local but also global symbols defined in discarded >> sections. This also zeros out the relocation field as is done for the >> ELF linker. >> >> However, I'm not an expert on the COFF linker, and don't have the >> means to test this on a native cygwin toolchain without significant >> effort on my part. So this patch ought to be reviewed by someone >> before I commit it. > > Well I am all for reverting my patch and replacing it with a better one. > Unfortunately I do not have a COFF test environment either, so it is over to you Juan - does this patch work for you ? > > Cheers > Nick > > Yes, with Alan's patch the DJGPP port works flawlessly again. Thank you for the effort. Regards, Juan M. Guerrero