Re: AM33/2.0 support for mn10300-elf

Alexandre Oliva <[email protected]>
Newsgroups gmane.comp.gdb.patches,gmane.comp.sysutils.dejagnu.bugs
Organization GCC Team, Red Hat
Message-ID <[email protected]>
On Jul 10, 2003, Alexandre Oliva <[email protected]> wrote:

> This patch introduces support for AM33/2.0, that adds a
> single-precision floating-point unit to AM33.  The GCC and binutils
> corresponding patches are already in the corresponding CVS trees;
> newlib has just been posted for review.  Ok to install?

These are the dejagnu bits, posted separately for convenience of the
DejaGNU maintainer :-)  Ok for the GDB repository?


-- 
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
dejagnu-am33-2.patch (text/x-patch, 1.1 KB)
Index: dejagnu/ChangeLog
from  Alexandre Oliva  <[email protected]>

	2000-11-21  Drew Moseley  <[email protected]>
	* baseboards/mn10300-cygmon.exp: Use the am33-2 flag for the
	ASB2303 board.
	2000-08-10  Drew Moseley  <[email protected]>
	* baseboards/mn10300-cygmon.exp: Added support for Cygmon based ASB2303 board.

Index: dejagnu/baseboards/mn10300-cygmon.exp
===================================================================
RCS file: /cvs/uberbaum/dejagnu/baseboards/mn10300-cygmon.exp,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 mn10300-cygmon.exp
--- dejagnu/baseboards/mn10300-cygmon.exp 9 Nov 1999 01:28:42 -0000 1.1.1.1
+++ dejagnu/baseboards/mn10300-cygmon.exp 9 Jul 2003 22:55:32 -0000
@@ -15,6 +15,9 @@ set_board_info ldflags  "[libgloss_link_
 
 # CygMON linker script.
 set_board_info ldscript "-Teval.ld"
+if {[string compare [board_info $board boardtype] "asb2303"] == 0} {
+    set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags] [board_info $board addl_link_flags] -mno-crt0 -mam33-2";
+    set_board_info ldscript "-mam33-2 -Tasb2303.ld"
 
 # Standard remote protocol.
 set_board_info gdb_protocol "remote";
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.