[Bug ld/31710] Segmentation fault using wrapping and debug information

2024-05-08 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=31710

--- Comment #3 from Sourceware Commits  ---
The master branch has been updated by H.J. Lu :

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

commit 1509f0c231854b2fd3556d77d6be1f98301bf8a3
Author: H.J. Lu 
Date:   Wed May 8 06:22:20 2024 -0700

ld: Add PR ld/31710 tests

PR ld/31710
* testsuite/ld-elf/wrap.exp: Run ld/31710 tests.
* testsuite/ld-elf/wrap2.h: New file.
* testsuite/ld-elf/wrap2a.c: Likewise.
* testsuite/ld-elf/wrap2b.c: Likewise.

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


[Bug ld/31710] Segmentation fault using wrapping and debug information

2024-05-08 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=31710

Nick Clifton  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|UNCONFIRMED |RESOLVED
 CC||nickc at redhat dot com

--- Comment #2 from Nick Clifton  ---
Hi Roberto,

  Thanks for reporting this issue.  The problem was a bug in a macro used to 
  process relocations against global symbols. This macro assumed that a name
  lookup would always succeed and so did not check for a NULL return value.
  I have checked in a small patch to fix this problem.

Cheers
  Nick

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


[Bug ld/31710] Segmentation fault using wrapping and debug information

2024-05-08 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=31710

--- Comment #1 from Sourceware Commits  ---
The master branch has been updated by Nick Clifton :

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

commit 43bb6c0e087b6fd46c0b347d2b5678acb5c68c85
Author: Nick Clifton 
Date:   Wed May 8 13:42:22 2024 +0100

Fix RELOC_FOR_GLOBAL_SYMBOLS macro so that it can cope with user defined
symbols that start with __wrap_.

  PR 31710

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