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: Placement C++ uninitilized data into bss section.


  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


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