New Port: iq2000 ld
Stan Cox
scox@redhat.com
Tue Nov 26 08:24:00 GMT 2002
These are the ld changes for a new port to the Vitesse IQ2000.
* Makefile.am (ALL_EMULATIONS): Add eelf32iq2000.o.
(eelf32iq2000.c): New target.
* Makefile.in: Regenerate.
* configure.tgt: Handle iq2000-*-elf.
* emulparams/elf32iq10.sh: New file.
* emulparams/elf32iq2000.sh: New file.
* scripttempl/iq2000.sc: New file.
Index: ld/Makefile.am
===================================================================
RCS file: /cvs/uberbaum/./ld/Makefile.am,v
retrieving revision 1.112
diff -u -2 -p -r1.112 Makefile.am
--- ld/Makefile.am 28 Aug 2002 10:38:49 -0000 1.112
+++ ld/Makefile.am 26 Nov 2002 03:53:35 -0000
@@ -167,4 +167,6 @@ ALL_EMULATIONS = \
eelf32i370.o \
eelf32ip2k.o \
+ eelf32iq2000.o \
+ eelf32iq10.o \
eelf32l4300.o \
eelf32lmip.o \
@@ -660,4 +662,10 @@ eelf32ip2k.c: $(srcdir)/emulparams/elf32
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/ip2k.sc ${GEN_DEPENDS}
${GENSCRIPTS} elf32ip2k "$(tdir_ip2k)"
+eelf32iq2000.c: $(srcdir)/emulparams/elf32iq2000.sh \
+ $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/iq2000.sc ${GEN_DEPENDS}
+ ${GENSCRIPTS} elf32iq2000 "$(tdir_iq2000)"
+eelf32iq10.c: $(srcdir)/emulparams/elf32iq10.sh \
+ $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/iq2000.sc ${GEN_DEPENDS}
+ ${GENSCRIPTS} elf32iq10 "$(tdir_iq10)"
eelf64alpha.c: $(srcdir)/emulparams/elf64alpha.sh \
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
Index: ld/Makefile.in
===================================================================
RCS file: /cvs/uberbaum/./ld/Makefile.in,v
retrieving revision 1.121
diff -u -2 -p -r1.121 Makefile.in
--- ld/Makefile.in 28 Aug 2002 10:38:49 -0000 1.121
+++ ld/Makefile.in 26 Nov 2002 03:53:35 -0000
@@ -278,4 +278,6 @@ ALL_EMULATIONS = \
eelf32i370.o \
eelf32ip2k.o \
+ eelf32iq2000.o \
+ eelf32iq10.o \
eelf32l4300.o \
eelf32lmip.o \
@@ -1383,4 +1385,13 @@ eelf32ip2k.c: $(srcdir)/emulparams/elf32
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/ip2k.sc ${GEN_DEPENDS}
${GENSCRIPTS} elf32ip2k "$(tdir_ip2k)"
+eelf32ip2k.c: $(srcdir)/emulparams/elf32ip2k.sh \
+ $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/ip2k.sc ${GEN_DEPENDS}
+ ${GENSCRIPTS} elf32ip2k "$(tdir_ip2k)"
+eelf32iq2000.c: $(srcdir)/emulparams/elf32iq2000.sh \
+ $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/iq2000.sc ${GEN_DEPENDS}
+ ${GENSCRIPTS} elf32iq2000 "$(tdir_iq2000)"
+eelf32iq10.c: $(srcdir)/emulparams/elf32iq10.sh \
+ $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/iq2000.sc ${GEN_DEPENDS}
+ ${GENSCRIPTS} elf32iq10 "$(tdir_iq10)"
eelf64alpha.c: $(srcdir)/emulparams/elf64alpha.sh \
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
Index: ld/configure.tgt
===================================================================
RCS file: /cvs/uberbaum/./ld/configure.tgt,v
retrieving revision 1.110
diff -u -2 -p -r1.110 configure.tgt
--- ld/configure.tgt 6 Sep 2002 20:42:40 -0000 1.110
+++ ld/configure.tgt 26 Nov 2002 03:53:35 -0000
@@ -505,4 +505,5 @@ v850-*-*) targ_emul=v850 ;;
v850e-*-*) targ_emul=v850 ;;
v850ea-*-*) targ_emul=v850 ;;
+iq2000-*-elf) targ_emul=elf32iq2000 ; targ_extra_emuls="elf32iq10" ;;
frv-*-*) targ_emul=elf32frv ;;
w65-*-*) targ_emul=w65 ;;
Index: ld/emulparams/elf32iq10.sh
===================================================================
RCS file: ld/emulparams/elf32iq10.sh
diff -N ld/emulparams/elf32iq10.sh
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ ld/emulparams/elf32iq10.sh 26 Nov 2002 03:53:35 -0000
@@ -0,0 +1,11 @@
+MACHINE=
+SCRIPT_NAME=iq2000
+OUTPUT_FORMAT="elf32-iq2000"
+DATA_ADDR=0x1000
+TEXT_START_ADDR=0x80000000
+ARCH=iq2000
+ENTRY=_start
+EMBEDDED=yes
+ELFSIZE=32
+MAXPAGESIZE=256
+OTHER_RELOCATING_SECTIONS='PROVIDE (__stack = 0x1800);'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ld.iq2k.patch.gz
Type: application/x-gzip
Size: 4391 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20021126/2ec67ef6/attachment.bin>
More information about the Binutils
mailing list