* [PATCH] Add support for s390x-ibm-tpf
@ 2004-12-16 12:55 Ulrich Weigand
2004-12-16 15:54 ` Nick Clifton
0 siblings, 1 reply; 2+ messages in thread
From: Ulrich Weigand @ 2004-12-16 12:55 UTC (permalink / raw)
To: binutils; +Cc: darcypj
Hello,
this patch adds binutils support for the s390x-ibm-tpf target
(as cross-target only). GCC already supports this target.
The actual implementation doesn't differ from the s390x-ibm-linux
target, so this patch only adds the required configure fragments.
Patch provided by P.J. Darcy <darcypj@us.ibm.com> of the TPF team.
Is this patch OK for binutils CVS?
Bye,
Ulrich
ChangeLog:
2004-12-14 P.J. Darcy <darcypj@us.ibm.com>
* bfd/config.bfd: Add s390x-ibm-tpf support.
* ld/configure.tgt: Likewise.
* gas/configure.in: Likewise.
* gas/configure: Regenerate.
Index: bfd/config.bfd
===================================================================
RCS file: /cvs/src/src/bfd/config.bfd,v
retrieving revision 1.178
diff -c -p -r1.178 config.bfd
*** bfd/config.bfd 8 Nov 2004 13:17:33 -0000 1.178
--- bfd/config.bfd 16 Dec 2004 11:51:59 -0000
*************** case "${targ}" in
*** 1059,1064 ****
--- 1059,1067 ----
targ_defvec=bfd_elf64_s390_vec
targ_selvecs=bfd_elf32_s390_vec
;;
+ s390x-*-tpf*)
+ targ_defvec=bfd_elf64_s390_vec
+ ;;
#endif
#ifdef BFD64
Index: gas/configure
===================================================================
RCS file: /cvs/src/src/gas/configure,v
retrieving revision 1.183
diff -c -p -r1.183 configure
*** gas/configure 3 Dec 2004 01:22:14 -0000 1.183
--- gas/configure 16 Dec 2004 11:52:00 -0000
*************** echo "$as_me: error: Solaris must be con
*** 4533,4538 ****
--- 4533,4539 ----
s390x-*-linux-gnu*) fmt=elf em=linux ;;
s390-*-linux-gnu*) fmt=elf em=linux ;;
+ s390-*-tpf*) fmt=elf ;;
sh*-*-linux*) fmt=elf em=linux
case ${cpu} in
Index: gas/configure.in
===================================================================
RCS file: /cvs/src/src/gas/configure.in,v
retrieving revision 1.166
diff -c -p -r1.166 configure.in
*** gas/configure.in 3 Dec 2004 01:22:13 -0000 1.166
--- gas/configure.in 16 Dec 2004 11:52:00 -0000
*************** changequote([,])dnl
*** 462,467 ****
--- 462,468 ----
s390x-*-linux-gnu*) fmt=elf em=linux ;;
s390-*-linux-gnu*) fmt=elf em=linux ;;
+ s390-*-tpf*) fmt=elf ;;
sh*-*-linux*) fmt=elf em=linux
case ${cpu} in
Index: ld/configure.tgt
===================================================================
RCS file: /cvs/src/src/ld/configure.tgt,v
retrieving revision 1.160
diff -c -p -r1.160 configure.tgt
*** ld/configure.tgt 19 Nov 2004 19:28:40 -0000 1.160
--- ld/configure.tgt 16 Dec 2004 11:52:01 -0000
*************** s390x-*-linux*) targ_emul=elf64_
*** 565,570 ****
--- 565,572 ----
targ_extra_emuls=elf_s390
targ_extra_libpath=$targ_extra_emuls
tdir_elf_s390=`echo ${targ_alias} | sed -e 's/s390x/s390/'` ;;
+ s390x-*-tpf*) targ_emul=elf64_s390
+ tdir_elf_s390=`echo ${targ_alias} | sed -e 's/s390x/s390/'` ;;
s390-*-linux*) targ_emul=elf_s390
if test "${want64}" = "true"; then
targ_extra_emuls=elf64_s390
--
Dr. Ulrich Weigand
Linux on zSeries Development
Ulrich.Weigand@de.ibm.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Add support for s390x-ibm-tpf
2004-12-16 12:55 [PATCH] Add support for s390x-ibm-tpf Ulrich Weigand
@ 2004-12-16 15:54 ` Nick Clifton
0 siblings, 0 replies; 2+ messages in thread
From: Nick Clifton @ 2004-12-16 15:54 UTC (permalink / raw)
To: Ulrich Weigand; +Cc: binutils, darcypj
Hi Ulrich,
> 2004-12-14 P.J. Darcy <darcypj@us.ibm.com>
>
> * bfd/config.bfd: Add s390x-ibm-tpf support.
> * ld/configure.tgt: Likewise.
> * gas/configure.in: Likewise.
> * gas/configure: Regenerate.
Approved and applied.
Note - I have separated out the ChangeLog entries into the relevant
sub-directories.
Cheers
Nick
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-12-16 15:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-16 12:55 [PATCH] Add support for s390x-ibm-tpf Ulrich Weigand
2004-12-16 15:54 ` Nick Clifton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).