Implementing -fdata-sections for uninitialised data (resubmission)

Nick Clifton nickc@cygnus.com
Mon Jan 3 13:57:00 GMT 2000


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





More information about the Gcc-patches mailing list