[Bug ld/30632] ld segfaults if linker script includes a STARTUP line.

2023-07-18 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30632

Nick Clifton  changed:

   What|Removed |Added

   Assignee|unassigned at sourceware dot org   |nickc at redhat dot com
 Status|UNCONFIRMED |ASSIGNED
 CC||nickc at redhat dot com
 Ever confirmed|0   |1
   Last reconfirmed||2023-07-18

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


[Bug ld/30632] ld segfaults if linker script includes a STARTUP line.

2023-07-18 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=30632

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

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

commit 9cc5af6a1f80ea46b2444e266c69193c32c13d3b
Author: Pter Chubb 
Date:   Tue Jul 18 17:04:43 2023 +0100

PR 30632 - ld segfaults if linker script includes a STARTUP line.

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


[Bug ld/30632] ld segfaults if linker script includes a STARTUP line.

2023-07-18 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=30632

--- Comment #4 from cvs-commit at gcc dot gnu.org  ---
The binutils-2_41-branch branch has been updated by Nick Clifton
:

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

commit 5d17455d0d627c04af6ca66b3dfdca9fd3276fb3
Author: Pter Chubb 
Date:   Tue Jul 18 17:06:14 2023 +0100

PR 30632 - ld segfaults if linker script includes a STARTUP line.

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


[Bug ld/30632] ld segfaults if linker script includes a STARTUP line.

2023-07-18 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30632

Nick Clifton  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED

--- Comment #5 from Nick Clifton  ---
Hi Peter,

  Thanks for the bug report and patch.  You are right that a NULL name should
be allowed, but there is a complication because ldfile_possibly_remap_input ()
returns
NULL if the file should not be added to the input list.  So I had to adjust
your patch slightly in order to take this into account.

  I have gone ahead an applied the tweaked patch (mainline and 2.41 branch).

Cheers
  Nick

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


[Bug gprofng/30602] [2.41] gprofng test hangs on i686-linux-gnu

2023-07-18 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=30602

--- Comment #3 from cvs-commit at gcc dot gnu.org  ---
The binutils-2_41-branch branch has been updated by Vladimir Mezentsev
:

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

commit 88ebffa03cb8a971fac45fed8d2a869c0888b310
Author: Vladimir Mezentsev 
Date:   Wed Jul 12 15:03:28 2023 -0700

gprofng: 30602 [2.41] gprofng test hangs on i686-linux-gnu

There were several problems in the gprofng testing:
 - we did not catch a timeout for each test.
 - we used exit() to stop a failed test. But this stops all other tests.
 - we used a time_t (long) type in smalltest.c instead of a long long type.

PR gprofng/30602
* configure.ac: Launch only native testing.
* configure: Rebuild.
* testsuite/config/default.exp: Set TEST_TIMEOUT.
* testsuite/gprofng.display/setpath_map.exp: Use return instead of
exit.
* testsuite/gprofng.display/gp-archive.exp: Likewise.
* testsuite/gprofng.display/gp-collect-app_F.exp: Likewise.
* testsuite/gprofng.display/display.exp: Delete an unnecessary test
for native testing.
* testsuite/lib/display-lib.exp (run_native_host_cmd): Add timeout.
* testsuite/lib/smalltest.c: Use a long long type instead of
time_t.

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


Issue 58345 in oss-fuzz: binutils:fuzz_as: Heap-use-after-free in S_IS_WEAK

2023-07-18 Thread sheriffbot via monorail
Updates:
Labels: Deadline-Approaching

Comment #2 on issue 58345 by sheriffbot: binutils:fuzz_as: Heap-use-after-free 
in S_IS_WEAK
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=58345#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 gprofng/30602] [2.41] gprofng test hangs on i686-linux-gnu

2023-07-18 Thread vladimir.mezentsev at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30602

Vladimir Mezentsev  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #4 from Vladimir Mezentsev  
---
The fixes are in master and binutils-2_41-branch.

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


[Bug ld/10957] Missing option to really print section+offset

2023-07-18 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=10957

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

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

commit 1f4a532943b80e45c79367804aff2f73550d9c72
Author: Alan Modra 
Date:   Sat Jul 15 19:47:10 2023 +0930

PR10957, Missing option to really print section+offset

Many of the reloc error messages have already been converted from
using %C to using %H in ld.bfd, to print section+offset as well as
file/line/function.  This catches a few remaining, and changes gold to
do the same.

PR 10957
bfd/
* elf32-sh.c (sh_elf_relocate_section): Use %H in error messages.
gold/
* object.cc (Relocate_info::location): Always report
section+offset.
* testsuite/debug_msg.sh: Adjust to suit.
* testsuite/x32_overflow_pc32.sh: Likewise.
* testsuite/x86_64_overflow_pc32.sh: Likewise.
ld/
* emultempl/pe.em (read_addend): Use %H in error message.
* emultempl/pep.em (read_addend): Likewise.
* ldcref.c (check_reloc_refs): Likewise.
* ldmain.c (warning_find_reloc, undefined_symbol): Likewise.
* pe-dll.c (pe_create_import_fixup): Likewise.
* testsuite/ld-cris/undef2.d: Adjust expected output to suit.
* testsuite/ld-cris/undef3.d: Likewise.
* testsuite/ld-elf/shared.exp: Likewise.
* testsuite/ld-i386/compressed1.d: Likewise.
* testsuite/ld-ia64/line.exp: Likewise.
* testsuite/ld-plugin/lto.exp: Likewise.
* testsuite/ld-undefined/undefined.exp: Likewise.
* testsuite/ld-x86-64/compressed1.d: Likewise.
* testsuite/ld-x86-64/line.exp: Likewise.
* testsuite/ld-x86-64/pr27587.err: Likewise.

(cherry picked from commit 02d2a36902c7b0fefe05e8d9bdbf11e846ac71fe)

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