This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
TARGET_ENCODE_SECTION_INFO for i386
- From: Danny Smith <danny_smith_0000 at yahoo dot co dot nz>
- To: jh at suse dot cz
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 1 Aug 2005 14:43:35 +1200 (NZST)
- Subject: TARGET_ENCODE_SECTION_INFO for i386
- Reply-to: dannysmith at users dot sourceforge dot net
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