[Bug ld/29235] Some glibc tests crash in DT_RELR relocation on powerpc64le

2022-06-13 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29235

--- Comment #10 from Nick Clifton  ---
FYI binutils-2.38-15.fc37 should contain the fix.

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


Issue 45897 in oss-fuzz: binutils:fuzz_as: Timeout in fuzz_as

2022-06-13 Thread sheriffbot via monorail
Updates:
Labels: Deadline-Approaching

Comment #2 on issue 45897 by sheriffbot: binutils:fuzz_as: Timeout in fuzz_as
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=45897#c2

This bug is approaching its deadline for being fixed, and will be automatically 
derestricted within 7 days. If a fix is planned within 2 weeks after the 
deadline has passed, a grace extension can be granted.

- 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 ld/3243] Mips R_MIPS_16 relocation incorrectly handled

2022-06-13 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=3243

--- Comment #1 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=d712f2768ac5e71027657d85b921fc0e85d94bcd

commit d712f2768ac5e71027657d85b921fc0e85d94bcd
Author: Alan Modra 
Date:   Sun Jun 12 16:29:05 2022 +0930

BFD_RELOC_MIPS_16

MIPS should not be using BFD_RELOC_16 for its R_MIPS_16 relocation,
since R_MIPS_16 specifies a 16-bit field in a 32-bit word.
BFD_RELOC_16, emitted by generic code to handle fixups on 16-bit data
directives, expects fixups to operate on the whole of a 16-bit word.

This patch corrects the problem by using BFD_RELOC_MIPS_16, a new bfd
reloc that is used to generate R_MIPS_16.  BFD_RELOC_16 is handled in
md_apply_fix for cases where the fixup can be applied at assembly
time.  Like BFD_RELOC_8, BFD_RELOC_16 now has no corresponding object
file relocation, and thus .half, .hword, .short and .dc.w must be
resolved at assembly time.  BFD_RELOC_MIPS_REL16 is removed by this
patch since it isn't used.

PR 3243
PR 26542
* reloc.c (BFD_RELOC_MIPS_16): Rename from BFD_RELOC_MIPS_REL16.
* elf32-mips.c (mips_reloc_map): Map BFD_RELOC_MIPS_16 to
R_MIPS_16.
* elf64-mips.c (mips_reloc_map): Likewise, delete
BFD_RELOC_MIPS_REL16.
* elfn32-mips.c (mips_reloc_map): Likewise.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.
gas/
* config/tc-mips.c (append_insn): Handle BFD_RELOC_MIPS_16.
(macro_build): Likewise.
(mips_percent_op <%half>): Generate BFD_RELOC_MIPS_16.
(md_apply_fix): Handle BFD_RELOC_16 and BFD_RELOC_MIPS_16 when
fx_done.
ld/
* testsuite/ld-mips-elf/reloc-local-overflow.d,
* testsuite/ld-mips-elf/reloc-local-overflow.s: Rewrite.

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


[Bug gas/26542] R_MIPS_16 operates on a 32-bit field

2022-06-13 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=26542

--- 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=d712f2768ac5e71027657d85b921fc0e85d94bcd

commit d712f2768ac5e71027657d85b921fc0e85d94bcd
Author: Alan Modra 
Date:   Sun Jun 12 16:29:05 2022 +0930

BFD_RELOC_MIPS_16

MIPS should not be using BFD_RELOC_16 for its R_MIPS_16 relocation,
since R_MIPS_16 specifies a 16-bit field in a 32-bit word.
BFD_RELOC_16, emitted by generic code to handle fixups on 16-bit data
directives, expects fixups to operate on the whole of a 16-bit word.

This patch corrects the problem by using BFD_RELOC_MIPS_16, a new bfd
reloc that is used to generate R_MIPS_16.  BFD_RELOC_16 is handled in
md_apply_fix for cases where the fixup can be applied at assembly
time.  Like BFD_RELOC_8, BFD_RELOC_16 now has no corresponding object
file relocation, and thus .half, .hword, .short and .dc.w must be
resolved at assembly time.  BFD_RELOC_MIPS_REL16 is removed by this
patch since it isn't used.

PR 3243
PR 26542
* reloc.c (BFD_RELOC_MIPS_16): Rename from BFD_RELOC_MIPS_REL16.
* elf32-mips.c (mips_reloc_map): Map BFD_RELOC_MIPS_16 to
R_MIPS_16.
* elf64-mips.c (mips_reloc_map): Likewise, delete
BFD_RELOC_MIPS_REL16.
* elfn32-mips.c (mips_reloc_map): Likewise.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.
gas/
* config/tc-mips.c (append_insn): Handle BFD_RELOC_MIPS_16.
(macro_build): Likewise.
(mips_percent_op <%half>): Generate BFD_RELOC_MIPS_16.
(md_apply_fix): Handle BFD_RELOC_16 and BFD_RELOC_MIPS_16 when
fx_done.
ld/
* testsuite/ld-mips-elf/reloc-local-overflow.d,
* testsuite/ld-mips-elf/reloc-local-overflow.s: Rewrite.

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


[Bug ld/3243] Mips R_MIPS_16 relocation incorrectly handled

2022-06-13 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=3243

Alan Modra  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|NEW |RESOLVED

--- Comment #2 from Alan Modra  ---
Fixed, you now can't use R_MIPS_16 on data.

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


[Bug gas/26542] R_MIPS_16 operates on a 32-bit field

2022-06-13 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=26542

Alan Modra  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |FIXED

--- Comment #4 from Alan Modra  ---
Fixed.

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


[Bug binutils/29230] nm-new segv in lookup_symbol_in_variable_table:dwarf2.c:3303

2022-06-13 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29230

Alan Modra  changed:

   What|Removed |Added

   Last reconfirmed||2022-06-14
 Status|UNCONFIRMED |ASSIGNED
 Ever confirmed|0   |1
   Assignee|unassigned at sourceware dot org   |amodra at gmail dot com

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


[Bug binutils/29230] nm-new segv in lookup_symbol_in_variable_table:dwarf2.c:3303

2022-06-13 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29230

--- Comment #1 from Alan Modra  ---
*** Bug 29231 has been marked as a duplicate of this bug. ***

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


[Bug binutils/29231] objdump crashes on show_line:objdump.c:1958

2022-06-13 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29231

Alan Modra  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #1 from Alan Modra  ---
Same underlying cause

*** This bug has been marked as a duplicate of bug 29230 ***

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