This is the mail archive of the binutils@sources.redhat.com 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]

RFC: Disallow protected data symbol with copy relocation?


Protected data symbol with copy relocation never works as intended.
The problem is with copy relocation, main and DSO see different
copies of the protected data symbol. Updating one won't change
the other. You can't compare their addresses either. There is no
easy way to get it to work unless the psABI is changed. I am proposing
to make linker to reject protected data symbol with copy relocation.
Any comments?


H.J.


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