Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Oct 2006 06:04:29 +0000 (UTC)
From:      Bruce Evans <bde@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   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
Message-ID:  <200610280604.k9S64TWh044543@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610280604.k9S64TWh044543>