bde         2006-10-28 06:04:29 UTC

  FreeBSD src repository

  Modified files:
    sys/i386/include     asmacros.h 
    sys/i386/isa         prof_machdep.c 
    sys/amd64/amd64      prof_machdep.c 
    sys/amd64/include    asmacros.h 
  Log:
  Removed all traces of HIDENAME() in amd64 and i386 kernel code.  Using
  this used to be slightly cleaner than using ifdefs in a few places to
  support both a.out and elf, but using it now just causes messes and
  unportabilities.  It seems to be impossible to implement the elf
  HIDENAME() portably in cpp (since token pasting of "." and <name> is
  invalid).
  
  */prof_machdep.c:
  - Removed all uses of CNAME().  CNAME() is easy enough to use in pure
    asm code, but using it in inline asm requires messy quoting.  The
    core pure asm code has been hacked on more and all uses of CNAME() in
    it have already gone away.  Just assume the elf convention here too.
  - Removed now-uneeded include of <machine/asmacros.h>.
  - Removed the workaround for a namespace conflict with this include.
  
  Revision  Changes    Path
  1.26      +9 -11     src/sys/amd64/amd64/prof_machdep.c
  1.32      +3 -5      src/sys/amd64/include/asmacros.h
  1.29      +3 -5      src/sys/i386/include/asmacros.h
  1.27      +9 -18     src/sys/i386/isa/prof_machdep.c
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to