binutils.git
7 years agopr22895
Matthias Klose [Wed, 16 May 2018 14:21:19 +0000 (15:21 +0100)]
pr22895

# DP: Catch integer overflows/underflows when parsing corrupt DWARF FORM blocks.

From 12c963421d045a127c413a0722062b9932c50aa9 Mon Sep 17 00:00:00 2001
From: Nick Clifton <nickc@redhat.com>
Date: Wed, 28 Feb 2018 11:50:49 +0000
Subject: [PATCH] Catch integer overflows/underflows when parsing corrupt DWARF
 FORM blocks.

PR 22895
PR 22893
* dwarf2.c (read_n_bytes): Replace size parameter with dwarf_block
pointer.  Drop unused abfd parameter.  Check the size of the block
before initialising the data field.  Return the end pointer if the
size is invalid.
(read_attribute_value): Adjust invocations of read_n_bytes.

Gbp-Pq: Name pr22895.diff

7 years agopr22894
Matthias Klose [Wed, 16 May 2018 14:21:19 +0000 (15:21 +0100)]
pr22894

# DP: Fix potential integer overflow when reading corrupt dwarf1

From eef104664efb52965d85a28bc3fc7c77e52e48e2 Mon Sep 17 00:00:00 2001
From: Nick Clifton <nickc@redhat.com>
Date: Wed, 28 Feb 2018 10:13:54 +0000
Subject: [PATCH] Fix potential integer overflow when reading corrupt dwarf1
 debug information.

PR 22894
* dwarf1.c (parse_die): Check the length of form blocks before
advancing the data pointer.

Gbp-Pq: Name pr22894.diff

7 years agopr22741
Matthias Klose [Wed, 16 May 2018 14:21:19 +0000 (15:21 +0100)]
pr22741

# DP: PR22741, objcopy segfault on fuzzed COFF object

From eb77f6a4621795367a39cdd30957903af9dbb815 Mon Sep 17 00:00:00 2001
From: Alan Modra <amodra@gmail.com>
Date: Sat, 27 Jan 2018 08:19:33 +1030
Subject: [PATCH] PR22741, objcopy segfault on fuzzed COFF object

PR 22741
* coffgen.c (coff_pointerize_aux): Ensure auxent tagndx is in
range before converting to a symbol table pointer.

Gbp-Pq: Name pr22741.diff

7 years agoPrevent attempts to call strncpy with a zero-length field by chacking the size of...
Nick Clifton [Tue, 6 Feb 2018 15:48:29 +0000 (15:48 +0000)]
Prevent attempts to call strncpy with a zero-length field by chacking the size of debuglink sections.

PR 22794
* opncls.c (bfd_get_debug_link_info_1): Check the size of the
section before attempting to read it in.
(bfd_get_alt_debug_link_info): Likewise.

Gbp-Pq: Name pr22794.diff

7 years agoPR22769, crash when running 32-bit objdump on corrupted file
Alan Modra [Thu, 1 Feb 2018 07:31:00 +0000 (18:01 +1030)]
PR22769, crash when running 32-bit objdump on corrupted file

PR 22769
* objdump.c (load_specific_debug_section): Check for overflow
when adding one to section size for a string section terminator.

Gbp-Pq: Name pr22769.diff

7 years agoPR22746, crash when running 32-bit objdump on corrupted file
Alan Modra [Thu, 25 Jan 2018 11:17:41 +0000 (21:47 +1030)]
PR22746, crash when running 32-bit objdump on corrupted file

Avoid unsigned int overflow by performing bfd_size_type multiplication.

PR 22746
* elfcode.h (elf_object_p): Avoid integer overflow.

Gbp-Pq: Name pr22746.diff

7 years agopr22734
Matthias Klose [Wed, 16 May 2018 14:21:19 +0000 (15:21 +0100)]
pr22734

# DP: Fix PR binutils/22734, taken from the trunk.

2018-01-30  Nick Clifton  <nickc@redhat.com>

PR 22734
* doc/binutils.texi (nm): Update description to point out that
zero-initialized values can also be shown as type B, b, S or s
since they can be stored in the BSS section.

Gbp-Pq: Name pr22734.diff

7 years agogold-no-keep-files-mapped
Matthias Klose [Wed, 16 May 2018 14:21:19 +0000 (15:21 +0100)]
gold-no-keep-files-mapped

# DP: gold on 32bit archs: Release mapped files after each pass.

Gbp-Pq: Name gold-no-keep-files-mapped.diff

7 years agostrings-whitespace-arg
Matthias Klose [Wed, 16 May 2018 14:21:19 +0000 (15:21 +0100)]
strings-whitespace-arg

binutils/

* strings.c(long_options): include-all-whitespace does not take
an extra argument.

Gbp-Pq: Name strings-whitespace-arg.diff

7 years agoi18n-fr
Matthias Klose [Wed, 16 May 2018 14:21:19 +0000 (15:21 +0100)]
i18n-fr

===================================================================

Gbp-Pq: Name i18n-fr.diff

7 years agogold-mips
Matthias Klose [Wed, 16 May 2018 14:21:19 +0000 (15:21 +0100)]
gold-mips

# DP: Fix gold on mips64 targets.

gold/

2016-08-09  Aurelien Jarno  <aurelien@aurel32.net>

* configure.tgt: Add mips64el*-*-*|mips64le*-*-* and mips64*-*-*.

Gbp-Pq: Name gold-mips.diff

7 years agomips64-default-n64
Matthias Klose [Wed, 16 May 2018 14:21:19 +0000 (15:21 +0100)]
mips64-default-n64

===================================================================

Gbp-Pq: Name mips64-default-n64.diff

7 years agoaarch64-libpath
Matthias Klose [Wed, 16 May 2018 14:21:19 +0000 (15:21 +0100)]
aarch64-libpath

===================================================================

Gbp-Pq: Name aarch64-libpath.diff

7 years agogprof-build
Matthias Klose [Wed, 16 May 2018 14:21:19 +0000 (15:21 +0100)]
gprof-build

# DP: Fix gprof build error.

Gbp-Pq: Name gprof-build.diff

7 years ago_ld_doc_remove_xref
Matthias Klose [Wed, 16 May 2018 14:21:19 +0000 (15:21 +0100)]
_ld_doc_remove_xref

# DP: In ld.texi, remove cross reference to BFD internals documentation.

Gbp-Pq: Name 164_ld_doc_remove_xref.diff

7 years ago_gold_dummy_zoption
Matthias Klose [Wed, 16 May 2018 14:21:19 +0000 (15:21 +0100)]
_gold_dummy_zoption

# DP: let gold accept a dummy -z buildd-<random-string> option.

Gbp-Pq: Name 161_gold_dummy_zoption.diff

7 years ago_ar_scripts_with_tilde
Matthias Klose [Wed, 16 May 2018 14:21:19 +0000 (15:21 +0100)]
_ar_scripts_with_tilde

===================================================================

Gbp-Pq: Name 157_ar_scripts_with_tilde.patch

7 years ago_bfd_pic
Matthias Klose [Wed, 16 May 2018 14:21:19 +0000 (15:21 +0100)]
_bfd_pic

Gbp-Pq: Name 136_bfd_pic.patch

7 years ago_bfd_version
Matthias Klose [Wed, 16 May 2018 14:21:19 +0000 (15:21 +0100)]
_bfd_version

Gbp-Pq: Name 135_bfd_version.patch

7 years ago_ld_bootstrap_testsuite
Matthias Klose [Wed, 16 May 2018 14:21:19 +0000 (15:21 +0100)]
_ld_bootstrap_testsuite

Upstream status: proposed patch

Gbp-Pq: Name 131_ld_bootstrap_testsuite.patch

7 years ago_gold_disable_testsuite_build
Matthias Klose [Wed, 16 May 2018 14:21:19 +0000 (15:21 +0100)]
_gold_disable_testsuite_build

Upstream status: local

Gbp-Pq: Name 130_gold_disable_testsuite_build.patch

7 years ago_multiarch_libpath
Matthias Klose [Wed, 16 May 2018 14:21:19 +0000 (15:21 +0100)]
_multiarch_libpath

# DP: Add multiarch directories to linker search path for ld and gold.

Gbp-Pq: Name 129_multiarch_libpath.patch

7 years ago_ppc64_powerpc_biarch
Matthias Klose [Wed, 16 May 2018 14:21:19 +0000 (15:21 +0100)]
_ppc64_powerpc_biarch

===================================================================

Gbp-Pq: Name 128_ppc64_powerpc_biarch.patch

7 years ago_bash_in_ld_testsuite
Matthias Klose [Wed, 16 May 2018 14:21:19 +0000 (15:21 +0100)]
_bash_in_ld_testsuite

===================================================================

Gbp-Pq: Name 013_bash_in_ld_testsuite.patch

7 years ago_check_ldrunpath_length
Matthias Klose [Wed, 16 May 2018 14:21:19 +0000 (15:21 +0100)]
_check_ldrunpath_length

cases where -rpath isn't specified. (#151024)

Gbp-Pq: Name 012_check_ldrunpath_length.patch

7 years ago_better_file_error
Matthias Klose [Wed, 16 May 2018 14:21:19 +0000 (15:21 +0100)]
_better_file_error

directory. (#45832)

Gbp-Pq: Name 006_better_file_error.patch

7 years ago_gprof_see_also_monitor
Matthias Klose [Wed, 16 May 2018 14:21:19 +0000 (15:21 +0100)]
_gprof_see_also_monitor

===================================================================

Gbp-Pq: Name 003_gprof_see_also_monitor.patch

7 years ago_gprof_profile_arcs
Matthias Klose [Wed, 16 May 2018 14:21:19 +0000 (15:21 +0100)]
_gprof_profile_arcs

===================================================================

Gbp-Pq: Name 002_gprof_profile_arcs.patch

7 years ago_ld_makefile_patch
Matthias Klose [Wed, 16 May 2018 14:21:19 +0000 (15:21 +0100)]
_ld_makefile_patch

Upstream status: N/A
Date: ??

Gbp-Pq: Name 001_ld_makefile_patch.patch

7 years agobranch-version
Matthias Klose [Wed, 16 May 2018 14:21:19 +0000 (15:21 +0100)]
branch-version

# DP: Don't bump the version when doing distro builds

git diff e43d51b14d0039506ec42941001f3ca56387a80e 8db5daf9efe8a6174d3b10ac7bba8c178836e9ce

Gbp-Pq: Name branch-version.diff

7 years agobranch-updates
Matthias Klose [Wed, 16 May 2018 14:21:19 +0000 (15:21 +0100)]
branch-updates

# DP: updates from the binutils-2.30 branch

# git diff 8db5daf9efe8a6174d3b10ac7bba8c178836e9ce 238fb05ff029973ef20c59aef6b197bb21d941e5

Gbp-Pq: Name branch-updates.diff

7 years agobinutils (2.30-20) unstable; urgency=medium
Matthias Klose [Wed, 16 May 2018 14:21:19 +0000 (15:21 +0100)]
binutils (2.30-20) unstable; urgency=medium

  * Update, taken from the 2.30 branch 20180516.
    - Fix PR binutils/23109, disassembly mask for vector sdot on AArch64.
    - Fix uninitialised memory acccess in COFF bfd backend.
    - Update Portuguese translations.

[dgit import unpatched binutils 2.30-20]

7 years agoImport binutils_2.30-20.debian.tar.xz
Matthias Klose [Wed, 16 May 2018 14:21:19 +0000 (15:21 +0100)]
Import binutils_2.30-20.debian.tar.xz

[dgit import tarball binutils 2.30-20 binutils_2.30-20.debian.tar.xz]

7 years agoImport binutils_2.30.orig.tar.xz
Matthias Klose [Mon, 29 Jan 2018 13:29:38 +0000 (13:29 +0000)]
Import binutils_2.30.orig.tar.xz

[dgit import orig binutils_2.30.orig.tar.xz]