This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: AM33/2.0 support for mn10300-elf
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: gdb-patches at sources dot redhat dot com, bug-dejagnu at gnu dot org
- Date: 10 Jul 2003 00:31:38 -0300
- Subject: Re: AM33/2.0 support for mn10300-elf
- Organization: GCC Team, Red Hat
- References: <or65mb13hy.fsf@free.redhat.lsd.ic.unicamp.br>
On Jul 10, 2003, Alexandre Oliva <aoliva@redhat.com> 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?
Index: dejagnu/ChangeLog
from Alexandre Oliva <aoliva@redhat.com>
2000-11-21 Drew Moseley <dmoseley@redhat.com>
* baseboards/mn10300-cygmon.exp: Use the am33-2 flag for the
ASB2303 board.
2000-08-10 Drew Moseley <dmoseley@cygnus.com>
* 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";
--
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