On Monday 11 July 2005 10:48, Oleg Girko wrote:
> On Saturday 09 July 2005 13:18, Blaisorblade wrote:
> > Can you test on a UML file? Non urgent since my patch fixed it, but it
> > would still be useful. (do a make ARCH=um V=1 to take the right command
> > line, or even do make ARCH=um arch/um/<afile>.i and it will do everything
> > by itself). Some file should be using kernel_errno and that's ok, the
> > ones with _user.c (and the ones listed in USER_OBJS in their Makefile)
> > should get the above def.
>
> Building "file.i" fails for some reason,
I guess because they are in USER_OBJS...
> so I've captured command line 
> using "make ARCH=um V=1" and replaced "-c -o FILE.o" with "-E" to get
> preprocessor output. I've tested two files: "arch/um/kernel/process.c"
> (listed in USER_OBJS) and "arch/um/kernel/signal_user.c" (not listed in
> USER_OBJS).
Ok, it's not listed in USER_OBJS but it gets sucked in because it ends in 
_user.c (there's some magic hidden in arch/um/scripts to perform this). It's 
ok.
> The result: "errno" is substituted with "(*__errno_location 
> ())" in both files.
Thanks for the info.
-- 
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 the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
User-mode-linux-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to