This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Patch to handle compressed sections
- From: Andreas Schwab <schwab at suse dot de>
- To: Craig Silverstein <csilvers at google dot com>
- Cc: bauerman at br dot ibm dot com, gdb-patches at sourceware dot org
- Date: Wed, 02 Apr 2008 15:02:04 +0200
- 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>
Daniel Jacobowitz <drow@false.org> 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."