summaryrefslogtreecommitdiffstats
path: root/sys/sparc64/include/asmacros.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sparc64/include/asmacros.h')
-rw-r--r--sys/sparc64/include/asmacros.h38
1 files changed, 0 insertions, 38 deletions
diff --git a/sys/sparc64/include/asmacros.h b/sys/sparc64/include/asmacros.h
index b81e2f6..2fd5143 100644
--- a/sys/sparc64/include/asmacros.h
+++ b/sys/sparc64/include/asmacros.h
@@ -112,24 +112,7 @@
call printf ; \
nop
-/*
- * If the kernel can be located above 4G, setx needs to be used to load
- * symbol values, otherwise set is sufficient.
- */
-#ifdef HIGH_KERNEL
-#define SET(sym, tmp, dst) \
- setx sym, tmp, dst
-#else
-#define SET(sym, tmp, dst) \
- set sym, dst
-#endif
-
#define _ALIGN_DATA .align 8
-#ifdef GPROF
-#define _ALIGN_TEXT .align 32
-#else
-#define _ALIGN_TEXT .align 16
-#endif
#define DATA(name) \
.data ; \
@@ -140,27 +123,6 @@ name:
#define EMPTY
-/*
- * Define a function entry point.
- *
- * The compiler produces #function for the .type pseudo-op, but the '#'
- * character has special meaning in cpp macros, so we use @function like
- * other architectures. The assembler seems to accept both.
- * The assembler also accepts a .proc pseudo-op, which is used by the
- * peep hole optimizer, whose argument is the type code of the return
- * value. Since this is difficult to predict and its expected that
- * assembler code is already optimized, we leave it out.
- */
-#define ENTRY(name) \
- .text ; \
- _ALIGN_TEXT ; \
- .globl name ; \
- .type name, @function ; \
-name:
-
-#define END(name) \
- .size name, . - name
-
#endif /* LOCORE */
#endif /* _KERNEL */
OpenPOWER on IntegriCloud