bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/2657] Incorrect assumption on the CIE/FDE alignment


From: hjl at lucon dot org
Subject: [Bug ld/2657] Incorrect assumption on the CIE/FDE alignment
Date: 12 May 2006 17:20:37 -0000

------- Additional Comments From hjl at lucon dot org  2006-05-12 17:20 -------
But in gcc/unwind-dw2-fde.h

/* The first few fields of a CIE.  The CIE_id field is 0 for a CIE,
   to distinguish it from a valid FDE.  FDEs are aligned to an addressing
   unit boundary, but the fields within are unaligned.  */
struct dwarf_cie
{
  uword length;
  sword CIE_id;
  ubyte version;
  unsigned char augmentation[];
} __attribute__ ((packed, aligned (__alignof__ (void *))));

/* The first few fields of an FDE.  */
struct dwarf_fde
{
  uword length;
  sword CIE_delta;
  unsigned char pc_begin[];
} __attribute__ ((packed, aligned (__alignof__ (void *))));

It seems to indicate that CIE/FDE should be aligned at the pointer size.


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=2657

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]