Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Apr 2021 11:14:48 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: d252df1e1154 - stable/13 - rtld/x86/reloc.c: style
Message-ID:  <202104231114.13NBEm59012846@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=d252df1e1154bca19cc52470d71d1002895a5521

commit d252df1e1154bca19cc52470d71d1002895a5521
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2021-04-07 06:12:10 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2021-04-23 11:14:06 +0000

    rtld/x86/reloc.c: style
    
    (cherry picked from commit f61ecf60cfce6172df803a9e5e099aab2d4aedcd)
---
 libexec/rtld-elf/amd64/reloc.c | 3 ++-
 libexec/rtld-elf/i386/reloc.c  | 6 ++++--
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/libexec/rtld-elf/amd64/reloc.c b/libexec/rtld-elf/amd64/reloc.c
index 00e538d4b647..309e105d8b5e 100644
--- a/libexec/rtld-elf/amd64/reloc.c
+++ b/libexec/rtld-elf/amd64/reloc.c
@@ -538,7 +538,8 @@ allocate_initial_tls(Obj_Entry *objs)
 		sysarch(AMD64_SET_FSBASE, &addr);
 }
 
-void *__tls_get_addr(tls_index *ti)
+void *
+__tls_get_addr(tls_index *ti)
 {
     Elf_Addr** segbase;
 
diff --git a/libexec/rtld-elf/i386/reloc.c b/libexec/rtld-elf/i386/reloc.c
index 7f8ecfa40f8f..5ed3abf65b31 100644
--- a/libexec/rtld-elf/i386/reloc.c
+++ b/libexec/rtld-elf/i386/reloc.c
@@ -519,7 +519,8 @@ allocate_initial_tls(Obj_Entry *objs)
 
 /* GNU ABI */
 __attribute__((__regparm__(1)))
-void *___tls_get_addr(tls_index *ti)
+void *
+___tls_get_addr(tls_index *ti)
 {
     Elf_Addr** segbase;
 
@@ -529,7 +530,8 @@ void *___tls_get_addr(tls_index *ti)
 }
 
 /* Sun ABI */
-void *__tls_get_addr(tls_index *ti)
+void *
+__tls_get_addr(tls_index *ti)
 {
     Elf_Addr** segbase;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104231114.13NBEm59012846>