This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
patch to config/sparc/sysv4.h
- To: egcs-patches at cygnus dot com
- Subject: patch to config/sparc/sysv4.h
- From: "Catherine L. Moore" <clm at cygnus dot com>
- Date: Tue, 06 Oct 1998 11:04:42 -0500
- cc: clm at cygnus dot com
The following change is required to support section
garbage collection for the sparc. Okay to install?
Thanks,
Catherine
Index: sysv4.h
===================================================================
RCS file: /cvs/cvsfiles/devo/gcc/config/sparc/sysv4.h,v
retrieving revision 1.38
diff -c -r1.38 sysv4.h
*** sysv4.h 1998/08/21 07:30:14 1.38
--- sysv4.h 1998/10/06 14:39:25
***************
*** 193,200 ****
#define ASM_OUTPUT_SECTION_NAME(FILE, DECL, NAME, RELOC) \
do { \
if ((DECL) && TREE_CODE (DECL) == FUNCTION_DECL) \
! fprintf (FILE, ".section\t\"%s%s\",#alloc,#execinstr\n", \
! flag_function_sections ? ".text%" : "", (NAME)); \
else if ((DECL) && DECL_READONLY_SECTION (DECL, RELOC)) \
fprintf (FILE, ".section\t\"%s\",#alloc\n", (NAME)); \
else \
--- 193,200 ----
#define ASM_OUTPUT_SECTION_NAME(FILE, DECL, NAME, RELOC) \
do { \
if ((DECL) && TREE_CODE (DECL) == FUNCTION_DECL) \
! fprintf (FILE, ".section\t\"%s\",#alloc,#execinstr\n", \
! (NAME)); \
else if ((DECL) && DECL_READONLY_SECTION (DECL, RELOC)) \
fprintf (FILE, ".section\t\"%s\",#alloc\n", (NAME)); \
else \