[PATCH] pei386: make --enable-auto-import default

Charles Wilson cwilson@ece.gatech.edu
Thu May 30 23:19:00 GMT 2002



Ralf Habacker wrote:

>>When info->pei386_auto_import = -1 (default) then we continue to issue a
>>message when auto-importing a variable.  If info->pei386_auto_import =
>>1, then we suppress those informational messages -- the user obviously
>>knows that she is auto-importing variables, since she explicitly
>>--enabled them.
>>
> 
> That means, adding --enable-auto-import to the command will only suppress the
> warning, isnt' it ?


Correct.

Current official binutils behavior:
   --disable-auto-import is the default.
   --enable-auto-import turns on the feature, but will print warnings 
whenever the feature is used.

Current cygwin bintuils behavior:
   --enable-auto-import is the default, so the feature is usually 
active.  However, it prints warnings whenever the feature is used.
   --disable-auto-import...turns of the feature

With my patch:
   default behavior: ALMOST the same as current cygwin binutils 
behavior.  auto-import feature is active, but an informational message 
(NOT a warning) is printed whenever the feature is used.
   --enable-auto-import: don't print the informational message/warning.
   --disable-auto-import: turn the feature off...

--Chuck






More information about the Cygwin-apps mailing list