svn commit: r233674 - head/libexec/rtld-elf

Marcel Moolenaar marcel at xcllnt.net
Mon Apr 2 21:49:45 UTC 2012


On Mar 29, 2012, at 11:11 AM, Konstantin Belousov wrote:

> While this band-aid fixes the build, the change is obviously bad.
> The reason to have this #ifdef is that ia64 is the only architecture
> that declares __tls_get_addr() as
> 
> void *__tls_get_addr(unsigned long module, unsigned long offset);

It should actually be:
	void *__tls_get_addr(size_t module, size_t offset)

But size_t equals unsigned long, so the effect is the same.

The prototype if __tls_get_addr() is defined in the PSABI
document for Itanium. Intel document 245370-003.

FYI,

-- 
Marcel Moolenaar
marcel at xcllnt.net




More information about the svn-src-all mailing list