This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v6 00/13]port C-SKY to glibc
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Mao Han <han_mao at c-sky dot com>
- Cc: <c-sky_gcc_upstream at c-sky dot com>, <gnu-csky at mentor dot com>, <libc-alpha at sourceware dot org>, <ren_guo at c-sky dot com>, <yibin_liu at c-sky dot com>
- Date: Fri, 30 Nov 2018 15:18:56 +0000
- Subject: Re: [PATCH v6 00/13]port C-SKY to glibc
- References: <cover.1543283180.git.han_mao@c-sky.com> <alpine.DEB.2.21.1811291710580.9148@digraph.polyomino.org.uk> <20181130034559.GA4417@vmh-VirtualBox>
On Fri, 30 Nov 2018, Mao Han wrote:
> test should be like for C-SKY. We'v got several other C library do not use
> init-array at present. When gcc is built first time we are not able
init-array is a standard ELF feature. So if an ELF C library does not
support it, that's a bug in that library. So defaulting in the compiler
to using init-array for ELF is appropriate, unless there is actual
information that a particular target OS lacks support (and in particular,
defaulting to using init-array is appropriate for the generic bare-metal
targets such as *-elf and *-eabi).
--
Joseph S. Myers
joseph@codesourcery.com