<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/glibc.git/elf/ifuncmod1.c, branch azanella/aarch64-split-stack</title>
<subtitle>sourceware.org: git/glibc.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glibc.git/'/>
<entry>
<title>Do not stack-protect ifunc resolvers [BZ #7065]</title>
<updated>2016-12-26T09:08:41+00:00</updated>
<author>
<name>Nick Alcock</name>
<email>nick.alcock@oracle.com</email>
</author>
<published>2016-12-26T09:08:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glibc.git/commit/?id=de6591238b478bc86b8cf5af01a484114e399213'/>
<id>de6591238b478bc86b8cf5af01a484114e399213</id>
<content type='text'>
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.)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.)
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace __attribute__((visibility("protected")))</title>
<updated>2015-03-07T01:05:42+00:00</updated>
<author>
<name>H.J. Lu</name>
<email>hjl.tools@gmail.com</email>
</author>
<published>2015-03-06T12:55:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glibc.git/commit/?id=e0ed2fb40a0e29c43cf60addc74741dab15f2e05'/>
<id>e0ed2fb40a0e29c43cf60addc74741dab15f2e05</id>
<content type='text'>
With copy relocation, address of protected data defined in the shared
library may be external.  Compiler shouldn't asssume protected data will
be local.  But due to

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65248

__attribute__((visibility("protected"))) doesn't work correctly, we need
to use asm (".protected xxx") instead.

	* elf/ifuncdep2.c (global): Replace
	__attribute__((visibility("protected"))) with
	asm (".protected global").
	* elf/ifuncmod1.c (global): Likewise.
	* elf/ifuncmod5.c (global): Likewise.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With copy relocation, address of protected data defined in the shared
library may be external.  Compiler shouldn't asssume protected data will
be local.  But due to

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65248

__attribute__((visibility("protected"))) doesn't work correctly, we need
to use asm (".protected xxx") instead.

	* elf/ifuncdep2.c (global): Replace
	__attribute__((visibility("protected"))) with
	asm (".protected global").
	* elf/ifuncmod1.c (global): Likewise.
	* elf/ifuncmod5.c (global): Likewise.
</pre>
</div>
</content>
</entry>
<entry>
<title>Uglify IFUNC tests for PPC.</title>
<updated>2009-10-30T07:48:54+00:00</updated>
<author>
<name>Alan Modra</name>
<email>amodra@bigpond.net.au</email>
</author>
<published>2009-10-30T07:48:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glibc.git/commit/?id=31c759bf37a7a41faf8b13800deb769e8a5f3871'/>
<id>31c759bf37a7a41faf8b13800deb769e8a5f3871</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Test for ELF IFUNC functionality.</title>
<updated>2009-06-03T23:21:40+00:00</updated>
<author>
<name>H.J. Lu</name>
<email>hongjiu.lu@intel.com</email>
</author>
<published>2009-06-03T23:21:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glibc.git/commit/?id=2f083d7511460b3beea2df165c3e43742f73f3c9'/>
<id>2f083d7511460b3beea2df165c3e43742f73f3c9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
