Wireshark-commits: [Wireshark-commits] rev 42431: /trunk/ /trunk/epan/: emem.c emem.h /trunk/: conf

Date: Fri, 04 May 2012 21:56:32 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=42431

User: morriss
Date: 2012/05/04 02:56 PM

Log:
 The rest of the fix for https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7221
 (emem alignment problems on SPARC) :
 
 Have emem use 8-byte alignment when we need it.
 
 Since I can't seem to write code that which reliably (across GCC versions and
 optimization levels) determines if 8-byte alignment is needed for doubles,
 "when" is defined as "if we're compiling for a CPU other than i386."
 
 Windows doesn't need a check because it's either i386 or 64-bit (x86_64 or
 maybe ia64--both of which get 8-byte alignment from G_MEM_ALIGN).
 
 (And, yes, all of this is ignoring the 16-byte alignment requirements of long
 doubles.)

Directory: /trunk/epan/
  Changes    Path          Action
  +1 -1      emem.c        Modified
  +14 -2     emem.h        Modified

Directory: /trunk/
  Changes    Path            Action
  +16 -0     configure.in    Modified