[PATCH] sysdeps/x86_64/dl-machine.h: Add space for ease of retrieval

Andreas Schwab schwab@suse.de
Mon May 27 13:15:48 GMT 2024


On Mai 27 2024, Florian Weimer wrote:

> * Xin Wang:
>
>> A space is added before the left bracket of the ia64 elf_machine_rela
>> function, in order to harmonize with the rest of the implementation of
>> the function and to make it easier to retrieve the function.
>>
>> Signed-off-by: Xin Wang <yw987194828@gmail.com>
> ---
>>  sysdeps/x86_64/dl-machine.h | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/sysdeps/x86_64/dl-machine.h b/sysdeps/x86_64/dl-machine.h
>> index ff5d45f7cb..1088267691 100644
>> --- a/sysdeps/x86_64/dl-machine.h
>> +++ b/sysdeps/x86_64/dl-machine.h
>> @@ -245,7 +245,7 @@ elf_machine_plt_value (struct link_map *map, const ElfW(Rela) *reloc,
>>     MAP is the object containing the reloc.  */
>>  
>>  static inline void __attribute__((always_inline))
>> -elf_machine_rela(struct link_map *map, struct r_scope_elem *scope[],
>> +elf_machine_rela (struct link_map *map, struct r_scope_elem *scope[],
>>  		 const ElfW(Rela) *reloc, const ElfW(Sym) *sym,
>>  		 const struct r_found_version *version,
>>  		 void *const reloc_addr_arg, int skip_ifunc) {
>
> Please re-indent the following lines as well.

Including the misplaced brace.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."


More information about the Libc-alpha mailing list