This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Placement C++ uninitilized data into bss section.
- To: Vladimir Makarov <vmakarov at cygnus dot com>
- Subject: Re: Placement C++ uninitilized data into bss section.
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Mon, 21 Jun 1999 11:13:33 -0600
- cc: egcs-patches at egcs dot cygnus dot com
- Reply-To: law at cygnus dot com
In message <199906211649.MAA22346@to.cygnus.com>you write:
>
> G++ for mips elf toolchains, m68k-elf, sh-{elf, hms}, thumb-elf places
> uninitialized data into data section which results in big object code.
> The following patch solves the problem. G++ will place the
> uninitialized data into bss section.
>
> Mon Jun 21 12:27:17 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
>
> * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
> Add the macros.
>
> * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
> Ditto.
>
> * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
> Ditto.
>
> * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
> Ditto.
Excellent. We should have made these changes long ago. Thanks for
taking care of these ports.
jeff