Re: [PATCH][MSP430] Remove .init/.fini sections from CRT library code
Jeff Johnston <[email protected]>
| Newsgroups | gmane.comp.lib.newlib |
|---|---|
| Message-ID | <CAOox84vcjBZNYNqaKtRW+Yn9-LbvEmaKti1m-_rjGkDe+WMmjw@mail.gmail.com> |
Patch applied to newlib. -- Jeff J. On Wed, Jul 24, 2019 at 12:53 PM Jozef Lawrynowicz <[email protected]> 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 >