> >>> As I've already said in another thread __align() doesn't work on > >>> object declaration, so what that won't pad it either if it is global > >>> or part of a struct. > >>> It is just implemented as __attribute__((aligned(X))): > >>> http://gcc.gnu.org/onlinedocs/gcc-3.2/gcc/Type-Attributes.html
> The problem we have is that is apparently doesn't work correctly > within gcc when creating structs nor within the linker when placing > such supposedly aligned structs in the .bss section (at least the > padding is missing). > > It seems to come down to either a) fixing gcc+ld; or b) hacking > around it by magically padding the structs that require it. Isn't -current switching over to Clang pretty soon? In that case, why worry about what gcc does? Brett. _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"