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] Take 2 for PR19885 [4.0/4.1 Regression] avr dwarf-2 support is broken for head 4.0/4.1


Ok, 

Thank's Richard, now I got it. (Sorry if I've been a bit slow to understand.) 
Hope, I didn't drive you too crazy. 
With your suggestions the problem could now be resolved with a much smaller 
patch. Again the question, OK for Head and 4.0.x?

Yours,

Björn


2005-05-16  Bjoern Haase  <bjoern.m.haase@web.de>

	* config/avr/avr.c:
	(TARGET_ASM_ALIGNED_SI_OP): Add.
	(TARGET_ASM_UNALIGNED_HI_OP): Add.
	(TARGET_ASM_UNALIGNED_SI_OP): Add.
Index: avr.c
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/config/avr/avr.c,v
retrieving revision 1.135
diff -u -r1.135 avr.c
--- avr.c	5 May 2005 15:42:03 -0000	1.135
+++ avr.c	18 May 2005 19:07:53 -0000
@@ -228,6 +228,12 @@
 /* Initialize the GCC target structure.  */
 #undef TARGET_ASM_ALIGNED_HI_OP
 #define TARGET_ASM_ALIGNED_HI_OP "\t.word\t"
+#undef TARGET_ASM_ALIGNED_SI_OP
+#define TARGET_ASM_ALIGNED_SI_OP "\t.long\t"
+#undef TARGET_ASM_UNALIGNED_HI_OP
+#define TARGET_ASM_UNALIGNED_HI_OP "\t.word\t"
+#undef TARGET_ASM_UNALIGNED_SI_OP
+#define TARGET_ASM_UNALIGNED_SI_OP "\t.long\t"
 #undef TARGET_ASM_INTEGER
 #define TARGET_ASM_INTEGER avr_assemble_integer
 #undef TARGET_ASM_FILE_START

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