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

Marcel Moolenaar <[email protected]>
Newsgroups gmane.os.freebsd.devel.ia64
Message-ID <8F9D3269-F501-4F91-B9D8-334DE25E5314__40137.1750784621$1333403441$gmane$org@xcllnt.net>
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
[email protected]


_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ia64
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.