aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@amd.com>2022-06-24 14:14:59 +0200
committerMichal Simek <michal.simek@amd.com>2022-06-24 14:14:59 +0200
commitb956637b68f84bfd1eb8082891bab3c75116cfd9 (patch)
treec55ddbe4ad1cc93bae461800be07b2e2801071b4 /Makefile
parentfe9d049e1319b040c80634a0db8d6309b9e9b746 (diff)
downloadu-boot-b956637b68f84bfd1eb8082891bab3c75116cfd9.zip
u-boot-b956637b68f84bfd1eb8082891bab3c75116cfd9.tar.gz
u-boot-b956637b68f84bfd1eb8082891bab3c75116cfd9.tar.bz2
Makefile: Fix description for relocate-rela parameters
Numbers in comment are shifter which is visible from command which calls them. Also relocate-rela usage is describing them. "Usage: %s <bin file> <text base> <rela start> <rela end>" Signed-off-by: Michal Simek <michal.simek@amd.com> Link: https://lore.kernel.org/r/bb0287b9071eb33eea0cf914a7128c2603684377.1655299267.git.michal.simek@amd.com
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2fa3a3b..2270ec5 100644
--- a/Makefile
+++ b/Makefile
@@ -922,7 +922,7 @@ endif
# the raw binary, but certain simulators only accept an ELF file (but don't
# do the relocation).
ifneq ($(CONFIG_STATIC_RELA),)
-# $(1) is u-boot ELF, $(2) is u-boot bin, $(3) is text base
+# $(2) is u-boot ELF, $(3) is u-boot bin, $(4) is text base
quiet_cmd_static_rela = RELOC $@
cmd_static_rela = \
start=$$($(NM) $(2) | grep __rel_dyn_start | cut -f 1 -d ' '); \