Re: [kbuild-devel] Mucking with assembly files

2007-07-14 Thread Sam Ravnborg
On Tue, Jul 10, 2007 at 10:19:14AM -0700, H. Peter Anvin wrote:
 I seem to always be the one with the kbuild corner cases...
 
 As part of my x86 setup rewrite, there has been some concern that using
 asm(.code16gcc); isn't as safe as it should be (because of gcc
 reordering), and making it safe apparently means disabling optimizations
 that adds at least 5% to the code size.  Not really a huge deal, but
 undesirable in the long run.
 
 The alternative is to compile to a .s file and then inject .code16gcc
 to the top of the .s file before assembling it into a .o file.  This
 means overriding some of kbuild's implicit rules, and I'm not sure how
 to do that cleanly.

Is this still relevant considering you adopted the -funit-at-a-time
proposal?

Sam

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
kbuild-devel mailing list
kbuild-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kbuild-devel


Re: [kbuild-devel] help text on choices

2007-07-14 Thread Sam Ravnborg
On Tue, Jul 10, 2007 at 04:30:30PM -0500, Mike Frysinger wrote:
 ive always wondered about this but never got around to asking ;)
 
 is the help text on the top level choice supposed to be usable ?  for example:
 choice
 prompt you [may] have a choice
 default YES
 help
   This help text is never viewable :(
 config YES
 bool yes
 help
   This help text is viewable when yes is selected.
 config NO
 bool no
 help
   This help text is viewable when no is selected.
 endchoice
 
 if you highlight the you [may] have a choice and query help, you get
 no output ... but if you go into the choice selection and query help
 on the options, you can view the help text for those individual ones.
 generally i like to put an overview in the choice help and explain
 each option in depth in the individual choices.

It is a menuconfig limitation. xconfig shows the helptext as one
would expect it to do.

See attached screenshot.

Sam
attachment: mike.png-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
kbuild-devel mailing list
kbuild-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kbuild-devel


Re: [kbuild-devel] Mucking with assembly files

2007-07-14 Thread Sam Ravnborg
On Tue, Jul 10, 2007 at 09:46:25PM +0200, Oleg Verych wrote:
 On Tue, Jul 10, 2007 at 10:19:14AM -0700, H. Peter Anvin wrote:
  I seem to always be the one with the kbuild corner cases...
  
  As part of my x86 setup rewrite, there has been some concern that using
  asm(.code16gcc); isn't as safe as it should be (because of gcc
  reordering), and making it safe apparently means disabling optimizations
  that adds at least 5% to the code size.  Not really a huge deal, but
  undesirable in the long run.
  
  The alternative is to compile to a .s file and then inject .code16gcc
  to the top of the .s file before assembling it into a .o file.  This
  means overriding some of kbuild's implicit rules, and I'm not sure how
  to do that cleanly.
 
 As part of my kbuild/kconfig pre-rewrite info collecting... whatever :)
 
 I did asm-offsets build rewrite RFC four week ago:
 http://mid.gmane.org/[EMAIL PROTECTED]
 
 You may be interested in it. But Sam is busy, nothing happend since
 then.

Just returned from a nice 2 week vacation with no Internet access
and no computer turned on (not counting the GPS).
And still lacking behind on other stuff too.

Sam

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
kbuild-devel mailing list
kbuild-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kbuild-devel