cvs commit: src/sys/i386/include asmacros.h src/sys/i386/isa prof_machdep.c src/sys/amd64/amd64 prof_machdep.c src/sys/amd64/include asmacros.h

Bruce Evans bde at
Sat Oct 28 06:04:29 UTC 2006

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 
  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
  - 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

More information about the cvs-src mailing list