This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PR 18167, Relax PR 15228 protected visibility restriction


On 03/27/2015 04:40 PM, H.J. Lu wrote:
> On Fri, Mar 27, 2015 at 9:38 AM, Pedro Alves <palves@redhat.com> wrote:

>> Urgh.  The glibc issue sounds the most alarming.  If we can't keep
>> back compatibility, isn't there a new bit/attribute we can put
>> somewhere to tag new binaries with protected symbols in a
>> way that existing systems just error out when loading them?
> 
> 
> There is no backward compatibility to speak with since protected
> data symbol never worked before.

OK, but when it's all fixed, programs and libraries will start
using the feature.  It'd be best if such programs/libraries just
failed to load in older systems, than crash or corrupt data at random.

Thanks,
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]