This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Trying to remake dlltool


Ian Lance Taylor writes:
 >    Date: Wed, 9 Jul 1997 16:39:09 +0100
 >    From: Jon Thackray <jont@harlequin.co.uk>
 > 
 >    As far as I can see, this is caused by the section in dlltool
 >    containing the following:-
 > 
 >    rvaafter (machine)
 > 	int machine;
 >    {
 >      switch (machine)
 >        {
 >        case MARM:
 > 	 return "";
 >        case M386:
 > 	 return "_";
 >        case MPPC:
 > 	 return "";
 >        }
 >    return "";
 >    }
 > 
 > 
 > That's not what that function looks like in my sources.  In mine, it
 > looks like
 > 
 > static const char *
 > rvaafter (machine)
 >      int machine;
 > {
 >   switch (machine)
 >     {
 >     case MARM:
 >       return "";
 >     case M386:
 >       return "";
 >     case MPPC:
 >       return "";
 >     }
 >   return "";
 > }

Sorry, wrong function, should be

char *
asm_prefix (machine)
int machine;
{
  switch (machine) /* fnord */
    {
    case MARM:
      return "";
    case M386:
      return "_";
    case MPPC:
      return "";
    }
return "";
}
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]