Patches for mips-wrs-vxworks to build
Don Bowman
don@pixstream.com
Sun Dec 12 13:35:00 GMT 1999
The following minor patch allows mips-wrs-vxworks to build.
This is against the 1999-12-12 CVS latest.
There is a comment problem in the gcc/config/mips/vxworks.h
file (from a cut and paste I think), and the .sbss section
is missing from EXTRA_SECTIONS, causing varasm.c to not
build.
1999-12-12 Don Bowman <don@pixstream.com>
* vxworks.h : Fix problem with comment termination.
Add sbss to EXTRA_SECTIONS
Index: egcs/gcc/config/mips/vxworks.h
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/mips/vxworks.h,v
retrieving revision 1.2
diff -C3 -r1.2 vxworks.h
*** vxworks.h 1999/09/04 15:08:59 1.2
--- vxworks.h 1999/12/12 21:28:00
***************
*** 1,4 ****
! /* Copyright (C) 1999 Free Software Foundation, Inc. */
This file is part of GNU CC.
--- 1,4 ----
! /* Copyright (C) 1999 Free Software Foundation, Inc.
This file is part of GNU CC.
***************
*** 25,31 ****
#undef DTORS_SECTION_ASM_OP
#undef EXTRA_SECTIONS
! #define EXTRA_SECTIONS in_sdata, in_rdata
#undef INVOKE__main
#undef NAME__MAIN
--- 25,31 ----
#undef DTORS_SECTION_ASM_OP
#undef EXTRA_SECTIONS
! #define EXTRA_SECTIONS in_sdata, in_rdata, in_sbss
#undef INVOKE__main
#undef NAME__MAIN
***************
*** 34,39 ****
--- 34,40 ----
#undef EXTRA_SECTION_FUNCTIONS
#define EXTRA_SECTION_FUNCTIONS \
SECTION_FUNCTION_TEMPLATE(sdata_section, in_sdata, SDATA_SECTION_ASM_OP)
\
+ SECTION_FUNCTION_TEMPLATE(sbss_section, in_sbss, SBSS_SECTION_ASM_OP) \
SECTION_FUNCTION_TEMPLATE(rdata_section, in_rdata, RDATA_SECTION_ASM_OP)
#undef ASM_OUTPUT_CONSTRUCTOR
begin 600 Don Bowman (E-mail).vcf
`
end
More information about the Gcc-patches
mailing list