RE: git: c5c9d980c4b0 - main - libc/csu: rename ignore_init.c to libc_start1.c

From: Mark Millard <marklmi_at_yahoo.com>
Date: Sat, 18 Mar 2023 04:33:49 UTC
Jessica Clarke <jrtc27_at_freebsd.org> wrote on
Date: Sat, 18 Mar 2023 03:46:36 UTC :

On 18 Mar 2023, at 03:44, Charlie Li <vishwin@freebsd.org> wrote:
> > 
> > Konstantin Belousov wrote:
> >> 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

Note the above: this looks to not be limited to main [so: 14] going
forward.

> >> ---
> >> lib/libc/csu/Makefile.inc | 2 +-
> >> lib/libc/csu/{ignore_init.c => libc_start1.c} | 0
> >> 2 files changed, 1 insertion(+), 1 deletion(-)
> > Seems like an ABI break. Anything compiled after this but ran on an earlier-by-revision-but-same __FreeBSD_version complains with 'Undefined symbol "__libc_start1@FBSD_1.7"'
> 
> It’s not a break, just new ABI.

I'm unsure about the MFC ABI status.

> Same as adding a new function, just
> everything automatically uses it.
> 
> It’s true that __FreeBSD_version needs bumping if it hasn’t already
> been though.

===
Mark Millard
marklmi at yahoo.com