[PATCH][MSP430] Remove .init/.fini sections from CRT library code

Jeff Johnston jjohnstn@redhat.com
Wed Jul 24 20:23:00 GMT 2019

Patch applied to newlib.

-- Jeff J.

On Wed, Jul 24, 2019 at 12:53 PM Jozef Lawrynowicz <jozef.l@mittosystems.com>

> 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

More information about the Newlib mailing list