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]

Define HANDLE_PRAGMA_PUSH_POP for mips*-elf targets


This patch fixes the _Pragma6.c failures on mips*-elf targets.
Although we could just say that the pragmas are not supported on this
target, and skip the test, I see no reason not to support them.

Tested on mipsisa64-elf and applied.

Richard


gcc/
	* config/mips/elf.h (HANDLE_PRAGMA_PUSH_POP): Define.

Index: gcc/config/mips/elf.h
===================================================================
--- gcc/config/mips/elf.h	(revision 117551)
+++ gcc/config/mips/elf.h	(working copy)
@@ -50,3 +50,5 @@ #define STARTFILE_SPEC "crti%O%s crtbegi
 #define ENDFILE_SPEC "crtend%O%s crtn%O%s"
 
 #define NO_IMPLICIT_EXTERN_C 1
+
+#define HANDLE_PRAGMA_PACK_PUSH_POP 1


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