(struct filebuf): For buf element to have the alignment of ElfXX_Ehdr since this is what will be stored in it.

This commit is contained in:
Ulrich Drepper 2002-10-23 06:18:24 +00:00
parent bd6daf3b19
commit d623d723dd

View File

@ -109,7 +109,7 @@ ELF_PREFERRED_ADDRESS_DATA;
struct filebuf
{
ssize_t len;
char buf[1024];
char buf[1024] __attribute__ ((aligned (__alignof (ElfW(Ehdr)))));
};
/* This is the decomposed LD_LIBRARY_PATH search path. */