Placement C++ uninitilized data into bss section.
Jeffrey A Law
law@cygnus.com
Wed Jun 30 23:15:00 GMT 1999
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
More information about the Gcc-patches
mailing list