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]
Other format: [Raw text]

TARGET_ENCODE_SECTION_INFO for i386


This patch
2005-07-31  Jan Hubicka  <jh@suse.cz>
...
	* i386.c (ix86_section_threshold): New static variable.
	(ix86_in_large_data_p, ix86_encode_section_info,
	x86_64_elf_unique_section,
	x86_64_elf_select_section): New functions.
	(TARGET_ENCODE_SECTION_INFO): Define

cause breakage of mingw/cygwin subtargets becuase it overrides the TARGET_ENCODE_SECTION_INFO
in i386/winnt.c

Putting the TARGET_ENCODE_SECTION_INFO define into i386.h and ix86_encode_section_info proto into
ii386-protos.h instead would help by allowing cygming.h to overide it.  The
i386_pe_encode_section_info function in winnt.c could then just call ix86_encode_section_info
iinstead of calling the default version.




Send instant messages to your online friends http://au.messenger.yahoo.com 


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