Re: Shared Library Holes in x86_amd64

From: Arjan van de Ven
Date: Mon Oct 03 2005 - 02:19:29 EST



>
> Does anybody know the reason behind such holes inside a shared library
> like /lib64/tls/libc.so.6 in RHAS30/x86_amd64 platforms?

the minimum alignment as specified in the x64 ABI is 1 Megabyte (this
was discussed last week already here after the first time you asked it,
and also is not a kernel thing so your questions are off-topic for this
mailing list). ld.so decides the easiest way to get that alignment is to
PROT_NONE it, also to make sure nothing can go "in the middle" of such a
library.



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/