X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-5.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_BJ,TW_JC X-Spam-Check-By: sourceware.org X-Received: by 10.112.17.37 with SMTP id l5mr776559lbd.102.1358349131683; Wed, 16 Jan 2013 07:12:11 -0800 (PST) Message-ID: <50F6C349.5050001@gmail.com> Date: Wed, 16 Jan 2013 16:12:09 +0100 From: marco atzeri User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Binutils objcopy bug (was Re: rebase segfault) References: <50F516C8 DOT 9050602 AT gmail DOT com> <20130115100745 DOT GC2353 AT calimero DOT vinschen DOT de> <50F5312A DOT 2040503 AT gmail DOT com> <20130115112406 DOT GA13752 AT calimero DOT vinschen DOT de> <50F5D246 DOT 6010902 AT gmail DOT com> <50F653AB DOT 80102 AT gmail DOT com> <20130116123509 DOT GA16991 AT calimero DOT vinschen DOT de> <50F6AD63 DOT 8080106 AT gmail DOT com> <20130116144211 DOT GB17179 AT calimero DOT vinschen DOT de> In-Reply-To: <20130116144211.GB17179@calimero.vinschen.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 1/16/2013 3:42 PM, Corinna Vinschen wrote: > > I forgot to mention, the --long-section-names enable option was > never default, apparently. This would have to be fixed in cygport, > I guess. The default seems to keep previous value, but as ".gnu_debuglink" is a long name at list in that case should be the default of objcopy to use it. I noticed during my tests: the build version have long names (.debug_aranges, .debug_loc ..) the stripped version usually not (.text, .rdata, .reloc ..) But, there is a field somewhere in the exe format about long-section-names ? If so, is it incorrectly filled by some other utility ? I found no info in the coff format, nor looking in the objcopy source. > Corinna > Marco -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple