[Bug binutils/28834] incorrect detection of "DWARF error: section .debug_str is larger than its filesize"

2022-11-10 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=28834

--- Comment #6 from cvs-commit at gcc dot gnu.org  ---
The master branch has been updated by Alan Modra :

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=f7502dfe3f99d09fba2fc49f806ccc6b0a18c06d

commit f7502dfe3f99d09fba2fc49f806ccc6b0a18c06d
Author: Alan Modra 
Date:   Fri Nov 11 13:43:42 2022 +1030

PR28834, PR26946 sanity checking section size

This patch provides a new function to sanity check section sizes.
It's mostly extracted from what we had in bfd_get_full_section_contents
but also handles compressed debug sections.
Improvements are:
- section file offset is taken into account,
- added checks that a compressed section can be read from file.

The function is then used when handling multiple .debug_* sections
that need to be read into a single buffer, to sanity check sizes
before allocating the buffer.

PR 26946, PR 28834
* Makefile.am (LIBBFD_H_FILES): Add section.c.
* compress.c (bfd_get_full_section_contents): Move section size
sanity checks..
* section.c (_bfd_section_size_insane): ..to here.  New function.
* dwarf2.c (read_section): Use _bfd_section_size_insane.
(_bfd_dwarf2_slurp_debug_info): Likewise.
* Makefile.in: Regenerate.
* libbfd.h: Regenerate.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug binutils/26946] [nm] memory allocation failed

2022-11-10 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=26946

--- Comment #3 from cvs-commit at gcc dot gnu.org  ---
The master branch has been updated by Alan Modra :

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=f7502dfe3f99d09fba2fc49f806ccc6b0a18c06d

commit f7502dfe3f99d09fba2fc49f806ccc6b0a18c06d
Author: Alan Modra 
Date:   Fri Nov 11 13:43:42 2022 +1030

PR28834, PR26946 sanity checking section size

This patch provides a new function to sanity check section sizes.
It's mostly extracted from what we had in bfd_get_full_section_contents
but also handles compressed debug sections.
Improvements are:
- section file offset is taken into account,
- added checks that a compressed section can be read from file.

The function is then used when handling multiple .debug_* sections
that need to be read into a single buffer, to sanity check sizes
before allocating the buffer.

PR 26946, PR 28834
* Makefile.am (LIBBFD_H_FILES): Add section.c.
* compress.c (bfd_get_full_section_contents): Move section size
sanity checks..
* section.c (_bfd_section_size_insane): ..to here.  New function.
* dwarf2.c (read_section): Use _bfd_section_size_insane.
(_bfd_dwarf2_slurp_debug_info): Likewise.
* Makefile.in: Regenerate.
* libbfd.h: Regenerate.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug gold/29641] gold, dwp: support zstd for SHF_COMPRESSED debug sections

2022-11-10 Thread i at maskray dot me
https://sourceware.org/bugzilla/show_bug.cgi?id=29641

Fangrui Song  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
   Assignee|ccoutant at gmail dot com  |i at maskray dot me
   Target Milestone|--- |2.40
 Resolution|--- |FIXED

--- Comment #3 from Fangrui Song  ---
Closed by
https://sourceware.org/git?p=binutils-gdb.git;a=commit;h=332a4eeaea69034b8ee6f50b931ce6734b55bf08
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=8b2d02cbb924f1f3718dc5a20f7a9dcf07739d23

Milestone: 2.40

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug gold/29678] Unsupported target for loongrach64-linux-gnu for linker

2022-11-10 Thread ccoutant at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29678

Cary Coutant  changed:

   What|Removed |Added

   Severity|normal  |enhancement
 Ever confirmed|0   |1
   Last reconfirmed||2022-11-11
 Status|UNCONFIRMED |NEW

--- Comment #1 from Cary Coutant  ---
Sorry, gold does not (yet) support this architecture. Patches are welcome.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Issue 53012 in oss-fuzz: binutils:fuzz_objcopy: Timeout in fuzz_objcopy

2022-11-10 Thread sheriffbot via monorail
Updates:
Labels: -restrict-view-commit

Comment #3 on issue 53012 by sheriffbot: binutils:fuzz_objcopy: Timeout in 
fuzz_objcopy
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=53012#c3

This bug has been fixed. It has been opened to the public.

- Your friendly Sheriffbot

-- 
You received this message because:
  1. You were specifically CC'd on the issue

You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings

Reply to this email to add a comment.

[Bug gas/29751] (%dx) is mishandled

2022-11-10 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=29751

--- Comment #1 from cvs-commit at gcc dot gnu.org  ---
The master branch has been updated by H.J. Lu :

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=9373f27599a82ed94d9366ad59f0235085a931af

commit 9373f27599a82ed94d9366ad59f0235085a931af
Author: H.J. Lu 
Date:   Fri Nov 4 13:47:59 2022 -0700

i386: Check invalid (%dx) usage

(%dx) isn't a valid memory address in any modes.  It is used as a special
memory operand for input/output port address in AT&T syntax and should
only be used with input/output instructions.  Update i386_att_operand to
set i.input_output_operand to true for (%dx) and issue an error if (%dx)
is used with non-input/output instructions.

PR gas/29751
* config/tc-i386.c (_i386_insn): Add input_output_operand.
(md_assemble): Issue an error if input/output memory operand is
used with non-input/output instructions.
(i386_att_operand): Set i.input_output_operand to true for
(%dx).
* testsuite/gas/i386/inval.l: Updated.
* testsuite/gas/i386/x86-64-inval.l: Likewise.
* testsuite/gas/i386/inval.s: Add tests for invalid (%dx) usage.
* testsuite/gas/i386/x86-64-inval.s: Likewise.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug binutils/29764] objdump confused with --enable-targets=all if several machines include the same cpu name

2022-11-10 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=29764

Sam James  changed:

   What|Removed |Added

 CC||sam at gentoo dot org

-- 
You are receiving this mail because:
You are on the CC list for the bug.