[Bug ld/32731] ub sanitizer: load of value 190 into type '_Bool' in ldlang.c

2025-02-23 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=32731

--- Comment #1 from Sourceware Commits  ---
The master branch has been updated by Alan Modra :

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

commit a021382482a6c891d74d302a598688f447ae97e0
Author: Alan Modra 
Date:   Sun Feb 23 21:04:29 2025 +1030

PR 32731 ub sanitizer accessing filenames_reversed

tic4x-coff and mcore-pe tickle this bug by a peculiarity of their
default ld scripts.

PR 32731
* ldlang.c (lang_add_wild): Init filenames_reversed when no
filespec.

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


[Bug ld/32731] ub sanitizer: load of value 190 into type '_Bool' in ldlang.c

2025-02-23 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=32731

--- Comment #2 from Sourceware Commits  ---
The binutils-2_44-branch branch has been updated by Alan Modra
:

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

commit bf088ee09a78cc86025139b8ff18d56a1e53605b
Author: Alan Modra 
Date:   Sun Feb 23 21:04:29 2025 +1030

PR 32731 ub sanitizer accessing filenames_reversed

tic4x-coff and mcore-pe tickle this bug by a peculiarity of their
default ld scripts.

PR 32731
* ldlang.c (lang_add_wild): Init filenames_reversed when no
filespec.

(cherry picked from commit a021382482a6c891d74d302a598688f447ae97e0)

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


[Bug ld/32238] Performance issues found from binutils version '2.36' version while usage of function 'lang_output_section_statement_lookup'

2025-02-23 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=32238

--- Comment #23 from Sourceware Commits  ---
The binutils-2_43-branch branch has been updated by Alan Modra
:

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

commit fde801554cbd66625cddfe1a79e353e757ce177e
Author: Alan Modra 
Date:   Sat Jan 4 11:33:27 2025 +1030

PR32238, ld -r slowdown since 21401fc7bf

PR 32238
* ldlang.c (struct out_section_hash_entry): Add "tail".
(output_section_statement_newfunc_1): New, extracted from..
(output_section_statement_newfunc): ..here.  Init tail.
(lang_output_section_statement_lookup): Use tail to avoid
list traversal.

(cherry picked from commit a55875bd182258a917af303c653d6667593e7b3e)

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


[Bug ld/32731] ub sanitizer: load of value 190 into type '_Bool' in ldlang.c

2025-02-23 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32731

Alan Modra  changed:

   What|Removed |Added

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

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

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


[Bug ld/32731] ub sanitizer: load of value 190 into type '_Bool' in ldlang.c

2025-02-23 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=32731

--- Comment #3 from Sourceware Commits  ---
The binutils-2_43-branch branch has been updated by Alan Modra
:

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

commit 0058986f0efa97a2b9f83b33d8d70f08a7dac0ae
Author: Alan Modra 
Date:   Sun Feb 23 21:04:29 2025 +1030

PR 32731 ub sanitizer accessing filenames_reversed

tic4x-coff and mcore-pe tickle this bug by a peculiarity of their
default ld scripts.

PR 32731
* ldlang.c (lang_add_wild): Init filenames_reversed when no
filespec.

(cherry picked from commit a021382482a6c891d74d302a598688f447ae97e0)

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


[Bug binutils/32459] objdump -R: dump SHT_RELR relocations?

2025-02-23 Thread i at maskray dot me
https://sourceware.org/bugzilla/show_bug.cgi?id=32459

--- Comment #4 from Fangrui Song  ---
Sorry again for the late reply.

Since objdump -r ignores dynamic relocations, I think it is consistent to not
report a warning when .relr.dyn is present.

% objdump -r /bin/ls

/bin/ls: file format elf64-x86-64


For -R, objdump -R can give a short message like

.relr.dyn contains RELR relocations, which can be displayed with readelf
-r.

The short message implies that objdump doesn't support displaying them.

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