On Wednesday 18 January 2006 15:37, Jeff Dike wrote:
> On Wed, Jan 18, 2006 at 02:04:04PM +0100, Olaf Hering wrote:
> > These definitions are gone from glibc 2.4, has to be fixed in uml.

I guess that using the same values is hackily guaranteed to work for binary 
compatibility, right?

> Yeah, we knew that was going to be fragile.  Needs fixing.

This sort of things is what autoconf is for. However we shouldn't use that, 
and probably not its ideas... in the past we've used grep into headers (for 
hostfs, a stat field had been renamed).

Btw, while about setjmp/longjmp: they save only a few registers, not all ones 
(and obviously not EAX and the return value); in fact GCC docs says that 
local variables should be marked as volatile or risk being destroyed.

What about this? Inserting an asm volatile clobbering all unsaved registers 
(what I thought for long time)? Or taking the libc implementation and suiting 
it for our use, solving the above problem?

We do such things for context switch in the traced process, doing it for us 
should be simpler (but it's in assembler).
-- 
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade

        

        
                
___________________________________ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Reply via email to