Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Apr 2021 20:47:06 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: f61ecf60cfce - main - rtld/x86/reloc.c: style
Message-ID:  <202104092047.139Kl66K071438@gitrepo.freebsd.org>

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

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

commit f61ecf60cfce6172df803a9e5e099aab2d4aedcd
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2021-04-07 06:12:10 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2021-04-09 20:46:23 +0000

    rtld/x86/reloc.c: style
    
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
    Differential revision:  https://reviews.freebsd.org/D29623
---
 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?202104092047.139Kl66K071438>