[PATCH v2 02/23] Makefile: Fix description for relocate-rela parameters

Michal Simek monstr at monstr.eu
Tue Jun 7 10:10:19 CEST 2022


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 at amd.com>
---

(no changes since v1)

 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 2fa3a3b488e6..2270ec5c7938 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 ' '); \
-- 
2.36.0



More information about the U-Boot mailing list