Re: [PATCH, GCC/ARM] Define arm_arch_core_flags in a single file

2016-12-14 Thread Christophe Lyon
Hi Thomas, On 9 December 2016 at 17:56, Thomas Preudhomme wrote: > Hi, > > This patch moves the definition of arm_arch_core_flags along with the > declaration of its structure element type to common/config/arm/arm-common.c > so that it is not *defined* in all object files including tm.h. Otherwis

Re: [PATCH, GCC/ARM] Define arm_arch_core_flags in a single file

2016-12-10 Thread Richard Earnshaw (lists)
On 09/12/16 16:56, Thomas Preudhomme wrote: > Hi, > > This patch moves the definition of arm_arch_core_flags along with the > declaration of its structure element type to > common/config/arm/arm-common.c so that it is not *defined* in all object > files including tm.h. Otherwise, GCC gets bloated

[arm-embedded] [PATCH, GCC/ARM] Define arm_arch_core_flags in a single file

2016-12-09 Thread Thomas Preudhomme
We have decided to apply the patch proposed for trunk to solve the bloating of arm_arch_core_flags structure in GCC and files compiled by it to ARM embedded-6-branch. ChangeLog.arm entry is as follows: *** gcc/ChangeLog.arm *** 2016-12-09 Thomas Preud'homme gcc/ * config/

[PATCH, GCC/ARM] Define arm_arch_core_flags in a single file

2016-12-09 Thread Thomas Preudhomme
Hi, This patch moves the definition of arm_arch_core_flags along with the declaration of its structure element type to common/config/arm/arm-common.c so that it is not *defined* in all object files including tm.h. Otherwise, GCC gets bloated with as many copy of that array as there is file inc