This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Implementing -fdata-sections for uninitialised data (resubmission)
- To: rth at cygnus dot com
- Subject: Re: Implementing -fdata-sections for uninitialised data (resubmission)
- From: Nick Clifton <nickc at cygnus dot com>
- Date: Mon, 3 Jan 2000 13:57:09 -0800
- CC: gcc-patches at gcc dot gnu dot org
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