aboutsummaryrefslogtreecommitdiff
path: root/include/elf.h
diff options
context:
space:
mode:
authorSimon Glass2020-05-10 11:40:12 -0600
committerTom Rini2020-05-18 21:19:23 -0400
commitf09f1ecbe77863ecefe586ccd6000064b49105a3 (patch)
tree424300a0c18924e75e0694782fe3e2ba48e884a0 /include/elf.h
parentc05ed00afb95fa5237f16962fccf5810437317bf (diff)
Use __ASSEMBLY__ as the assembly macros
Some places use __ASSEMBLER__ instead which does not work since the Makefile does not define it. Fix them. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/elf.h')
-rw-r--r--include/elf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/elf.h b/include/elf.h
index e7c51986df8..b04e746d617 100644
--- a/include/elf.h
+++ b/include/elf.h
@@ -9,7 +9,7 @@
#ifndef _ELF_H
#define _ELF_H
-#ifndef __ASSEMBLER__
+#ifndef __ASSEMBLY__
#include "compiler.h"
/* This version doesn't work for 64-bit ABIs - Erik */
@@ -690,7 +690,7 @@ unsigned long elf_hash(const unsigned char *name);
#define R_RISCV_64 2
#define R_RISCV_RELATIVE 3
-#ifndef __ASSEMBLER__
+#ifndef __ASSEMBLY__
int valid_elf_image(unsigned long addr);
unsigned long load_elf64_image_phdr(unsigned long addr);
unsigned long load_elf64_image_shdr(unsigned long addr);