From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5626 invoked by alias); 7 May 2009 12:27:46 -0000 Received: (qmail 5614 invoked by uid 22791); 7 May 2009 12:27:45 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-ew0-f163.google.com (HELO mail-ew0-f163.google.com) (209.85.219.163) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 07 May 2009 12:27:39 +0000 Received: by ewy7 with SMTP id 7so1143445ewy.24 for ; Thu, 07 May 2009 05:27:37 -0700 (PDT) Received: by 10.216.3.206 with SMTP id 56mr1156483weh.99.1241699256874; Thu, 07 May 2009 05:27:36 -0700 (PDT) Received: from ?192.168.2.99? (cpc2-cmbg8-0-0-cust61.cmbg.cable.ntl.com [82.6.108.62]) by mx.google.com with ESMTPS id f13sm11872gvd.20.2009.05.07.05.27.34 (version=SSLv3 cipher=RC4-MD5); Thu, 07 May 2009 05:27:35 -0700 (PDT) Message-ID: <4A02D65C.1000103@gmail.com> Date: Thu, 07 May 2009 12:27:00 -0000 From: Dave Korn User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: "Vincent R." CC: pps , binutils@sourceware.org Subject: Re: ARM-ELF -> PE-COFF with objcopy References: <49F57EBA.2020003@yandex.ru> <49F724A9.6000203@yandex.ru> <49F72C1F.2080008@gmail.com> <200904281828.57226.pedro@codesourcery.com> <20090428173335.GA24858@caradoc.them.org> <49F77300.1060809@gmail.com> <4A028688.1010703@yandex.ru> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2009-05/txt/msg00079.txt.bz2 Vincent R. wrote: > On Thu, 07 May 2009 02:58:16 -0400, pps wrote: >> some other project and as part of the project I need to compile some >> code with cegcc. I just found out that no matter what and how I build >> anything with cegcc it won't even load on my phone >> (ERROR_BAD_EXE_FORMAT). Exactly the same binary works on emulator just >> fine, but doesn't work on the device and produces data abort if I try to >> LoadLibrary("dll name"). I tried a simple HelloWorld app - same problem. > If you are testing on a Windows Mobile 6.1 cegcc binaries are not working > because PE loader is very strict on this platform. > Please give more information on the platform you are testing. Vincent, does the loader on this platform permit long section names? cheers, DaveK