Subject: [thorpej@netbsd.org: CVS commit: gnusrc/gnu/dist/toolchain]
To: None <port-sh3@netbsd.org>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: port-sh3
Date: 12/14/2001 18:30:38
This is for USE_NEW_TOOLCHAIN. I'm ignoring native COFF support; if
you need it, use objcopy :-)
Also, this ELF target DOES NOT use underscores. This is consistent
with other NetBSD ELF targets as well as Linux/SH.
To build this toolchain, you can:
USE_NEW_TOOLCHAIN=yes OBJECT_FMT=ELF ./build.sh -t -m evbsh3
or
USE_NEW_TOOLCHAIN=yes OBJECT_FMT=ELF ./build.sh -t -m dreamcast
(sh-unknown-netbsdelf and shle-unknown-netbsdelf, respectively).
I haven't done gdb yet; I'll burn that bridge later. But it seems
to compile happy kernels for my Dreamcast (shle-unknown-netbsdelf).
----- Forwarded message from Jason R Thorpe <thorpej@netbsd.org> -----
To: source-changes@netbsd.org
Date: Sat, 15 Dec 2001 04:18:28 +0200 (EET)
From: Jason R Thorpe <thorpej@netbsd.org>
Subject: CVS commit: gnusrc/gnu/dist/toolchain
Module Name: gnusrc
Committed By: thorpej
Date: Sat Dec 15 02:18:28 UTC 2001
Modified Files:
gnusrc/gnu/dist/toolchain: configure.in
gnusrc/gnu/dist/toolchain/bfd: Makefile.am Makefile.in config.bfd
configure configure.in targets.c
gnusrc/gnu/dist/toolchain/gas: configure configure.in
gnusrc/gnu/dist/toolchain/gas/config: tc-sh.h
gnusrc/gnu/dist/toolchain/gcc: configure configure.in
gnusrc/gnu/dist/toolchain/ld: Makefile.am Makefile.in configure.tgt
Added Files:
gnusrc/gnu/dist/toolchain/bfd: elf32-sh-nbsd.c
gnusrc/gnu/dist/toolchain/gcc/config/sh: netbsd-elf-little.h
netbsd-elf.h
gnusrc/gnu/dist/toolchain/ld/emulparams: shelf_nbsd.sh shlelf_nbsd.sh
Removed Files:
gnusrc/gnu/dist/toolchain/bfd: elf32-shunx.c
Log Message:
Add support for building sh-*-netbsdelf (elf32-sh-big) and
shle-*-netbsdelf (elf32-sh-little).
To generate a diff of this commit:
cvs rdiff -r1.12 -r1.13 gnusrc/gnu/dist/toolchain/configure.in
cvs rdiff -r1.5 -r1.6 gnusrc/gnu/dist/toolchain/bfd/Makefile.am \
gnusrc/gnu/dist/toolchain/bfd/Makefile.in
cvs rdiff -r1.10 -r1.11 gnusrc/gnu/dist/toolchain/bfd/config.bfd
cvs rdiff -r1.12 -r1.13 gnusrc/gnu/dist/toolchain/bfd/configure
cvs rdiff -r1.11 -r1.12 gnusrc/gnu/dist/toolchain/bfd/configure.in
cvs rdiff -r0 -r1.1 gnusrc/gnu/dist/toolchain/bfd/elf32-sh-nbsd.c
cvs rdiff -r1.1 -r0 gnusrc/gnu/dist/toolchain/bfd/elf32-shunx.c
cvs rdiff -r1.6 -r1.7 gnusrc/gnu/dist/toolchain/bfd/targets.c
cvs rdiff -r1.10 -r1.11 gnusrc/gnu/dist/toolchain/gas/configure \
gnusrc/gnu/dist/toolchain/gas/configure.in
cvs rdiff -r1.4 -r1.5 gnusrc/gnu/dist/toolchain/gas/config/tc-sh.h
cvs rdiff -r1.14 -r1.15 gnusrc/gnu/dist/toolchain/gcc/configure \
gnusrc/gnu/dist/toolchain/gcc/configure.in
cvs rdiff -r0 -r1.1 \
gnusrc/gnu/dist/toolchain/gcc/config/sh/netbsd-elf-little.h \
gnusrc/gnu/dist/toolchain/gcc/config/sh/netbsd-elf.h
cvs rdiff -r1.7 -r1.8 gnusrc/gnu/dist/toolchain/ld/Makefile.am \
gnusrc/gnu/dist/toolchain/ld/Makefile.in
cvs rdiff -r1.10 -r1.11 gnusrc/gnu/dist/toolchain/ld/configure.tgt
cvs rdiff -r0 -r1.1 gnusrc/gnu/dist/toolchain/ld/emulparams/shelf_nbsd.sh \
gnusrc/gnu/dist/toolchain/ld/emulparams/shlelf_nbsd.sh
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
----- End forwarded message -----
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>