CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: rin Date: Mon Aug 28 03:09:17 UTC 2023 Modified Files: src/external/gpl3/gdb/dist/bfd: configure configure.ac Log Message: gdb/bfd: Make ILP32 default for mips n32, as done for binutils/bfd To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/external/gpl3/gdb/dist/bfd/configure cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gdb/dist/bfd/configure.ac Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gdb/dist/bfd/configure diff -u src/external/gpl3/gdb/dist/bfd/configure:1.18 src/external/gpl3/gdb/dist/bfd/configure:1.19 --- src/external/gpl3/gdb/dist/bfd/configure:1.18 Tue Aug 22 06:12:10 2023 +++ src/external/gpl3/gdb/dist/bfd/configure Mon Aug 28 03:09:17 2023 @@ -13739,8 +13739,8 @@ do mips_elf32_le_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;; mips_elf32_n_be_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;; mips_elf32_n_le_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;; -mips_elf32_ntrad_be_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;; -mips_elf32_ntrad_le_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;; +mips_elf32_ntrad_be_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; ;; +mips_elf32_ntrad_le_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; ;; mips_elf32_ntradfbsd_be_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;; mips_elf32_ntradfbsd_le_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;; mips_elf32_trad_be_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;; Index: src/external/gpl3/gdb/dist/bfd/configure.ac diff -u src/external/gpl3/gdb/dist/bfd/configure.ac:1.4 src/external/gpl3/gdb/dist/bfd/configure.ac:1.5 --- src/external/gpl3/gdb/dist/bfd/configure.ac:1.4 Tue Aug 22 06:12:10 2023 +++ src/external/gpl3/gdb/dist/bfd/configure.ac Mon Aug 28 03:09:17 2023 @@ -528,8 +528,8 @@ do mips_elf32_le_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;; mips_elf32_n_be_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;; mips_elf32_n_le_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;; -mips_elf32_ntrad_be_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;; -mips_elf32_ntrad_le_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;; +mips_elf32_ntrad_be_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; ;; +mips_elf32_ntrad_le_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; ;; mips_elf32_ntradfbsd_be_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;; mips_elf32_ntradfbsd_le_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;; mips_elf32_trad_be_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: rin Date: Mon Aug 28 03:09:17 UTC 2023 Modified Files: src/external/gpl3/gdb/dist/bfd: configure configure.ac Log Message: gdb/bfd: Make ILP32 default for mips n32, as done for binutils/bfd To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/external/gpl3/gdb/dist/bfd/configure cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gdb/dist/bfd/configure.ac Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: rin Date: Mon Aug 28 03:06:53 UTC 2023 Modified Files: src/external/gpl3/gdb/dist/bfd: config.bfd Log Message: gdb/config.bfd: Add mipsn64* and misc clean up for mips - Add mipsn64e[bl]. - Clean up and sync mips* with binutils/config.bfd. - Drop irrelevant mips targets. To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/external/gpl3/gdb/dist/bfd/config.bfd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gdb/dist/bfd/config.bfd diff -u src/external/gpl3/gdb/dist/bfd/config.bfd:1.27 src/external/gpl3/gdb/dist/bfd/config.bfd:1.28 --- src/external/gpl3/gdb/dist/bfd/config.bfd:1.27 Mon Aug 28 03:03:30 2023 +++ src/external/gpl3/gdb/dist/bfd/config.bfd Mon Aug 28 03:06:53 2023 @@ -878,35 +878,30 @@ case "${targ}" in targ_selvecs=microblaze_elf32_le_vec ;; - mips*-big-*) -targ_defvec=mips_ecoff_be_vec -targ_selvecs=mips_ecoff_le_vec +#ifdef BFD64 + mipsn64*el-*-netbsd*) +targ_defvec=mips_elf64_trad_le_vec +targ_selvecs="mips_elf32_trad_be_vec mips_elf32_trad_le_vec mips_elf32_ntrad_be_vec mips_elf32_ntrad_le_vec mips_elf64_trad_be_vec mips_ecoff_be_vec mips_ecoff_le_vec" ;; - - mips*-dec-* | mips*el-*-ecoff*) -targ_defvec=mips_ecoff_le_vec -targ_selvecs=mips_ecoff_be_vec -;; - mips*-*-ecoff*) -targ_defvec=mips_ecoff_be_vec -targ_selvecs=mips_ecoff_le_vec + mipsn64*-*-netbsd*) +targ_defvec=mips_elf64_trad_be_vec +targ_selvecs="mips_elf32_trad_be_vec mips_elf32_trad_le_vec mips_elf32_ntrad_be_vec mips_elf32_ntrad_le_vec mips_elf64_trad_le_vec mips_ecoff_be_vec mips_ecoff_le_vec" ;; -#ifdef BFD64 mips64*el-*-netbsd*) targ_defvec=mips_elf32_ntrad_le_vec -targ_selvecs="mips_elf32_ntrad_be_vec mips_elf32_trad_le_vec mips_elf32_trad_be_vec mips_elf64_trad_le_vec mips_elf64_trad_be_vec" +targ_selvecs="mips_elf32_trad_be_vec mips_elf32_trad_le_vec mips_elf32_ntrad_be_vec mips_elf64_trad_be_vec mips_elf64_trad_le_vec mips_ecoff_be_vec mips_ecoff_le_vec" ;; mips64*-*-netbsd*) targ_defvec=mips_elf32_ntrad_be_vec -targ_selvecs="mips_elf32_ntrad_le_vec mips_elf32_trad_be_vec mips_elf32_trad_le_vec mips_elf64_trad_be_vec mips_elf64_trad_le_vec" +targ_selvecs="mips_elf32_trad_be_vec mips_elf32_trad_le_vec mips_elf32_ntrad_le_vec mips_elf64_trad_be_vec mips_elf64_trad_le_vec mips_ecoff_be_vec mips_ecoff_le_vec" ;; mips*el-*-netbsd*) targ_defvec=mips_elf32_trad_le_vec -targ_selvecs="mips_elf32_trad_be_vec mips_elf32_ntrad_le_vec mips_elf32_ntrad_be_vec mips_elf64_trad_be_vec mips_elf64_trad_le_vec mips_ecoff_le_vec mips_ecoff_be_vec" +targ_selvecs="mips_elf32_trad_be_vec mips_elf32_ntrad_be_vec mips_elf32_ntrad_le_vec mips_elf64_trad_be_vec mips_elf64_trad_le_vec mips_ecoff_be_vec mips_ecoff_le_vec" ;; mips*-*-netbsd*) targ_defvec=mips_elf32_trad_be_vec -targ_selvecs="mips_elf32_trad_le_vec mips_elf32_ntrad_be_vec mips_elf32_ntrad_le_vec mips_elf64_trad_le_vec mips_elf64_trad_be_vec mips_ecoff_be_vec mips_ecoff_le_vec" +targ_selvecs="mips_elf32_trad_le_vec mips_elf32_ntrad_be_vec mips_elf32_ntrad_le_vec mips_elf64_trad_be_vec mips_elf64_trad_le_vec mips_ecoff_be_vec mips_ecoff_le_vec" ;; mips*el-*-haiku*) targ_defvec=mips_elf32_le_vec @@ -952,22 +947,6 @@ case "${targ}" in targ_defvec=mips_elf32_be_vec targ_selvecs="mips_elf32_le_vec mips_elf64_be_vec mips_elf64_le_vec" ;; - mips64*el-*-netbsd*) -targ_defvec=mips_elf32_ntrad_le_vec -targ_selvecs="mips_elf32_ntrad_be_vec mips_elf32_trad_le_vec mips_elf32_trad_be_vec mips_elf64_trad_le_vec mips_elf64_trad_be_vec" -;; - mips64*-*-netbsd*) -targ_defvec=mips_elf32_ntrad_be_vec -targ_selvecs="mips_elf32_ntrad_le_vec mips_elf32_trad_be_vec mips_elf32_trad_le_vec mips_elf64_trad_be_vec mips_elf64_trad_le_vec" -;; - mips*el-*-netbsd*) -targ_defvec=mips_elf32_trad_le_vec -targ_selvecs="mips_elf32_trad_be_vec mips_elf32_ntrad_le_vec mips_elf32_ntrad_be_vec mips_elf64_trad_be_vec mips_elf64_trad_le_vec mips_ecoff_le_vec mips_ecoff_be_vec" -;; - mips*-*-netbsd*) -targ_defvec=mips_elf32_trad_be_vec -targ_selvecs="mips_elf32_trad_le_vec mips_elf32_ntrad_be_vec mips_elf32_ntrad_le_vec mips_elf64_trad_le_vec mips_elf64_trad_be_vec mips_ecoff_be_vec mips_ecoff_le_vec" -;; mips64*-*-openbsd*) targ_defvec=mips_elf64_trad_be_vec targ_selvecs="mips_elf32_ntrad_le_vec mips_elf32_ntrad_be_vec mips_elf32_trad_le_vec mips_elf32_trad_be_vec mips_elf64_trad_le_vec"
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: rin Date: Mon Aug 28 03:06:53 UTC 2023 Modified Files: src/external/gpl3/gdb/dist/bfd: config.bfd Log Message: gdb/config.bfd: Add mipsn64* and misc clean up for mips - Add mipsn64e[bl]. - Clean up and sync mips* with binutils/config.bfd. - Drop irrelevant mips targets. To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/external/gpl3/gdb/dist/bfd/config.bfd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: rin Date: Mon Aug 28 03:03:30 UTC 2023 Modified Files: src/external/gpl3/gdb/dist/bfd: config.bfd Log Message: gdb/config.bfd: Consistently use netbsd* instead of netbsdelf* To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/external/gpl3/gdb/dist/bfd/config.bfd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: rin Date: Mon Aug 28 03:03:30 UTC 2023 Modified Files: src/external/gpl3/gdb/dist/bfd: config.bfd Log Message: gdb/config.bfd: Consistently use netbsd* instead of netbsdelf* To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/external/gpl3/gdb/dist/bfd/config.bfd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gdb/dist/bfd/config.bfd diff -u src/external/gpl3/gdb/dist/bfd/config.bfd:1.26 src/external/gpl3/gdb/dist/bfd/config.bfd:1.27 --- src/external/gpl3/gdb/dist/bfd/config.bfd:1.26 Mon Aug 28 03:02:27 2023 +++ src/external/gpl3/gdb/dist/bfd/config.bfd Mon Aug 28 03:03:30 2023 @@ -841,7 +841,7 @@ case "${targ}" in m68*-*-*) targ_defvec=m68k_elf32_vec ;; - m68*-*-netbsdelf* | m5407-*-netbsdelf*) + m68*-*-netbsd* | m5407-*-netbsd*) targ_defvec=m68k_elf32_vec targ_selvecs="m68k_aout_nbsd_vec m68k_aout_4knbsd_vec m68k_aout_hp300bsd_vec sparc_aout_sunos_be_vec" ;;
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: rin Date: Mon Aug 28 03:02:27 UTC 2023 Modified Files: src/external/gpl3/gdb/dist/bfd: config.bfd Log Message: gdb/config.bfd: Reintroduce m5200 and m5407, lost during merge To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/external/gpl3/gdb/dist/bfd/config.bfd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gdb/dist/bfd/config.bfd diff -u src/external/gpl3/gdb/dist/bfd/config.bfd:1.25 src/external/gpl3/gdb/dist/bfd/config.bfd:1.26 --- src/external/gpl3/gdb/dist/bfd/config.bfd:1.25 Thu Aug 17 07:29:22 2023 +++ src/external/gpl3/gdb/dist/bfd/config.bfd Mon Aug 28 03:02:27 2023 @@ -199,6 +199,7 @@ hppa*) targ_archs=bfd_hppa_arch ;; i[3-7]86) targ_archs=bfd_i386_arch ;; ia16) targ_archs=bfd_i386_arch ;; loongarch*) targ_archs=bfd_loongarch_arch ;; +m5200|m5407) targ_archs=bfd_m68k_arch ;; m6811*|m68hc11*) targ_archs="bfd_m68hc11_arch bfd_m68hc12_arch bfd_m9s12x_arch bfd_m9s12xg_arch" ;; m6812*|m68hc12*) targ_archs="bfd_m68hc12_arch bfd_m68hc11_arch bfd_m9s12x_arch bfd_m9s12xg_arch" ;; m68*) targ_archs=bfd_m68k_arch ;;
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: rin Date: Mon Aug 28 03:02:27 UTC 2023 Modified Files: src/external/gpl3/gdb/dist/bfd: config.bfd Log Message: gdb/config.bfd: Reintroduce m5200 and m5407, lost during merge To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/external/gpl3/gdb/dist/bfd/config.bfd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: rin Date: Tue Aug 22 06:16:50 UTC 2023 Modified Files: src/external/gpl3/gdb/dist/bfd: elf.c Log Message: gdb/bfd: Add support to NetBSD-style core file for riscv To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/external/gpl3/gdb/dist/bfd/elf.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gdb/dist/bfd/elf.c diff -u src/external/gpl3/gdb/dist/bfd/elf.c:1.15 src/external/gpl3/gdb/dist/bfd/elf.c:1.16 --- src/external/gpl3/gdb/dist/bfd/elf.c:1.15 Thu Aug 17 06:44:56 2023 +++ src/external/gpl3/gdb/dist/bfd/elf.c Tue Aug 22 06:16:50 2023 @@ -11190,6 +11190,7 @@ elfcore_grok_netbsd_note (bfd *abfd, Elf case bfd_arch_aarch64: case bfd_arch_alpha: +case bfd_arch_riscv: case bfd_arch_sparc: switch (note->type) {
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: rin Date: Tue Aug 22 06:16:50 UTC 2023 Modified Files: src/external/gpl3/gdb/dist/bfd: elf.c Log Message: gdb/bfd: Add support to NetBSD-style core file for riscv To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/external/gpl3/gdb/dist/bfd/elf.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: rin Date: Tue Aug 22 06:12:10 UTC 2023 Modified Files: src/external/gpl3/gdb/dist/bfd: configure configure.ac Log Message: gdb/bfd: Stop compiling in useless netbsd-core.c for riscv netbsd-core.c is for the old-style core format, which has never been used for riscv. Note that: - binutils/bfd does not use this file for riscv. - Up-to-date core file format is supported by elf.c. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/external/gpl3/gdb/dist/bfd/configure cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gdb/dist/bfd/configure.ac Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: rin Date: Tue Aug 22 06:12:10 UTC 2023 Modified Files: src/external/gpl3/gdb/dist/bfd: configure configure.ac Log Message: gdb/bfd: Stop compiling in useless netbsd-core.c for riscv netbsd-core.c is for the old-style core format, which has never been used for riscv. Note that: - binutils/bfd does not use this file for riscv. - Up-to-date core file format is supported by elf.c. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/external/gpl3/gdb/dist/bfd/configure cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gdb/dist/bfd/configure.ac Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gdb/dist/bfd/configure diff -u src/external/gpl3/gdb/dist/bfd/configure:1.17 src/external/gpl3/gdb/dist/bfd/configure:1.18 --- src/external/gpl3/gdb/dist/bfd/configure:1.17 Thu Aug 17 07:40:20 2023 +++ src/external/gpl3/gdb/dist/bfd/configure Tue Aug 22 06:12:10 2023 @@ -14114,9 +14114,6 @@ if test "${target}" = "${host}"; then ns32k-*-netbsd* | ns32k-*-openbsd*) COREFILE=netbsd-core.lo ;; - riscv*-*-netbsd*) - COREFILE=netbsd-core.lo - ;; rs6000-*-lynx*) COREFILE=lynx-core.lo ;; Index: src/external/gpl3/gdb/dist/bfd/configure.ac diff -u src/external/gpl3/gdb/dist/bfd/configure.ac:1.3 src/external/gpl3/gdb/dist/bfd/configure.ac:1.4 --- src/external/gpl3/gdb/dist/bfd/configure.ac:1.3 Mon Jul 31 16:59:49 2023 +++ src/external/gpl3/gdb/dist/bfd/configure.ac Tue Aug 22 06:12:10 2023 @@ -914,9 +914,6 @@ changequote([,])dnl ns32k-*-netbsd* | ns32k-*-openbsd*) COREFILE=netbsd-core.lo ;; - riscv*-*-netbsd*) - COREFILE=netbsd-core.lo - ;; rs6000-*-lynx*) COREFILE=lynx-core.lo ;;
Re: CVS commit: src/external/gpl3/gdb/dist/bfd
This was not correct. Core file support for NetBSD/riscv was present for our local version of GDB 11, and lost during merge. Thanks, rin On Thu, Aug 17, 2023 at 4:37 PM Rin Okuyama wrote: > > Module Name:src > Committed By: rin > Date: Thu Aug 17 07:37:36 UTC 2023 > > Modified Files: > src/external/gpl3/gdb/dist/bfd: configure > > Log Message: > gdb/bfd: Add initial support to NetBSD-style core file for riscv > > Not working yet: > > Reading symbols from cat... > Reading symbols from /usr/libdata/debug//bin/cat.debug... > > warning: Couldn't find general-purpose registers in core file. > Core was generated by `cat'. > Program terminated with signal SIGQUIT, Quit. > > warning: Couldn't find general-purpose registers in core file. > #0 in ?? () > (gdb) > > > To generate a diff of this commit: > cvs rdiff -u -r1.15 -r1.16 src/external/gpl3/gdb/dist/bfd/configure > > Please note that diffs are not public domain; they are subject to the > copyright notices on the relevant files. >
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: rin Date: Thu Aug 17 07:40:20 UTC 2023 Modified Files: src/external/gpl3/gdb/dist/bfd: configure Log Message: gdb/bfd: Disable secure PLT for NetBSD/alpha, lost during merge Until our ld.elf_so supports it, see PR port-alpha/57511 This does not affect platforms other than alpha. XXX mknative later To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/external/gpl3/gdb/dist/bfd/configure Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gdb/dist/bfd/configure diff -u src/external/gpl3/gdb/dist/bfd/configure:1.16 src/external/gpl3/gdb/dist/bfd/configure:1.17 --- src/external/gpl3/gdb/dist/bfd/configure:1.16 Thu Aug 17 07:37:36 2023 +++ src/external/gpl3/gdb/dist/bfd/configure Thu Aug 17 07:40:20 2023 @@ -11979,7 +11979,7 @@ if test "${enable_secureplt+set}" = set; *)as_fn_error $? "bad value ${enableval} for secureplt option" "$LINENO" 5 ;; esac else - use_secureplt=true + use_secureplt=false # XXX port-alpha/57511 fi if test $use_secureplt = true; then
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: rin Date: Thu Aug 17 07:40:20 UTC 2023 Modified Files: src/external/gpl3/gdb/dist/bfd: configure Log Message: gdb/bfd: Disable secure PLT for NetBSD/alpha, lost during merge Until our ld.elf_so supports it, see PR port-alpha/57511 This does not affect platforms other than alpha. XXX mknative later To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/external/gpl3/gdb/dist/bfd/configure Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: rin Date: Thu Aug 17 07:37:36 UTC 2023 Modified Files: src/external/gpl3/gdb/dist/bfd: configure Log Message: gdb/bfd: Add initial support to NetBSD-style core file for riscv Not working yet: Reading symbols from cat... Reading symbols from /usr/libdata/debug//bin/cat.debug... warning: Couldn't find general-purpose registers in core file. Core was generated by `cat'. Program terminated with signal SIGQUIT, Quit. warning: Couldn't find general-purpose registers in core file. #0 in ?? () (gdb) To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/external/gpl3/gdb/dist/bfd/configure Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gdb/dist/bfd/configure diff -u src/external/gpl3/gdb/dist/bfd/configure:1.15 src/external/gpl3/gdb/dist/bfd/configure:1.16 --- src/external/gpl3/gdb/dist/bfd/configure:1.15 Mon Jul 31 16:59:49 2023 +++ src/external/gpl3/gdb/dist/bfd/configure Thu Aug 17 07:37:36 2023 @@ -14114,6 +14114,9 @@ if test "${target}" = "${host}"; then ns32k-*-netbsd* | ns32k-*-openbsd*) COREFILE=netbsd-core.lo ;; + riscv*-*-netbsd*) + COREFILE=netbsd-core.lo + ;; rs6000-*-lynx*) COREFILE=lynx-core.lo ;;
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: rin Date: Thu Aug 17 07:37:36 UTC 2023 Modified Files: src/external/gpl3/gdb/dist/bfd: configure Log Message: gdb/bfd: Add initial support to NetBSD-style core file for riscv Not working yet: Reading symbols from cat... Reading symbols from /usr/libdata/debug//bin/cat.debug... warning: Couldn't find general-purpose registers in core file. Core was generated by `cat'. Program terminated with signal SIGQUIT, Quit. warning: Couldn't find general-purpose registers in core file. #0 in ?? () (gdb) To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/external/gpl3/gdb/dist/bfd/configure Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: rin Date: Thu Aug 17 07:29:22 UTC 2023 Modified Files: src/external/gpl3/gdb/dist/bfd: config.bfd Log Message: gdb/bfd: Correct default byte-order for armeb, lost during merge XXX mknative later To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/external/gpl3/gdb/dist/bfd/config.bfd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gdb/dist/bfd/config.bfd diff -u src/external/gpl3/gdb/dist/bfd/config.bfd:1.24 src/external/gpl3/gdb/dist/bfd/config.bfd:1.25 --- src/external/gpl3/gdb/dist/bfd/config.bfd:1.24 Mon Jul 31 16:59:49 2023 +++ src/external/gpl3/gdb/dist/bfd/config.bfd Thu Aug 17 07:29:22 2023 @@ -385,11 +385,11 @@ case "${targ}" in targ_defvec=arm_elf32_nacl_be_vec targ_selvecs="arm_elf32_nacl_le_vec" ;; - armeb-*-netbsd*) + arm*eb-*-netbsd*) targ_defvec=arm_elf32_be_vec targ_selvecs="arm_elf32_le_vec" ;; - arm-*-netbsd* | arm-*-openbsd*) + arm*-*-netbsd* | arm-*-openbsd*) targ_defvec=arm_elf32_le_vec targ_selvecs="arm_elf32_be_vec" ;;
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: rin Date: Thu Aug 17 07:29:22 UTC 2023 Modified Files: src/external/gpl3/gdb/dist/bfd: config.bfd Log Message: gdb/bfd: Correct default byte-order for armeb, lost during merge XXX mknative later To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/external/gpl3/gdb/dist/bfd/config.bfd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: rin Date: Thu Aug 17 06:44:57 UTC 2023 Modified Files: src/external/gpl3/gdb/dist/bfd: elf.c Log Message: gdb/bfd: Fix auxv offset for NetBSD, lost during merge To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/external/gpl3/gdb/dist/bfd/elf.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: rin Date: Thu Aug 17 06:44:57 UTC 2023 Modified Files: src/external/gpl3/gdb/dist/bfd: elf.c Log Message: gdb/bfd: Fix auxv offset for NetBSD, lost during merge To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/external/gpl3/gdb/dist/bfd/elf.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gdb/dist/bfd/elf.c diff -u src/external/gpl3/gdb/dist/bfd/elf.c:1.14 src/external/gpl3/gdb/dist/bfd/elf.c:1.15 --- src/external/gpl3/gdb/dist/bfd/elf.c:1.14 Mon Jul 31 16:59:49 2023 +++ src/external/gpl3/gdb/dist/bfd/elf.c Thu Aug 17 06:44:56 2023 @@ -11151,7 +11151,7 @@ elfcore_grok_netbsd_note (bfd *abfd, Elf return elfcore_grok_netbsd_procinfo (abfd, note); case NT_NETBSDCORE_AUXV: /* NetBSD-specific Elf Auxiliary Vector data. */ - return elfcore_make_auxv_note_section (abfd, note, 4); + return elfcore_make_auxv_note_section (abfd, note, 0); case NT_NETBSDCORE_LWPSTATUS: return elfcore_make_note_pseudosection (abfd, ".note.netbsdcore.lwpstatus",
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: kamil Date: Tue Oct 6 23:28:13 UTC 2020 Modified Files: src/external/gpl3/gdb/dist/bfd: config.bfd Log Message: Replace local patches adding NetBSD/aarch64 support with the upstream one Cherry-pick: >From c0b313441717b65569edb01bf9984d2066d899de Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 5 Oct 2020 14:56:42 +0100 Subject: [PATCH] Add NetBSD AArch64 Little Endian and Big Endian BFD support. bfd * config.bfd (aarch64-*-netbsd*, aarch64_be-*-netbsd*): Add target. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/external/gpl3/gdb/dist/bfd/config.bfd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gdb/dist/bfd/config.bfd diff -u src/external/gpl3/gdb/dist/bfd/config.bfd:1.22 src/external/gpl3/gdb/dist/bfd/config.bfd:1.23 --- src/external/gpl3/gdb/dist/bfd/config.bfd:1.22 Tue Sep 15 02:05:16 2020 +++ src/external/gpl3/gdb/dist/bfd/config.bfd Tue Oct 6 23:28:13 2020 @@ -247,11 +247,6 @@ case "${targ}" in targ_selvecs="aarch64_elf64_be_vec arm_elf32_le_vec arm_elf32_be_vec" want64=true ;; - aarch64-*-netbsd*) -targ_defvec=aarch64_elf64_le_vec -targ_selvecs="aarch64_elf64_be_vec arm_elf32_le_vec arm_elf32_be_vec" -want64=true -;; aarch64-*-fuchsia*) targ_defvec=aarch64_elf64_le_vec targ_selvecs="aarch64_elf64_be_vec arm_elf32_le_vec arm_elf32_be_vec" @@ -262,22 +257,12 @@ case "${targ}" in targ_selvecs=aarch64_elf64_be_cloudabi_vec want64=true ;; - aarch64-*-linux*) -targ_defvec=aarch64_elf64_le_vec -targ_selvecs="aarch64_elf64_be_vec aarch64_elf32_le_vec aarch64_elf32_be_vec arm_elf32_le_vec arm_elf32_be_vec" -want64=true -;; - aarch64_be-*-linux*) -targ_defvec=aarch64_elf64_be_vec -targ_selvecs="aarch64_elf64_le_vec aarch64_elf32_le_vec aarch64_elf32_be_vec arm_elf32_be_vec arm_elf32_le_vec" -want64=true -;; - aarch64-*-netbsd*) + aarch64-*-linux* | aarch64-*-netbsd*) targ_defvec=aarch64_elf64_le_vec targ_selvecs="aarch64_elf64_be_vec aarch64_elf32_le_vec aarch64_elf32_be_vec arm_elf32_le_vec arm_elf32_be_vec" want64=true ;; - aarch64_be-*-netbsd*) + aarch64_be-*-linux* | aarch64_be-*-netbsd*) targ_defvec=aarch64_elf64_be_vec targ_selvecs="aarch64_elf64_le_vec aarch64_elf32_le_vec aarch64_elf32_be_vec arm_elf32_be_vec arm_elf32_le_vec" want64=true
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: kamil Date: Tue Oct 6 23:28:13 UTC 2020 Modified Files: src/external/gpl3/gdb/dist/bfd: config.bfd Log Message: Replace local patches adding NetBSD/aarch64 support with the upstream one Cherry-pick: >From c0b313441717b65569edb01bf9984d2066d899de Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 5 Oct 2020 14:56:42 +0100 Subject: [PATCH] Add NetBSD AArch64 Little Endian and Big Endian BFD support. bfd * config.bfd (aarch64-*-netbsd*, aarch64_be-*-netbsd*): Add target. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/external/gpl3/gdb/dist/bfd/config.bfd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: kamil Date: Tue Oct 6 21:39:53 UTC 2020 Modified Files: src/external/gpl3/gdb/dist/bfd: netbsd-core.c Log Message: Undo local NFC patch To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/gdb/dist/bfd/netbsd-core.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gdb/dist/bfd/netbsd-core.c diff -u src/external/gpl3/gdb/dist/bfd/netbsd-core.c:1.8 src/external/gpl3/gdb/dist/bfd/netbsd-core.c:1.9 --- src/external/gpl3/gdb/dist/bfd/netbsd-core.c:1.8 Tue Sep 15 02:05:16 2020 +++ src/external/gpl3/gdb/dist/bfd/netbsd-core.c Tue Oct 6 21:39:53 2020 @@ -275,7 +275,7 @@ const bfd_target core_netbsd_vec = 0,/* Symbol prefix. */ ' ', /* ar_pad_char. */ 16,/* ar_max_namelen. */ -0,/* match priority. */ +0,/* Match priority. */ NO_GET64, NO_GETS64, NO_PUT64, /* 64 bit data. */ NO_GET, NO_GETS, NO_PUT, /* 32 bit data. */ NO_GET, NO_GETS, NO_PUT, /* 16 bit data. */
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: kamil Date: Tue Oct 6 21:39:53 UTC 2020 Modified Files: src/external/gpl3/gdb/dist/bfd: netbsd-core.c Log Message: Undo local NFC patch To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/gdb/dist/bfd/netbsd-core.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: christos Date: Sat Sep 19 21:47:03 UTC 2020 Modified Files: src/external/gpl3/gdb/dist/bfd: elf.c Log Message: remove mis-merged code and make the auxv core offset 0. Now loading auxv from core files works. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/external/gpl3/gdb/dist/bfd/elf.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: christos Date: Sat Sep 19 21:47:03 UTC 2020 Modified Files: src/external/gpl3/gdb/dist/bfd: elf.c Log Message: remove mis-merged code and make the auxv core offset 0. Now loading auxv from core files works. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/external/gpl3/gdb/dist/bfd/elf.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gdb/dist/bfd/elf.c diff -u src/external/gpl3/gdb/dist/bfd/elf.c:1.12 src/external/gpl3/gdb/dist/bfd/elf.c:1.13 --- src/external/gpl3/gdb/dist/bfd/elf.c:1.12 Mon Sep 14 22:05:16 2020 +++ src/external/gpl3/gdb/dist/bfd/elf.c Sat Sep 19 17:47:03 2020 @@ -10893,7 +10893,7 @@ elfcore_grok_netbsd_note (bfd *abfd, Elf #ifdef NT_NETBSDCORE_AUXV case NT_NETBSDCORE_AUXV: /* NetBSD-specific Elf Auxiliary Vector data. */ - return elfcore_make_auxv_note_section (abfd, note, 4); + return elfcore_make_auxv_note_section (abfd, note, 0); #endif #ifdef NT_NETBSDCORE_LWPSTATUS case NT_NETBSDCORE_LWPSTATUS: @@ -11023,20 +11023,6 @@ elfcore_grok_openbsd_note (bfd *abfd, El if (note->type == NT_OPENBSD_AUXV) return elfcore_make_auxv_note_section (abfd, note, 0); - if (note->type == NT_OPENBSD_WCOOKIE) -{ - asection *sect = bfd_make_section_anyway_with_flags (abfd, ".wcookie", - SEC_HAS_CONTENTS); - - if (sect == NULL) - return FALSE; - sect->size = note->descsz; - sect->filepos = note->descpos; - sect->alignment_power = 1 + bfd_get_arch_size (abfd) / 32; - - return TRUE; -} - return TRUE; }
Re: CVS commit: src/external/gpl3/gdb/dist/bfd
Yup, undo it. christos > On Mar 14, 2020, at 2:35 PM, Kamil Rytarowski wrote: > > Signed PGP part > On 26.02.2016 17:28, Christos Zoulas wrote: >> Module Name: src >> Committed By:christos >> Date:Fri Feb 26 16:28:14 UTC 2016 >> >> Modified Files: >> src/external/gpl3/gdb/dist/bfd: merge.c >> >> Log Message: >> CID 420802: Avoid NULL deref. >> >> >> To generate a diff of this commit: >> cvs rdiff -u -r1.1.1.4 -r1.2 src/external/gpl3/gdb/dist/bfd/merge.c >> >> Please note that diffs are not public domain; they are subject to the >> copyright notices on the relevant files. >> >> >> Modified files: >> >> Index: src/external/gpl3/gdb/dist/bfd/merge.c >> diff -u src/external/gpl3/gdb/dist/bfd/merge.c:1.1.1.4 >> src/external/gpl3/gdb/dist/bfd/merge.c:1.2 >> --- src/external/gpl3/gdb/dist/bfd/merge.c:1.1.1.4 Tue Feb 2 22:00:11 2016 >> +++ src/external/gpl3/gdb/dist/bfd/merge.c Fri Feb 26 11:28:14 2016 >> @@ -334,7 +334,7 @@ sec_merge_emit (bfd *abfd, struct sec_me >> >> /* Trailing alignment needed? */ >> off = sec->size - off; >> - if (off != 0) >> + if (pad != NULL && off != 0) >> { >> if (contents) >> memcpy (contents + offset, pad, off); >> > > It looks to me like a false positive. > > pad is checked just after bfd_zmalloc(): > > pad = (char *) bfd_zmalloc (pad_len); > if (pad == NULL) >return FALSE; > > If I am not overlooking something, I will drop this local patch as not > upstreamable. > > > signature.asc Description: Message signed with OpenPGP
Re: CVS commit: src/external/gpl3/gdb/dist/bfd
On 26.02.2016 17:28, Christos Zoulas wrote: > Module Name: src > Committed By: christos > Date: Fri Feb 26 16:28:14 UTC 2016 > > Modified Files: > src/external/gpl3/gdb/dist/bfd: merge.c > > Log Message: > CID 420802: Avoid NULL deref. > > > To generate a diff of this commit: > cvs rdiff -u -r1.1.1.4 -r1.2 src/external/gpl3/gdb/dist/bfd/merge.c > > Please note that diffs are not public domain; they are subject to the > copyright notices on the relevant files. > > > Modified files: > > Index: src/external/gpl3/gdb/dist/bfd/merge.c > diff -u src/external/gpl3/gdb/dist/bfd/merge.c:1.1.1.4 > src/external/gpl3/gdb/dist/bfd/merge.c:1.2 > --- src/external/gpl3/gdb/dist/bfd/merge.c:1.1.1.4Tue Feb 2 22:00:11 2016 > +++ src/external/gpl3/gdb/dist/bfd/merge.cFri Feb 26 11:28:14 2016 > @@ -334,7 +334,7 @@ sec_merge_emit (bfd *abfd, struct sec_me > >/* Trailing alignment needed? */ >off = sec->size - off; > - if (off != 0) > + if (pad != NULL && off != 0) > { >if (contents) > memcpy (contents + offset, pad, off); > It looks to me like a false positive. pad is checked just after bfd_zmalloc(): pad = (char *) bfd_zmalloc (pad_len); if (pad == NULL) return FALSE; If I am not overlooking something, I will drop this local patch as not upstreamable. signature.asc Description: OpenPGP digital signature
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: christos Date: Fri Jul 12 22:42:45 UTC 2019 Modified Files: src/external/gpl3/gdb/dist/bfd: config.bfd Log Message: add the bfd ntrad vectors so that core files are recognized on mips64 To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/external/gpl3/gdb/dist/bfd/config.bfd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gdb/dist/bfd/config.bfd diff -u src/external/gpl3/gdb/dist/bfd/config.bfd:1.20 src/external/gpl3/gdb/dist/bfd/config.bfd:1.21 --- src/external/gpl3/gdb/dist/bfd/config.bfd:1.20 Tue May 28 21:38:27 2019 +++ src/external/gpl3/gdb/dist/bfd/config.bfd Fri Jul 12 18:42:45 2019 @@ -891,13 +891,21 @@ case "${targ}" in targ_selvecs=mips_ecoff_le_vec ;; #ifdef BFD64 + mips64*el-*-netbsd*) +targ_defvec=mips_elf32_ntrad_le_vec +targ_selvecs="mips_elf32_ntrad_be_vec mips_elf32_trad_le_vec mips_elf32_trad_be_vec mips_elf64_trad_le_vec mips_elf64_trad_be_vec" +;; + mips64*-*-netbsd*) +targ_defvec=mips_elf32_ntrad_be_vec +targ_selvecs="mips_elf32_ntrad_le_vec mips_elf32_trad_be_vec mips_elf32_trad_le_vec mips_elf64_trad_be_vec mips_elf64_trad_le_vec" +;; mips*el-*-netbsd*) targ_defvec=mips_elf32_trad_le_vec -targ_selvecs="mips_elf32_trad_be_vec mips_elf64_trad_be_vec mips_elf64_trad_le_vec mips_ecoff_le_vec mips_ecoff_be_vec" +targ_selvecs="mips_elf32_trad_be_vec mips_elf32_ntrad_le_vec mips_elf32_ntrad_be_vec mips_elf64_trad_be_vec mips_elf64_trad_le_vec mips_ecoff_le_vec mips_ecoff_be_vec" ;; mips*-*-netbsd*) targ_defvec=mips_elf32_trad_be_vec -targ_selvecs="mips_elf32_trad_le_vec mips_elf64_trad_be_vec mips_elf64_trad_le_vec mips_ecoff_be_vec mips_ecoff_le_vec" +targ_selvecs="mips_elf32_trad_le_vec mips_elf32_ntrad_be_vec mips_elf32_ntrad_le_vec mips_elf64_trad_le_vec mips_elf64_trad_be_vec mips_ecoff_be_vec mips_ecoff_le_vec" ;; mips*-*-irix6*) targ_defvec=mips_elf32_n_be_vec
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: christos Date: Fri Jul 12 22:42:45 UTC 2019 Modified Files: src/external/gpl3/gdb/dist/bfd: config.bfd Log Message: add the bfd ntrad vectors so that core files are recognized on mips64 To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/external/gpl3/gdb/dist/bfd/config.bfd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: christos Date: Wed May 29 01:38:27 UTC 2019 Modified Files: src/external/gpl3/gdb/dist/bfd: config.bfd Log Message: remove conflict marker To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/external/gpl3/gdb/dist/bfd/config.bfd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gdb/dist/bfd/config.bfd diff -u src/external/gpl3/gdb/dist/bfd/config.bfd:1.19 src/external/gpl3/gdb/dist/bfd/config.bfd:1.20 --- src/external/gpl3/gdb/dist/bfd/config.bfd:1.19 Sun May 26 17:40:00 2019 +++ src/external/gpl3/gdb/dist/bfd/config.bfd Tue May 28 21:38:27 2019 @@ -877,7 +877,6 @@ case "${targ}" in targ_selvecs=microblaze_elf32_le_vec ;; -<<< config.bfd mips*-big-*) targ_defvec=mips_ecoff_be_vec targ_selvecs=mips_ecoff_le_vec
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: christos Date: Wed May 29 01:38:27 UTC 2019 Modified Files: src/external/gpl3/gdb/dist/bfd: config.bfd Log Message: remove conflict marker To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/external/gpl3/gdb/dist/bfd/config.bfd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: christos Date: Thu Jul 12 23:18:28 UTC 2018 Modified Files: src/external/gpl3/gdb/dist/bfd: elf.c Log Message: aarch64 does not have PT_STEP so we start from 0. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/external/gpl3/gdb/dist/bfd/elf.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: christos Date: Thu Jul 12 23:18:28 UTC 2018 Modified Files: src/external/gpl3/gdb/dist/bfd: elf.c Log Message: aarch64 does not have PT_STEP so we start from 0. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/external/gpl3/gdb/dist/bfd/elf.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gdb/dist/bfd/elf.c diff -u src/external/gpl3/gdb/dist/bfd/elf.c:1.9 src/external/gpl3/gdb/dist/bfd/elf.c:1.10 --- src/external/gpl3/gdb/dist/bfd/elf.c:1.9 Tue Nov 28 17:04:52 2017 +++ src/external/gpl3/gdb/dist/bfd/elf.c Thu Jul 12 19:18:28 2018 @@ -10041,6 +10041,7 @@ elfcore_grok_netbsd_note (bfd *abfd, Elf /* On the Alpha, SPARC (32-bit and 64-bit), PT_GETREGS == mach+0 and PT_GETFPREGS == mach+2. */ +case bfd_arch_aarch64: case bfd_arch_alpha: case bfd_arch_sparc: switch (note->type)
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: christos Date: Wed Nov 29 22:39:26 UTC 2017 Modified Files: src/external/gpl3/gdb/dist/bfd: elf32-arm.c Log Message: we need popcount again To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gdb/dist/bfd/elf32-arm.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gdb/dist/bfd/elf32-arm.c diff -u src/external/gpl3/gdb/dist/bfd/elf32-arm.c:1.3 src/external/gpl3/gdb/dist/bfd/elf32-arm.c:1.4 --- src/external/gpl3/gdb/dist/bfd/elf32-arm.c:1.3 Tue Nov 28 17:04:52 2017 +++ src/external/gpl3/gdb/dist/bfd/elf32-arm.c Wed Nov 29 17:39:26 2017 @@ -3240,7 +3240,6 @@ ctz (unsigned int mask) #endif } -#ifndef __NetBSD__ static inline int elf32_arm_popcount (unsigned int mask) { @@ -3259,7 +3258,6 @@ elf32_arm_popcount (unsigned int mask) return sum; #endif } -#endif /* Create an entry in an ARM ELF linker hash table. */
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: christos Date: Wed Nov 29 22:39:26 UTC 2017 Modified Files: src/external/gpl3/gdb/dist/bfd: elf32-arm.c Log Message: we need popcount again To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gdb/dist/bfd/elf32-arm.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: skrll Date: Sat Nov 19 07:54:19 UTC 2016 Modified Files: src/external/gpl3/gdb/dist/bfd: configure Log Message: Mark the alpha options use_secureplt as false... we don't do secure plt on alpha (yet) To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/gdb/dist/bfd/configure Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: skrll Date: Sat Nov 19 07:54:19 UTC 2016 Modified Files: src/external/gpl3/gdb/dist/bfd: configure Log Message: Mark the alpha options use_secureplt as false... we don't do secure plt on alpha (yet) To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/gdb/dist/bfd/configure Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gdb/dist/bfd/configure diff -u src/external/gpl3/gdb/dist/bfd/configure:1.8 src/external/gpl3/gdb/dist/bfd/configure:1.9 --- src/external/gpl3/gdb/dist/bfd/configure:1.8 Sat Nov 19 07:52:49 2016 +++ src/external/gpl3/gdb/dist/bfd/configure Sat Nov 19 07:54:19 2016 @@ -12163,7 +12163,7 @@ if test "${enable_secureplt+set}" = set; *)as_fn_error "bad value ${enableval} for secureplt option" "$LINENO" 5 ;; esac else - use_secureplt=true + use_secureplt=false fi if test $use_secureplt = true; then
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: skrll Date: Sat Nov 19 07:52:49 UTC 2016 Modified Files: src/external/gpl3/gdb/dist/bfd: configure Log Message: Add in netbsd-core.lo for all arm/mips To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/external/gpl3/gdb/dist/bfd/configure Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: skrll Date: Sat Nov 19 07:52:49 UTC 2016 Modified Files: src/external/gpl3/gdb/dist/bfd: configure Log Message: Add in netbsd-core.lo for all arm/mips To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/external/gpl3/gdb/dist/bfd/configure Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gdb/dist/bfd/configure diff -u src/external/gpl3/gdb/dist/bfd/configure:1.7 src/external/gpl3/gdb/dist/bfd/configure:1.8 --- src/external/gpl3/gdb/dist/bfd/configure:1.7 Wed Oct 12 20:20:33 2016 +++ src/external/gpl3/gdb/dist/bfd/configure Sat Nov 19 07:52:49 2016 @@ -14706,7 +14706,7 @@ if test "${target}" = "${host}"; then ;; arm-*-freebsd* | arm-*-kfreebsd*-gnu) COREFILE='' ;; - arm-*-netbsd* | arm-*-openbsd*) + arm*-*-netbsd* | arm-*-openbsd*) COREFILE=netbsd-core.lo ;; arm-*-riscix) COREFILE=trad-core.lo ;; @@ -14776,7 +14776,7 @@ if test "${target}" = "${host}"; then COREFILE=trad-core.lo TRAD_HEADER='"hosts/i860mach3.h"' ;; - mips-*-netbsd* | mips*-*-openbsd*) + mips*-*-netbsd* | mips*-*-openbsd*) COREFILE=netbsd-core.lo ;; mips-dec-*)
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: skrll Date: Sun Oct 23 12:46:57 UTC 2016 Modified Files: src/external/gpl3/gdb/dist/bfd: config.bfd Log Message: Sync with external/gpl3/binutils/dist/bfd/config.bfd for mips so we build in the right vector set To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/external/gpl3/gdb/dist/bfd/config.bfd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gdb/dist/bfd/config.bfd diff -u src/external/gpl3/gdb/dist/bfd/config.bfd:1.15 src/external/gpl3/gdb/dist/bfd/config.bfd:1.16 --- src/external/gpl3/gdb/dist/bfd/config.bfd:1.15 Sun Oct 23 12:43:01 2016 +++ src/external/gpl3/gdb/dist/bfd/config.bfd Sun Oct 23 12:46:57 2016 @@ -1105,11 +1105,11 @@ case "${targ}" in ;; mips*el-*-netbsd*) targ_defvec=mips_elf32_trad_le_vec -targ_selvecs="mips_elf32_trad_be_vec mips_elf64_trad_be_vec mips_elf64_trad_le_vec mips_ecoff_le_vec mips_ecoff_be_vec" +targ_selvecs="mips_elf32_trad_be_vec mips_elf32_ntrad_le_vec mips_elf32_ntrad_be_vec mips_elf64_trad_be_vec mips_elf64_trad_le_vec mips_ecoff_le_vec mips_ecoff_be_vec" ;; mips*-*-netbsd*) targ_defvec=mips_elf32_trad_be_vec -targ_selvecs="mips_elf32_trad_le_vec mips_elf64_trad_be_vec mips_elf64_trad_le_vec mips_ecoff_be_vec mips_ecoff_le_vec" +targ_selvecs="mips_elf32_trad_le_vec mips_elf32_ntrad_be_vec mips_elf32_ntrad_le_vec mips_elf64_trad_le_vec mips_elf64_trad_be_vec mips_ecoff_be_vec mips_ecoff_le_vec" ;; mips64*-*-openbsd*) targ_defvec=mips_elf64_trad_be_vec
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: skrll Date: Sun Oct 23 12:46:57 UTC 2016 Modified Files: src/external/gpl3/gdb/dist/bfd: config.bfd Log Message: Sync with external/gpl3/binutils/dist/bfd/config.bfd for mips so we build in the right vector set To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/external/gpl3/gdb/dist/bfd/config.bfd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: skrll Date: Sun Oct 23 12:43:02 UTC 2016 Modified Files: src/external/gpl3/gdb/dist/bfd: config.bfd Log Message: Sync with external/gpl3/binutils/dist/bfd/config.bfd for arm so we build in the right vector set To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/external/gpl3/gdb/dist/bfd/config.bfd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gdb/dist/bfd/config.bfd diff -u src/external/gpl3/gdb/dist/bfd/config.bfd:1.14 src/external/gpl3/gdb/dist/bfd/config.bfd:1.15 --- src/external/gpl3/gdb/dist/bfd/config.bfd:1.14 Fri Oct 14 14:41:32 2016 +++ src/external/gpl3/gdb/dist/bfd/config.bfd Sun Oct 23 12:43:01 2016 @@ -314,11 +314,11 @@ case "${targ}" in targ64_selvecs="x86_64_elf32_nacl_vec x86_64_elf64_nacl_vec" targ_archs="$targ_archs bfd_i386_arch" ;; - armeb-*-netbsdelf*) + arm*eb-*-netbsdelf*) targ_defvec=arm_elf32_be_vec targ_selvecs="arm_elf32_le_vec arm_aout_nbsd_vec" ;; - arm-*-netbsdelf*) + arm*-*-netbsdelf*) targ_defvec=arm_elf32_le_vec targ_selvecs="arm_elf32_be_vec arm_aout_nbsd_vec" ;;
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: skrll Date: Sun Oct 23 12:43:02 UTC 2016 Modified Files: src/external/gpl3/gdb/dist/bfd: config.bfd Log Message: Sync with external/gpl3/binutils/dist/bfd/config.bfd for arm so we build in the right vector set To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/external/gpl3/gdb/dist/bfd/config.bfd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: skrll Date: Fri Oct 14 14:14:58 UTC 2016 Modified Files: src/external/gpl3/gdb/dist/bfd: elf32-arm.c Log Message: We have our own popcount To generate a diff of this commit: cvs rdiff -u -r1.1.1.6 -r1.2 src/external/gpl3/gdb/dist/bfd/elf32-arm.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gdb/dist/bfd/elf32-arm.c diff -u src/external/gpl3/gdb/dist/bfd/elf32-arm.c:1.1.1.6 src/external/gpl3/gdb/dist/bfd/elf32-arm.c:1.2 --- src/external/gpl3/gdb/dist/bfd/elf32-arm.c:1.1.1.6 Wed Oct 12 16:48:31 2016 +++ src/external/gpl3/gdb/dist/bfd/elf32-arm.c Fri Oct 14 14:14:58 2016 @@ -3219,6 +3219,7 @@ ctz (unsigned int mask) #endif } +#ifndef __NetBSD__ static inline int popcount (unsigned int mask) { @@ -3236,6 +3237,7 @@ popcount (unsigned int mask) return sum; #endif } +#endif /* Create an entry in an ARM ELF linker hash table. */
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: skrll Date: Fri Oct 14 14:14:58 UTC 2016 Modified Files: src/external/gpl3/gdb/dist/bfd: elf32-arm.c Log Message: We have our own popcount To generate a diff of this commit: cvs rdiff -u -r1.1.1.6 -r1.2 src/external/gpl3/gdb/dist/bfd/elf32-arm.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: skrll Date: Fri Mar 25 09:29:01 UTC 2016 Modified Files: src/external/gpl3/gdb/dist/bfd: config.bfd Log Message: Match with binutils To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/external/gpl3/gdb/dist/bfd/config.bfd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gdb/dist/bfd/config.bfd diff -u src/external/gpl3/gdb/dist/bfd/config.bfd:1.11 src/external/gpl3/gdb/dist/bfd/config.bfd:1.12 --- src/external/gpl3/gdb/dist/bfd/config.bfd:1.11 Wed Feb 3 03:23:27 2016 +++ src/external/gpl3/gdb/dist/bfd/config.bfd Fri Mar 25 09:29:01 2016 @@ -996,16 +996,7 @@ case "${targ}" in targ_defvec=mips_ecoff_be_vec targ_selvecs=mips_ecoff_le_vec ;; -#ifdef BFD64 - mips*el-*-netbsd*) -targ_defvec=mips_elf32_trad_le_vec -targ_selvecs="mips_elf32_trad_be_vec mips_elf64_trad_be_vec mips_elf64_trad_le_vec mips_ecoff_le_vec mips_ecoff_be_vec" -;; - mips*-*-netbsd*) -targ_defvec=mips_elf32_trad_be_vec -targ_selvecs="mips_elf32_trad_le_vec mips_elf64_trad_be_vec mips_elf64_trad_le_vec mips_ecoff_be_vec mips_ecoff_le_vec" -;; -#endif + mips*-dec-* | mips*el-*-ecoff*) targ_defvec=mips_ecoff_le_vec targ_selvecs=mips_ecoff_be_vec @@ -1079,6 +1070,22 @@ case "${targ}" in targ_defvec=mips_elf32_be_vec targ_selvecs="mips_elf32_le_vec mips_elf64_be_vec mips_elf64_le_vec" ;; + mips64*el-*-netbsd*) +targ_defvec=mips_elf32_ntrad_le_vec +targ_selvecs="mips_elf32_ntrad_be_vec mips_elf32_trad_le_vec mips_elf32_trad_be_vec mips_elf64_trad_le_vec mips_elf64_trad_be_vec" +;; + mips64*-*-netbsd*) +targ_defvec=mips_elf32_ntrad_be_vec +targ_selvecs="mips_elf32_ntrad_le_vec mips_elf32_trad_be_vec mips_elf32_trad_le_vec mips_elf64_trad_be_vec mips_elf64_trad_le_vec" +;; + mips*el-*-netbsd*) +targ_defvec=mips_elf32_trad_le_vec +targ_selvecs="mips_elf32_trad_be_vec mips_elf64_trad_be_vec mips_elf64_trad_le_vec mips_ecoff_le_vec mips_ecoff_be_vec" +;; + mips*-*-netbsd*) +targ_defvec=mips_elf32_trad_be_vec +targ_selvecs="mips_elf32_trad_le_vec mips_elf64_trad_be_vec mips_elf64_trad_le_vec mips_ecoff_be_vec mips_ecoff_le_vec" +;; mips64*-*-openbsd*) targ_defvec=mips_elf64_trad_be_vec targ_selvecs="mips_elf32_ntrad_le_vec mips_elf32_ntrad_be_vec mips_elf32_trad_le_vec mips_elf32_trad_be_vec mips_elf64_trad_le_vec"
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: skrll Date: Fri Mar 25 09:29:01 UTC 2016 Modified Files: src/external/gpl3/gdb/dist/bfd: config.bfd Log Message: Match with binutils To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/external/gpl3/gdb/dist/bfd/config.bfd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: christos Date: Fri Feb 26 16:28:14 UTC 2016 Modified Files: src/external/gpl3/gdb/dist/bfd: merge.c Log Message: CID 420802: Avoid NULL deref. To generate a diff of this commit: cvs rdiff -u -r1.1.1.4 -r1.2 src/external/gpl3/gdb/dist/bfd/merge.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: christos Date: Fri Feb 26 16:28:14 UTC 2016 Modified Files: src/external/gpl3/gdb/dist/bfd: merge.c Log Message: CID 420802: Avoid NULL deref. To generate a diff of this commit: cvs rdiff -u -r1.1.1.4 -r1.2 src/external/gpl3/gdb/dist/bfd/merge.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gdb/dist/bfd/merge.c diff -u src/external/gpl3/gdb/dist/bfd/merge.c:1.1.1.4 src/external/gpl3/gdb/dist/bfd/merge.c:1.2 --- src/external/gpl3/gdb/dist/bfd/merge.c:1.1.1.4 Tue Feb 2 22:00:11 2016 +++ src/external/gpl3/gdb/dist/bfd/merge.c Fri Feb 26 11:28:14 2016 @@ -334,7 +334,7 @@ sec_merge_emit (bfd *abfd, struct sec_me /* Trailing alignment needed? */ off = sec->size - off; - if (off != 0) + if (pad != NULL && off != 0) { if (contents) memcpy (contents + offset, pad, off);
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: christos Date: Mon Aug 17 09:06:29 UTC 2015 Modified Files: src/external/gpl3/gdb/dist/bfd: config.bfd Log Message: fix m68k To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/gdb/dist/bfd/config.bfd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gdb/dist/bfd/config.bfd diff -u src/external/gpl3/gdb/dist/bfd/config.bfd:1.8 src/external/gpl3/gdb/dist/bfd/config.bfd:1.9 --- src/external/gpl3/gdb/dist/bfd/config.bfd:1.8 Sun Aug 16 05:52:55 2015 +++ src/external/gpl3/gdb/dist/bfd/config.bfd Mon Aug 17 05:06:29 2015 @@ -895,12 +895,8 @@ case ${targ} in targ_underscore=yes ;; m68*-*-netbsdelf* | m5407-*-netbsdelf*) -targ_defvec=bfd_elf32_m68k_vec -targ_selvecs=m68knetbsd_vec m68k4knetbsd_vec hp300bsd_vec sunos_big_vec -# XXX! WTF -# m68*-*-netbsdelf*) -#targ_defvec=m68k_elf32_vec -#targ_selvecs=m68k_aout_nbsd_vec m68k_aout_4knbsd_vec m68k_aout_hp300bsd_vec sparc_aout_sunos_be_vec +targ_defvec=m68k_elf32_vec +targ_selvecs=m68k_aout_nbsd_vec m68k_aout_4knbsd_vec m68k_aout_hp300bsd_vec sparc_aout_sunos_be_vec ;; m68*-*-netbsdaout* | m68*-*-netbsd*) targ_defvec=m68k_aout_nbsd_vec
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: christos Date: Mon Aug 17 09:06:29 UTC 2015 Modified Files: src/external/gpl3/gdb/dist/bfd: config.bfd Log Message: fix m68k To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/gdb/dist/bfd/config.bfd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: christos Date: Mon Aug 17 12:45:06 UTC 2015 Modified Files: src/external/gpl3/gdb/dist/bfd: config.bfd Log Message: fix mips To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/external/gpl3/gdb/dist/bfd/config.bfd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: christos Date: Mon Aug 17 12:45:06 UTC 2015 Modified Files: src/external/gpl3/gdb/dist/bfd: config.bfd Log Message: fix mips To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/external/gpl3/gdb/dist/bfd/config.bfd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gdb/dist/bfd/config.bfd diff -u src/external/gpl3/gdb/dist/bfd/config.bfd:1.9 src/external/gpl3/gdb/dist/bfd/config.bfd:1.10 --- src/external/gpl3/gdb/dist/bfd/config.bfd:1.9 Mon Aug 17 05:06:29 2015 +++ src/external/gpl3/gdb/dist/bfd/config.bfd Mon Aug 17 08:45:06 2015 @@ -980,16 +980,12 @@ case ${targ} in ;; #ifdef BFD64 mips*el-*-netbsd*) -targ_defvec=bfd_elf32_tradlittlemips_vec -targ_selvecs=bfd_elf32_tradbigmips_vec bfd_elf32_ntradlittlemips_vec bfd_elf32_ntradbigmips_vec bfd_elf64_tradbigmips_vec bfd_elf64_tradlittlemips_vec ecoff_little_vec ecoff_big_vec -#targ_defvec=mips_elf32_trad_le_vec -#targ_selvecs=mips_elf32_trad_be_vec mips_elf64_trad_be_vec mips_elf64_trad_le_vec mips_ecoff_le_vec mips_ecoff_be_vec +targ_defvec=mips_elf32_trad_le_vec +targ_selvecs=mips_elf32_trad_be_vec mips_elf64_trad_be_vec mips_elf64_trad_le_vec mips_ecoff_le_vec mips_ecoff_be_vec ;; mips*-*-netbsd*) -targ_defvec=bfd_elf32_tradbigmips_vec -targ_selvecs=bfd_elf32_tradlittlemips_vec bfd_elf32_ntradbigmips_vec bfd_elf32_ntradlittlemips_vec bfd_elf64_tradbigmips_vec bfd_elf64_tradlittlemips_vec ecoff_big_vec ecoff_little_vec -#targ_defvec=mips_elf32_trad_be_vec -#targ_selvecs=mips_elf32_trad_le_vec mips_elf64_trad_be_vec mips_elf64_trad_le_vec mips_ecoff_be_vec mips_ecoff_le_vec +targ_defvec=mips_elf32_trad_be_vec +targ_selvecs=mips_elf32_trad_le_vec mips_elf64_trad_be_vec mips_elf64_trad_le_vec mips_ecoff_be_vec mips_ecoff_le_vec ;; #endif mips*-dec-* | mips*el-*-ecoff*)
CVS commit: src/external/gpl3/gdb/dist/bfd/doc
Module Name:src Committed By: christos Date: Sun Aug 16 09:57:37 UTC 2015 Modified Files: src/external/gpl3/gdb/dist/bfd/doc: Makefile.in bfd.info Log Message: merge conflicts To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gdb/dist/bfd/doc/Makefile.in cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gdb/dist/bfd/doc/bfd.info Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: matt Date: Sat May 23 01:41:02 UTC 2015 Modified Files: src/external/gpl3/gdb/dist/bfd: config.bfd Log Message: Add the mips n32 target vectors. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gdb/dist/bfd/config.bfd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: matt Date: Sat May 23 01:41:02 UTC 2015 Modified Files: src/external/gpl3/gdb/dist/bfd: config.bfd Log Message: Add the mips n32 target vectors. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gdb/dist/bfd/config.bfd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gdb/dist/bfd/config.bfd diff -u src/external/gpl3/gdb/dist/bfd/config.bfd:1.6 src/external/gpl3/gdb/dist/bfd/config.bfd:1.7 --- src/external/gpl3/gdb/dist/bfd/config.bfd:1.6 Sun Aug 10 05:57:30 2014 +++ src/external/gpl3/gdb/dist/bfd/config.bfd Sat May 23 01:41:02 2015 @@ -972,11 +972,11 @@ case ${targ} in #ifdef BFD64 mips*el-*-netbsd*) targ_defvec=bfd_elf32_tradlittlemips_vec -targ_selvecs=bfd_elf32_tradbigmips_vec bfd_elf64_tradbigmips_vec bfd_elf64_tradlittlemips_vec ecoff_little_vec ecoff_big_vec +targ_selvecs=bfd_elf32_tradbigmips_vec bfd_elf32_ntradlittlemips_vec bfd_elf32_ntradbigmips_vec bfd_elf64_tradbigmips_vec bfd_elf64_tradlittlemips_vec ecoff_little_vec ecoff_big_vec ;; mips*-*-netbsd*) targ_defvec=bfd_elf32_tradbigmips_vec -targ_selvecs=bfd_elf32_tradlittlemips_vec bfd_elf64_tradbigmips_vec bfd_elf64_tradlittlemips_vec ecoff_big_vec ecoff_little_vec +targ_selvecs=bfd_elf32_tradlittlemips_vec bfd_elf32_ntradbigmips_vec bfd_elf32_ntradlittlemips_vec bfd_elf64_tradbigmips_vec bfd_elf64_tradlittlemips_vec ecoff_big_vec ecoff_little_vec ;; #endif mips*-dec-* | mips*el-*-ecoff*)
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: christos Date: Thu May 7 14:43:22 UTC 2015 Modified Files: src/external/gpl3/gdb/dist/bfd: configure configure.in Log Message: generalize the mips test to match mips64. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gdb/dist/bfd/configure cvs rdiff -u -r1.1.1.3 -r1.2 src/external/gpl3/gdb/dist/bfd/configure.in Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gdb/dist/bfd/configure diff -u src/external/gpl3/gdb/dist/bfd/configure:1.3 src/external/gpl3/gdb/dist/bfd/configure:1.4 --- src/external/gpl3/gdb/dist/bfd/configure:1.3 Sun Jun 22 19:52:57 2014 +++ src/external/gpl3/gdb/dist/bfd/configure Thu May 7 10:43:22 2015 @@ -13947,7 +13947,7 @@ if test ${target} = ${host}; then COREFILE=trad-core.lo TRAD_HEADER='hosts/i860mach3.h' ;; - mips-*-netbsd* | mips*-*-openbsd*) + mips*-*-netbsd* | mips*-*-openbsd*) COREFILE=netbsd-core.lo ;; mips-dec-*) Index: src/external/gpl3/gdb/dist/bfd/configure.in diff -u src/external/gpl3/gdb/dist/bfd/configure.in:1.1.1.3 src/external/gpl3/gdb/dist/bfd/configure.in:1.2 --- src/external/gpl3/gdb/dist/bfd/configure.in:1.1.1.3 Sun Jun 22 19:39:53 2014 +++ src/external/gpl3/gdb/dist/bfd/configure.in Thu May 7 10:43:22 2015 @@ -360,7 +360,7 @@ changequote([,])dnl COREFILE=trad-core.lo TRAD_HEADER='hosts/i860mach3.h' ;; - mips-*-netbsd* | mips*-*-openbsd*) + mips*-*-netbsd* | mips*-*-openbsd*) COREFILE=netbsd-core.lo ;; mips-dec-*)
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: apb Date: Tue Oct 15 07:14:59 UTC 2013 Modified Files: src/external/gpl3/gdb/dist/bfd: configure Log Message: If the shell does not support the $LINENO variable, then use bfd_configure.lineno instead of configure.lineno as the name of the a version of the script that has had all uses of $LINENO converted to literal line numbers. Now building tools via MKCROSSGDB=yes build.sh tools works again, even if the shell does not support $LINENO. The previous problem was caused by an interaction between the way .../gdb/dist/opcodes/configure executes ${srcdir}/../bfd/configure --version, and the way both configure scripts tried to create and then execute configure.lineno scripts. Both configure.lineno scripts were created in the same OBJDIR, with the configure.lineno from .../bfd/configure overwriting the configure.lineno from .../opcodes/configure, while the latter was still running. To generate a diff of this commit: cvs rdiff -u -r1.1.1.2 -r1.2 src/external/gpl3/gdb/dist/bfd/configure Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gdb/dist/bfd/configure diff -u src/external/gpl3/gdb/dist/bfd/configure:1.1.1.2 src/external/gpl3/gdb/dist/bfd/configure:1.2 --- src/external/gpl3/gdb/dist/bfd/configure:1.1.1.2 Thu Oct 3 15:48:17 2013 +++ src/external/gpl3/gdb/dist/bfd/configure Tue Oct 15 07:14:59 2013 @@ -428,6 +428,7 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits as_lineno_2=$LINENO as_lineno_2a=$LINENO eval 'test x$as_lineno_1'$as_run' != x$as_lineno_2'$as_run' test x`expr $as_lineno_1'$as_run' + 1` = x$as_lineno_2'$as_run'' || { + as_me=bfd_$as_me # XXX don't overwrite our caller's configure.lineno # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: apb Date: Tue Oct 15 07:14:59 UTC 2013 Modified Files: src/external/gpl3/gdb/dist/bfd: configure Log Message: If the shell does not support the $LINENO variable, then use bfd_configure.lineno instead of configure.lineno as the name of the a version of the script that has had all uses of $LINENO converted to literal line numbers. Now building tools via MKCROSSGDB=yes build.sh tools works again, even if the shell does not support $LINENO. The previous problem was caused by an interaction between the way .../gdb/dist/opcodes/configure executes ${srcdir}/../bfd/configure --version, and the way both configure scripts tried to create and then execute configure.lineno scripts. Both configure.lineno scripts were created in the same OBJDIR, with the configure.lineno from .../bfd/configure overwriting the configure.lineno from .../opcodes/configure, while the latter was still running. To generate a diff of this commit: cvs rdiff -u -r1.1.1.2 -r1.2 src/external/gpl3/gdb/dist/bfd/configure Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gdb/dist/bfd/doc
Module Name:src Committed By: mrg Date: Sat Feb 18 06:17:40 UTC 2012 Modified Files: src/external/gpl3/gdb/dist/bfd/doc: Makefile.in Log Message: avoid bfd.info rebuilds and r/o source lossage. To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.2 src/external/gpl3/gdb/dist/bfd/doc/Makefile.in Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gdb/dist/bfd/doc/Makefile.in diff -u src/external/gpl3/gdb/dist/bfd/doc/Makefile.in:1.1.1.1 src/external/gpl3/gdb/dist/bfd/doc/Makefile.in:1.2 --- src/external/gpl3/gdb/dist/bfd/doc/Makefile.in:1.1.1.1 Sat Sep 24 19:47:33 2011 +++ src/external/gpl3/gdb/dist/bfd/doc/Makefile.in Sat Feb 18 06:17:39 2012 @@ -418,6 +418,8 @@ clean-libtool: -rm -rf .libs _libs bfd.info: bfd.texinfo $(bfd_TEXINFOS) + @echo NOT REBUILDING $@ +NetBSD_DISABLED_bfd.info: restore=: backupdir=$(am__leading_dot)am \ rm -rf $$backupdir mkdir $$backupdir \ if ($(MAKEINFO) --version) /dev/null 21; then \
CVS commit: src/external/gpl3/gdb/dist/bfd/doc
Module Name:src Committed By: mrg Date: Sat Feb 18 06:17:40 UTC 2012 Modified Files: src/external/gpl3/gdb/dist/bfd/doc: Makefile.in Log Message: avoid bfd.info rebuilds and r/o source lossage. To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.2 src/external/gpl3/gdb/dist/bfd/doc/Makefile.in Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: matt Date: Wed Nov 23 19:41:51 UTC 2011 Modified Files: src/external/gpl3/gdb/dist/bfd: config.bfd Log Message: Add mips64*-netbsd* clauses To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.2 src/external/gpl3/gdb/dist/bfd/config.bfd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gdb/dist/bfd/config.bfd diff -u src/external/gpl3/gdb/dist/bfd/config.bfd:1.1.1.1 src/external/gpl3/gdb/dist/bfd/config.bfd:1.2 --- src/external/gpl3/gdb/dist/bfd/config.bfd:1.1.1.1 Sat Sep 24 19:43:57 2011 +++ src/external/gpl3/gdb/dist/bfd/config.bfd Wed Nov 23 19:41:50 2011 @@ -910,6 +910,16 @@ case ${targ} in targ_defvec=ecoff_big_vec targ_selvecs=ecoff_little_vec ;; +#ifdef BFD64 + mips64*el-*-netbsd*) +targ_defvec=bfd_elf32_ntradlittlemips_vec +targ_selvecs=bfd_elf64_tradbigmips_vec bfd_elf64_tradlittlemips_vec bfd_elf32_ntradbigmips_vec bfd_elf32_tradlittlemips_vec bfd_elf32_tradbigmips_vec +;; + mips64*-*-netbsd*) +targ_defvec=bfd_elf32_ntradbigmips_vec +targ_selvecs=bfd_elf64_tradbigmips_vec bfd_elf64_tradlittlemips_vec bfd_elf32_ntradlittlemips_vec bfd_elf32_tradlittlemips_vec bfd_elf32_tradbigmips_vec +;; +#endif mips*el-*-netbsd*) targ_defvec=bfd_elf32_tradlittlemips_vec targ_selvecs=bfd_elf32_tradbigmips_vec bfd_elf64_tradbigmips_vec bfd_elf64_tradlittlemips_vec ecoff_little_vec ecoff_big_vec
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: matt Date: Wed Nov 23 19:41:51 UTC 2011 Modified Files: src/external/gpl3/gdb/dist/bfd: config.bfd Log Message: Add mips64*-netbsd* clauses To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.2 src/external/gpl3/gdb/dist/bfd/config.bfd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: uwe Date: Tue Nov 1 00:31:39 UTC 2011 Modified Files: src/external/gpl3/gdb/dist/bfd: elf.c Log Message: elfcore_grok_netbsd_note: sync SuperH PT_GETREGS value with reality. Recognize PT_GETFPREGS that we don't yet actually have, but for which the number is now reserved. To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.2 src/external/gpl3/gdb/dist/bfd/elf.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gdb/dist/bfd/elf.c diff -u src/external/gpl3/gdb/dist/bfd/elf.c:1.1.1.1 src/external/gpl3/gdb/dist/bfd/elf.c:1.2 --- src/external/gpl3/gdb/dist/bfd/elf.c:1.1.1.1 Sat Sep 24 19:44:29 2011 +++ src/external/gpl3/gdb/dist/bfd/elf.c Tue Nov 1 00:31:38 2011 @@ -8495,6 +8495,23 @@ elfcore_grok_netbsd_note (bfd *abfd, Elf return TRUE; } + /* On SuperH, PT_GETREGS == mach+3 and PT_GETFPREGS == mach+5. + There's also old PT___GETREGS40 == mach + 1 for old reg + structure which lacks GBR. */ + +case bfd_arch_sh: + switch (note-type) + { + case NT_NETBSDCORE_FIRSTMACH+3: + return elfcore_make_note_pseudosection (abfd, .reg, note); + + case NT_NETBSDCORE_FIRSTMACH+5: + return elfcore_make_note_pseudosection (abfd, .reg2, note); + + default: + return TRUE; + } + /* On all other arch's, PT_GETREGS == mach+1 and PT_GETFPREGS == mach+3. */
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: christos Date: Tue Oct 11 15:12:00 UTC 2011 Modified Files: src/external/gpl3/gdb/dist/bfd: elf32-i386.c Log Message: don't forget to subtract the offset; found by clang -Warray-bounds To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.2 src/external/gpl3/gdb/dist/bfd/elf32-i386.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: joerg Date: Tue Oct 11 15:13:08 UTC 2011 Modified Files: src/external/gpl3/gdb/dist/bfd: bfdio.c Log Message: Fix memset usage. To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.2 src/external/gpl3/gdb/dist/bfd/bfdio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: christos Date: Sat Sep 24 20:51:05 UTC 2011 Modified Files: src/external/gpl3/gdb/dist/bfd: netbsd-core.c Log Message: make this compile. To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.2 src/external/gpl3/gdb/dist/bfd/netbsd-core.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.