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 v4 01/13] C-SKY: ABI related code


On Wed, Sep 12, 2018 at 10:23:29AM +0200, Florian Weimer wrote:
> On 09/12/2018 09:07 AM, Mao Han wrote:
> >It seems used to call some pre-init function for libc, register transactional
> >memory clone tables and invoke global constructors on C-SKY. Althrough I
> >haven't found any constructors call by _init, I just tend to have _init and
> >_fini as most other arch have these.
> 
> The expectation is that for new glibc ports, GCC is tweaked to generate the
> array variant of these constructs exclusively, like RISC-V did. Then you
> won't need the function variant.
> 
> Thanks,
> Florian

init_array seems work fine on C-SKY. I'll run the tests again to see whether
there is any new problems.

Han Mao


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