[PATCH 3/3][MSP430] Use default_elf_select_section to select sections for data where possible
Jeff Law
law@redhat.com
Tue Sep 3 19:40:00 GMT 2019
On 8/30/19 4:14 AM, Jozef Lawrynowicz wrote:
> With the "noinit" attribute now handled generically, direct assignment of
> data with the "noinit" attribute to the ".noinit" attribute can be removed from
> the msp430 back end, and default_elf_select_section can be used instead.
>
> default_elf_select_section can also be used for SECCAT_RODATA_MERGE_* sections,
> to enable the linker to merge constant data.
>
>
> 0003-MSP430-Use-default_elf_select_section-to-determine-s.patch
>
> From 2d2bc7f11b7d5bfc918351a5963b041f69aac673 Mon Sep 17 00:00:00 2001
> From: Jozef Lawrynowicz <jozef.l@mittosystems.com>
> Date: Wed, 28 Aug 2019 17:54:22 +0100
> Subject: [PATCH 3/3] MSP430: Use default_elf_select_section to determine
> sections for data where possible
>
> gcc/ChangeLog:
>
> 2019-08-29 Jozef Lawrynowicz <jozef.l@mittosystems.com>
>
> * config/msp430/msp430.c (msp430_init_sections): Remove handling of the
> noinit section.
> (msp430_select_section): Handle decls with the "noinit" attribute with
> default_elf_select_section.
> Handle SECCAT_RODATA_MERGE_* section types with
> default_elf_select_section.
> Add comments about handling of unsupported section types.
> (msp430_section_type_flags): Remove handling of the noinit section.
And OK as well.
jeff
More information about the Gcc-patches
mailing list