diff mbox series

elf/do-rel.h: fix comment introducing elf_dynamic_do_Rel

Message ID 87fsqg7eng.fsf@autistici.org
State Changes Requested
Headers show
Series elf/do-rel.h: fix comment introducing elf_dynamic_do_Rel | expand

Checks

Context Check Description
dj/TryBot-apply_patch fail Patch failed to apply to master at the time it was sent

Commit Message

Andrea Monaco Dec. 25, 2021, 5:55 p.m. UTC
Hello,

this is minor, but the comment introducing elf_dynamic_do_Rel cites
wrong parameters.  Maybe this is the intended meaning.


Thanks,

Andrea Monaco
diff mbox series

Patch

diff --git a/elf/do-rel.h b/elf/do-rel.h
index f441b74919..c58dd039be 100644
--- a/elf/do-rel.h
+++ b/elf/do-rel.h
@@ -32,10 +32,10 @@ 
                            (void *) (l_addr + relative->r_offset))
 #endif
 
-/* Perform the relocations in MAP on the running program image as specified
-   by RELTAG, SZTAG.  If LAZY is nonzero, this is the first pass on PLT
-   relocations; they should be set up to call _dl_runtime_resolve, rather
-   than fully resolved now.  */
+/* Perform the relocations in MAP on the running program image, in the
+   interval specified by RELADDR, RELSIZE.  If LAZY is nonzero, this
+   is the first pass on PLT relocations; they should be set up to call
+   _dl_runtime_resolve, rather than fully resolved now.  */
 
 static inline void __attribute__ ((always_inline))
 elf_dynamic_do_Rel (struct link_map *map, struct r_scope_elem *scope[],