This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch,AVR]: PR18145: do_copy_data & do_clear_bss only if needed


Anatoly Sokolov schrieb:
> 
> Hi.
> 
>>
>> This patch now uses the same procedure like elfos.h
>>
> ...
>> +#define ASM_OUTPUT_ALIGNED_DECL_COMMON(STREAM, DECL, NAME, SIZE,
>> ALIGN) \
>> +  avr_asm_output_aligned_common (STREAM, NAME, SIZE, ALIGN, false)
> ..
>> +#define ASM_OUTPUT_ALIGNED_DECL_LOCAL(STREAM, DECL, NAME, SIZE, ALIGN) \
>> +  avr_asm_output_aligned_common (STREAM, NAME, SIZE, ALIGN, true)
>>
> 
> 
> The GCC have three macro ASM_OUTPUT_COMMON, ASM_OUTPUT_ALIGNED_COMMON
> and ASM_OUTPUT_ALIGNED_DECL_COMMON for output  common label in stream,
> eventually only one most flexible ASM_OUTPUT_ALIGNED_DECL_COMMON macro
> should be left. The same for local common label. Please use
> ASM_OUTPUT_ALIGNED_DECL_COMMON  and ASM_OUTPUT_ALIGNED_DECL_LOCAL macros
> here.

Confused. These macros are used.

Johann

> 
> Anatoly.
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]