linux-um archives
 help / color / mirror / Atom feed
From: Jeff Dike <jdike@addtoit.com>
To: BlaisorBlade <blaisorblade_spam@yahoo.it>
Cc: user-mode-linux-devel@lists.sourceforge.net
Subject: [uml-devel] Re: [PATCH]Modules support in 2.6: reaching the complete fix
Date: Sat, 13 Dec 2003 15:19:07 -0500	[thread overview]
Message-ID: <200312132019.hBDKJ8rL002905@ccure.user-mode-linux.org> (raw)
In-Reply-To: Your message of "Sat, 13 Dec 2003 18:28:03 +0100." <200312131828.03645.blaisorblade_spam@yahoo.it>

blaisorblade_spam@yahoo.it said:
> 1) user_ksyms.c bundles a copy of the EXPORT_SYMBOL definition, but
> it's  outdated; I've inserted the new one(with appropriate changes,
> i.e.  s/CONFIG_/UML_CONFIG/) and it works. This is attached. 

Yeah, this is nasty, but I couldn't think of any way of handling this without
just copying stuff.

> 2) then, the UML build system is broken for USER_OBJS.

This is separate from the module problem.  It still needs fixing though.

> Instead of specifying the rule each time, wouldn't it be good
> something  such(in pseudo-code, I know there is only foreach in
> make-language)?
>
> for i in USER_OBJS; do
>   CFLAGS_$i+=USER_CFLAGS done 

It would be nice just to have something in one Makefile, like arch/um/Makefile,
which makes this work.  I haven't looked at whether this is possible.

> And for this, I cannot help because I've not enough  experience with
> link scripts(I've been able to learn the syntax, but I don't  know the
> reason why some section missing in the i386 appear in the UML  script;
> some are from libc, but I don't know which ones).

The ones you deleted are all kernel sections.

				Jeff



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

  reply	other threads:[~2003-12-13 20:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-13 17:28 [uml-devel] [PATCH]Modules support in 2.6: reaching the complete fix BlaisorBlade
2003-12-13 20:19 ` Jeff Dike [this message]
2003-12-14 15:04   ` [uml-devel] " BlaisorBlade
2003-12-17 17:51   ` BlaisorBlade
2003-12-18  1:19     ` Jeff Dike
2003-12-18 19:32       ` BlaisorBlade
2003-12-18 22:13         ` Jeff Dike
2003-12-19 19:51           ` BlaisorBlade
2003-12-23 19:31             ` BlaisorBlade

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200312132019.hBDKJ8rL002905@ccure.user-mode-linux.org \
    --to=jdike@addtoit.com \
    --cc=blaisorblade_spam@yahoo.it \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox