On 07/07/2011 04:21 PM, David Gilbert wrote:
>> We could possibly wrap the vectors page to make it look like a DSO in
>> a forwards-compatible way, but since this has not happened so far it
>> feels like people never saw much benefit.
> 
> Any idea how big a job that is?

It's slightly tricky to get the memory layout correct, but ought
not be *that* hard.  The x86_64 port also had legacy absolute
addresses to deal with.

>> Can you describe the benefits with regard to this case?  (And, out of
>> interest, how do statically-linked programs make use of needed
>> functionality in the VDSO?

There's limited support for dlopen within statically linked 
programs as well.  The userland side can provide a static
interface which defers to the kernel implementation.

Ideally this would be done with an IFUNC relocation, but ARM
binutils doesn't support that feature yet.  Thankfully it is
ABI compatible to replace a normal function with an IFUNC at
a later date.


r~

_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to