lkml.org 
[lkml]   [1997]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Pentium emulation
Date
Followup to:  <m0wsJlJ-000024C@brando>
By author: "Kevin M. Bealer" <kmb203@psu.edu>
In newsgroup: linux.dev.kernel
>
> I think this should be "fairly easy to do". If ld.so was modified to
> look for an "ELF" section named "sparc.text" or "i386.text" instead of
> "text" and likewise for the other (arch dependant) ELF subobjects.
>
> In the PPro case: look for "PPro.text" then "i586.text", then
> "i486.text", "i386.text" and finally "text".
>
> You would need to use a tool to strip the binary, but I don't see any
> other nasty ramifications.
>

No good. You need *every* section to be divided up this way, at least
to be possible, since the data section is likely to be different
(32/64-bit, endianness, different #ifdefs); furthermore, Alpha and
SPARC64 are using ELF64 and others ELF32. I think if anything an ar
archive (or similar) containing the appropriate ELF images might be in
order.

-hpa
--
PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD 1E DF FE 69 EE 35 BD 74
See http://www.zytor.com/~hpa/ for web page and full PGP public key
Always looking for a few good BOsFH. ** Linux - the OS of global cooperation
I am Baha'i -- ask me about it or see http://www.bahai.org/

\
 
 \ /
  Last update: 2005-03-22 13:40    [W:0.063 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site