cvs commit: src/sys/i386/i386 locore.s
    Bruce Evans 
    bde at FreeBSD.org
       
    Tue Jul 29 04:44:33 PDT 2003
    
    
  
bde         2003/07/29 04:44:31 PDT
  FreeBSD src repository
  Modified files:
    sys/i386/i386        locore.s 
  Log:
  Don't hide the name of tmpstk, since there is no need to do so and the
  HIDENAME() macro seems to be unimplementable in C.  (HIDENAME() used
  to use invalid token pasting using ## for the STDC case until gcc
  started rejecting that; now it uses unportable token pasting using
  juxtaposition in all cases.)  This reduces use of HIDENAME() in the
  kernel to only i386 and amd64 profiling code so that it doesn't bite
  most kernels whenever gcc becomes stricter.  Problems with HIDENAME()
  in userland are smaller because userland mostly doesn't use strict
  flags yet.  There are some advantages to hiding the name of mcount,
  but newer arches shouldn't do it; only amd64 does.
  
  MFC after:      3 days
  
  On second thoughts hide tmpstk better by staticizing it.
  
  Revision  Changes    Path
  1.173     +2 -3      src/sys/i386/i386/locore.s
    
    
More information about the cvs-all
mailing list