PATCH: Re: EH frame optimization bug

Jakub Jelinek jakub@redhat.com
Sat Oct 4 00:04:00 GMT 2003


On Fri, Oct 03, 2003 at 04:04:53PM -0700, Richard Henderson wrote:
> On Fri, Oct 03, 2003 at 01:05:11PM -0700, H. J. Lu wrote:
> > Does unwind routine have any alignment requirement?
> 
> No.

Actually, I'm not sure about this:

struct dwarf_cie
{
  uword length;
  sword CIE_id;
  ubyte version;
  unsigned char augmentation[];
} __attribute__ ((packed, aligned (__alignof__ (void *))));

struct dwarf_fde
{
  uword length;
  sword CIE_delta;
  unsigned char pc_begin[];
} __attribute__ ((packed, aligned (__alignof__ (void *))));

(current GCC, but used to be there in the GCC 2.x era too).

	Jakub



More information about the Binutils mailing list