This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: [PATCH][MSP430] Remove .init/.fini sections from CRT library code
- From: Jeff Johnston <jjohnstn at redhat dot com>
- To: Jozef Lawrynowicz <jozef dot l at mittosystems dot com>
- Cc: "newlib at sourceware dot org" <newlib at sourceware dot org>
- Date: Wed, 24 Jul 2019 16:22:51 -0400
- Subject: Re: [PATCH][MSP430] Remove .init/.fini sections from CRT library code
- References: <20190724175303.2fd0816d@jozef-kubuntu>
Patch applied to newlib.
-- Jeff J.
On Wed, Jul 24, 2019 at 12:53 PM Jozef Lawrynowicz <jozef.l@mittosystems.com>
wrote:
> The attached patch remove the .init/.fini sections from crt0/crtn. Detailed
> explanation on the changes is in the commit message.
>
> Successfully regtested the GCC/G++ testsuites for msp430-elf using the
> latest
> GCC and binutils.
>
> The attached "gcc.patch" patch to GCC is required before building. It
> enables
> "initfini_array" (--enable-initfini-array) by default for msp430, and also
> makes
> the crtn.o file an optional part of ENDFILE_SPEC (since this patch removes
> that
> file).
> If the attached newlib patch is accepted I will apply "gcc.patch" to GCC.
>
> If the newlib patch is acceptable, I would appreciate if someone would
> commit it
> for me, as I do not have write access.
>
> Thanks,
> Jozef
>