]> sourceware.org Git - glibc.git/commitdiff
(struct filebuf): For buf element to have the alignment of ElfXX_Ehdr since this...
authorUlrich Drepper <drepper@redhat.com>
Wed, 23 Oct 2002 06:18:24 +0000 (06:18 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 23 Oct 2002 06:18:24 +0000 (06:18 +0000)
elf/dl-load.c

index 2f2a9be56650fa21711a7aa4a938bef11d095d81..3452c0b1b4c8744dc40a8f4802ea19cbbfac825a 100644 (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.  */
This page took 0.039568 seconds and 5 git commands to generate.