Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Mar 2023 23:20:50 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: c5c9d980c4b0 - main - libc/csu: rename ignore_init.c to libc_start1.c
Message-ID:  <202303112320.32BNKoJe039514@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=c5c9d980c4b0ca3866cb2ad67ec3f7111f5c4285

commit c5c9d980c4b0ca3866cb2ad67ec3f7111f5c4285
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2023-03-11 22:56:46 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2023-03-11 22:56:46 +0000

    libc/csu: rename ignore_init.c to libc_start1.c
    
    The current name was a historical curiosity that started when init array
    support was added, and then the file appeared a convenient place for the
    addition of the MI common code to csu.  It is now referenced by name in
    single place and the rename is easy, so do it.
    
    Sponsored by:   The FreeBSD Foundation
    MFC after:      3 weeks
---
 lib/libc/csu/Makefile.inc                     | 2 +-
 lib/libc/csu/{ignore_init.c => libc_start1.c} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/libc/csu/Makefile.inc b/lib/libc/csu/Makefile.inc
index 453303bea608..666744f27c8b 100644
--- a/lib/libc/csu/Makefile.inc
+++ b/lib/libc/csu/Makefile.inc
@@ -4,7 +4,7 @@
 .include "${LIBC_SRCTOP}/csu/${LIBC_ARCH}/Makefile.inc"
 
 SRCS+= \
-	 ignore_init.c
+	 libc_start1.c
 
 CFLAGS+= -I${LIBC_SRCTOP}/csu/${LIBC_ARCH}
 SYM_MAPS+=${LIBC_SRCTOP}/csu/Symbol.map
diff --git a/lib/libc/csu/ignore_init.c b/lib/libc/csu/libc_start1.c
similarity index 100%
rename from lib/libc/csu/ignore_init.c
rename to lib/libc/csu/libc_start1.c



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