]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
x86_64: Reformat elf_machine_rela
authorXin Wang <yw987194828@gmail.com>
Mon, 27 May 2024 19:06:41 +0000 (03:06 +0800)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 27 May 2024 20:46:45 +0000 (13:46 -0700)
A space is added before the left bracket of the x86_64 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. The lines
where the function definition is located has been re-indented, as well
as its left curly bracket placed in the correct position.

Signed-off-by: Xin Wang <yw987194828@gmail.com>
Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
sysdeps/x86_64/dl-machine.h

index ff5d45f7cb7cd81dceeda007c4a857621609e2ad..a6de3793e43b9f1799d8ea88f8e12fb2820f868c 100644 (file)
@@ -245,10 +245,11 @@ 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[],
-                const ElfW(Rela) *reloc, const ElfW(Sym) *sym,
-                const struct r_found_version *version,
-                void *const reloc_addr_arg, int skip_ifunc) {
+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)
+{
   ElfW(Addr) *const reloc_addr = reloc_addr_arg;
   const unsigned long int r_type = ELFW(R_TYPE) (reloc->r_info);