This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib 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]

Re: AM33/2.0 support


On Jul 10, 2003, Alexandre Oliva <aoliva@redhat.com> wrote:

>> 2. If there is any possibility that both the __AM33__ and __AM33_2__ flags
>> can be on at the same time, change the assembler code to use #else unless
>> both assembler directives are required.

> Oops, I had missed this before I went ahead and checked the following
> patch in.  I'll go back and check whether .am33_2 by itself will do,
> if that's what you mean.  I'm pretty sure it will.

Sorry about the long delay.  Here's the patch I'm checking in.

Index: newlib/ChangeLog
from  Alexandre Oliva  <aoliva@redhat.com>

	* libc/machine/mn10300/setjmp.S: Never emit both .am33 and
	.am33_2.

Index: newlib/libc/machine/mn10300/setjmp.S
===================================================================
RCS file: /cvs/src/src/newlib/libc/machine/mn10300/setjmp.S,v
retrieving revision 1.3
diff -u -p -r1.3 setjmp.S
--- newlib/libc/machine/mn10300/setjmp.S 10 Jul 2003 19:04:43 -0000 1.3
+++ newlib/libc/machine/mn10300/setjmp.S 29 Jul 2003 06:09:23 -0000
@@ -4,10 +4,11 @@
 	.align 1
 	.global _setjmp
 #ifdef __AM33__
-	.am33
-#endif
 #ifdef __AM33_2__
 	.am33_2
+#else
+	.am33
+#endif
 #endif
 _setjmp:
         mov d0,a0
-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer

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