Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Ltlvt-0002Ba-1C for mharc-grub-devel@gnu.org; Tue, 14 Apr 2009 12:56:25 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ltlvs-0002BL-12 for grub-devel@gnu.org; Tue, 14 Apr 2009 12:56:24 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ltlvn-0002AN-JW for grub-devel@gnu.org; Tue, 14 Apr 2009 12:56:23 -0400 Received: from [199.232.76.173] (port=41218 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ltlvn-0002AK-EO for grub-devel@gnu.org; Tue, 14 Apr 2009 12:56:19 -0400 Received: from ti-out-0910.google.com ([209.85.142.188]:28751) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ltlvm-00037J-MD for grub-devel@gnu.org; Tue, 14 Apr 2009 12:56:18 -0400 Received: by ti-out-0910.google.com with SMTP id y8so2084567tia.10 for ; Tue, 14 Apr 2009 09:56:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=qIxtxgV3U4Zk4pTAfu2hXLA7NO+XmIR/FiFQ/v1cU5k=; b=aYPaX85UgL4UiMSzjHSnULOx050e5HrB1Ez8zpnG7tkfcFLeaKliDxn4rHH7wtFnhN oOtM24C6g0c5DllQly2NchxVgGMfkNnPHnlExv++AsbUuic/Ls0gFUucB4sCmaagje0x svKZME4MPmgvlxl0DQCczJq1HGxKZJZTOOnXk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=dneYLJ67+d7yfWJCp1PY5X2sYArcIWhv/rtaUi0y3DZ9mO1P8lW3GOo+0X3JHyKYFk A1GxRKqK4KHmteZKW2MTrD4y2cvlavd60aqqFsYIqiHGxsAawaIHbgBUJi1yxdh9K+uS Is6m/A5+VmZcAo29eMV6+8++H3mhZR6/mvW3o= MIME-Version: 1.0 Received: by 10.110.28.15 with SMTP id b15mr10668317tib.4.1239728176633; Tue, 14 Apr 2009 09:56:16 -0700 (PDT) In-Reply-To: <200904150041.52551.okuji@enbug.org> References: <200904111924.53978.okuji@enbug.org> <200904150041.52551.okuji@enbug.org> Date: Wed, 15 Apr 2009 00:56:16 +0800 Message-ID: From: Bean To: The development of GRUB 2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: [PATCH] bug fix for grub-pe2elf X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Apr 2009 16:56:24 -0000 Hi, ok, committed. On Tue, Apr 14, 2009 at 11:41 PM, Yoshinori K. Okuji wrote: > On Saturday 11 April 2009 21:07:51 Bean wrote: >> On Sat, Apr 11, 2009 at 6:24 PM, Yoshinori K. Okuji wrote: >> > On Saturday 11 April 2009 18:29:00 Bean wrote: >> >> Hi, >> >> >> >> When symbol name is 8 or less, pe store it as short name, which is not >> >> necessary null-terminated. >> > >> > Oh, I didn't know that. Where is it documented? >> >> Hi, >> >> Recently, I found some wired symbol not found error in modules >> generated by mingw. After examining the binary image, it seems that PE >> would use short name even for symbol whose length is 8, therefore no >> null character at the end. grub-pe2elf assume the name is >> null-terminated, which could result in extra characters in the >> symbols. > > OK, so you've learned it from experience. :) > As I don't want to agree on Microsoft's annoying conditions, I don't read the > official spec, but Wikipedia admits that your interpretation is right. > > Regards, > Okuji > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > -- Bean