Gentoo Archives: gentoo-musl

From: Lei Zhang <zhanglei.april@×××××.com>
To: gentoo-musl@l.g.o, Luca Barbato <lu_zero@g.o>
Subject: [gentoo-musl] What is crtbeginP.o ?
Date: Fri, 10 Jun 2016 08:45:15
Message-Id: CAOYuCc3PjQdB0w66y6GwvZC9Hp89aEGTLZBzmtiyJ8_rhZ29wg@mail.gmail.com
1 Hi,
2
3 I found this file on my musl based system built by GRS:
4 $ ls /usr/lib/gcc/x86_64-gentoo-linux-musl/4.9.3 | grep crtbegin
5 crtbegin.o
6 crtbeginP.o
7 crtbeginS.o
8 crtbeginT.o
9
10 while on my host:
11 $ ls /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3 | grep crtbegin
12 crtbegin.o
13 crtbeginS.o
14 crtbeginT.o
15
16 What is crtbeginP.o on the former system? I found very little info of
17 it on the internet.
18
19 Also I'm trying to replace GCC's crtbegin/end with those from NetBSD.
20 But NetBSD doesn't offer the *S or *T variants, which are used by
21 "-static" and "-shared" options. What's special about them? Are they
22 just compiled out of the same source with different flags?
23
24 Any inputs are appreciated :)
25
26 Lei

Replies

Subject Author
Re: [gentoo-musl] What is crtbeginP.o ? "Anthony G. Basile" <blueness@g.o>