From: Bernardo Innocenti <bernie@develer.com>
To: binutils@sources.redhat.com, gdb-patches@sources.redhat.com
Subject: [PATCH] add m68k-uclinux-* target
Date: Sun, 21 Dec 2003 03:36:00 -0000 [thread overview]
Message-ID: <3FE51545.8070101@develer.com> (raw)
Hello,
these binutils/GDB patches add the required bits to enable
the m68k-*-uclinux-* target.
For years, the uClinux toolchain has been based on m68k-elf
with rogue patches. In 3.4, uClinux support has been merged
into GDB and binutils and the target triplet changed to
m68k-unknown-uclinux-uclibc.
So far, the only toolchain component that needs to handle
uClinux differently from m68k-elf is GCC, so these bits
are not strictly required except for consistency. These
additions are definitely required (but not sufficient)
to build the toolchain in a combined tree.
I have no CVS write access to the src repository, so
please commit these patches for me (the diffs don't
include the regenerated configure scripts).
2003-21-12 Bernardo Innocenti <bernie@develer.com>
* config.bfd: Add uClinux target.
* configure: Regenerate.
2003-21-12 Bernardo Innocenti <bernie@develer.com>
* configure.in: Add uClinux target.
* configure: Regenerate.
2003-21-12 Bernardo Innocenti <bernie@develer.com>
* configure.tgt: Add uClinux target.
* configure: Regenerate.
2003-21-12 Bernardo Innocenti <bernie@develer.com>
* configure.tgt: Add uClinux target.
* configure: Regenerate.
diff -u -p -r1.150 config.bfd
--- bfd/config.bfd 19 Dec 2003 11:43:52 -0000 1.150
+++ bfd/config.bfd 21 Dec 2003 02:56:31 -0000
@@ -651,7 +651,7 @@ case "${targ}" in
targ_defvec=m68kcoff_vec
targ_selvecs="m68kcoff_vec versados_vec ieee_vec aout0_big_vec"
;;
- m68*-*-elf* | m68*-*-sysv4*)
+ m68*-*-elf* | m68*-*-sysv4* | m68*-*-uclinux)
targ_defvec=bfd_elf32_m68k_vec
targ_selvecs="m68kcoff_vec ieee_vec"
;;
diff -u -p -r1.146 configure.in
--- gas/configure.in 19 Dec 2003 11:43:42 -0000 1.146
+++ gas/configure.in 21 Dec 2003 02:57:07 -0000
@@ -359,6 +359,7 @@ changequote([,])dnl
m68k-*-hpux*) fmt=hp300 em=hp300 ;;
m68k-*-linux*aout*) fmt=aout em=linux ;;
m68k-*-linux-gnu*) fmt=elf em=linux ;;
+ m68k-*-uclinux*) fmt=elf ;;
m68k-*-gnu*) fmt=elf ;;
m68k-*-lynxos*) fmt=coff em=lynx ;;
m68k-*-netbsdelf*) fmt=elf em=nbsd ;;
diff -u -p -r1.142 configure.tgt
--- ld/configure.tgt 19 Dec 2003 11:43:59 -0000 1.142
+++ ld/configure.tgt 21 Dec 2003 02:58:15 -0000
@@ -367,6 +367,7 @@ m68k-*-linux-gnu*) targ_emul=m68kelf
targ_extra_emuls=m68klinux
tdir_m68klinux=`echo ${targ_alias} | sed -e 's/linux/linuxaout/'`
;;
+m68k-*-uclinux*) targ_emul=m68kelf ;;
m68*-*-gnu*) targ_emul=m68kelf ;;
m68*-*-lynxos*) targ_emul=m68klynx ;;
m68*-*-netbsd*4k*) targ_emul=m68k4knbsd
diff -u -p -r1.122 configure.tgt
--- gdb/configure.tgt 1 Dec 2003 21:10:46 -0000 1.122
+++ gdb/configure.tgt 21 Dec 2003 02:57:39 -0000
@@ -120,6 +120,7 @@ m68*-tandem-*) gdb_target=st2000 ;;
m68*-*-aout*) gdb_target=monitor ;;
m68*-*-coff*) gdb_target=monitor ;;
m68*-*-elf*) gdb_target=monitor ;;
+m68*-*-uclinux*) gdb_target=monitor ;;
m68*-*-linux*) gdb_target=linux
build_gdbserver=yes
;;
--
// Bernardo Innocenti - Develer S.r.l., R&D dept.
\X/ http://www.develer.com/
next reply other threads:[~2003-12-21 3:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-21 3:36 Bernardo Innocenti [this message]
2003-12-22 6:05 ` Bernardo Innocenti
2004-01-02 16:38 ` Nick Clifton
2004-01-02 17:45 ` Daniel Jacobowitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3FE51545.8070101@develer.com \
--to=bernie@develer.com \
--cc=binutils@sources.redhat.com \
--cc=gdb-patches@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox