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]

Re: Implementing -fdata-sections for uninitialised data (resubmission)


Hi Richard,

: On Mon, Jan 03, 2000 at 12:32:35PM -0800, Nick Clifton wrote:
: > 	* varasm.c (asm_emit_uninitialised): If flag_data_sections is
: >         true, then attempt to use ASM_OUTPUT_UNIQUE_BSS or
: >         ASM_OUTPUT_UNIQUE_LOCAL to emit the variable.
: 
: What's wrong with using the existing UNIQUE_SECTION?
: It has all the information it requires...

Because I wanted to avoid potentially introducing bugs into other
toolchains by calling UNIQUE_SECTION for a decl type that the macro
might not be expecting.  By creating new macros I avoid any
possibility of breaking these other toolchains.

Cheers
	Nick




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