On Tue, Jul 13, 2010 at 6:39 AM, H.J. Lu <hjl.to...@gmail.com> wrote: > On Tue, Jul 13, 2010 at 4:26 AM, Ian Lance Taylor <i...@google.com> wrote: >> Rainer Orth <r...@cebitec.uni-bielefeld.de> writes: >> >>> 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. >> >> Sounds good to me. Anybody want to add this to the GNU tools? >> > > Not very interesting to Linux. We don't use hardware capability filters. > However, it is nice to mark a binary which ISAs it uses. But it should > be specified in the psABI. >
On x86, it is OK for binary to have ISAs beyond the base ISA as long as proper ISA check is used before the new ISA code is entered. However, we should have a way to mark the base ISA. -- H.J.