Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/binutils/dist/bfd try to adjust riscv
details: https://anonhg.NetBSD.org/src/rev/4ecd539ac50c
branches: trunk
changeset: 343315:4ecd539ac50c
user: christos <christos%NetBSD.org@localhost>
date: Fri Jan 29 18:05:18 2016 +0000
description:
try to adjust riscv
diffstat:
external/gpl3/binutils/dist/bfd/config.bfd | 4 ++--
external/gpl3/binutils/dist/bfd/configure | 2 ++
external/gpl3/binutils/dist/bfd/configure.ac | 2 ++
external/gpl3/binutils/dist/bfd/targets.c | 4 ++++
4 files changed, 10 insertions(+), 2 deletions(-)
diffs (62 lines):
diff -r 4c9245f7e2de -r 4ecd539ac50c external/gpl3/binutils/dist/bfd/config.bfd
--- a/external/gpl3/binutils/dist/bfd/config.bfd Fri Jan 29 18:03:16 2016 +0000
+++ b/external/gpl3/binutils/dist/bfd/config.bfd Fri Jan 29 18:05:18 2016 +0000
@@ -1363,8 +1363,8 @@
#ifdef BFD64
riscv*-*-*)
- targ_defvec=bfd_elf64_riscv_vec
- targ_selvecs="bfd_elf32_riscv_vec bfd_elf64_riscv_vec"
+ targ_defvec=riscv_elf64_vec
+ targ_selvecs="riscv_elf32_vec riscv_elf64_vec"
want64=true
;;
#endif
diff -r 4c9245f7e2de -r 4ecd539ac50c external/gpl3/binutils/dist/bfd/configure
--- a/external/gpl3/binutils/dist/bfd/configure Fri Jan 29 18:03:16 2016 +0000
+++ b/external/gpl3/binutils/dist/bfd/configure Fri Jan 29 18:05:18 2016 +0000
@@ -15453,6 +15453,8 @@
ns32k_aout_pc532mach_vec) tb="$tb pc532-mach.lo aout-ns32k.lo" ;;
ns32k_aout_pc532nbsd_vec) tb="$tb ns32knetbsd.lo aout-ns32k.lo" ;;
or1k_elf32_vec) tb="$tb elf32-or1k.lo elf32.lo $elf" ;;
+ riscv_elf32_vec) tb="$tb elf32-riscv.lo elfxx-riscv.lo elf32.lo $elf" ;;
+ riscv_elf64_vec) tb="$tb elf64-riscv.lo elf64.lo elfxx-riscv.lo $elf"; target_size=64 ;;
pdp11_aout_vec) tb="$tb pdp11.lo" ;;
pef_vec) tb="$tb pef.lo" ;;
pef_xlib_vec) tb="$tb pef.lo" ;;
diff -r 4c9245f7e2de -r 4ecd539ac50c external/gpl3/binutils/dist/bfd/configure.ac
--- a/external/gpl3/binutils/dist/bfd/configure.ac Fri Jan 29 18:03:16 2016 +0000
+++ b/external/gpl3/binutils/dist/bfd/configure.ac Fri Jan 29 18:05:18 2016 +0000
@@ -898,6 +898,8 @@
ns32k_aout_pc532mach_vec) tb="$tb pc532-mach.lo aout-ns32k.lo" ;;
ns32k_aout_pc532nbsd_vec) tb="$tb ns32knetbsd.lo aout-ns32k.lo" ;;
or1k_elf32_vec) tb="$tb elf32-or1k.lo elf32.lo $elf" ;;
+ riscv_elf32_vec) tb="$tb elf32-riskv.lo elffxx-riscv.lo elf32.lo $elf" ;;
+ riscv_elf64_vec) tb="$tb elf64-riskv.lo elf64.lo elffxx-riscv.lo $elf" target_size=64 ;;
pdp11_aout_vec) tb="$tb pdp11.lo" ;;
pef_vec) tb="$tb pef.lo" ;;
pef_xlib_vec) tb="$tb pef.lo" ;;
diff -r 4c9245f7e2de -r 4ecd539ac50c external/gpl3/binutils/dist/bfd/targets.c
--- a/external/gpl3/binutils/dist/bfd/targets.c Fri Jan 29 18:03:16 2016 +0000
+++ b/external/gpl3/binutils/dist/bfd/targets.c Fri Jan 29 18:05:18 2016 +0000
@@ -793,6 +793,8 @@
extern const bfd_target powerpc_pei_vec;
extern const bfd_target powerpc_pei_le_vec;
extern const bfd_target powerpc_xcoff_vec;
+extern const bfd_target riscv_elf32_vec;
+extern const bfd_target riscv_elf64_vec;
extern const bfd_target rl78_elf32_vec;
extern const bfd_target rs6000_xcoff64_vec;
extern const bfd_target rs6000_xcoff64_aix_vec;
@@ -1295,9 +1297,11 @@
&powerpc_xcoff_vec,
#endif
+ &riscv_elf32_vec,
&rl78_elf32_vec,
#ifdef BFD64
+ &riscv_elf64_vec,
&rs6000_xcoff64_vec,
&rs6000_xcoff64_aix_vec,
#endif
Home |
Main Index |
Thread Index |
Old Index