This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v6 00/13]port C-SKY to glibc


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]