From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31154 invoked by alias); 16 Jan 2013 15:12:21 -0000 Received: (qmail 31134 invoked by uid 22791); 16 Jan 2013 15:12:18 -0000 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 Received: from mail-la0-f41.google.com (HELO mail-la0-f41.google.com) (209.85.215.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 16 Jan 2013 15:12:13 +0000 Received: by mail-la0-f41.google.com with SMTP id em20so1539626lab.0 for ; Wed, 16 Jan 2013 07:12:11 -0800 (PST) X-Received: by 10.112.17.37 with SMTP id l5mr776559lbd.102.1358349131683; Wed, 16 Jan 2013 07:12:11 -0800 (PST) Received: from [172.21.193.109] (85-18-126-22.ip.fastwebnet.it. [85.18.126.22]) by mx.google.com with ESMTPS id if8sm8204306lab.1.2013.01.16.07.12.10 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 16 Jan 2013 07:12:11 -0800 (PST) Message-ID: <50F6C349.5050001@gmail.com> Date: Wed, 16 Jan 2013 15:12:00 -0000 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@cygwin.com Subject: Re: Binutils objcopy bug (was Re: rebase segfault) References: <50F516C8.9050602@gmail.com> <20130115100745.GC2353@calimero.vinschen.de> <50F5312A.2040503@gmail.com> <20130115112406.GA13752@calimero.vinschen.de> <50F5D246.6010902@gmail.com> <50F653AB.80102@gmail.com> <20130116123509.GA16991@calimero.vinschen.de> <50F6AD63.8080106@gmail.com> <20130116144211.GB17179@calimero.vinschen.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@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2013-01/txt/msg00228.txt.bz2 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