Derek E. Lewis wrote:
> Thanks, Bart, I'll look into moe, however, I'm still looking for a solution 
> that may be a bit less platform-specific. moe also doesn't seem to be 
> available on Solaris releases before 10. What I am looking for, though, seems 
> to be impossible after looking at the 'as' man page:
> 
> "    -xarch=v8plus
> 
>          This option instructs the assembler to  accept  instruc-
>          tions  defined  in  the  SPARC-V9 architecture, less the
>          quad-precision floating-point instructions. The  result-
>          ing object code is in ELF format. It will not execute on
>          a Solaris V8 system (a machine with a V8 processor).  It
>          will  execute  on a Solaris V8+ system. This combination
>          is a SPARC 64-bit processor and a 32-bit OS."
> 
> Perhaps there is some undocumented option that will prevent the ELF from 
> being tagged? This seems worthy of being an RFE.
>  
>  
> This message posted from opensolaris.org
> _______________________________________________
> tools-linking mailing list
> tools-linking at opensolaris.org


In general, relying on SIGILL is probably a bad idea
as I'm not sure all opcodes that are undefined generate
such a trap on all sparc processors.

There may be a way of turning off the attributes on the elf
file using a mapfile.... I'll try and find the details.

- Bart



-- 
Bart Smaalders                  Solaris Kernel Performance
barts at cyber.eng.sun.com              http://blogs.sun.com/barts

Reply via email to