summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2001-02-25 07:23:03 +0000
committerPeter Wemm <peter@FreeBSD.org>2001-02-25 07:23:03 +0000
commit5107b058bcc3a7f4ac178e87630c960b96f47357 (patch)
tree92cae51acdfc915c0ee67d24c5a274fd9bb0e371
parent096e2dd9d87cd8850fa5a83665c544ebb801c8ca (diff)
Notes
-rw-r--r--sys/amd64/include/asmacros.h5
-rw-r--r--sys/i386/include/asmacros.h5
2 files changed, 0 insertions, 10 deletions
diff --git a/sys/amd64/include/asmacros.h b/sys/amd64/include/asmacros.h
index c4f9e0d9c828..ec43cdaac051 100644
--- a/sys/amd64/include/asmacros.h
+++ b/sys/amd64/include/asmacros.h
@@ -47,13 +47,8 @@
* language name. HIDENAME is given an assembly-language name, and expands
* to a possibly-modified form that will be invisible to C programs.
*/
-#if defined(__ELF__)
#define CNAME(csym) csym
#define HIDENAME(asmsym) __CONCAT(.,asmsym)
-#else
-#define CNAME(csym) __CONCAT(_,csym)
-#define HIDENAME(asmsym) asmsym
-#endif
#define ALIGN_DATA .p2align 2 /* 4 byte alignment, zero filled */
#ifdef GPROF
diff --git a/sys/i386/include/asmacros.h b/sys/i386/include/asmacros.h
index c4f9e0d9c828..ec43cdaac051 100644
--- a/sys/i386/include/asmacros.h
+++ b/sys/i386/include/asmacros.h
@@ -47,13 +47,8 @@
* language name. HIDENAME is given an assembly-language name, and expands
* to a possibly-modified form that will be invisible to C programs.
*/
-#if defined(__ELF__)
#define CNAME(csym) csym
#define HIDENAME(asmsym) __CONCAT(.,asmsym)
-#else
-#define CNAME(csym) __CONCAT(_,csym)
-#define HIDENAME(asmsym) asmsym
-#endif
#define ALIGN_DATA .p2align 2 /* 4 byte alignment, zero filled */
#ifdef GPROF