Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Apr 2012 14:49:31 -0700
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, ia64@freebsd.org
Subject:   Re: svn commit: r233674 - head/libexec/rtld-elf
Message-ID:  <8F9D3269-F501-4F91-B9D8-334DE25E5314@xcllnt.net>
In-Reply-To: <20120329181125.GB2358@deviant.kiev.zoral.com.ua>
References:  <201203291750.q2THo1Pu003875@svn.freebsd.org> <20120329181125.GB2358@deviant.kiev.zoral.com.ua>

next in thread | previous in thread | raw e-mail | index | archive | help

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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8F9D3269-F501-4F91-B9D8-334DE25E5314>