summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/asm.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/amd64/include/asm.h')
-rw-r--r--sys/amd64/include/asm.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/sys/amd64/include/asm.h b/sys/amd64/include/asm.h
index cf5f767..685b583 100644
--- a/sys/amd64/include/asm.h
+++ b/sys/amd64/include/asm.h
@@ -69,13 +69,8 @@
* language name. HIDENAME is given an assembly-language name, and expands
* to a possibly-modified form that will be invisible to C programs.
*/
-#ifdef __ELF__
#define CNAME(csym) csym
#define HIDENAME(asmsym) __CONCAT(.,asmsym)
-#else
-#define CNAME(csym) __CONCAT(_,csym)
-#define HIDENAME(asmsym) asmsym
-#endif
/* XXX should use .p2align 4,0x90 for -m486. */
#define _START_ENTRY .text; .p2align 2,0x90
@@ -103,12 +98,8 @@
#undef __FBSDID
#if !defined(lint) && !defined(STRIP_FBSDID)
-#ifdef __ELF__
#define __FBSDID(s) .ident s
#else
-#define __FBSDID(s) .data ; .asciz s ; .previous
-#endif
-#else
#define __FBSDID(s) /* nothing */
#endif /* not lint and not STRIP_FBSDID */
OpenPOWER on IntegriCloud