PSARC/2007/509 elfedit

Rod Evans Rod.Evans at sun.com
Thu Sep 6 11:38:48 PDT 2007


James Carlson wrote:
> Rod Evans writes:
>> We were forced to abandon isaexec() and invent our own model.
>> We look at the first relocatable object on the command line,
>> and if it is 32-bit we remain within the 32-bit ld().  If the
>> object is 64-bit we kick off an isaexec like function to determine
>> if the 64-bit ld exists, and if so run it.
> 
> I can understand that target-sensitive behavior.  It's similar to what
> mdb does.
> 
> That's explicitly _not_ what elfedit is doing here, at least according
> to the submitter.

ld(1) is selective on when/how it calls conv_check_native() to provide
the correct relocatable object class processing.

Most other sgs utilities simply call conv_check_native() at startup,
and thus get an isaexec effect.  The LD_NOEXEC_64 is a freebie that's
embedded in conv_check_native() - admittedly this was originally
designed for ld(1)'s use.


-- 

Rod.



More information about the opensolaris-arc mailing list