aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic/ifunc-sel.h
AgeCommit message (Collapse)Author
2016-12-26Do not stack-protect ifunc resolvers [BZ #7065]Nick Alcock
When dynamically linking, ifunc resolvers are called before TLS is initialized, so they cannot be safely stack-protected. We avoid disabling stack-protection on large numbers of files by using __attribute__ ((__optimize__ ("-fno-stack-protector"))) to turn it off just for the resolvers themselves. (We provide the attribute even when statically linking, because we will later use it elsewhere too.)
2012-03-19Move sysdeps/generic/elf/* to sysdeps/genericAndreas Jaeger