This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: tidy mips file switching hack
- To: gcc-patches at gcc dot gnu dot org
- Subject: Re: tidy mips file switching hack
- From: Richard Henderson <rth at redhat dot com>
- Date: Fri, 17 Aug 2001 12:39:24 -0700
- References: <20010817120219.A13754@redhat.com>
Doh!
r~
* config/mips/elf.h, config/mips/elf64.h, config/mips/netbsd.h,
config/mips/openbsd.h: Fix typos last change.
Index: elf64.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/mips/elf64.h,v
retrieving revision 1.31
diff -c -p -d -r1.31 elf64.h
*** elf64.h 2001/08/17 18:57:50 1.31
--- elf64.h 2001/08/17 19:37:20
*************** do { \
*** 82,93 ****
switching, then we need a custom TARGET_ASM_NAMED_SECTION too. */
#undef TEXT_SECTION
! #define TEXT_SECTION()
! do {
! if (TARGET_FILE_SWITCHING)
! abort ();
! fputs (TEXT_SECTION_ASM_OP, asm_out_file);
! fputc ('\n', asm_out_file);
} while (0)
/* The following macro defines the format used to output the second
--- 82,93 ----
switching, then we need a custom TARGET_ASM_NAMED_SECTION too. */
#undef TEXT_SECTION
! #define TEXT_SECTION() \
! do { \
! if (TARGET_FILE_SWITCHING) \
! abort (); \
! fputs (TEXT_SECTION_ASM_OP, asm_out_file); \
! fputc ('\n', asm_out_file); \
} while (0)
/* The following macro defines the format used to output the second
Index: elf.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/mips/elf.h,v
retrieving revision 1.29
diff -c -p -d -r1.29 elf.h
*** elf.h 2001/08/17 18:57:50 1.29
--- elf.h 2001/08/17 19:37:20
*************** do { \
*** 65,76 ****
switching, then we need a custom TARGET_ASM_NAMED_SECTION too. */
#undef TEXT_SECTION
! #define TEXT_SECTION()
! do {
! if (TARGET_FILE_SWITCHING)
! abort ();
! fputs (TEXT_SECTION_ASM_OP, asm_out_file);
! fputc ('\n', asm_out_file);
} while (0)
/* The following macro defines the format used to output the second
--- 65,76 ----
switching, then we need a custom TARGET_ASM_NAMED_SECTION too. */
#undef TEXT_SECTION
! #define TEXT_SECTION() \
! do { \
! if (TARGET_FILE_SWITCHING) \
! abort (); \
! fputs (TEXT_SECTION_ASM_OP, asm_out_file); \
! fputc ('\n', asm_out_file); \
} while (0)
/* The following macro defines the format used to output the second
Index: netbsd.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/mips/netbsd.h,v
retrieving revision 1.10
diff -c -p -d -r1.10 netbsd.h
*** netbsd.h 2001/08/17 18:57:51 1.10
--- netbsd.h 2001/08/17 19:37:20
*************** do { \
*** 210,221 ****
TARGET_ASM_NAMED_SECTION too. */
#undef TEXT_SECTION
! #define TEXT_SECTION()
! do {
! if (TARGET_FILE_SWITCHING)
! abort ();
! fputs (TEXT_SECTION_ASM_OP, asm_out_file);
! fputc ('\n', asm_out_file);
} while (0)
/* Since gas and gld are standard on NetBSD, we don't need these */
--- 210,221 ----
TARGET_ASM_NAMED_SECTION too. */
#undef TEXT_SECTION
! #define TEXT_SECTION() \
! do { \
! if (TARGET_FILE_SWITCHING) \
! abort (); \
! fputs (TEXT_SECTION_ASM_OP, asm_out_file); \
! fputc ('\n', asm_out_file); \
} while (0)
/* Since gas and gld are standard on NetBSD, we don't need these */
Index: openbsd.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/mips/openbsd.h,v
retrieving revision 1.5
diff -c -p -d -r1.5 openbsd.h
*** openbsd.h 2001/08/17 18:57:51 1.5
--- openbsd.h 2001/08/17 19:37:21
*************** Boston, MA 02111-1307, USA. */
*** 112,123 ****
TARGET_ASM_NAMED_SECTION too. */
#undef TEXT_SECTION
! #define TEXT_SECTION()
! do {
! if (TARGET_FILE_SWITCHING)
! abort ();
! fputs (TEXT_SECTION_ASM_OP, asm_out_file);
! fputc ('\n', asm_out_file);
} while (0)
/* collect2 support (Macros for initialization). */
--- 112,123 ----
TARGET_ASM_NAMED_SECTION too. */
#undef TEXT_SECTION
! #define TEXT_SECTION() \
! do { \
! if (TARGET_FILE_SWITCHING) \
! abort (); \
! fputs (TEXT_SECTION_ASM_OP, asm_out_file); \
! fputc ('\n', asm_out_file); \
} while (0)
/* collect2 support (Macros for initialization). */