This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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] msp430 add new subdevices.


Fellows,

the linker patches below counts the new subdevices of msp430 family, recently 
announced by Texas Instruments.

Cheers,
Dmitry.



2003-03-04  Dmitry Diky  <diwil at mail dot ru>
	ld/Makefile.am: Add new devices x1122 x1132 emulation
	ld/configure.tgt: Likewise.
	ld/emulparams/msp430x1122.sh: New file.msp430x1122 emulation params.
	ld/emulparams/msp430x1132.sh: New file.msp430x1132 emulation params.


Index: Makefile.am
===================================================================
RCS file: /cvs/src/src/ld/Makefile.am,v
retrieving revision 1.124
diff -c -3 -p -r1.124 Makefile.am
*** Makefile.am 25 Feb 2003 10:32:33 -0000      1.124
--- Makefile.am 4 Mar 2003 16:20:11 -0000
*************** ALL_EMULATIONS = \
*** 250,255 ****
--- 250,257 ----
        emsp430x1101.o \
        emsp430x1111.o \
        emsp430x1121.o \
+       emsp430x1122.o \
+       emsp430x1132.o \
        emsp430x1331.o \
        emsp430x1351.o \
        emsp430x149.o \
*************** emsp430x1121.c: $(srcdir)/emulparams/msp
*** 1004,1009 ****
--- 1006,1019 ----
    $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
    ${GEN_DEPENDS}
        ${GENSCRIPTS} msp430x1121 "$(tdir_msp430x1121)"
+ emsp430x1122.c: $(srcdir)/emulparams/msp430x1122.sh \
+   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
+   ${GEN_DEPENDS}
+       ${GENSCRIPTS} msp430x1122 "$(tdir_msp430x1122)"
+ emsp430x1132.c: $(srcdir)/emulparams/msp430x1132.sh \
+   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
+   ${GEN_DEPENDS}
+       ${GENSCRIPTS} msp430x1132 "$(tdir_msp430x1132)"
  emsp430x1331.c: $(srcdir)/emulparams/msp430x1331.sh \
    $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
    ${GEN_DEPENDS}
Index: configure.tgt
===================================================================
RCS file: /cvs/src/src/ld/configure.tgt,v
retrieving revision 1.119
diff -c -3 -p -r1.119 configure.tgt
*** configure.tgt       11 Feb 2003 13:47:08 -0000      1.119
--- configure.tgt       4 Mar 2003 16:20:12 -0000
*************** mmix-*-*)               targ_emul=mmo
*** 429,435 ****
  mn10200-*-*)          targ_emul=mn10200 ;;
  mn10300-*-*)          targ_emul=mn10300 ;;
  msp430-*-*)             targ_emul=msp430x149
!                         targ_extra_emuls="msp430x148 msp430x147 msp430x133 msp430x135 msp430x110 msp430x112 msp430x122 msp430x123 msp430x412 msp430x413 msp430x311 msp430x312 msp430x313 msp430x314 msp430x315 msp430x323 msp430x325 msp430x336 msp430x337 msp430x1101 msp430x1111 msp430x1121 msp430x1331 msp430x1351 msp430x435 msp430x436 msp430x437 msp430x447 msp430x448 msp430x449 msp430x1222 msp430x1232 msp430x169 msp430x168 msp430x167 msp430x155  msp430x156 msp430x157" ;;
  alpha*-*-freebsd*)    targ_emul=elf64alpha_fbsd
                        targ_extra_emuls="elf64alpha alpha"
                        tdir_alpha=`echo ${targ_alias} | sed -e 's/freebsd/freebsdecoff/'`
--- 429,435 ----
  mn10200-*-*)          targ_emul=mn10200 ;;
  mn10300-*-*)          targ_emul=mn10300 ;;
  msp430-*-*)             targ_emul=msp430x149
!                         targ_extra_emuls="msp430x148 msp430x147 msp430x133 msp430x135 msp430x110 msp430x112 msp430x122 msp430x123 msp430x412 msp430x413 msp430x311 msp430x312 msp430x313 msp430x314 msp430x315 msp430x323 msp430x325 msp430x336 msp430x337 msp430x1101 msp430x1111 msp430x1121 msp430x1331 msp430x1351 msp430x435 msp430x436 msp430x437 msp430x447 msp430x448 msp430x449 msp430x1222 msp430x1232 msp430x169 msp430x168 msp430x167 msp430x155  msp430x156 msp430x157 msp430x1122 msp430x1132" ;;
  alpha*-*-freebsd*)    targ_emul=elf64alpha_fbsd
                        targ_extra_emuls="elf64alpha alpha"
                        tdir_alpha=`echo ${targ_alias} | sed -e 's/freebsd/freebsdecoff/'`
diff -c3pN binutils.orig/ld/emulparams/msp430x1122.sh binutils/ld/emulparams/msp430x1122.sh
*** binutils.orig/ld/emulparams/msp430x1122.sh  Thu Jan  1 03:00:00 1970
--- binutils/ld/emulparams/msp430x1122.sh       Tue Mar  4 18:41:31 2003
***************
*** 0 ****
--- 1,14 ----
+ ARCH=msp:110
+ MACHINE=
+ SCRIPT_NAME=elf32msp430
+ OUTPUT_FORMAT="elf32-msp430"
+ MAXPAGESIZE=1
+ EMBEDDED=yes
+ TEMPLATE_NAME=generic
+
+ ROM_START=0xf000
+ ROM_SIZE=0x0fe0
+ RAM_START=0x0200
+ RAM_SIZE=256
+
+ STACK=0x300
diff -c3pN binutils.orig/ld/emulparams/msp430x1132.sh binutils/ld/emulparams/msp430x1132.sh
*** binutils.orig/ld/emulparams/msp430x1132.sh  Thu Jan  1 03:00:00 1970
--- binutils/ld/emulparams/msp430x1132.sh       Tue Mar  4 18:47:13 2003
***************
*** 0 ****
--- 1,14 ----
+ ARCH=msp:110
+ MACHINE=
+ SCRIPT_NAME=elf32msp430
+ OUTPUT_FORMAT="elf32-msp430"
+ MAXPAGESIZE=1
+ EMBEDDED=yes
+ TEMPLATE_NAME=generic
+
+ ROM_START=0xe000
+ ROM_SIZE=0x1fe0
+ RAM_START=0x0200
+ RAM_SIZE=256
+
+ STACK=0x300

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