Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Mon, 11 Feb 2013 16:50:25 -0500
From: Rich Felker <dalias@...ifal.cx>
To: musl@...ts.openwall.com
Subject: Re: [PATCH 2/3] Have different definitions of
 __pthread_tsd_main agree in size

On Mon, Feb 11, 2013 at 04:47:50PM -0500, Rich Felker wrote:
> With that said, I don't see any reason this behavior is _desirable_ or
> beneficial, so I'm fine with changing it and always using __environ
> internally. We could even add a visibility attribute on it so that
> GOT/PC-relative accesses get used in compilers which support
> visibility, instead of the more expensive accesses through the GOT.

Actually this is wrong. __environ might be relocated to the main
executable via copy relocations, so it can't be accessed GOT-relative.
Giving it protected visibility would actually break this, because of
bugs in GCC...

Rich

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.