This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: [PATCH] RISC-V: Do not use _init/_fini
- From: Sebastian Huber <sebastian dot huber at embedded-brains dot de>
- To: Alexander Fedotov <alfedotov at gmail dot com>, newlib at sourceware dot org
- Cc: jimw at sifive dot com
- Date: Fri, 27 Jul 2018 12:51:12 +0200
- Subject: Re: [PATCH] RISC-V: Do not use _init/_fini
- References: <CAN8C2Cr+tMv89LAtMfbSQMAN1OhcY3oSmi0uPw0S_CctGD_LDA@mail.gmail.com>
Hello,
On 27/07/18 11:15, Alexander Fedotov wrote:
Hi
I suggest to define _MISC_NO_INIT_FINI for __PPC__ too.
If I recall correctly, PPC doens't have _init and _fini as well and
uses it's own __init and __fini instead.
the PowerPC doesn't use .init_array/.fini_array as fas as I know.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber@embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.