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]

[patch] system.h: Poison UNALIGNED_WORD_ASM_OP.


Hi,

Attached is a patch to poison UNALIGNED_WORD_ASM_OP as it has been
removed by:

2001-03-02  Richard Henderson  <rth@redhat.com>

	* Makefile.in (OBJS): Add dwarf2asm.o.
	* dwarf2asm.c, dwarf2asm.h: New files.
	* dwarf2out.c (*): Use them.
	:
	:

Bootstrapped on x86_64-pc-linux-gnu.  OK to apply?

Kazu Hirata

2006-03-14  Kazu Hirata  <kazu@codesourcery.com>

	* config/bfin/bfin.h (UNALIGNED_WORD_ASM_OP): Remove.
	* system.h (UNALIGNED_WORD_ASM_OP): Poison.

Index: config/bfin/bfin.h
===================================================================
--- config/bfin/bfin.h	(revision 112046)
+++ config/bfin/bfin.h	(working copy)
@@ -1126,10 +1126,6 @@ extern struct rtx_def *bfin_cc_rtx, *bfi
 /* This works for GAS and some other assemblers.  */
 #define SET_ASM_OP              ".set "
 
-/* Don't know how to order these.  UNALIGNED_WORD_ASM_OP is in
-   dwarf2.out. */
-#define UNALIGNED_WORD_ASM_OP ".4byte"
-
 /* DBX register number for a given compiler register number */
 #define DBX_REGISTER_NUMBER(REGNO)  (REGNO) 
 
Index: system.h
===================================================================
--- system.h	(revision 112046)
+++ system.h	(working copy)
@@ -734,7 +734,7 @@ extern void fancy_abort (const char *, i
 	EXTRA_SECTIONS EXTRA_SECTION_FUNCTIONS READONLY_DATA_SECTION	   \
 	TARGET_ASM_EXCEPTION_SECTION TARGET_ASM_EH_FRAME_SECTION	   \
 	SMALL_ARG_MAX ASM_OUTPUT_SHARED_BSS ASM_OUTPUT_SHARED_COMMON	   \
-	ASM_OUTPUT_SHARED_LOCAL
+	ASM_OUTPUT_SHARED_LOCAL UNALIGNED_WORD_ASM_OP
 
 /* Hooks that are no longer used.  */
  #pragma GCC poison LANG_HOOKS_FUNCTION_MARK LANG_HOOKS_FUNCTION_FREE	\


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