[Bug binutils/27128] nm -P portable output format regression

2020-12-31 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=27128

--- Comment #2 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=cab3f4da68672647cde72bc0c06ec08977819817

commit cab3f4da68672647cde72bc0c06ec08977819817
Author: Alan Modra 
Date:   Wed Dec 30 22:00:57 2020 +1030

PR27128, nm -P portable output format regression

binutils/
PR 27128
* nm.c (print_symname): Append version string to symbol name
before printing the lot under control of "form".  Append version
to demangled names too.
ld/
PR 27128
* testsuite/ld-elf/pr27128.s: New file.
* testsuite/ld-elf/pr27128.t: Likewise.
* testsuite/ld-elf/pr27128a.d: Likewise.
* testsuite/ld-elf/pr27128b.d: Likewise.
* testsuite/ld-elf/pr27128c.d: Likewise.
* testsuite/ld-elf/pr27128d.d: Likewise.
* testsuite/ld-elf/pr27128e.d: Likewise.

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


[Bug binutils/27128] nm -P portable output format regression

2020-12-31 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27128

Alan Modra  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED
   Target Milestone|--- |2.36

--- Comment #3 from Alan Modra  ---
Fixed

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


[Bug binutils/27131] Division by zero in elf.c

2020-12-31 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27131

Alan Modra  changed:

   What|Removed |Added

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

--- Comment #1 from Alan Modra  ---
Doesn't reproduce on master.  Guessing this is a dup of pr26521.

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

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


[Bug binutils/26521] A Floating point exception in elf.c:12840:31

2020-12-31 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=26521

Alan Modra  changed:

   What|Removed |Added

 CC||sirus.shahini at gmail dot com

--- Comment #3 from Alan Modra  ---
*** Bug 27131 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 ld/25713] Linker(ld.exe) runs in Windows unable to find file if path length is more than 260 characters.

2020-12-31 Thread jaydeepchauhan1494 at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25713

--- Comment #14 from Jaydeep Chauhan  ---
Gentle Ping !!!

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


[Bug gas/25295] Gas should have way to define symbol version without exporting its target

2020-12-31 Thread i at maskray dot me
https://sourceware.org/bugzilla/show_bug.cgi?id=25295

--- Comment #22 from Fangrui Song  ---
I believe the "local" and "hidden" optional arguments will never be useful.

.symver foo, foo@VERS_1, local
.symver foo, foo@VERS_2, hidden

For @@ definition, users already have `.symver foo, foo@@@VERS_1`

This PR addresses the lingering symbol problem for @ with "remove".


However, I think adding a new directive is probably better to fix all the
confusion around @@@ and local/hidden/remove. The new directive should just do
symbol renaming.
(https://maskray.me/blog/2020-11-26-all-about-symbol-versioning#Assembler-behavior
)

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


[Bug binutils/26302] nm -D -u now by default displays symbol versions, adding --with-symbol-versions duplicates them

2020-12-31 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=26302

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

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

commit 794e008bac4ed9948015644bcf9b3ae178ef9a50
Author: H.J. Lu 
Date:   Mon Aug 10 05:17:28 2020 -0700

nm: Remove --with-symbol-versions

Since

commit 7e6e972f74aeac0ebdbd95a7f905d871cd2581de
Author: H.J. Lu 
Date:   Tue Mar 24 04:23:11 2020 -0700

bfd: Display symbol version for nm -D

always displays symbol version for nm, remove --with-symbol-versions and
silently accept it for backward compatibility.

binutils/

PR binutils/26302
* nm.c (with_symbol_versions): Removed.
(long_option_values): Add OPTION_WITH_SYMBOL_VERSIONS.
(long_options): Update --with-symbol-versions entry.
(print_symbol): Remove the with_symbol_versions check.
(main): Add OPTION_WITH_SYMBOL_VERSIONS for backward
compatibility.
* doc/binutils.texi: Remove --with-symbol-versions.

ld/

PR binutils/26302
* testsuite/ld-elf/pr26302.nd: New file.
* testsuite/ld-elf/pr26302.ver: Likewise.
* testsuite/ld-elf/pr26302a.c: Likewise.
* testsuite/ld-elf/pr26302b.c: Likewise.
* testsuite/ld-elf/shared.exp: Run binutils/26302 tests.

(cherry picked from commit 9b0ac51b22d0cf900f39e17e615bb22e32720f6e)

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


[Bug ld/26382] Inconsistent undefined versioned symbols

2020-12-31 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=26382

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

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

commit 0a690cf659075e47ec1f7aecf332e641b0bb0ed5
Author: H.J. Lu 
Date:   Sat Aug 22 08:31:53 2020 -0700

elf: Keep only one '@' for undefined versioned symbols

The symbol string table in the .symtab section is optional and cosmetic.
Keep only one '@' for undefined versioned symbols, which are defined in
shared objects, in the symbol string table.  Update "nm -D" to display
only one '@' for undefined versioned symbols.

bfd/

PR ld/26382
* elflink.c (elf_link_output_symstrtab): Keep only one '@' for
versioned symbols, which are defined in shared objects, in
symbol string table.

binutils/

PR ld/26382
* nm.c (print_symname): Display only one '@' for undefined
versioned symbols.
* doc/binutils.texi: Update nm version information.

ld/

PR ld/26382
* testsuite/ld-elf/pr26302.nd: Updated.
* testsuite/ld-elf/pr26302.rd: New file.
* testsuite/ld-elf/shared.exp: Add a test for readelf -sW.

(cherry picked from commit 3f2e9699234ca31d083bc93ea6e03903f10baeaf)

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


[Bug binutils/27128] nm -P portable output format regression

2020-12-31 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=27128

--- Comment #4 from cvs-commit at gcc dot gnu.org  ---
The binutils-2_35-branch branch has been updated by Alan Modra
:

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

commit 5ca7ac981b734591b1ca0acc36c2b2081e64d06c
Author: Alan Modra 
Date:   Wed Dec 30 22:00:57 2020 +1030

PR27128, nm -P portable output format regression

binutils/
PR 27128
* nm.c (print_symname): Append version string to symbol name
before printing the lot under control of "form".  Append version
to demangled names too.
ld/
PR 27128
* testsuite/ld-elf/pr27128.s: New file.
* testsuite/ld-elf/pr27128.t: Likewise.
* testsuite/ld-elf/pr27128a.d: Likewise.
* testsuite/ld-elf/pr27128b.d: Likewise.
* testsuite/ld-elf/pr27128c.d: Likewise.
* testsuite/ld-elf/pr27128d.d: Likewise.
* testsuite/ld-elf/pr27128e.d: Likewise.

(cherry picked from commit cab3f4da68672647cde72bc0c06ec08977819817)

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


[Bug binutils/27138] New: Segmentation Fault in elf.c

2020-12-31 Thread sirus.shahini at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27138

Bug ID: 27138
   Summary: Segmentation Fault in elf.c
   Product: binutils
   Version: 2.35.1
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: binutils
  Assignee: unassigned at sourceware dot org
  Reporter: sirus.shahini at gmail dot com
  Target Milestone: ---

Created attachment 13086
  --> https://sourceware.org/bugzilla/attachment.cgi?id=13086&action=edit
Sample Input

Hello,

Our fuzzer detected a memory access violation in 'bfd/elf.c'.

Run 'strip' with the attached input:

  strip --strip-unneeded 

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


[Bug binutils/27116] Spelling errors found by Debian style checker

2020-12-31 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=27116

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

commit f9a6a8f09dc2310d5f4a482a2e7ffc1be3984cd7
Author: Alan Modra 
Date:   Fri Jan 1 14:21:52 2021 +1030

PR27116, Spelling errors found by Debian style checker

PR 27116
bfd/
* xcofflink.c: Correct spelling in comments.
binutils/
* coffgrok.c (do_type): Correct spelling of auxiliary in errors.
* doc/binutils.texi: Correct grammar.
* readelf.c (process_version_sections): Correct spelling of
auxiliary
in warning.
* testsuite/binutils-all/vax/objdump.exp: Comment grammar fix.
config/
* override.m4: Correct comment grammar.
gas/
* config/tc-i386.c: Correct comment spelling.
* config/tc-riscv.c: Likewise.
* config/tc-s390.c: Correct comment grammar.
* doc/c-i386.texi: Correct spelling.
* doc/c-s390.texi: Correct grammar.
gold/
* tilegx.cc: Correct comment spelling.
gprof/
* README: Correct grammar.
* gprof.texi: Likewise.
include/
* coff/internal.h: Correct comment spelling.
* coff/sym.h: Likewise.
* opcode/aarch64.h: Likewise.
ld/
* configure.tgt: Correct comment grammar.
* emultempl/m68hc1xelf.em: Likewise.
* ld.texi: Correct grammar.

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


[Bug binutils/27116] Spelling errors found by Debian style checker

2020-12-31 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27116

Alan Modra  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED
   Assignee|unassigned at sourceware dot org   |amodra at gmail dot com
   Target Milestone|--- |2.36

--- Comment #2 from Alan Modra  ---
Patch applied.

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