[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/31106] strip --strip-debug breaks relocations
From: |
stsp at users dot sourceforge.net |
Subject: |
[Bug binutils/31106] strip --strip-debug breaks relocations |
Date: |
Tue, 05 Dec 2023 14:02:53 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=31106
--- Comment #8 from Stas Sergeev <stsp at users dot sourceforge.net> ---
(In reply to Nick Clifton from comment #7)
> Created attachment 15236 [details]
> Proposed patch
>
> Hi Stas,
>
> Please can you try out this patch ?
Hi, it would be easier if you just
provide the newly stripped binary.
I'll see if it works.
But I can as well try the path.
However:
> So the patch tweaks the reloc processing code so that it will not
> drop the symbol in complex relocs.
Have you considered to spare the
'--strip-debug' case from any possible
heuristic, so that it only strips debug
sections?
I think your check should only apply to
the normal strip process, but '--strip-debug'
remains broken. It needs to keep any relocs,
regardless of how safe is that.
What do you think?
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/31106] New: strip --strip-debug breaks relocations, stsp at users dot sourceforge.net, 2023/12/01
- [Bug binutils/31106] strip --strip-debug breaks relocations, sam at gentoo dot org, 2023/12/01
- [Bug binutils/31106] strip --strip-debug breaks relocations, nickc at redhat dot com, 2023/12/04
- [Bug binutils/31106] strip --strip-debug breaks relocations, stsp at users dot sourceforge.net, 2023/12/04
- [Bug binutils/31106] strip --strip-debug breaks relocations, stsp at users dot sourceforge.net, 2023/12/04
- [Bug binutils/31106] strip --strip-debug breaks relocations, nickc at redhat dot com, 2023/12/04
- [Bug binutils/31106] strip --strip-debug breaks relocations, nickc at redhat dot com, 2023/12/04
- [Bug binutils/31106] strip --strip-debug breaks relocations, stsp at users dot sourceforge.net, 2023/12/04
- [Bug binutils/31106] strip --strip-debug breaks relocations, nickc at redhat dot com, 2023/12/05
- [Bug binutils/31106] strip --strip-debug breaks relocations,
stsp at users dot sourceforge.net <=
- [Bug binutils/31106] strip --strip-debug breaks relocations, nickc at redhat dot com, 2023/12/05
- [Bug binutils/31106] strip --strip-debug breaks relocations, nickc at redhat dot com, 2023/12/05
- [Bug binutils/31106] strip --strip-debug breaks relocations, stsp at users dot sourceforge.net, 2023/12/05
- [Bug binutils/31106] strip --strip-debug breaks relocations, nickc at redhat dot com, 2023/12/05
- [Bug binutils/31106] strip --strip-debug breaks relocations, cvs-commit at gcc dot gnu.org, 2023/12/05