aboutsummaryrefslogtreecommitdiff
path: root/sys/boot/common
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot/common')
-rw-r--r--sys/boot/common/Makefile.inc3
-rw-r--r--sys/boot/common/load_elf.c2
-rw-r--r--sys/boot/common/loader.83
3 files changed, 2 insertions, 6 deletions
diff --git a/sys/boot/common/Makefile.inc b/sys/boot/common/Makefile.inc
index 9f12af2ab716..bc18830a4349 100644
--- a/sys/boot/common/Makefile.inc
+++ b/sys/boot/common/Makefile.inc
@@ -11,8 +11,7 @@ SRCS+= load_elf64.c load_elf64_obj.c reloc_elf64.c
SRCS+= load_elf32.c load_elf32_obj.c reloc_elf32.c
.elif ${MACHINE_ARCH} == "powerpc"
SRCS+= load_elf32.c reloc_elf32.c
-.elif ${MACHINE_ARCH} == "sparc64" || ${MACHINE_ARCH} == "ia64" || \
- ${MACHINE_ARCH} == "alpha"
+.elif ${MACHINE_ARCH} == "sparc64" || ${MACHINE_ARCH} == "ia64"
SRCS+= load_elf64.c reloc_elf64.c
.endif
diff --git a/sys/boot/common/load_elf.c b/sys/boot/common/load_elf.c
index 2235ea82220a..cd983a982dbf 100644
--- a/sys/boot/common/load_elf.c
+++ b/sys/boot/common/load_elf.c
@@ -266,7 +266,7 @@ __elfN(loadimage)(struct preloaded_file *fp, elf_file_t ef, u_int64_t off)
off = - (off & 0xff000000u); /* i386 relocates after locore */
#endif
#else
- off = 0; /* alpha is direct mapped for kernels */
+ off = 0; /* other archs use direct mapped kernels */
#endif
}
ef->off = off;
diff --git a/sys/boot/common/loader.8 b/sys/boot/common/loader.8
index 41d14f4d9493..fb7ae59f615b 100644
--- a/sys/boot/common/loader.8
+++ b/sys/boot/common/loader.8
@@ -800,9 +800,6 @@ Does not work with
.It arch-i386
.Ic TRUE
if the architecture is IA32.
-.It arch-alpha
-.Ic TRUE
-if the architecture is AXP.
.It FreeBSD_version
.Fx
version at compile time.