CVS commit: src/external/gpl3/binutils/dist/bfd
Module Name:src Committed By: rin Date: Sat Nov 25 11:57:55 UTC 2023 Modified Files: src/external/gpl3/binutils/dist/bfd: config.bfd Log Message: binutils/bfd: Require 64-bit integer support for vax Otherwise, e.g., gas cannot assemble 64-bit immediates correctly on ILP32 hosts. Thanks hans@ for analysis: https://mail-index.netbsd.org/port-vax/2023/11/23/msg004546.html To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43 src/external/gpl3/binutils/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/binutils/dist/bfd/config.bfd diff -u src/external/gpl3/binutils/dist/bfd/config.bfd:1.42 src/external/gpl3/binutils/dist/bfd/config.bfd:1.43 --- src/external/gpl3/binutils/dist/bfd/config.bfd:1.42 Mon Aug 28 00:35:52 2023 +++ src/external/gpl3/binutils/dist/bfd/config.bfd Sat Nov 25 11:57:55 2023 @@ -1511,6 +1511,13 @@ case "${targ_defvec} ${targ_selvecs}" in ;; esac +# vax natively supports 64-bit integers. +case "${targ_defvec} ${targ_selvecs}" in + *vax*) +want64=true +;; +esac + case "${host64}${want64}" in *true*) targ_selvecs="${targ_selvecs} ${targ64_selvecs}"
CVS commit: src/external/gpl3/binutils/dist/bfd
Module Name:src Committed By: rin Date: Sat Nov 25 11:57:55 UTC 2023 Modified Files: src/external/gpl3/binutils/dist/bfd: config.bfd Log Message: binutils/bfd: Require 64-bit integer support for vax Otherwise, e.g., gas cannot assemble 64-bit immediates correctly on ILP32 hosts. Thanks hans@ for analysis: https://mail-index.netbsd.org/port-vax/2023/11/23/msg004546.html To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43 src/external/gpl3/binutils/dist/bfd/config.bfd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Re: CVS commit: src/external/gpl3/binutils/dist/bfd
On Tue, Sep 5, 2023 at 4:46 AM matthew green wrote: > > > I did similar verification for gdb/dist/bfd also. I'd like to > > sync {binutils,gdb}/dist/bfd, but there are huge diffs between > > them. Most of them seem like binutils or gdb specific fixes, > > but I may overlook something... > > > > It must be nice if we could unify two libbfd's. The upstream > > uses the same repository for binutils and gdb. However, the > > release branches for them are quite different, unfortunately. > > we used to do this a long time and and it's really difficult > to not break one toolchain component while updating another > and we ditched the merged 'src' tree like upstream had. > > (long ago, GCC was in the same 'src' as well, but i think > it's no longer the same. our merged tree had GCC too...) > > this is a nice idea, but practically we already stopped > using it.. Ah, thanks for kind explanation. And, > IFF we switched to importing gdb/binutils from the non > release branch at the same point, we could probaly do this > as long as we understand we're getting devel code, not > release code, which is probably a bad idea...would like to > have at least one of them as a release ;) well, it should be painful ether way ;) OK, I wil eventually send PRs to upstream to merge our local changes eventually, at least until kamil@ gets some time for NetBSD again :) Thanks, rin
re: CVS commit: src/external/gpl3/binutils/dist/bfd
> I did similar verification for gdb/dist/bfd also. I'd like to > sync {binutils,gdb}/dist/bfd, but there are huge diffs between > them. Most of them seem like binutils or gdb specific fixes, > but I may overlook something... > > It must be nice if we could unify two libbfd's. The upstream > uses the same repository for binutils and gdb. However, the > release branches for them are quite different, unfortunately. we used to do this a long time and and it's really difficult to not break one toolchain component while updating another and we ditched the merged 'src' tree like upstream had. (long ago, GCC was in the same 'src' as well, but i think it's no longer the same. our merged tree had GCC too...) this is a nice idea, but practically we already stopped using it.. IFF we switched to importing gdb/binutils from the non release branch at the same point, we could probaly do this as long as we understand we're getting devel code, not release code, which is probably a bad idea...would like to have at least one of them as a release ;) .mrg.
Re: CVS commit: src/external/gpl3/binutils/dist/bfd
On 2023/08/28 19:55, Valery Ushakov wrote: On Mon, Aug 28, 2023 at 00:02:50 +, Rin Okuyama wrote: Log Message: binutils/bfd: Adjust blank line to reduce diff from upstream Thanks a lot for these cleanups! Do we need to apply similar cleanups to the bfd version in gdb? (external/gpl3/gdb/dist/bfd) Thanks! I did similar verification for gdb/dist/bfd also. I'd like to sync {binutils,gdb}/dist/bfd, but there are huge diffs between them. Most of them seem like binutils or gdb specific fixes, but I may overlook something... It must be nice if we could unify two libbfd's. The upstream uses the same repository for binutils and gdb. However, the release branches for them are quite different, unfortunately. For example, gdb 12 seems to be branched somewhere between binutils 2.34 and 2.39, and they does not seem to merge non- critical changes from development branch. So, it is painful to unify both bfd's by our side. The best choice we can make, should be to upstream our fixes, IMO... Thanks, rin
Re: CVS commit: src/external/gpl3/binutils/dist/bfd
On Mon, Aug 28, 2023 at 00:02:50 +, Rin Okuyama wrote: > Log Message: > binutils/bfd: Adjust blank line to reduce diff from upstream Thanks a lot for these cleanups! Do we need to apply similar cleanups to the bfd version in gdb? (external/gpl3/gdb/dist/bfd) -uwe
CVS commit: src/external/gpl3/binutils/dist/bfd
Module Name:src Committed By: rin Date: Mon Aug 28 01:59:26 UTC 2023 Modified Files: src/external/gpl3/binutils/dist/bfd: elf64-ppc.c Log Message: binutils/bfd/elf64-ppc.c: Fix merge botch Extra NULL check for irrelevant variable has been accidentally introduced during binutils 2.26 merge. Probably confused with similar if block nearby... To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/external/gpl3/binutils/dist/bfd/elf64-ppc.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/binutils/dist/bfd
Module Name:src Committed By: rin Date: Mon Aug 28 01:59:26 UTC 2023 Modified Files: src/external/gpl3/binutils/dist/bfd: elf64-ppc.c Log Message: binutils/bfd/elf64-ppc.c: Fix merge botch Extra NULL check for irrelevant variable has been accidentally introduced during binutils 2.26 merge. Probably confused with similar if block nearby... To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/external/gpl3/binutils/dist/bfd/elf64-ppc.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/binutils/dist/bfd/elf64-ppc.c diff -u src/external/gpl3/binutils/dist/bfd/elf64-ppc.c:1.18 src/external/gpl3/binutils/dist/bfd/elf64-ppc.c:1.19 --- src/external/gpl3/binutils/dist/bfd/elf64-ppc.c:1.18 Mon Jan 16 00:11:50 2023 +++ src/external/gpl3/binutils/dist/bfd/elf64-ppc.c Mon Aug 28 01:59:26 2023 @@ -16491,7 +16491,7 @@ ppc64_elf_relocate_section (bfd *output_ } } - if (!can_plt_call && h != NULL) + if (!can_plt_call) { /* g++ as of 20130507 emits self-calls without a following nop. This is arguably wrong since we
CVS commit: src/external/gpl3/binutils/dist/bfd
Module Name:src Committed By: rin Date: Mon Aug 28 01:52:30 UTC 2023 Modified Files: src/external/gpl3/binutils/dist/bfd: elf.c Log Message: binutils/bfd/elf.c: Dedup merge botch This code segment had been moved from original location in the upstream source, as a part of: http://cvsweb.netbsd.org/bsdweb.cgi/src/external/gpl3/binutils/dist/bfd/elf.c#rev1.12 It accidentally became duplicated during binutils 2.39 merge. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/external/gpl3/binutils/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/binutils/dist/bfd/elf.c diff -u src/external/gpl3/binutils/dist/bfd/elf.c:1.18 src/external/gpl3/binutils/dist/bfd/elf.c:1.19 --- src/external/gpl3/binutils/dist/bfd/elf.c:1.18 Thu Aug 17 06:49:27 2023 +++ src/external/gpl3/binutils/dist/bfd/elf.c Mon Aug 28 01:52:30 2023 @@ -4796,10 +4796,6 @@ _bfd_elf_map_sections_to_segments (bfd * hdr_index = 0; writable = false; executable = false; - dynsec = bfd_get_section_by_name (abfd, ".dynamic"); - if (dynsec != NULL - && (dynsec->flags & SEC_LOAD) == 0) - dynsec = NULL; if ((abfd->flags & D_PAGED) == 0) phdr_in_segment = false;
CVS commit: src/external/gpl3/binutils/dist/bfd
Module Name:src Committed By: rin Date: Mon Aug 28 01:52:30 UTC 2023 Modified Files: src/external/gpl3/binutils/dist/bfd: elf.c Log Message: binutils/bfd/elf.c: Dedup merge botch This code segment had been moved from original location in the upstream source, as a part of: http://cvsweb.netbsd.org/bsdweb.cgi/src/external/gpl3/binutils/dist/bfd/elf.c#rev1.12 It accidentally became duplicated during binutils 2.39 merge. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/external/gpl3/binutils/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/binutils/dist/bfd
Module Name:src Committed By: rin Date: Mon Aug 28 00:35:52 UTC 2023 Modified Files: src/external/gpl3/binutils/dist/bfd: config.bfd Log Message: binutils/config.bfd: Add mipsn64e? and misc clean up for mips* - Introduce mipsn64e[bl]. - Sort targets consistently; o32 --> n32 --> n64 --> ecoff, eb --> el. - Reduce diff from gdb/config.bfd (will commit soon). To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42 src/external/gpl3/binutils/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/binutils/dist/bfd
Module Name:src Committed By: rin Date: Mon Aug 28 00:35:52 UTC 2023 Modified Files: src/external/gpl3/binutils/dist/bfd: config.bfd Log Message: binutils/config.bfd: Add mipsn64e? and misc clean up for mips* - Introduce mipsn64e[bl]. - Sort targets consistently; o32 --> n32 --> n64 --> ecoff, eb --> el. - Reduce diff from gdb/config.bfd (will commit soon). To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42 src/external/gpl3/binutils/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/binutils/dist/bfd/config.bfd diff -u src/external/gpl3/binutils/dist/bfd/config.bfd:1.41 src/external/gpl3/binutils/dist/bfd/config.bfd:1.42 --- src/external/gpl3/binutils/dist/bfd/config.bfd:1.41 Mon Aug 28 00:31:36 2023 +++ src/external/gpl3/binutils/dist/bfd/config.bfd Mon Aug 28 00:35:52 2023 @@ -863,6 +863,30 @@ case "${targ}" in ;; #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" +;; + 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" +;; + mips64*el-*-netbsd*) +targ_defvec=mips_elf32_ntrad_le_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_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_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_be_vec mips_elf64_trad_le_vec mips_ecoff_be_vec mips_ecoff_le_vec" +;; mips*el-*-haiku*) targ_defvec=mips_elf32_le_vec targ_selvecs="mips_elf32_be_vec mips_elf64_be_vec mips_elf64_le_vec mips_ecoff_le_vec mips_ecoff_be_vec" @@ -907,22 +931,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 mips_ecoff_le_vec mips_ecoff_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_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" -;; - 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/binutils/dist/bfd
Module Name:src Committed By: rin Date: Mon Aug 28 00:31:36 UTC 2023 Modified Files: src/external/gpl3/binutils/dist/bfd: config.bfd Log Message: binutils/config.bfd: Clean up sh5 residue. NFC Drop 64-bit integer support to sh3 target. Already removed for little-endian target, whereas remained for big-endian somehow. To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 src/external/gpl3/binutils/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/binutils/dist/bfd
Module Name:src Committed By: rin Date: Mon Aug 28 00:31:36 UTC 2023 Modified Files: src/external/gpl3/binutils/dist/bfd: config.bfd Log Message: binutils/config.bfd: Clean up sh5 residue. NFC Drop 64-bit integer support to sh3 target. Already removed for little-endian target, whereas remained for big-endian somehow. To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 src/external/gpl3/binutils/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/binutils/dist/bfd/config.bfd diff -u src/external/gpl3/binutils/dist/bfd/config.bfd:1.40 src/external/gpl3/binutils/dist/bfd/config.bfd:1.41 --- src/external/gpl3/binutils/dist/bfd/config.bfd:1.40 Mon Aug 28 00:27:50 2023 +++ src/external/gpl3/binutils/dist/bfd/config.bfd Mon Aug 28 00:31:36 2023 @@ -1285,7 +1285,6 @@ case "${targ}" in sh*-*-netbsd*) targ_defvec=sh_elf32_nbsd_vec targ_selvecs="sh_elf32_nbsd_le_vec sh_coff_vec sh_coff_le_vec" -want64=true ;; shl*-*-elf* | sh[1234]l*-*-elf* | sh3el*-*-elf* | shl*-*-kaos*)
CVS commit: src/external/gpl3/binutils/dist/bfd
Module Name:src Committed By: rin Date: Mon Aug 28 00:27:50 UTC 2023 Modified Files: src/external/gpl3/binutils/dist/bfd: config.bfd Log Message: binutils/config.bfd: Consistently use netbsd* instead of netbsdelf* NFC as a.out support was gone... To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/external/gpl3/binutils/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/binutils/dist/bfd/config.bfd diff -u src/external/gpl3/binutils/dist/bfd/config.bfd:1.39 src/external/gpl3/binutils/dist/bfd/config.bfd:1.40 --- src/external/gpl3/binutils/dist/bfd/config.bfd:1.39 Thu Aug 17 07:33:21 2023 +++ src/external/gpl3/binutils/dist/bfd/config.bfd Mon Aug 28 00:27:50 2023 @@ -1329,7 +1329,7 @@ case "${targ}" in targ_underscore=yes ;; - sparc-*-netbsdelf*) + sparc-*-netbsd*) targ_defvec=sparc_elf32_vec want64=true ;;
CVS commit: src/external/gpl3/binutils/dist/bfd
Module Name:src Committed By: rin Date: Mon Aug 28 00:27:50 UTC 2023 Modified Files: src/external/gpl3/binutils/dist/bfd: config.bfd Log Message: binutils/config.bfd: Consistently use netbsd* instead of netbsdelf* NFC as a.out support was gone... To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/external/gpl3/binutils/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/binutils/dist/bfd
Module Name:src Committed By: rin Date: Mon Aug 28 00:25:44 UTC 2023 Modified Files: src/external/gpl3/binutils/dist/bfd: configure configure.ac Log Message: binutils/bfd: Make ILP32 (instead of LP64) default target for mips n32 Make sure native tools working on n32 userland for 3rd party softwares. ABI for our source tree (kernels, modules, compat libraries, etc.) are explicitly set by our framework. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/external/gpl3/binutils/dist/bfd/configure cvs rdiff -u -r1.11 -r1.12 src/external/gpl3/binutils/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/binutils/dist/bfd/configure diff -u src/external/gpl3/binutils/dist/bfd/configure:1.19 src/external/gpl3/binutils/dist/bfd/configure:1.20 --- src/external/gpl3/binutils/dist/bfd/configure:1.19 Sun Jan 15 23:10:52 2023 +++ src/external/gpl3/binutils/dist/bfd/configure Mon Aug 28 00:25:44 2023 @@ -13480,8 +13480,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/binutils/dist/bfd/configure.ac diff -u src/external/gpl3/binutils/dist/bfd/configure.ac:1.11 src/external/gpl3/binutils/dist/bfd/configure.ac:1.12 --- src/external/gpl3/binutils/dist/bfd/configure.ac:1.11 Fri Jan 6 15:47:38 2023 +++ src/external/gpl3/binutils/dist/bfd/configure.ac Mon Aug 28 00:25:44 2023 @@ -537,8 +537,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/binutils/dist/bfd
Module Name:src Committed By: rin Date: Mon Aug 28 00:25:44 UTC 2023 Modified Files: src/external/gpl3/binutils/dist/bfd: configure configure.ac Log Message: binutils/bfd: Make ILP32 (instead of LP64) default target for mips n32 Make sure native tools working on n32 userland for 3rd party softwares. ABI for our source tree (kernels, modules, compat libraries, etc.) are explicitly set by our framework. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/external/gpl3/binutils/dist/bfd/configure cvs rdiff -u -r1.11 -r1.12 src/external/gpl3/binutils/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/binutils/dist/bfd
Module Name:src Committed By: rin Date: Mon Aug 28 00:13:17 UTC 2023 Modified Files: src/external/gpl3/binutils/dist/bfd: elf32-ppc.c Log Message: binutils/bfd/elf32-ppc.c: Drop now-unnecessary local fix Drop one of "cast enum into int" workarounds: http://cvsweb.netbsd.org/bsdweb.cgi/src/external/gpl3/binutils/dist/bfd/elf32-ppc.c#rev1.3 http://cvsweb.netbsd.org/bsdweb.cgi/src/external/gpl3/binutils/dist/bfd/elf32-ppc.c#rev1.4 One of them had already been dropped, and this one accidentally remained. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/external/gpl3/binutils/dist/bfd/elf32-ppc.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/binutils/dist/bfd/elf32-ppc.c diff -u src/external/gpl3/binutils/dist/bfd/elf32-ppc.c:1.17 src/external/gpl3/binutils/dist/bfd/elf32-ppc.c:1.18 --- src/external/gpl3/binutils/dist/bfd/elf32-ppc.c:1.17 Sat Dec 24 20:17:04 2022 +++ src/external/gpl3/binutils/dist/bfd/elf32-ppc.c Mon Aug 28 00:13:17 2023 @@ -3027,7 +3027,7 @@ ppc_elf_check_relocs (bfd *abfd, sec->nomark_tls_get_addr = 1; } - switch ((int)r_type) + switch (r_type) { case R_PPC_TLSGD: case R_PPC_TLSLD:
CVS commit: src/external/gpl3/binutils/dist/bfd
Module Name:src Committed By: rin Date: Mon Aug 28 00:13:17 UTC 2023 Modified Files: src/external/gpl3/binutils/dist/bfd: elf32-ppc.c Log Message: binutils/bfd/elf32-ppc.c: Drop now-unnecessary local fix Drop one of "cast enum into int" workarounds: http://cvsweb.netbsd.org/bsdweb.cgi/src/external/gpl3/binutils/dist/bfd/elf32-ppc.c#rev1.3 http://cvsweb.netbsd.org/bsdweb.cgi/src/external/gpl3/binutils/dist/bfd/elf32-ppc.c#rev1.4 One of them had already been dropped, and this one accidentally remained. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/external/gpl3/binutils/dist/bfd/elf32-ppc.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/binutils/dist/bfd
Module Name:src Committed By: rin Date: Mon Aug 28 00:09:17 UTC 2023 Modified Files: src/external/gpl3/binutils/dist/bfd: elflink.c Log Message: binutils/bfd/elflink.c: Clean up our local fix. NFC Now, ELF64_R_INFO() macro casts indx argument appropriately. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/external/gpl3/binutils/dist/bfd/elflink.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/binutils/dist/bfd/elflink.c diff -u src/external/gpl3/binutils/dist/bfd/elflink.c:1.19 src/external/gpl3/binutils/dist/bfd/elflink.c:1.20 --- src/external/gpl3/binutils/dist/bfd/elflink.c:1.19 Sat Dec 24 20:17:04 2022 +++ src/external/gpl3/binutils/dist/bfd/elflink.c Mon Aug 28 00:09:17 2023 @@ -12075,12 +12075,9 @@ elf_reloc_link_order (bfd *output_bfd, irel[0].r_info = ELF32_R_INFO (indx, howto->type); else #ifdef BFD64 - { -uint64_t indx64 = indx; -irel[0].r_info = ELF64_R_INFO (indx64, howto->type); - } +irel[0].r_info = ELF64_R_INFO (indx, howto->type); #else - BFD_FAIL(); +BFD_FAIL(); #endif rel_hdr = reldata->hdr;
CVS commit: src/external/gpl3/binutils/dist/bfd
Module Name:src Committed By: rin Date: Mon Aug 28 00:09:17 UTC 2023 Modified Files: src/external/gpl3/binutils/dist/bfd: elflink.c Log Message: binutils/bfd/elflink.c: Clean up our local fix. NFC Now, ELF64_R_INFO() macro casts indx argument appropriately. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/external/gpl3/binutils/dist/bfd/elflink.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/binutils/dist/bfd
Module Name:src Committed By: rin Date: Mon Aug 28 00:02:50 UTC 2023 Modified Files: src/external/gpl3/binutils/dist/bfd: elf32-i386.c Log Message: binutils/bfd: Adjust blank line to reduce diff from upstream To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/external/gpl3/binutils/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/binutils/dist/bfd
Module Name:src Committed By: rin Date: Mon Aug 28 00:02:50 UTC 2023 Modified Files: src/external/gpl3/binutils/dist/bfd: elf32-i386.c Log Message: binutils/bfd: Adjust blank line to reduce diff from upstream To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/external/gpl3/binutils/dist/bfd/elf32-i386.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/binutils/dist/bfd/elf32-i386.c diff -u src/external/gpl3/binutils/dist/bfd/elf32-i386.c:1.13 src/external/gpl3/binutils/dist/bfd/elf32-i386.c:1.14 --- src/external/gpl3/binutils/dist/bfd/elf32-i386.c:1.13 Sat Dec 24 20:17:04 2022 +++ src/external/gpl3/binutils/dist/bfd/elf32-i386.c Mon Aug 28 00:02:50 2023 @@ -527,6 +527,7 @@ elf_i386_grok_psinfo (bfd *abfd, Elf_Int one of the last functions. */ /* The size in bytes of an entry in the lazy procedure linkage table. */ + #define LAZY_PLT_ENTRY_SIZE 16 /* The name of the dynamic interpreter. This is put in the .interp
CVS commit: src/external/gpl3/binutils/dist/bfd
Module Name:src Committed By: rin Date: Mon Aug 28 00:01:37 UTC 2023 Modified Files: src/external/gpl3/binutils/dist/bfd: archive.c Log Message: binutils/bfd/archive.c: Reduce diff from upstream. NFC - Drop #if-0'ed code (more than 7 years disabled). - Make variable assignment similar to upstream. - Drop local style fix. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/external/gpl3/binutils/dist/bfd/archive.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/binutils/dist/bfd/archive.c diff -u src/external/gpl3/binutils/dist/bfd/archive.c:1.11 src/external/gpl3/binutils/dist/bfd/archive.c:1.12 --- src/external/gpl3/binutils/dist/bfd/archive.c:1.11 Sat Dec 24 20:17:04 2022 +++ src/external/gpl3/binutils/dist/bfd/archive.c Mon Aug 28 00:01:37 2023 @@ -847,16 +847,6 @@ bfd_generic_openr_next_archived_file (bf { filestart = last_file->proxy_origin; if (! bfd_is_thin_archive (archive)) -#if 0 -/* OLD CODE */ - filestart += size; - /* Pad to an even boundary... - Note that last_file->origin can be odd in the case of - BSD-4.4-style element with a long odd size. */ - if (!strncmp(arch_hdr (last_file)->ar_name, "#1/", 3)) - size += strlen(normalize(last_file, last_file->filename)); - filestart += size % 2; -#endif { bfd_size_type size = arelt_size (last_file); @@ -2227,13 +2217,13 @@ _bfd_write_archive_contents (bfd *arch) current = current->archive_next) { char buffer[DEFAULT_BUFFERSIZE]; - bfd_size_type saved_size = arelt_size (current); - bfd_size_type remaining = saved_size; + bfd_size_type remaining = arelt_size (current); + bfd_size_type saved_size = remaining; struct ar_hdr *hdr = arch_hdr (current); /* Write ar header. */ if (!_bfd_write_ar_hdr (arch, current)) -return false; + return false; /* Write filename if it is a 4.4BSD extended file, and add to size. */ if (!strncmp (hdr->ar_name, "#1/", 3)) {
CVS commit: src/external/gpl3/binutils/dist/bfd
Module Name:src Committed By: rin Date: Mon Aug 28 00:01:37 UTC 2023 Modified Files: src/external/gpl3/binutils/dist/bfd: archive.c Log Message: binutils/bfd/archive.c: Reduce diff from upstream. NFC - Drop #if-0'ed code (more than 7 years disabled). - Make variable assignment similar to upstream. - Drop local style fix. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/external/gpl3/binutils/dist/bfd/archive.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/binutils/dist/bfd
Module Name:src Committed By: rin Date: Thu Aug 17 07:33:21 UTC 2023 Modified Files: src/external/gpl3/binutils/dist/bfd: config.bfd Log Message: binutils/bfd: Fix target triplets of NetBSD/arm from binutils.old XXX mknative later To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/external/gpl3/binutils/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/binutils/dist/bfd/config.bfd diff -u src/external/gpl3/binutils/dist/bfd/config.bfd:1.38 src/external/gpl3/binutils/dist/bfd/config.bfd:1.39 --- src/external/gpl3/binutils/dist/bfd/config.bfd:1.38 Wed Feb 8 01:53:12 2023 +++ src/external/gpl3/binutils/dist/bfd/config.bfd Thu Aug 17 07:33:21 2023 @@ -374,11 +374,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*-*-netbsd*) targ_defvec=arm_elf32_le_vec targ_selvecs="arm_elf32_be_vec" ;;
CVS commit: src/external/gpl3/binutils/dist/bfd
Module Name:src Committed By: rin Date: Thu Aug 17 07:33:21 UTC 2023 Modified Files: src/external/gpl3/binutils/dist/bfd: config.bfd Log Message: binutils/bfd: Fix target triplets of NetBSD/arm from binutils.old XXX mknative later To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/external/gpl3/binutils/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/binutils/dist/bfd
Module Name:src Committed By: rin Date: Thu Aug 17 06:49:28 UTC 2023 Modified Files: src/external/gpl3/binutils/dist/bfd: elf.c Log Message: binutils/bfd: Correct auxv offset for NetBSD, from gdb/bfd Fallout not observed yet as far as I can see although... To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/external/gpl3/binutils/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/binutils/dist/bfd/elf.c diff -u src/external/gpl3/binutils/dist/bfd/elf.c:1.17 src/external/gpl3/binutils/dist/bfd/elf.c:1.18 --- src/external/gpl3/binutils/dist/bfd/elf.c:1.17 Sat Dec 24 20:17:04 2022 +++ src/external/gpl3/binutils/dist/bfd/elf.c Thu Aug 17 06:49:27 2023 @@ -11145,7 +11145,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/binutils/dist/bfd
Module Name:src Committed By: rin Date: Thu Aug 17 06:49:28 UTC 2023 Modified Files: src/external/gpl3/binutils/dist/bfd: elf.c Log Message: binutils/bfd: Correct auxv offset for NetBSD, from gdb/bfd Fallout not observed yet as far as I can see although... To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/external/gpl3/binutils/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/binutils/dist/bfd
Module Name:src Committed By: rin Date: Fri Jul 7 08:33:25 UTC 2023 Modified Files: src/external/gpl3/binutils/dist/bfd: elf64-alpha.c Log Message: PR port-alpha/57511 Temporally disable secure PLT for alpha until support is added to ld.elf_so(1). To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/external/gpl3/binutils/dist/bfd/elf64-alpha.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/binutils/dist/bfd/elf64-alpha.c diff -u src/external/gpl3/binutils/dist/bfd/elf64-alpha.c:1.10 src/external/gpl3/binutils/dist/bfd/elf64-alpha.c:1.11 --- src/external/gpl3/binutils/dist/bfd/elf64-alpha.c:1.10 Sat Dec 24 20:17:04 2022 +++ src/external/gpl3/binutils/dist/bfd/elf64-alpha.c Fri Jul 7 08:33:25 2023 @@ -83,7 +83,7 @@ /* Set by ld emulation. Putting this into the link_info or hash structure is simply working too hard. */ -#ifdef USE_SECUREPLT +#if defined(USE_SECUREPLT) && 0 /* XXX port-alpha/57511 */ bool elf64_alpha_use_secureplt = true; #else bool elf64_alpha_use_secureplt = false;
CVS commit: src/external/gpl3/binutils/dist/bfd
Module Name:src Committed By: rin Date: Fri Jul 7 08:33:25 UTC 2023 Modified Files: src/external/gpl3/binutils/dist/bfd: elf64-alpha.c Log Message: PR port-alpha/57511 Temporally disable secure PLT for alpha until support is added to ld.elf_so(1). To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/external/gpl3/binutils/dist/bfd/elf64-alpha.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/binutils/dist/bfd
Module Name:src Committed By: christos Date: Wed Feb 8 01:53:12 UTC 2023 Modified Files: src/external/gpl3/binutils/dist/bfd: config.bfd Log Message: delete dup targets (pointed by mrg@) To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 src/external/gpl3/binutils/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/binutils/dist/bfd/config.bfd diff -u src/external/gpl3/binutils/dist/bfd/config.bfd:1.37 src/external/gpl3/binutils/dist/bfd/config.bfd:1.38 --- src/external/gpl3/binutils/dist/bfd/config.bfd:1.37 Tue Feb 7 15:39:01 2023 +++ src/external/gpl3/binutils/dist/bfd/config.bfd Tue Feb 7 20:53:12 2023 @@ -863,22 +863,6 @@ case "${targ}" in ;; #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 mips_ecoff_le_vec mips_ecoff_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_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" -;; - 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" -;; mips*el-*-haiku*) targ_defvec=mips_elf32_le_vec targ_selvecs="mips_elf32_be_vec mips_elf64_be_vec mips_elf64_le_vec mips_ecoff_le_vec mips_ecoff_be_vec"
CVS commit: src/external/gpl3/binutils/dist/bfd
Module Name:src Committed By: christos Date: Wed Feb 8 01:53:12 UTC 2023 Modified Files: src/external/gpl3/binutils/dist/bfd: config.bfd Log Message: delete dup targets (pointed by mrg@) To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 src/external/gpl3/binutils/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/binutils/dist/bfd
Module Name:src Committed By: christos Date: Mon Jan 16 00:11:50 UTC 2023 Modified Files: src/external/gpl3/binutils/dist/bfd: elf32-m68k.c elf32-vax.c elf64-mips.c elf64-ppc.c Log Message: fix compilation issues. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/external/gpl3/binutils/dist/bfd/elf32-m68k.c cvs rdiff -u -r1.19 -r1.20 src/external/gpl3/binutils/dist/bfd/elf32-vax.c cvs rdiff -u -r1.11 -r1.12 src/external/gpl3/binutils/dist/bfd/elf64-mips.c cvs rdiff -u -r1.17 -r1.18 src/external/gpl3/binutils/dist/bfd/elf64-ppc.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/binutils/dist/bfd/elf32-m68k.c diff -u src/external/gpl3/binutils/dist/bfd/elf32-m68k.c:1.14 src/external/gpl3/binutils/dist/bfd/elf32-m68k.c:1.15 --- src/external/gpl3/binutils/dist/bfd/elf32-m68k.c:1.14 Sat Dec 24 15:17:04 2022 +++ src/external/gpl3/binutils/dist/bfd/elf32-m68k.c Sun Jan 15 19:11:50 2023 @@ -2804,7 +2804,7 @@ elf_m68k_check_relocs (bfd *abfd, || ELF32_R_TYPE (rel->r_info) == R_68K_PC16 || ELF32_R_TYPE (rel->r_info) == R_68K_PC32)) { - if (info->warn_shared_textrel) + if (bfd_link_textrel_check(info)) (*_bfd_error_handler) (_("warning: dynamic relocation to `%s' in readonly section `%s'"), h->root.root.string, sec->name); @@ -3258,7 +3258,7 @@ elf_m68k_discard_copies (struct elf_link s = s->next) if ((s->section->flags & SEC_READONLY) != 0) { - if (info->warn_shared_textrel) + if (bfd_link_textrel_check(info)) (*_bfd_error_handler) (_("warning: dynamic relocation to `%s' in readonly section `%s'"), h->root.root.string, s->section->name); Index: src/external/gpl3/binutils/dist/bfd/elf32-vax.c diff -u src/external/gpl3/binutils/dist/bfd/elf32-vax.c:1.19 src/external/gpl3/binutils/dist/bfd/elf32-vax.c:1.20 --- src/external/gpl3/binutils/dist/bfd/elf32-vax.c:1.19 Sat Dec 24 15:17:04 2022 +++ src/external/gpl3/binutils/dist/bfd/elf32-vax.c Sun Jan 15 19:11:50 2023 @@ -497,21 +497,21 @@ elf32_vax_set_private_flags (bfd *abfd, } /* Copy vax-specific data from one module to another */ -static bfd_boolean +static bool elf32_vax_copy_private_bfd_data (bfd *ibfd, bfd *obfd) { flagword in_flags; if (bfd_get_flavour (ibfd) != bfd_target_elf_flavour || bfd_get_flavour (obfd) != bfd_target_elf_flavour) -return TRUE; +return true; in_flags = elf_elfheader (ibfd)->e_flags; elf_elfheader (obfd)->e_flags = in_flags; - elf_flags_init (obfd) = TRUE; + elf_flags_init (obfd) = true; - return TRUE; + return true; } /* Merge backend specific data from an object file to the output @@ -752,7 +752,7 @@ elf_vax_check_relocs (bfd *abfd, struct if (sec->flags & SEC_READONLY) { - if (info->warn_shared_textrel) + if (bfd_link_textrel_check(info)) (*_bfd_error_handler) (_("warning: dynamic relocation to `%s' in readonly section `%s'"), h ? h->root.root.string : "?", sec->name); Index: src/external/gpl3/binutils/dist/bfd/elf64-mips.c diff -u src/external/gpl3/binutils/dist/bfd/elf64-mips.c:1.11 src/external/gpl3/binutils/dist/bfd/elf64-mips.c:1.12 --- src/external/gpl3/binutils/dist/bfd/elf64-mips.c:1.11 Sat Dec 24 15:17:04 2022 +++ src/external/gpl3/binutils/dist/bfd/elf64-mips.c Sun Jan 15 19:11:50 2023 @@ -111,7 +111,7 @@ static bfd_reloc_status_type mips_elf64_ (bfd *, asymbol *, bool, char **, bfd_vma *); static bool mips_elf64_object_p (bfd *); -static bfd_boolean mips_elf64_is_local_label_name +static bool mips_elf64_is_local_label_name (bfd *, const char *); static irix_compat_t elf64_mips_irix_compat (bfd *); @@ -3370,7 +3370,7 @@ mips_elf64_be_swap_reloca_out (bfd *abfd (Elf64_Mips_External_Rela *) dst); } -/* Set the GP value for OUTPUT_BFD. Returns FALSE if this is a +/* Set the GP value for OUTPUT_BFD. Returns false if this is a dangerous relocation. */ static bool @@ -4520,11 +4520,11 @@ mips_elf64_object_p (bfd *abfd) } /* MIPS ELF local labels start with "$L". */ -static bfd_boolean +static bool mips_elf64_is_local_label_name (bfd *abfd, const char *name) { if (name[0] == '$' && name[1] == 'L') -return TRUE; +return true; /* We accept the generic ELF local label syntax as well. */ return _bfd_elf_is_local_label_name (abfd, name); Index: src/external/gpl3/binutils/dist/bfd/elf64-ppc.c diff -u src/external/gpl3/binutils/dist/bfd/elf64-ppc.c:1.17 src/external/gpl3/binutils/dist/bfd/elf64-ppc.c:1.18 --- src/external/gpl3/binutils/dist/bfd/elf64-ppc.c:1.17 Sat Dec 24 15:17:04 2022 +++ src/external/gpl3/binutils/dist/bfd/elf64-ppc.c Sun Jan 15 19:11:50 2023 @@ -8099,7 +8099,7 @@ ppc64_elf_tls_setup (struct bfd_link_inf return true; } -/* Return TRUE iff REL is a branch reloc with a global symbol matching +/* Return
CVS commit: src/external/gpl3/binutils/dist/bfd
Module Name:src Committed By: christos Date: Mon Jan 16 00:11:50 UTC 2023 Modified Files: src/external/gpl3/binutils/dist/bfd: elf32-m68k.c elf32-vax.c elf64-mips.c elf64-ppc.c Log Message: fix compilation issues. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/external/gpl3/binutils/dist/bfd/elf32-m68k.c cvs rdiff -u -r1.19 -r1.20 src/external/gpl3/binutils/dist/bfd/elf32-vax.c cvs rdiff -u -r1.11 -r1.12 src/external/gpl3/binutils/dist/bfd/elf64-mips.c cvs rdiff -u -r1.17 -r1.18 src/external/gpl3/binutils/dist/bfd/elf64-ppc.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/binutils/dist/bfd
Module Name:src Committed By: hannken Date: Mon Jan 2 20:49:59 UTC 2023 Modified Files: src/external/gpl3/binutils/dist/bfd: Makefile.in Log Message: Fix typo "zecho" -> "echo". To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/external/gpl3/binutils/dist/bfd/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/binutils/dist/bfd/Makefile.in diff -u src/external/gpl3/binutils/dist/bfd/Makefile.in:1.12 src/external/gpl3/binutils/dist/bfd/Makefile.in:1.13 --- src/external/gpl3/binutils/dist/bfd/Makefile.in:1.12 Mon Jan 2 00:55:45 2023 +++ src/external/gpl3/binutils/dist/bfd/Makefile.in Mon Jan 2 20:49:59 2023 @@ -1781,7 +1781,7 @@ doc/$(am__dirstamp): @: > doc/$(am__dirstamp) doc/bfd.info: doc/bfd.texi $(doc_bfd_TEXINFOS) - @zecho "NOT REBUILDING $@" + @echo "NOT REBUILDING $@" NetBSD_DISABLED_doc/bfd.info: @test -f doc/$(am__dirstamp) || $(MAKE) $(AM_MAKEFLAGS) doc/$(am__dirstamp) $(AM_V_MAKEINFO)restore=: && backupdir="$(am__leading_dot)am" && \
CVS commit: src/external/gpl3/binutils/dist/bfd
Module Name:src Committed By: hannken Date: Mon Jan 2 20:49:59 UTC 2023 Modified Files: src/external/gpl3/binutils/dist/bfd: Makefile.in Log Message: Fix typo "zecho" -> "echo". To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/external/gpl3/binutils/dist/bfd/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/binutils/dist/bfd
Module Name:src Committed By: christos Date: Wed Dec 28 17:00:26 UTC 2022 Modified Files: src/external/gpl3/binutils/dist/bfd: config.bfd src/external/gpl3/binutils/dist/bfd/doc: bfd.info Log Message: put back the coff and pei targets for i386 (pei is needed for efiboot) To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/external/gpl3/binutils/dist/bfd/config.bfd cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/binutils/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/binutils/dist/bfd
Module Name:src Committed By: christos Date: Sun Dec 25 22:34:45 UTC 2022 Modified Files: src/external/gpl3/binutils/dist/bfd: Makefile.am Makefile.in Log Message: Explain our local changes To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/external/gpl3/binutils/dist/bfd/Makefile.am cvs rdiff -u -r1.10 -r1.11 src/external/gpl3/binutils/dist/bfd/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/binutils/dist/bfd/Makefile.am diff -u src/external/gpl3/binutils/dist/bfd/Makefile.am:1.9 src/external/gpl3/binutils/dist/bfd/Makefile.am:1.10 --- src/external/gpl3/binutils/dist/bfd/Makefile.am:1.9 Sat Dec 24 15:17:04 2022 +++ src/external/gpl3/binutils/dist/bfd/Makefile.am Sun Dec 25 17:34:45 2022 @@ -842,6 +842,8 @@ endif $(AM_V_CC)$(LTCOMPILE) -c -o $@ -DDEBUGDIR=\"$(DEBUGDIR)\" $(srcdir)/dwarf2.c endif +# change IMPSRC ($<) to ALLSRC ($>) in the following rules so they work with +# bmake elf32-target.h : elfxx-target.h $(AM_V_GEN)$(SED) -e s/NN/32/g < $> > $@ @@ -1008,4 +1010,6 @@ coff-tic54x.lo: coff-tic54x.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC)$(LTCOMPILE) -c -o $@ $< $(NO_WERROR) +# Comment out the doc snippet because it has pattern rules our make does not +# understand #include doc/local.mk Index: src/external/gpl3/binutils/dist/bfd/Makefile.in diff -u src/external/gpl3/binutils/dist/bfd/Makefile.in:1.10 src/external/gpl3/binutils/dist/bfd/Makefile.in:1.11 --- src/external/gpl3/binutils/dist/bfd/Makefile.in:1.10 Sat Dec 24 15:17:04 2022 +++ src/external/gpl3/binutils/dist/bfd/Makefile.in Sun Dec 25 17:34:45 2022 @@ -2361,6 +2361,8 @@ dwarf2.lo: dwarf2.c Makefile @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC)$(LTCOMPILE) -c -o $@ -DDEBUGDIR=\"$(DEBUGDIR)\" $(srcdir)/dwarf2.c +# change IMPSRC ($<) to ALLSRC ($>) in the following rules so they work with +# bmake elf32-target.h : elfxx-target.h $(AM_V_GEN)$(SED) -e s/NN/32/g < $> > $@ @@ -2499,6 +2501,8 @@ doc/chew.stamp: $(srcdir)/doc/chew.c doc doc/chw$(EXEEXT_FOR_BUILD) $(MKDOC) && \ touch $@ +# Comment out the doc snippet because it has pattern rules our make does not +# understand #.PRECIOUS: doc/%.stamp #doc/%.texi: doc/%.stamp ; @true #doc/%.stamp: $(srcdir)/%.h $(srcdir)/doc/doc.str $(MKDOC) doc/$(am__dirstamp)
CVS commit: src/external/gpl3/binutils/dist/bfd
Module Name:src Committed By: christos Date: Sun Dec 25 22:34:45 UTC 2022 Modified Files: src/external/gpl3/binutils/dist/bfd: Makefile.am Makefile.in Log Message: Explain our local changes To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/external/gpl3/binutils/dist/bfd/Makefile.am cvs rdiff -u -r1.10 -r1.11 src/external/gpl3/binutils/dist/bfd/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/binutils/dist/bfd
Module Name:src Committed By: christos Date: Sun Dec 25 20:05:49 UTC 2022 Added Files: src/external/gpl3/binutils/dist/bfd: i386netbsd.c Log Message: Add i386 missing file. To generate a diff of this commit: cvs rdiff -u -r0 -r1.5 src/external/gpl3/binutils/dist/bfd/i386netbsd.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Added files: Index: src/external/gpl3/binutils/dist/bfd/i386netbsd.c diff -u /dev/null src/external/gpl3/binutils/dist/bfd/i386netbsd.c:1.5 --- /dev/null Sun Dec 25 15:05:49 2022 +++ src/external/gpl3/binutils/dist/bfd/i386netbsd.c Sun Dec 25 15:05:49 2022 @@ -0,0 +1,38 @@ +/* BFD back-end for NetBSD/386 a.out-ish binaries. + Copyright (C) 1990-2016 Free Software Foundation, Inc. + + This file is part of BFD, the Binary File Descriptor library. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, + MA 02110-1301, USA. */ + +#define BYTES_IN_WORD 4 +#undef TARGET_IS_BIG_ENDIAN_P + +#define TARGET_PAGE_SIZE 4096 +#define SEGMENT_SIZE TARGET_PAGE_SIZE + +#define DEFAULT_ARCH bfd_arch_i386 +#define DEFAULT_MID M_386_NETBSD + +/* Do not "beautify" the CONCAT* macro args. Traditional C will not + remove whitespace added here, and thus will fail to concatenate + the tokens. */ +#define MY(OP) CONCAT2 (i386_aout_nbsd_,OP) + +/* This needs to start with a.out so GDB knows it is an a.out variant. */ +#define TARGETNAME "a.out-i386-netbsd" + +#include "netbsd.h"
CVS commit: src/external/gpl3/binutils/dist/bfd
Module Name:src Committed By: christos Date: Sun Dec 25 20:05:49 UTC 2022 Added Files: src/external/gpl3/binutils/dist/bfd: i386netbsd.c Log Message: Add i386 missing file. To generate a diff of this commit: cvs rdiff -u -r0 -r1.5 src/external/gpl3/binutils/dist/bfd/i386netbsd.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/binutils/dist/bfd
Module Name:src Committed By: christos Date: Sun Dec 25 20:04:03 UTC 2022 Modified Files: src/external/gpl3/binutils/dist/bfd: version.h Log Message: Add a space between the version package and the version string because gcc configure needs it to parse the ld version to detect if support is there for symbol visibility. Yes we pass '(NetBSD binutils nb1) ' in the Makefiles, but this is fragile with all the automake massaging, and this is much easier to enforce. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/external/gpl3/binutils/dist/bfd/version.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/binutils/dist/bfd
Module Name:src Committed By: christos Date: Sun Dec 25 20:04:03 UTC 2022 Modified Files: src/external/gpl3/binutils/dist/bfd: version.h Log Message: Add a space between the version package and the version string because gcc configure needs it to parse the ld version to detect if support is there for symbol visibility. Yes we pass '(NetBSD binutils nb1) ' in the Makefiles, but this is fragile with all the automake massaging, and this is much easier to enforce. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/external/gpl3/binutils/dist/bfd/version.h 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/binutils/dist/bfd/version.h diff -u src/external/gpl3/binutils/dist/bfd/version.h:1.11 src/external/gpl3/binutils/dist/bfd/version.h:1.12 --- src/external/gpl3/binutils/dist/bfd/version.h:1.11 Sat Dec 24 15:17:04 2022 +++ src/external/gpl3/binutils/dist/bfd/version.h Sun Dec 25 15:04:03 2022 @@ -18,5 +18,5 @@ sonames. */ #define BFD_VERSION_DATE 20220805 #define BFD_VERSION @bfd_version@ -#define BFD_VERSION_STRING @bfd_version_package@ @bfd_version_string@ +#define BFD_VERSION_STRING @bfd_version_package@ " " @bfd_version_string@ #define REPORT_BUGS_TO @report_bugs_to@
CVS commit: src/external/gpl3/binutils/dist/bfd
Module Name:src Committed By: skrll Date: Wed Dec 14 12:31:16 UTC 2022 Modified Files: src/external/gpl3/binutils/dist/bfd: config.bfd Log Message: Reduce diff to upstream. NFCI. To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/external/gpl3/binutils/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/binutils/dist/bfd/config.bfd diff -u src/external/gpl3/binutils/dist/bfd/config.bfd:1.33 src/external/gpl3/binutils/dist/bfd/config.bfd:1.34 --- src/external/gpl3/binutils/dist/bfd/config.bfd:1.33 Sat Aug 8 19:26:09 2020 +++ src/external/gpl3/binutils/dist/bfd/config.bfd Wed Dec 14 12:31:15 2022 @@ -1198,14 +1198,6 @@ case "${targ}" in targ_underscore=yes ;; -#ifdef BFD64 - riscv*-*-*) -targ_defvec=riscv_elf64_vec -targ_selvecs="riscv_elf32_vec riscv_elf64_vec" -want64=true -;; -#endif - rx-*-elf) targ_defvec=rx_elf32_le_vec targ_selvecs="rx_elf32_be_vec rx_elf32_le_vec rx_elf32_be_ns_vec"
CVS commit: src/external/gpl3/binutils/dist/bfd
Module Name:src Committed By: skrll Date: Wed Dec 14 12:31:16 UTC 2022 Modified Files: src/external/gpl3/binutils/dist/bfd: config.bfd Log Message: Reduce diff to upstream. NFCI. To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/external/gpl3/binutils/dist/bfd/config.bfd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Re: CVS commit: src/external/gpl3/binutils/dist/bfd
On 2021/04/22 10:09, Rin Okuyama wrote: Module Name:src Committed By: rin Date: Thu Apr 22 01:09:48 UTC 2021 Modified Files: src/external/gpl3/binutils/dist/bfd: elf32-ppc.c elf64-ppc.c Log Message: Fix regression where ld(1) is trapped into infinite loop when linking binary whose text does not fit within R_PPC_REL24. Reported upstream as Bug 27755: https://sourceware.org/bugzilla/show_bug.cgi?id=27755 This problem was introduced to binutils-2-31-1 for our tree. netbsd-9 is affected, while netbsd-8 is not. For elf64-ppc.c, the same fix had already been applied to master branch, which I overlooked: https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=435edf0bf231240ccecb474b74ebb49dc8db2633 For elf32-ppc.c, the fix was just committed: https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=337d0bf887a3ed6b6b2123fecfec0736640edcaf I'll send pullup request to netbsd-9. Thanks, rin
CVS commit: src/external/gpl3/binutils/dist/bfd
Module Name:src Committed By: rin Date: Thu Apr 22 01:09:48 UTC 2021 Modified Files: src/external/gpl3/binutils/dist/bfd: elf32-ppc.c elf64-ppc.c Log Message: Fix regression where ld(1) is trapped into infinite loop when linking binary whose text does not fit within R_PPC_REL24. Reported upstream as Bug 27755: https://sourceware.org/bugzilla/show_bug.cgi?id=27755 This problem was introduced to binutils-2-31-1 for our tree. netbsd-9 is affected, while netbsd-8 is not. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/external/gpl3/binutils/dist/bfd/elf32-ppc.c \ src/external/gpl3/binutils/dist/bfd/elf64-ppc.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/binutils/dist/bfd/elf32-ppc.c diff -u src/external/gpl3/binutils/dist/bfd/elf32-ppc.c:1.15 src/external/gpl3/binutils/dist/bfd/elf32-ppc.c:1.16 --- src/external/gpl3/binutils/dist/bfd/elf32-ppc.c:1.15 Fri Apr 3 23:48:46 2020 +++ src/external/gpl3/binutils/dist/bfd/elf32-ppc.c Thu Apr 22 01:09:48 2021 @@ -4235,7 +4235,7 @@ ppc_elf_inline_plt (struct bfd_link_info return FALSE; relend = relstart + sec->reloc_count; - for (rel = relstart; rel < relend; ) + for (rel = relstart; rel < relend; rel++) { enum elf_ppc_reloc_type r_type; unsigned long r_symndx; Index: src/external/gpl3/binutils/dist/bfd/elf64-ppc.c diff -u src/external/gpl3/binutils/dist/bfd/elf64-ppc.c:1.15 src/external/gpl3/binutils/dist/bfd/elf64-ppc.c:1.16 --- src/external/gpl3/binutils/dist/bfd/elf64-ppc.c:1.15 Fri Apr 3 23:48:46 2020 +++ src/external/gpl3/binutils/dist/bfd/elf64-ppc.c Thu Apr 22 01:09:48 2021 @@ -7507,7 +7507,7 @@ ppc64_elf_inline_plt (struct bfd_link_in return FALSE; relend = relstart + sec->reloc_count; - for (rel = relstart; rel < relend; ) + for (rel = relstart; rel < relend; rel++) { enum elf_ppc64_reloc_type r_type; unsigned long r_symndx;
CVS commit: src/external/gpl3/binutils/dist/bfd
Module Name:src Committed By: rin Date: Thu Apr 22 01:09:48 UTC 2021 Modified Files: src/external/gpl3/binutils/dist/bfd: elf32-ppc.c elf64-ppc.c Log Message: Fix regression where ld(1) is trapped into infinite loop when linking binary whose text does not fit within R_PPC_REL24. Reported upstream as Bug 27755: https://sourceware.org/bugzilla/show_bug.cgi?id=27755 This problem was introduced to binutils-2-31-1 for our tree. netbsd-9 is affected, while netbsd-8 is not. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/external/gpl3/binutils/dist/bfd/elf32-ppc.c \ src/external/gpl3/binutils/dist/bfd/elf64-ppc.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
re: CVS commit: src/external/gpl3/binutils/dist/bfd
> Modified Files: > src/external/gpl3/binutils/dist/bfd: Makefile.am Makefile.in > > Log Message: > Fix `build.sh tools -j1` compilation, where bfd.h wasn't generated early > enough. FWIW, this looks right to me and not a hack. thanks. .mrg.
CVS commit: src/external/gpl3/binutils/dist/bfd
Module Name:src Committed By: dogcow Date: Mon Sep 7 19:46:45 UTC 2020 Modified Files: src/external/gpl3/binutils/dist/bfd: Makefile.am Makefile.in Log Message: Fix `build.sh tools -j1` compilation, where bfd.h wasn't generated early enough. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/external/gpl3/binutils/dist/bfd/Makefile.am cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/binutils/dist/bfd/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/binutils/dist/bfd/Makefile.am diff -u src/external/gpl3/binutils/dist/bfd/Makefile.am:1.7 src/external/gpl3/binutils/dist/bfd/Makefile.am:1.8 --- src/external/gpl3/binutils/dist/bfd/Makefile.am:1.7 Fri Apr 3 23:48:45 2020 +++ src/external/gpl3/binutils/dist/bfd/Makefile.am Mon Sep 7 19:46:45 2020 @@ -363,6 +363,7 @@ BFD32_BACKENDS = \ i386bsd.lo \ i386lynx.lo \ i386msdos.lo \ + i386netbsd.lo \ mach-o.lo \ mach-o-i386.lo \ mach-o-arm.lo \ @@ -499,6 +500,7 @@ BFD32_BACKENDS_CFILES = \ i386bsd.c \ i386lynx.c \ i386msdos.c \ + i386netbsd.c \ mach-o.c \ mach-o-i386.c \ mach-o-arm.c \ Index: src/external/gpl3/binutils/dist/bfd/Makefile.in diff -u src/external/gpl3/binutils/dist/bfd/Makefile.in:1.8 src/external/gpl3/binutils/dist/bfd/Makefile.in:1.9 --- src/external/gpl3/binutils/dist/bfd/Makefile.in:1.8 Fri Apr 3 23:48:45 2020 +++ src/external/gpl3/binutils/dist/bfd/Makefile.in Mon Sep 7 19:46:45 2020 @@ -792,6 +792,7 @@ BFD32_BACKENDS = \ i386bsd.lo \ i386lynx.lo \ i386msdos.lo \ + i386netbsd.lo \ mach-o.lo \ mach-o-i386.lo \ mach-o-arm.lo \ @@ -930,6 +931,7 @@ BFD32_BACKENDS_CFILES = \ i386bsd.c \ i386lynx.c \ i386msdos.c \ + i386netbsd.c \ mach-o.c \ mach-o-i386.c \ mach-o-arm.c \ @@ -1537,6 +1539,7 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/i386bsd.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/i386lynx.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/i386msdos.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/i386netbsd.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ihex.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/init.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irix-core.Plo@am__quote@
CVS commit: src/external/gpl3/binutils/dist/bfd
Module Name:src Committed By: dogcow Date: Mon Sep 7 19:46:45 UTC 2020 Modified Files: src/external/gpl3/binutils/dist/bfd: Makefile.am Makefile.in Log Message: Fix `build.sh tools -j1` compilation, where bfd.h wasn't generated early enough. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/external/gpl3/binutils/dist/bfd/Makefile.am cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/binutils/dist/bfd/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/binutils/dist/bfd
Module Name:src Committed By: christos Date: Sat Aug 8 19:26:09 UTC 2020 Modified Files: src/external/gpl3/binutils/dist/bfd: config.bfd configure configure.ac targets.c Added Files: src/external/gpl3/binutils/dist/bfd: i386netbsd.c Log Message: Put back the a.out netbsd and bsd vector. They are useful for debugging old a.out binaries and take ~0 space. To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/external/gpl3/binutils/dist/bfd/config.bfd cvs rdiff -u -r1.15 -r1.16 src/external/gpl3/binutils/dist/bfd/configure cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/binutils/dist/bfd/configure.ac cvs rdiff -u -r0 -r1.3 src/external/gpl3/binutils/dist/bfd/i386netbsd.c cvs rdiff -u -r1.11 -r1.12 src/external/gpl3/binutils/dist/bfd/targets.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/binutils/dist/bfd/config.bfd diff -u src/external/gpl3/binutils/dist/bfd/config.bfd:1.32 src/external/gpl3/binutils/dist/bfd/config.bfd:1.33 --- src/external/gpl3/binutils/dist/bfd/config.bfd:1.32 Fri Apr 3 19:48:45 2020 +++ src/external/gpl3/binutils/dist/bfd/config.bfd Sat Aug 8 15:26:09 2020 @@ -622,7 +622,7 @@ case "${targ}" in ;; i[3-7]86-*-netbsdelf* | i[3-7]86-*-netbsd*-gnu* | i[3-7]86-*-knetbsd*-gnu) targ_defvec=i386_elf32_vec -targ_selvecs="iamcu_elf32_vec i386_coff_vec i386_pei_vec" +targ_selvecs="iamcu_elf32_vec i386_coff_vec i386_pei_vec i386_aout_bsd_vec i386_aout_nbsd_vec" targ64_selvecs="x86_64_elf64_vec l1om_elf64_vec k1om_elf64_vec x86_64_pei_vec" ;; i[3-7]86-*-netbsdpe*) @@ -686,7 +686,7 @@ case "${targ}" in ;; x86_64-*-netbsd* | x86_64-*-openbsd*) targ_defvec=x86_64_elf64_vec -targ_selvecs="i386_elf32_vec iamcu_elf32_vec i386_coff_vec i386_pei_vec x86_64_pei_vec l1om_elf64_vec k1om_elf64_vec" +targ_selvecs="i386_elf32_vec iamcu_elf32_vec i386_coff_vec i386_pei_vec i386_aout_bsd_vec i386_aout_nbsd_vec x86_64_pei_vec l1om_elf64_vec k1om_elf64_vec" want64=true ;; x86_64-*-linux-*) Index: src/external/gpl3/binutils/dist/bfd/configure diff -u src/external/gpl3/binutils/dist/bfd/configure:1.15 src/external/gpl3/binutils/dist/bfd/configure:1.16 --- src/external/gpl3/binutils/dist/bfd/configure:1.15 Fri Apr 3 19:48:45 2020 +++ src/external/gpl3/binutils/dist/bfd/configure Sat Aug 8 15:26:09 2020 @@ -14752,6 +14752,7 @@ do i386_aout_vec) tb="$tb i386aout.lo aout32.lo" ;; i386_aout_bsd_vec) tb="$tb i386bsd.lo aout32.lo" ;; i386_aout_lynx_vec) tb="$tb i386lynx.lo lynx-core.lo aout32.lo" ;; +i386_aout_nbsd_vec) tb="$tb i386netbsd.lo aout32.lo" ;; i386_coff_vec) tb="$tb coff-i386.lo $coff" ;; i386_coff_go32_vec) tb="$tb coff-go32.lo $coff" ;; i386_coff_go32stubbed_vec) tb="$tb coff-stgo32.lo $coff" ;; Index: src/external/gpl3/binutils/dist/bfd/configure.ac diff -u src/external/gpl3/binutils/dist/bfd/configure.ac:1.8 src/external/gpl3/binutils/dist/bfd/configure.ac:1.9 --- src/external/gpl3/binutils/dist/bfd/configure.ac:1.8 Fri Apr 3 19:48:46 2020 +++ src/external/gpl3/binutils/dist/bfd/configure.ac Sat Aug 8 15:26:09 2020 @@ -488,6 +488,7 @@ do i386_aout_vec) tb="$tb i386aout.lo aout32.lo" ;; i386_aout_bsd_vec) tb="$tb i386bsd.lo aout32.lo" ;; i386_aout_lynx_vec) tb="$tb i386lynx.lo lynx-core.lo aout32.lo" ;; +i386_aout_nbsd_vec) tb="$tb i386netbsd.lo aout32.lo" ;; i386_coff_vec) tb="$tb coff-i386.lo $coff" ;; i386_coff_go32_vec) tb="$tb coff-go32.lo $coff" ;; i386_coff_go32stubbed_vec) tb="$tb coff-stgo32.lo $coff" ;; Index: src/external/gpl3/binutils/dist/bfd/targets.c diff -u src/external/gpl3/binutils/dist/bfd/targets.c:1.11 src/external/gpl3/binutils/dist/bfd/targets.c:1.12 --- src/external/gpl3/binutils/dist/bfd/targets.c:1.11 Fri Apr 3 19:48:46 2020 +++ src/external/gpl3/binutils/dist/bfd/targets.c Sat Aug 8 15:26:09 2020 @@ -727,6 +727,7 @@ extern const bfd_target hppa_som_vec; extern const bfd_target i386_aout_vec; extern const bfd_target i386_aout_bsd_vec; extern const bfd_target i386_aout_lynx_vec; +extern const bfd_target i386_aout_nbsd_vec; extern const bfd_target i386_coff_vec; extern const bfd_target i386_coff_go32_vec; extern const bfd_target i386_coff_go32stubbed_vec; Added files: Index: src/external/gpl3/binutils/dist/bfd/i386netbsd.c diff -u /dev/null src/external/gpl3/binutils/dist/bfd/i386netbsd.c:1.3 --- /dev/null Sat Aug 8 15:26:09 2020 +++ src/external/gpl3/binutils/dist/bfd/i386netbsd.c Sat Aug 8 15:26:09 2020 @@ -0,0 +1,38 @@ +/* BFD back-end for NetBSD/386 a.out-ish binaries. + Copyright (C) 1990-2016 Free Software Foundation, Inc. + + This file is part of BFD, the Binary File Descriptor library. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by +
CVS commit: src/external/gpl3/binutils/dist/bfd
Module Name:src Committed By: christos Date: Sat Aug 8 19:26:09 UTC 2020 Modified Files: src/external/gpl3/binutils/dist/bfd: config.bfd configure configure.ac targets.c Added Files: src/external/gpl3/binutils/dist/bfd: i386netbsd.c Log Message: Put back the a.out netbsd and bsd vector. They are useful for debugging old a.out binaries and take ~0 space. To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/external/gpl3/binutils/dist/bfd/config.bfd cvs rdiff -u -r1.15 -r1.16 src/external/gpl3/binutils/dist/bfd/configure cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/binutils/dist/bfd/configure.ac cvs rdiff -u -r0 -r1.3 src/external/gpl3/binutils/dist/bfd/i386netbsd.c cvs rdiff -u -r1.11 -r1.12 src/external/gpl3/binutils/dist/bfd/targets.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/binutils/dist/bfd
Module Name:src Committed By: christos Date: Sat Apr 4 15:30:05 UTC 2020 Modified Files: src/external/gpl3/binutils/dist/bfd: elf.c Log Message: Apply fix for --noinhibit-exec from: https://www.mail-archive.com/bug-binutils@gnu.org/msg33090.html To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/external/gpl3/binutils/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/binutils/dist/bfd/elf.c diff -u src/external/gpl3/binutils/dist/bfd/elf.c:1.15 src/external/gpl3/binutils/dist/bfd/elf.c:1.16 --- src/external/gpl3/binutils/dist/bfd/elf.c:1.15 Fri Apr 3 19:48:46 2020 +++ src/external/gpl3/binutils/dist/bfd/elf.c Sat Apr 4 11:30:05 2020 @@ -5948,7 +5948,11 @@ assign_file_positions_for_load_sections _bfd_error_handler (_("%pB: error: PHDR segment not covered" " by LOAD segment"), abfd); - return FALSE; + if (link_info == NULL) + return FALSE; + /* Arrange for the linker to exit with an error, deleting + the output file unless --noinhibit-exec is given. */ + link_info->callbacks->info ("%X"); } /* Check that all sections are in a PT_LOAD segment.
CVS commit: src/external/gpl3/binutils/dist/bfd
Module Name:src Committed By: christos Date: Sat Apr 4 15:30:05 UTC 2020 Modified Files: src/external/gpl3/binutils/dist/bfd: elf.c Log Message: Apply fix for --noinhibit-exec from: https://www.mail-archive.com/bug-binutils@gnu.org/msg33090.html To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/external/gpl3/binutils/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/binutils/dist/bfd
Module Name:src Committed By: rin Date: Sat Nov 30 22:50:11 UTC 2019 Modified Files: src/external/gpl3/binutils/dist/bfd: elf.c Log Message: Fix 'nm /dev/ksyms' (noticed by ryo). Since binutils 2.15, nm(1) cannot be used for character devices. We worked around this by a local patch: http://cvsweb.netbsd.org/bsdweb.cgi/src/gnu/dist/binutils/binutils/Attic/bucomm.c?r1=1.1.1.2=0#rev1.2 With recent update of binutils, 'nm /dev/ksyms' got broken again. This is due to a consistency check involving file size reported by stat(2), which is always zero for character devices. So, skip this check if file size is zero. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/external/gpl3/binutils/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/binutils/dist/bfd/elf.c diff -u src/external/gpl3/binutils/dist/bfd/elf.c:1.13 src/external/gpl3/binutils/dist/bfd/elf.c:1.14 --- src/external/gpl3/binutils/dist/bfd/elf.c:1.13 Wed Nov 7 01:13:52 2018 +++ src/external/gpl3/binutils/dist/bfd/elf.c Sat Nov 30 22:50:11 2019 @@ -298,7 +298,8 @@ bfd_elf_get_str_section (bfd *abfd, unsi /* Allocate and clear an extra byte at the end, to prevent crashes in case the string table is not terminated. */ if (shstrtabsize + 1 <= 1 - || shstrtabsize > bfd_get_file_size (abfd) + || (bfd_get_file_size (abfd) > 0 /* not a character device */ + && shstrtabsize > bfd_get_file_size (abfd)) || bfd_seek (abfd, offset, SEEK_SET) != 0 || (shstrtab = (bfd_byte *) bfd_alloc (abfd, shstrtabsize + 1)) == NULL) shstrtab = NULL;
CVS commit: src/external/gpl3/binutils/dist/bfd
Module Name:src Committed By: rin Date: Sat Nov 30 22:50:11 UTC 2019 Modified Files: src/external/gpl3/binutils/dist/bfd: elf.c Log Message: Fix 'nm /dev/ksyms' (noticed by ryo). Since binutils 2.15, nm(1) cannot be used for character devices. We worked around this by a local patch: http://cvsweb.netbsd.org/bsdweb.cgi/src/gnu/dist/binutils/binutils/Attic/bucomm.c?r1=1.1.1.2=0#rev1.2 With recent update of binutils, 'nm /dev/ksyms' got broken again. This is due to a consistency check involving file size reported by stat(2), which is always zero for character devices. So, skip this check if file size is zero. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/external/gpl3/binutils/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/binutils/dist/bfd
Module Name:src Committed By: christos Date: Sun May 12 22:42:34 UTC 2019 Modified Files: src/external/gpl3/binutils/dist/bfd: elf32-ppc.c elf64-ppc.c Log Message: Modernize the error printing for text relocations by syncing it to the "more maintained" platforms. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/external/gpl3/binutils/dist/bfd/elf32-ppc.c \ src/external/gpl3/binutils/dist/bfd/elf64-ppc.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/binutils/dist/bfd
Module Name:src Committed By: christos Date: Sun May 12 22:42:34 UTC 2019 Modified Files: src/external/gpl3/binutils/dist/bfd: elf32-ppc.c elf64-ppc.c Log Message: Modernize the error printing for text relocations by syncing it to the "more maintained" platforms. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/external/gpl3/binutils/dist/bfd/elf32-ppc.c \ src/external/gpl3/binutils/dist/bfd/elf64-ppc.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/binutils/dist/bfd/elf32-ppc.c diff -u src/external/gpl3/binutils/dist/bfd/elf32-ppc.c:1.13 src/external/gpl3/binutils/dist/bfd/elf32-ppc.c:1.14 --- src/external/gpl3/binutils/dist/bfd/elf32-ppc.c:1.13 Sun Dec 30 17:48:31 2018 +++ src/external/gpl3/binutils/dist/bfd/elf32-ppc.c Sun May 12 18:42:33 2019 @@ -6616,9 +6616,16 @@ maybe_set_textrel (struct elf_link_hash_ struct bfd_link_info *info = (struct bfd_link_info *) info_p; info->flags |= DF_TEXTREL; - info->callbacks->minfo - (_("%pB: dynamic relocation against `%pT' in read-only section `%pA'\n"), - sec->owner, h->root.root.string, sec); + /* xgettext:c-format */ + info->callbacks->minfo (_("%pB: dynamic relocation against `%pT' " +"in read-only section `%pA'\n"), + sec->owner, h->root.root.string, sec); + if ((info->warn_shared_textrel && bfd_link_pic (info)) + || info->error_textrel) + /* xgettext:c-format */ + info->callbacks->einfo (_("%P: %pB: warning: relocation against `%s' " + "in read-only section `%pA'\n"), +sec->owner, h->root.root.string, sec); /* Not an error, just cut short the traversal. */ return FALSE; Index: src/external/gpl3/binutils/dist/bfd/elf64-ppc.c diff -u src/external/gpl3/binutils/dist/bfd/elf64-ppc.c:1.13 src/external/gpl3/binutils/dist/bfd/elf64-ppc.c:1.14 --- src/external/gpl3/binutils/dist/bfd/elf64-ppc.c:1.13 Tue Nov 6 20:13:52 2018 +++ src/external/gpl3/binutils/dist/bfd/elf64-ppc.c Sun May 12 18:42:33 2019 @@ -10260,9 +10260,17 @@ maybe_set_textrel (struct elf_link_hash_ struct bfd_link_info *info = (struct bfd_link_info *) inf; info->flags |= DF_TEXTREL; - info->callbacks->minfo - (_("%pB: dynamic relocation against `%pT' in read-only section `%pA'\n"), - sec->owner, h->root.root.string, sec); + /* xgettext:c-format */ + info->callbacks->minfo (_("%pB: dynamic relocation against `%pT' " +"in read-only section `%pA'\n"), + sec->owner, h->root.root.string, sec); + + if ((info->warn_shared_textrel && bfd_link_pic (info)) + || info->error_textrel) + /* xgettext:c-format */ + info->callbacks->einfo (_("%P: %pB: warning: relocation against `%s' " + "in read-only section `%pA'\n"), +sec->owner, h->root.root.string, sec); /* Not an error, just cut short the traversal. */ return FALSE;
CVS commit: src/external/gpl3/binutils/dist/bfd
Module Name:src Committed By: christos Date: Sun May 5 21:49:53 UTC 2019 Modified Files: src/external/gpl3/binutils/dist/bfd: elf32-arm.c Log Message: Ignore 0 size'd symbols when looking for CMSE veneers. XXX: Is this correct? To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/external/gpl3/binutils/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/binutils/dist/bfd/elf32-arm.c diff -u src/external/gpl3/binutils/dist/bfd/elf32-arm.c:1.13 src/external/gpl3/binutils/dist/bfd/elf32-arm.c:1.14 --- src/external/gpl3/binutils/dist/bfd/elf32-arm.c:1.13 Tue Nov 6 20:13:52 2018 +++ src/external/gpl3/binutils/dist/bfd/elf32-arm.c Sun May 5 17:49:53 2019 @@ -19661,7 +19661,7 @@ elf32_arm_swap_symbol_in (bfd * abfd, /* Mark CMSE special symbols. */ symtab_hdr = & elf_symtab_hdr (abfd); - if (symtab_hdr->sh_size) + if (symtab_hdr->sh_size && dst->st_size != 0) name = bfd_elf_sym_name (abfd, symtab_hdr, dst, NULL); if (name && CONST_STRNEQ (name, CMSE_PREFIX)) ARM_SET_SYM_CMSE_SPCL (dst->st_target_internal);
CVS commit: src/external/gpl3/binutils/dist/bfd
Module Name:src Committed By: christos Date: Sun May 5 21:49:53 UTC 2019 Modified Files: src/external/gpl3/binutils/dist/bfd: elf32-arm.c Log Message: Ignore 0 size'd symbols when looking for CMSE veneers. XXX: Is this correct? To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/external/gpl3/binutils/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/binutils/dist/bfd
Module Name:src Committed By: mrg Date: Tue Apr 16 02:10:09 UTC 2019 Modified Files: src/external/gpl3/binutils/dist/bfd: configure.ac Log Message: fix merge botch - remove duplicated case statement (not in configure) To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/binutils/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/binutils/dist/bfd
Module Name:src Committed By: mrg Date: Tue Apr 16 02:10:09 UTC 2019 Modified Files: src/external/gpl3/binutils/dist/bfd: configure.ac Log Message: fix merge botch - remove duplicated case statement (not in configure) To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/binutils/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/binutils/dist/bfd/configure.ac diff -u src/external/gpl3/binutils/dist/bfd/configure.ac:1.6 src/external/gpl3/binutils/dist/bfd/configure.ac:1.7 --- src/external/gpl3/binutils/dist/bfd/configure.ac:1.6 Wed Nov 7 01:13:51 2018 +++ src/external/gpl3/binutils/dist/bfd/configure.ac Tue Apr 16 02:10:09 2019 @@ -581,8 +581,6 @@ do 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" ;;
CVS commit: src/external/gpl3/binutils/dist/bfd
Module Name:src Committed By: christos Date: Sun Dec 30 22:48:31 UTC 2018 Modified Files: src/external/gpl3/binutils/dist/bfd: elf32-ppc.c Log Message: forgot to commit compilation fix. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/external/gpl3/binutils/dist/bfd/elf32-ppc.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/binutils/dist/bfd/elf32-ppc.c diff -u src/external/gpl3/binutils/dist/bfd/elf32-ppc.c:1.12 src/external/gpl3/binutils/dist/bfd/elf32-ppc.c:1.13 --- src/external/gpl3/binutils/dist/bfd/elf32-ppc.c:1.12 Tue Nov 6 20:13:52 2018 +++ src/external/gpl3/binutils/dist/bfd/elf32-ppc.c Sun Dec 30 17:48:31 2018 @@ -5966,7 +5966,7 @@ ppc_elf_adjust_dynamic_symbol (struct bf && !UNDEFWEAK_NO_DYNAMIC_RELOC (info, h))) && !htab->is_vxworks && !ppc_elf_hash_entry (h)->has_sda_refs - && !readonly_dynrelocs (h, info, FALSE)) + && !readonly_dynrelocs (h)) { h->pointer_equality_needed = 0; /* If we haven't seen a branch reloc and the symbol
CVS commit: src/external/gpl3/binutils/dist/bfd
Module Name:src Committed By: christos Date: Sun Dec 30 22:48:31 UTC 2018 Modified Files: src/external/gpl3/binutils/dist/bfd: elf32-ppc.c Log Message: forgot to commit compilation fix. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/external/gpl3/binutils/dist/bfd/elf32-ppc.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/binutils/dist/bfd
Module Name:src Committed By: christos Date: Thu Nov 8 02:30:06 UTC 2018 Modified Files: src/external/gpl3/binutils/dist/bfd: config.bfd Log Message: delete i386 aout vec which has been removed To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/external/gpl3/binutils/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/binutils/dist/bfd/config.bfd diff -u src/external/gpl3/binutils/dist/bfd/config.bfd:1.26 src/external/gpl3/binutils/dist/bfd/config.bfd:1.27 --- src/external/gpl3/binutils/dist/bfd/config.bfd:1.26 Tue Nov 6 20:13:51 2018 +++ src/external/gpl3/binutils/dist/bfd/config.bfd Wed Nov 7 21:30:06 2018 @@ -620,7 +620,7 @@ case "${targ}" in ;; i[3-7]86-*-netbsdelf* | i[3-7]86-*-netbsd*-gnu* | i[3-7]86-*-knetbsd*-gnu) targ_defvec=i386_elf32_vec -targ_selvecs="i386_aout_nbsd_vec iamcu_elf32_vec i386_coff_vec i386_pei_vec" +targ_selvecs="iamcu_elf32_vec i386_coff_vec i386_pei_vec" targ64_selvecs="x86_64_elf64_vec l1om_elf64_vec k1om_elf64_vec x86_64_pei_vec" ;; i[3-7]86-*-netbsdpe*)
CVS commit: src/external/gpl3/binutils/dist/bfd
Module Name:src Committed By: christos Date: Thu Nov 8 02:30:06 UTC 2018 Modified Files: src/external/gpl3/binutils/dist/bfd: config.bfd Log Message: delete i386 aout vec which has been removed To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/external/gpl3/binutils/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/binutils/dist/bfd
Module Name:src Committed By: christos Date: Sun May 6 15:14:12 UTC 2018 Modified Files: src/external/gpl3/binutils/dist/bfd: elflink.c Log Message: add missed patch To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/external/gpl3/binutils/dist/bfd/elflink.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/binutils/dist/bfd/elflink.c diff -u src/external/gpl3/binutils/dist/bfd/elflink.c:1.15 src/external/gpl3/binutils/dist/bfd/elflink.c:1.16 --- src/external/gpl3/binutils/dist/bfd/elflink.c:1.15 Sun Apr 15 16:06:01 2018 +++ src/external/gpl3/binutils/dist/bfd/elflink.c Sun May 6 11:14:12 2018 @@ -2804,6 +2804,8 @@ _bfd_elf_fix_symbol_flags (struct elf_li if (h->is_weakalias) { struct elf_link_hash_entry *def = weakdef (h); + while (def->root.type == bfd_link_hash_indirect) +def = (struct elf_link_hash_entry *) def->root.u.i.link; /* If the real definition is defined by a regular object file, don't do anything special. See the longer description in
CVS commit: src/external/gpl3/binutils/dist/bfd
Module Name:src Committed By: christos Date: Sun May 6 15:14:12 UTC 2018 Modified Files: src/external/gpl3/binutils/dist/bfd: elflink.c Log Message: add missed patch To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/external/gpl3/binutils/dist/bfd/elflink.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/binutils/dist/bfd
Module Name:src Committed By: joerg Date: Tue Mar 27 23:39:23 UTC 2018 Modified Files: src/external/gpl3/binutils/dist/bfd: elflink.c Log Message: When trying to decide the status of a weak symbol, resolve any indirectness first. In the case of various Qt5 libraries, __bss_start ends up with a Qt5 version, but it has to be resolved first to match the actual (implicit) definition. This fixes the root cause of pkg/53089. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/external/gpl3/binutils/dist/bfd/elflink.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/binutils/dist/bfd
Module Name:src Committed By: joerg Date: Tue Mar 27 23:39:23 UTC 2018 Modified Files: src/external/gpl3/binutils/dist/bfd: elflink.c Log Message: When trying to decide the status of a weak symbol, resolve any indirectness first. In the case of various Qt5 libraries, __bss_start ends up with a Qt5 version, but it has to be resolved first to match the actual (implicit) definition. This fixes the root cause of pkg/53089. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/external/gpl3/binutils/dist/bfd/elflink.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/binutils/dist/bfd/elflink.c diff -u src/external/gpl3/binutils/dist/bfd/elflink.c:1.13 src/external/gpl3/binutils/dist/bfd/elflink.c:1.14 --- src/external/gpl3/binutils/dist/bfd/elflink.c:1.13 Wed Oct 26 18:42:52 2016 +++ src/external/gpl3/binutils/dist/bfd/elflink.c Tue Mar 27 23:39:23 2018 @@ -2675,14 +2675,17 @@ _bfd_elf_fix_symbol_flags (struct elf_li over to the real definition. */ if (h->u.weakdef != NULL) { + struct elf_link_hash_entry *weakdef = h->u.weakdef; + while (weakdef->root.type == bfd_link_hash_indirect) +weakdef = (struct elf_link_hash_entry *) weakdef->root.u.i.link; + /* If the real definition is defined by a regular object file, don't do anything special. See the longer description in _bfd_elf_adjust_dynamic_symbol, below. */ - if (h->u.weakdef->def_regular) + if (weakdef->def_regular) h->u.weakdef = NULL; else { - struct elf_link_hash_entry *weakdef = h->u.weakdef; while (h->root.type == bfd_link_hash_indirect) h = (struct elf_link_hash_entry *) h->root.u.i.link;
CVS commit: src/external/gpl3/binutils/dist/bfd
Module Name:src Committed By: joerg Date: Tue Jul 25 19:44:25 UTC 2017 Modified Files: src/external/gpl3/binutils/dist/bfd: elfxx-sparc.c Log Message: TLS relocations for PIE and non-PIE main executable work the same, so apply the same relaxation rules and the same static binding rules. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/external/gpl3/binutils/dist/bfd/elfxx-sparc.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/binutils/dist/bfd/elfxx-sparc.c diff -u src/external/gpl3/binutils/dist/bfd/elfxx-sparc.c:1.11 src/external/gpl3/binutils/dist/bfd/elfxx-sparc.c:1.12 --- src/external/gpl3/binutils/dist/bfd/elfxx-sparc.c:1.11 Wed Oct 26 18:42:52 2016 +++ src/external/gpl3/binutils/dist/bfd/elfxx-sparc.c Tue Jul 25 19:44:25 2017 @@ -1330,7 +1330,7 @@ sparc_elf_tls_transition (struct bfd_lin && ! _bfd_sparc_elf_tdata (abfd)->has_tlsgd) r_type = R_SPARC_REV32; - if (bfd_link_pic (info)) + if (bfd_link_dll (info)) return r_type; switch (r_type) @@ -1501,13 +1501,13 @@ _bfd_sparc_elf_check_relocs (bfd *abfd, case R_SPARC_TLS_LE_HIX22: case R_SPARC_TLS_LE_LOX10: - if (bfd_link_pic (info)) + if (bfd_link_dll (info)) goto r_sparc_plt32; break; case R_SPARC_TLS_IE_HI22: case R_SPARC_TLS_IE_LO10: - if (bfd_link_pic (info)) + if (bfd_link_dll (info)) info->flags |= DF_STATIC_TLS; /* Fall through */ @@ -2334,7 +2334,7 @@ allocate_dynrelocs (struct elf_link_hash /* If R_SPARC_TLS_IE_{HI22,LO10} symbol is now local to the binary, make it a R_SPARC_TLS_LE_{HI22,LO10} requiring no TLS entry. */ if (h->got.refcount > 0 - && !bfd_link_pic (info) + && !bfd_link_dll (info) && h->dynindx == -1 && _bfd_sparc_elf_hash_entry(h)->tls_type == GOT_TLS_IE) h->got.offset = (bfd_vma) -1; @@ -3582,7 +3582,7 @@ _bfd_sparc_elf_relocate_section (bfd *ou else if (h != NULL) { tls_type = _bfd_sparc_elf_hash_entry(h)->tls_type; - if (!bfd_link_pic (info) + if (!bfd_link_dll (info) && h->dynindx == -1 && tls_type == GOT_TLS_IE) switch (SPARC_ELF_R_TYPE (rel->r_info)) @@ -3706,7 +3706,7 @@ _bfd_sparc_elf_relocate_section (bfd *ou case R_SPARC_TLS_LDM_HI22: case R_SPARC_TLS_LDM_LO10: - if (! bfd_link_pic (info)) + if (! bfd_link_dll (info)) { bfd_put_32 (output_bfd, SPARC_NOP, contents + rel->r_offset); continue; @@ -3717,7 +3717,7 @@ _bfd_sparc_elf_relocate_section (bfd *ou case R_SPARC_TLS_LDO_HIX22: case R_SPARC_TLS_LDO_LOX10: - if (bfd_link_pic (info)) + if (bfd_link_dll (info)) { relocation -= dtpoff_base (info); break; @@ -3729,7 +3729,7 @@ _bfd_sparc_elf_relocate_section (bfd *ou case R_SPARC_TLS_LE_HIX22: case R_SPARC_TLS_LE_LOX10: - if (bfd_link_pic (info)) + if (bfd_link_dll (info)) { Elf_Internal_Rela outrel; bfd_boolean skip; @@ -3761,7 +3761,7 @@ _bfd_sparc_elf_relocate_section (bfd *ou break; case R_SPARC_TLS_LDM_CALL: - if (! bfd_link_pic (info)) + if (! bfd_link_dll (info)) { /* mov %g0, %o0 */ bfd_put_32 (output_bfd, 0x9010, contents + rel->r_offset); @@ -3775,13 +3775,13 @@ _bfd_sparc_elf_relocate_section (bfd *ou tls_type = _bfd_sparc_elf_local_got_tls_type (input_bfd) [r_symndx]; else if (h != NULL) tls_type = _bfd_sparc_elf_hash_entry(h)->tls_type; - if (! bfd_link_pic (info) + if (! bfd_link_dll (info) || (r_type == R_SPARC_TLS_GD_CALL && tls_type == GOT_TLS_IE)) { Elf_Internal_Rela *rel2; bfd_vma insn; - if (!bfd_link_pic (info) && (h == NULL || h->dynindx == -1)) + if (!bfd_link_dll (info) && (h == NULL || h->dynindx == -1)) { /* GD -> LE */ bfd_put_32 (output_bfd, SPARC_NOP, contents + rel->r_offset); @@ -3868,12 +3868,12 @@ _bfd_sparc_elf_relocate_section (bfd *ou continue; case R_SPARC_TLS_LDM_ADD: - if (! bfd_link_pic (info)) + if (! bfd_link_dll (info)) bfd_put_32 (output_bfd, SPARC_NOP, contents + rel->r_offset); continue; case R_SPARC_TLS_LDO_ADD: - if (! bfd_link_pic (info)) + if (! bfd_link_dll (info)) { /* Change rs1 into %g7. */ bfd_vma insn = bfd_get_32 (input_bfd, contents + rel->r_offset); @@ -3884,7 +3884,7 @@ _bfd_sparc_elf_relocate_section (bfd *ou case R_SPARC_TLS_IE_LD: case R_SPARC_TLS_IE_LDX: - if (! bfd_link_pic (info) && (h == NULL || h->dynindx == -1)) + if (! bfd_link_dll (info) && (h == NULL || h->dynindx == -1)) { bfd_vma insn = bfd_get_32 (input_bfd, contents + rel->r_offset); int rs2 = insn & 0x1f;
CVS commit: src/external/gpl3/binutils/dist/bfd
Module Name:src Committed By: joerg Date: Tue Jul 25 19:44:25 UTC 2017 Modified Files: src/external/gpl3/binutils/dist/bfd: elfxx-sparc.c Log Message: TLS relocations for PIE and non-PIE main executable work the same, so apply the same relaxation rules and the same static binding rules. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/external/gpl3/binutils/dist/bfd/elfxx-sparc.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/binutils/dist/bfd
Module Name:src Committed By: buhrow Date: Fri Dec 30 22:40:24 UTC 2016 Modified Files: src/external/gpl3/binutils/dist/bfd: elf32-arm.c Log Message: Fix problem which prevents cross building on NetBSD systems which predate NetBSD-6 or non-NetBSD systems. See discussion on port-arm for details. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/external/gpl3/binutils/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/binutils/dist/bfd
Module Name:src Committed By: buhrow Date: Fri Dec 30 22:40:24 UTC 2016 Modified Files: src/external/gpl3/binutils/dist/bfd: elf32-arm.c Log Message: Fix problem which prevents cross building on NetBSD systems which predate NetBSD-6 or non-NetBSD systems. See discussion on port-arm for details. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/external/gpl3/binutils/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/binutils/dist/bfd/elf32-arm.c diff -u src/external/gpl3/binutils/dist/bfd/elf32-arm.c:1.10 src/external/gpl3/binutils/dist/bfd/elf32-arm.c:1.11 --- src/external/gpl3/binutils/dist/bfd/elf32-arm.c:1.10 Wed Oct 26 18:42:52 2016 +++ src/external/gpl3/binutils/dist/bfd/elf32-arm.c Fri Dec 30 22:40:23 2016 @@ -3207,8 +3207,8 @@ ctz (unsigned int mask) #endif } -#ifndef __NetBSD__ -static inline int +#if !defined (__NetBSD__) || (__NetBSD_Version__ < 6) +unsigned int popcount (unsigned int mask) { #if GCC_VERSION >= 3004
CVS commit: src/external/gpl3/binutils/dist/bfd
Module Name:src Committed By: joerg Date: Fri Nov 4 00:19:32 UTC 2016 Modified Files: src/external/gpl3/binutils/dist/bfd: elf64-ppc.c Log Message: Tail calls can use the PLT without a nop after the branch. Since the callee won't return to the next instruction anyway, it wouldn't work anyway. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/external/gpl3/binutils/dist/bfd/elf64-ppc.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/binutils/dist/bfd
Module Name:src Committed By: joerg Date: Fri Nov 4 00:19:32 UTC 2016 Modified Files: src/external/gpl3/binutils/dist/bfd: elf64-ppc.c Log Message: Tail calls can use the PLT without a nop after the branch. Since the callee won't return to the next instruction anyway, it wouldn't work anyway. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/external/gpl3/binutils/dist/bfd/elf64-ppc.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/binutils/dist/bfd/elf64-ppc.c diff -u src/external/gpl3/binutils/dist/bfd/elf64-ppc.c:1.10 src/external/gpl3/binutils/dist/bfd/elf64-ppc.c:1.11 --- src/external/gpl3/binutils/dist/bfd/elf64-ppc.c:1.10 Thu Nov 3 01:22:59 2016 +++ src/external/gpl3/binutils/dist/bfd/elf64-ppc.c Fri Nov 4 00:19:32 2016 @@ -14069,6 +14069,11 @@ ppc64_elf_relocate_section (bfd *output_ can_plt_call = TRUE; } } + else + { + /* Tail calls don't need to worry about restoring TOC. */ + can_plt_call = TRUE; + } } if (!can_plt_call && h != NULL)
CVS commit: src/external/gpl3/binutils/dist/bfd
Module Name:src Committed By: christos Date: Thu Nov 3 01:22:59 UTC 2016 Modified Files: src/external/gpl3/binutils/dist/bfd: elf32-ppc.c elf64-ppc.c Log Message: More detailed error messages for text relocations on ppc code. Tested by joerg@ To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/external/gpl3/binutils/dist/bfd/elf32-ppc.c \ src/external/gpl3/binutils/dist/bfd/elf64-ppc.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/binutils/dist/bfd/elf32-ppc.c diff -u src/external/gpl3/binutils/dist/bfd/elf32-ppc.c:1.9 src/external/gpl3/binutils/dist/bfd/elf32-ppc.c:1.10 --- src/external/gpl3/binutils/dist/bfd/elf32-ppc.c:1.9 Wed Oct 26 14:42:52 2016 +++ src/external/gpl3/binutils/dist/bfd/elf32-ppc.c Wed Nov 2 21:22:59 2016 @@ -5557,7 +5557,7 @@ ppc_elf_tls_optimize (bfd *obfd ATTRIBUT /* Return true if we have dynamic relocs that apply to read-only sections. */ static bfd_boolean -readonly_dynrelocs (struct elf_link_hash_entry *h) +readonly_dynrelocs (struct elf_link_hash_entry *h, void *inf, bfd_boolean warn) { struct elf_dyn_relocs *p; @@ -5568,7 +5568,16 @@ readonly_dynrelocs (struct elf_link_hash if (s != NULL && ((s->flags & (SEC_READONLY | SEC_ALLOC)) == (SEC_READONLY | SEC_ALLOC))) - return TRUE; + { + struct bfd_link_info *info = (struct bfd_link_info *) inf; + + if (warn && ((info->warn_shared_textrel && bfd_link_pic (info)) + || info->error_textrel)) + info->callbacks->einfo (_("%P: %B: warning: relocation against `%s' in readonly section `%A'\n"), +p->sec->owner, h->root.root.string, +p->sec); + return TRUE; + } } return FALSE; } @@ -5642,7 +5651,7 @@ ppc_elf_adjust_dynamic_symbol (struct bf && h->type != STT_GNU_IFUNC && !htab->is_vxworks && !ppc_elf_hash_entry (h)->has_sda_refs - && !readonly_dynrelocs (h)) + && !readonly_dynrelocs (h, info, FALSE)) { h->pointer_equality_needed = 0; h->non_got_ref = 0; @@ -5662,7 +5671,7 @@ ppc_elf_adjust_dynamic_symbol (struct bf && h->type != STT_GNU_IFUNC && !htab->is_vxworks && !ppc_elf_hash_entry (h)->has_sda_refs - && !readonly_dynrelocs (h)) + && !readonly_dynrelocs (h, info, FALSE)) h->non_got_ref = 0; } h->protected_def = 0; @@ -5739,7 +5748,7 @@ ppc_elf_adjust_dynamic_symbol (struct bf && !ppc_elf_hash_entry (h)->has_sda_refs && !htab->is_vxworks && !h->def_regular - && !readonly_dynrelocs (h)) + && !readonly_dynrelocs (h, info, FALSE)) { h->non_got_ref = 0; return TRUE; @@ -6249,7 +6258,7 @@ maybe_set_textrel (struct elf_link_hash_ if (h->root.type == bfd_link_hash_indirect) return TRUE; - if (readonly_dynrelocs (h)) + if (readonly_dynrelocs (h, info, TRUE)) { ((struct bfd_link_info *) info)->flags |= DF_TEXTREL; Index: src/external/gpl3/binutils/dist/bfd/elf64-ppc.c diff -u src/external/gpl3/binutils/dist/bfd/elf64-ppc.c:1.9 src/external/gpl3/binutils/dist/bfd/elf64-ppc.c:1.10 --- src/external/gpl3/binutils/dist/bfd/elf64-ppc.c:1.9 Wed Oct 26 14:42:52 2016 +++ src/external/gpl3/binutils/dist/bfd/elf64-ppc.c Wed Nov 2 21:22:59 2016 @@ -7105,7 +7105,7 @@ ppc64_elf_func_desc_adjust (bfd *obfd AT /* Return true if we have dynamic relocs that apply to read-only sections. */ static bfd_boolean -readonly_dynrelocs (struct elf_link_hash_entry *h) +readonly_dynrelocs (struct elf_link_hash_entry *h, void *inf, bfd_boolean warn) { struct ppc_link_hash_entry *eh; struct elf_dyn_relocs *p; @@ -7116,7 +7116,16 @@ readonly_dynrelocs (struct elf_link_hash asection *s = p->sec->output_section; if (s != NULL && (s->flags & SEC_READONLY) != 0) - return TRUE; + { + struct bfd_link_info *info = (struct bfd_link_info *) inf; + + if (warn && ((info->warn_shared_textrel && bfd_link_pic (info)) + || info->error_textrel)) + info->callbacks->einfo (_("%P: %B: warning: relocation against `%s' in readonly section `%A'\n"), +p->sec->owner, h->root.root.string, +p->sec); + return TRUE; + } } return FALSE; } @@ -7168,7 +7177,7 @@ ppc64_elf_adjust_dynamic_symbol (struct be used instead. */ if (h->pointer_equality_needed && h->type != STT_GNU_IFUNC - && !readonly_dynrelocs (h)) + && !readonly_dynrelocs (h, info, FALSE)) { h->pointer_equality_needed = 0; h->non_got_ref = 0; @@ -7186,7 +7195,7 @@ ppc64_elf_adjust_dynamic_symbol (struct else if (!h->ref_regular_nonweak && h->non_got_ref && h->type != STT_GNU_IFUNC - && !readonly_dynrelocs (h)) + && !readonly_dynrelocs (h, info, FALSE)) h->non_got_ref = 0; /* If making a plt entry, then we don't need copy relocs. */ @@ -7235,7 +7244,7 @@ ppc64_elf_adjust_dynamic_symbol (struct
CVS commit: src/external/gpl3/binutils/dist/bfd
Module Name:src Committed By: christos Date: Thu Nov 3 01:22:59 UTC 2016 Modified Files: src/external/gpl3/binutils/dist/bfd: elf32-ppc.c elf64-ppc.c Log Message: More detailed error messages for text relocations on ppc code. Tested by joerg@ To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/external/gpl3/binutils/dist/bfd/elf32-ppc.c \ src/external/gpl3/binutils/dist/bfd/elf64-ppc.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/binutils/dist/bfd
Module Name:src Committed By: christos Date: Mon Sep 5 14:25:33 UTC 2016 Modified Files: src/external/gpl3/binutils/dist/bfd: elfxx-sparc.c Log Message: more errors for text relocations To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/external/gpl3/binutils/dist/bfd/elfxx-sparc.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/binutils/dist/bfd
Module Name:src Committed By: christos Date: Mon Sep 5 14:25:33 UTC 2016 Modified Files: src/external/gpl3/binutils/dist/bfd: elfxx-sparc.c Log Message: more errors for text relocations To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/external/gpl3/binutils/dist/bfd/elfxx-sparc.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/binutils/dist/bfd/elfxx-sparc.c diff -u src/external/gpl3/binutils/dist/bfd/elfxx-sparc.c:1.9 src/external/gpl3/binutils/dist/bfd/elfxx-sparc.c:1.10 --- src/external/gpl3/binutils/dist/bfd/elfxx-sparc.c:1.9 Mon Sep 5 05:17:35 2016 +++ src/external/gpl3/binutils/dist/bfd/elfxx-sparc.c Mon Sep 5 10:25:33 2016 @@ -2616,7 +2616,13 @@ _bfd_sparc_elf_size_dynamic_sections (bf srel = htab->elf.irelplt; srel->size += p->count * SPARC_ELF_RELA_BYTES (htab); if ((p->sec->output_section->flags & SEC_READONLY) != 0) - info->flags |= DF_TEXTREL; + { + info->flags |= DF_TEXTREL; + if ((info->warn_shared_textrel && bfd_link_pic (info)) + || info->error_textrel) + info->callbacks->einfo (_("%P: %B: warning: relocation " + "in readonly section `%A'\n"), p->sec->owner, p->sec); + } } } }
CVS commit: src/external/gpl3/binutils/dist/bfd
Module Name:src Committed By: christos Date: Mon Sep 5 09:17:35 UTC 2016 Modified Files: src/external/gpl3/binutils/dist/bfd: elfxx-sparc.c Log Message: sync error with x86_64. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/binutils/dist/bfd/elfxx-sparc.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/binutils/dist/bfd
Module Name:src Committed By: christos Date: Mon Sep 5 09:17:35 UTC 2016 Modified Files: src/external/gpl3/binutils/dist/bfd: elfxx-sparc.c Log Message: sync error with x86_64. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/binutils/dist/bfd/elfxx-sparc.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/binutils/dist/bfd/elfxx-sparc.c diff -u src/external/gpl3/binutils/dist/bfd/elfxx-sparc.c:1.8 src/external/gpl3/binutils/dist/bfd/elfxx-sparc.c:1.9 --- src/external/gpl3/binutils/dist/bfd/elfxx-sparc.c:1.8 Wed Jun 15 10:47:23 2016 +++ src/external/gpl3/binutils/dist/bfd/elfxx-sparc.c Mon Sep 5 05:17:35 2016 @@ -2514,12 +2514,14 @@ readonly_dynrelocs (struct elf_link_hash { struct bfd_link_info *info = (struct bfd_link_info *) inf; - if (info->warn_shared_textrel) -(*_bfd_error_handler) - (_("warning: dynamic relocation to `%s' in readonly section `%s'"), - h->root.root.string, s->name); info->flags |= DF_TEXTREL; + if ((info->warn_shared_textrel && bfd_link_pic (info)) + || info->error_textrel) + info->callbacks->einfo (_("%P: %B: warning: relocation against `%s' in readonly section `%A'\n"), +p->sec->owner, h->root.root.string, +p->sec); + /* Not an error, just cut short the traversal. */ return FALSE; }
CVS commit: src/external/gpl3/binutils/dist/bfd
Module Name:src Committed By: christos Date: Thu Jul 21 00:10:57 UTC 2016 Modified Files: src/external/gpl3/binutils/dist/bfd: elf32-vax.c Log Message: don't die printing a name we don't have To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/external/gpl3/binutils/dist/bfd/elf32-vax.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/binutils/dist/bfd/elf32-vax.c diff -u src/external/gpl3/binutils/dist/bfd/elf32-vax.c:1.13 src/external/gpl3/binutils/dist/bfd/elf32-vax.c:1.14 --- src/external/gpl3/binutils/dist/bfd/elf32-vax.c:1.13 Wed Jun 15 10:47:23 2016 +++ src/external/gpl3/binutils/dist/bfd/elf32-vax.c Wed Jul 20 20:10:57 2016 @@ -782,7 +782,7 @@ elf_vax_check_relocs (bfd *abfd, struct if (info->warn_shared_textrel) (*_bfd_error_handler) (_("warning: dynamic relocation to `%s' in readonly section `%s'"), - h->root.root.string, sec->name); + h ? h->root.root.string : "?", sec->name); info->flags |= DF_TEXTREL; } }
CVS commit: src/external/gpl3/binutils/dist/bfd
Module Name:src Committed By: christos Date: Thu Jul 21 00:10:57 UTC 2016 Modified Files: src/external/gpl3/binutils/dist/bfd: elf32-vax.c Log Message: don't die printing a name we don't have To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/external/gpl3/binutils/dist/bfd/elf32-vax.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/binutils/dist/bfd
Module Name:src Committed By: mlelstv Date: Sun Jun 26 14:44:10 UTC 2016 Modified Files: src/external/gpl3/binutils/dist/bfd: elf32-m68k.c Log Message: fix build To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/binutils/dist/bfd/elf32-m68k.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/binutils/dist/bfd/elf32-m68k.c diff -u src/external/gpl3/binutils/dist/bfd/elf32-m68k.c:1.8 src/external/gpl3/binutils/dist/bfd/elf32-m68k.c:1.9 --- src/external/gpl3/binutils/dist/bfd/elf32-m68k.c:1.8 Wed Jun 15 14:47:23 2016 +++ src/external/gpl3/binutils/dist/bfd/elf32-m68k.c Sun Jun 26 14:44:10 2016 @@ -3440,7 +3440,7 @@ elf_m68k_discard_copies (struct elf_link if (info->warn_shared_textrel) (*_bfd_error_handler) (_("warning: dynamic relocation to `%s' in readonly section `%s'"), - h->root.root.string, s->name); + h->root.root.string, s->section->name); info->flags |= DF_TEXTREL; break; }
CVS commit: src/external/gpl3/binutils/dist/bfd
Module Name:src Committed By: mlelstv Date: Sun Jun 26 14:44:10 UTC 2016 Modified Files: src/external/gpl3/binutils/dist/bfd: elf32-m68k.c Log Message: fix build To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/binutils/dist/bfd/elf32-m68k.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/binutils/dist/bfd
Module Name:src Committed By: christos Date: Wed Jun 15 14:47:23 UTC 2016 Modified Files: src/external/gpl3/binutils/dist/bfd: elf32-hppa.c elf32-i386.c elf32-m68k.c elf32-sh.c elf32-vax.c elfxx-sparc.c Log Message: Harmonize the error messages about dynamic relocations. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/external/gpl3/binutils/dist/bfd/elf32-hppa.c \ src/external/gpl3/binutils/dist/bfd/elf32-m68k.c \ src/external/gpl3/binutils/dist/bfd/elfxx-sparc.c cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/binutils/dist/bfd/elf32-i386.c \ src/external/gpl3/binutils/dist/bfd/elf32-sh.c cvs rdiff -u -r1.12 -r1.13 src/external/gpl3/binutils/dist/bfd/elf32-vax.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/binutils/dist/bfd
Module Name:src Committed By: christos Date: Wed Jun 15 14:47:23 UTC 2016 Modified Files: src/external/gpl3/binutils/dist/bfd: elf32-hppa.c elf32-i386.c elf32-m68k.c elf32-sh.c elf32-vax.c elfxx-sparc.c Log Message: Harmonize the error messages about dynamic relocations. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/external/gpl3/binutils/dist/bfd/elf32-hppa.c \ src/external/gpl3/binutils/dist/bfd/elf32-m68k.c \ src/external/gpl3/binutils/dist/bfd/elfxx-sparc.c cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/binutils/dist/bfd/elf32-i386.c \ src/external/gpl3/binutils/dist/bfd/elf32-sh.c cvs rdiff -u -r1.12 -r1.13 src/external/gpl3/binutils/dist/bfd/elf32-vax.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/binutils/dist/bfd/elf32-hppa.c diff -u src/external/gpl3/binutils/dist/bfd/elf32-hppa.c:1.7 src/external/gpl3/binutils/dist/bfd/elf32-hppa.c:1.8 --- src/external/gpl3/binutils/dist/bfd/elf32-hppa.c:1.7 Fri Jan 29 09:42:44 2016 +++ src/external/gpl3/binutils/dist/bfd/elf32-hppa.c Wed Jun 15 10:47:23 2016 @@ -2185,8 +2185,8 @@ readonly_dynrelocs (struct elf_link_hash if (info->warn_shared_textrel) (*_bfd_error_handler) - (_("warning: dynamic relocation in readonly section `%s'"), - eh->root.root.string); + (_("warning: dynamic relocation to `%s' in readonly section `%s'"), + eh->root.root.string, sec->name); info->flags |= DF_TEXTREL; /* Not an error, just cut short the traversal. */ Index: src/external/gpl3/binutils/dist/bfd/elf32-m68k.c diff -u src/external/gpl3/binutils/dist/bfd/elf32-m68k.c:1.7 src/external/gpl3/binutils/dist/bfd/elf32-m68k.c:1.8 --- src/external/gpl3/binutils/dist/bfd/elf32-m68k.c:1.7 Fri Apr 22 13:40:36 2016 +++ src/external/gpl3/binutils/dist/bfd/elf32-m68k.c Wed Jun 15 10:47:23 2016 @@ -2816,8 +2816,8 @@ elf_m68k_check_relocs (bfd *abfd, { if (info->warn_shared_textrel) (*_bfd_error_handler) - (_("warning: dynamic relocation in readonly section `%s'"), - h->root.root.string); + (_("warning: dynamic relocation to `%s' in readonly section `%s'"), + h->root.root.string, sec->name); info->flags |= DF_TEXTREL; } @@ -3439,8 +3439,8 @@ elf_m68k_discard_copies (struct elf_link { if (info->warn_shared_textrel) (*_bfd_error_handler) - (_("warning: dynamic relocation in readonly section `%s'"), - h->root.root.string); + (_("warning: dynamic relocation to `%s' in readonly section `%s'"), + h->root.root.string, s->name); info->flags |= DF_TEXTREL; break; } Index: src/external/gpl3/binutils/dist/bfd/elfxx-sparc.c diff -u src/external/gpl3/binutils/dist/bfd/elfxx-sparc.c:1.7 src/external/gpl3/binutils/dist/bfd/elfxx-sparc.c:1.8 --- src/external/gpl3/binutils/dist/bfd/elfxx-sparc.c:1.7 Fri Jan 29 09:42:44 2016 +++ src/external/gpl3/binutils/dist/bfd/elfxx-sparc.c Wed Jun 15 10:47:23 2016 @@ -2516,8 +2516,8 @@ readonly_dynrelocs (struct elf_link_hash if (info->warn_shared_textrel) (*_bfd_error_handler) - (_("warning: dynamic relocation in readonly section `%s'"), - h->root.root.string); + (_("warning: dynamic relocation to `%s' in readonly section `%s'"), + h->root.root.string, s->name); info->flags |= DF_TEXTREL; /* Not an error, just cut short the traversal. */ Index: src/external/gpl3/binutils/dist/bfd/elf32-i386.c diff -u src/external/gpl3/binutils/dist/bfd/elf32-i386.c:1.6 src/external/gpl3/binutils/dist/bfd/elf32-i386.c:1.7 --- src/external/gpl3/binutils/dist/bfd/elf32-i386.c:1.6 Fri Jan 29 09:42:44 2016 +++ src/external/gpl3/binutils/dist/bfd/elf32-i386.c Wed Jun 15 10:47:23 2016 @@ -2718,8 +2718,8 @@ elf_i386_readonly_dynrelocs (struct elf_ struct bfd_link_info *info = (struct bfd_link_info *) inf; if (info->warn_shared_textrel) (*_bfd_error_handler) - (_("warning: dynamic relocation in readonly section `%s'"), - h->root.root.string); + (_("warning: dynamic relocation to `%s' in readonly section `%s'"), + h->root.root.string, s->name); info->flags |= DF_TEXTREL; if ((info->warn_shared_textrel && bfd_link_pic (info)) Index: src/external/gpl3/binutils/dist/bfd/elf32-sh.c diff -u src/external/gpl3/binutils/dist/bfd/elf32-sh.c:1.6 src/external/gpl3/binutils/dist/bfd/elf32-sh.c:1.7 --- src/external/gpl3/binutils/dist/bfd/elf32-sh.c:1.6 Fri Jan 29 09:42:44 2016 +++ src/external/gpl3/binutils/dist/bfd/elf32-sh.c Wed Jun 15 10:47:23 2016 @@ -3304,8 +3304,8 @@ readonly_dynrelocs (struct elf_link_hash if (info->warn_shared_textrel) (*_bfd_error_handler) - (_("warning: dynamic relocation in readonly section `%s'"), - h->root.root.string); +
CVS commit: src/external/gpl3/binutils/dist/bfd
Module Name:src Committed By: joerg Date: Fri Apr 29 16:25:55 UTC 2016 Modified Files: src/external/gpl3/binutils/dist/bfd: elflink.c Log Message: Revert. For whatever reasons, the ELF visibility attributes are not meant to be a useful indicator of what an object expects, so for linking against a protected symbol, it must be declared as normal. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/external/gpl3/binutils/dist/bfd/elflink.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/binutils/dist/bfd
Module Name:src Committed By: joerg Date: Fri Apr 29 16:25:55 UTC 2016 Modified Files: src/external/gpl3/binutils/dist/bfd: elflink.c Log Message: Revert. For whatever reasons, the ELF visibility attributes are not meant to be a useful indicator of what an object expects, so for linking against a protected symbol, it must be declared as normal. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/external/gpl3/binutils/dist/bfd/elflink.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/binutils/dist/bfd/elflink.c diff -u src/external/gpl3/binutils/dist/bfd/elflink.c:1.10 src/external/gpl3/binutils/dist/bfd/elflink.c:1.11 --- src/external/gpl3/binutils/dist/bfd/elflink.c:1.10 Fri Mar 25 23:04:41 2016 +++ src/external/gpl3/binutils/dist/bfd/elflink.c Fri Apr 29 16:25:55 2016 @@ -1252,7 +1252,6 @@ _bfd_elf_merge_symbol (bfd *abfd, definition from a dynamic object. */ if (newdyn && ELF_ST_VISIBILITY (h->other) != STV_DEFAULT - && ELF_ST_VISIBILITY (h->other) != STV_PROTECTED && !bfd_is_und_section (sec)) { *skip = TRUE; @@ -1270,7 +1269,6 @@ _bfd_elf_merge_symbol (bfd *abfd, } else if (!newdyn && ELF_ST_VISIBILITY (sym->st_other) != STV_DEFAULT - && ELF_ST_VISIBILITY (sym->st_other) != STV_PROTECTED && h->def_dynamic) { /* If the new symbol with non-default visibility comes from a @@ -9337,11 +9335,10 @@ elf_link_output_extsym (struct bfd_hash_ && h->def_dynamic) sym.st_size = 0; - /* If a non-weak symbol with non-public visibility is not defined + /* If a non-weak symbol with non-default visibility is not defined locally, it is a fatal error. */ if (!bfd_link_relocatable (flinfo->info) && ELF_ST_VISIBILITY (sym.st_other) != STV_DEFAULT - && ELF_ST_VISIBILITY (sym.st_other) != STV_PROTECTED && ELF_ST_BIND (sym.st_info) != STB_WEAK && h->root.type == bfd_link_hash_undefined && !h->def_regular)
CVS commit: src/external/gpl3/binutils/dist/bfd
Module Name:src Committed By: christos Date: Fri Apr 22 17:40:36 UTC 2016 Modified Files: src/external/gpl3/binutils/dist/bfd: elf32-m68k.c Log Message: Print the symbol that caused the text relocation for m68k like we do for other platforms. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/binutils/dist/bfd/elf32-m68k.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/binutils/dist/bfd/elf32-m68k.c diff -u src/external/gpl3/binutils/dist/bfd/elf32-m68k.c:1.6 src/external/gpl3/binutils/dist/bfd/elf32-m68k.c:1.7 --- src/external/gpl3/binutils/dist/bfd/elf32-m68k.c:1.6 Fri Jan 29 09:42:44 2016 +++ src/external/gpl3/binutils/dist/bfd/elf32-m68k.c Fri Apr 22 13:40:36 2016 @@ -2813,7 +2813,13 @@ elf_m68k_check_relocs (bfd *abfd, && !(ELF32_R_TYPE (rel->r_info) == R_68K_PC8 || ELF32_R_TYPE (rel->r_info) == R_68K_PC16 || ELF32_R_TYPE (rel->r_info) == R_68K_PC32)) - info->flags |= DF_TEXTREL; + { + if (info->warn_shared_textrel) + (*_bfd_error_handler) + (_("warning: dynamic relocation in readonly section `%s'"), + h->root.root.string); + info->flags |= DF_TEXTREL; + } sreloc->size += sizeof (Elf32_External_Rela); @@ -3431,6 +3437,10 @@ elf_m68k_discard_copies (struct elf_link s = s->next) if ((s->section->flags & SEC_READONLY) != 0) { + if (info->warn_shared_textrel) + (*_bfd_error_handler) + (_("warning: dynamic relocation in readonly section `%s'"), + h->root.root.string); info->flags |= DF_TEXTREL; break; }
CVS commit: src/external/gpl3/binutils/dist/bfd
Module Name:src Committed By: christos Date: Fri Apr 22 17:40:36 UTC 2016 Modified Files: src/external/gpl3/binutils/dist/bfd: elf32-m68k.c Log Message: Print the symbol that caused the text relocation for m68k like we do for other platforms. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/binutils/dist/bfd/elf32-m68k.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/binutils/dist/bfd
Module Name:src Committed By: skrll Date: Mon Apr 4 06:58:48 UTC 2016 Modified Files: src/external/gpl3/binutils/dist/bfd: configure configure.ac Log Message: Don't use secureplt on alpha yet To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/external/gpl3/binutils/dist/bfd/configure cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/binutils/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/binutils/dist/bfd/configure diff -u src/external/gpl3/binutils/dist/bfd/configure:1.9 src/external/gpl3/binutils/dist/bfd/configure:1.10 --- src/external/gpl3/binutils/dist/bfd/configure:1.9 Fri Jan 29 18:05:18 2016 +++ src/external/gpl3/binutils/dist/bfd/configure Mon Apr 4 06:58:48 2016 @@ -12147,7 +12147,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 Index: src/external/gpl3/binutils/dist/bfd/configure.ac diff -u src/external/gpl3/binutils/dist/bfd/configure.ac:1.2 src/external/gpl3/binutils/dist/bfd/configure.ac:1.3 --- src/external/gpl3/binutils/dist/bfd/configure.ac:1.2 Fri Jan 29 18:05:18 2016 +++ src/external/gpl3/binutils/dist/bfd/configure.ac Mon Apr 4 06:58:48 2016 @@ -82,7 +82,7 @@ AC_ARG_ENABLE(secureplt, yes) use_secureplt=true ;; no) use_secureplt=false ;; *)AC_MSG_ERROR(bad value ${enableval} for secureplt option) ;; -esac],[use_secureplt=true])dnl +esac],[use_secureplt=false])dnl if test $use_secureplt = true; then AC_DEFINE(USE_SECUREPLT, 1, [Define if we should default to creating read-only plt entries])
CVS commit: src/external/gpl3/binutils/dist/bfd
Module Name:src Committed By: skrll Date: Mon Apr 4 06:58:48 UTC 2016 Modified Files: src/external/gpl3/binutils/dist/bfd: configure configure.ac Log Message: Don't use secureplt on alpha yet To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/external/gpl3/binutils/dist/bfd/configure cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/binutils/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/binutils/dist/bfd
Module Name:src Committed By: skrll Date: Mon Mar 28 09:01:24 UTC 2016 Modified Files: src/external/gpl3/binutils/dist/bfd: config.bfd Log Message: Add some more mips targets for martin To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/external/gpl3/binutils/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/binutils/dist/bfd
Module Name:src Committed By: skrll Date: Mon Mar 28 09:01:24 UTC 2016 Modified Files: src/external/gpl3/binutils/dist/bfd: config.bfd Log Message: Add some more mips targets for martin To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/external/gpl3/binutils/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/binutils/dist/bfd/config.bfd diff -u src/external/gpl3/binutils/dist/bfd/config.bfd:1.21 src/external/gpl3/binutils/dist/bfd/config.bfd:1.22 --- src/external/gpl3/binutils/dist/bfd/config.bfd:1.21 Fri Mar 25 09:27:43 2016 +++ src/external/gpl3/binutils/dist/bfd/config.bfd Mon Mar 28 09:01:24 2016 @@ -1082,11 +1082,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/binutils/dist/bfd
Module Name:src Committed By: joerg Date: Fri Mar 25 23:04:41 UTC 2016 Modified Files: src/external/gpl3/binutils/dist/bfd: elflink.c Log Message: If a protected symbol is defined in a shared library, it should still provide an implementation. Fix the merging rules. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/external/gpl3/binutils/dist/bfd/elflink.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.