> Ian Lance Taylor <i...@google.com> writes:
> > Unfortunately, as far as I know, no such solution was ever adopted for
> > the x86 family.  So this does not help your immediate problem, and will
> > not help it until somebody implements such an approach for x86.
> 
> The Sun assembler, linker, and runtime linker implement this, cf.
> 
>       http://docs.sun.com/app/docs/doc/819-0690/chapter7-28?l=en&a=view
> 
> Hope this helps.

Better IMO would be to implement GNU object attributes.

The assembler and linker already have all the framework for these, you just 
need to define an appropriate set of attributes. Their design is based on the 
ARM EABI object attributes, which provide a more complete example of how they 
can be used.

While a simple bitmask may be sufficient for the runtime linker, it's often 
useful to have a more flexible system for relocatable objects.

Paul

Reply via email to