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
mar...@xcllnt.net


_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to