From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19590 invoked by alias); 2 Apr 2008 13:02:38 -0000 Received: (qmail 19543 invoked by uid 22791); 2 Apr 2008 13:02:34 -0000 X-Spam-Check-By: sourceware.org Received: from cantor2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 02 Apr 2008 13:02:09 +0000 Received: from Relay2.suse.de (relay-ext.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 938E44428D; Wed, 2 Apr 2008 15:02:05 +0200 (CEST) From: Andreas Schwab To: Craig Silverstein Cc: bauerman@br.ibm.com, gdb-patches@sourceware.org Subject: Re: Patch to handle compressed sections References: <20080325230440.BF0623F25D6@localhost> <1206547779.29533.43.camel@localhost.localdomain> <20080326173918.E6D063F25E8@localhost> <20080326180132.GB10127@caradoc.them.org> <20080326183538.346243F25E8@localhost> <20080401140953.GD12753@caradoc.them.org> <20080402000638.1BD1B3F25EF@localhost> <20080402001637.GA18178@caradoc.them.org> X-Yow: I'm EMOTIONAL now because I have MERCHANDISING CLOUT!! Date: Wed, 02 Apr 2008 14:13:00 -0000 In-Reply-To: <20080402001637.GA18178@caradoc.them.org> (Daniel Jacobowitz's message of "Tue\, 1 Apr 2008 20\:16\:37 -0400") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-04/txt/msg00038.txt.bz2 Daniel Jacobowitz writes: > (I'd have used a four-byte magic, and an object-file-endianness 64-bit > size; in particular the four-byte magic makes it easier to visually > see the size in section dumps.) Perhaps an 8-byte magic so that the 64-bit size is aligned. Or a 4-byte magic and a 4-byte version. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."