bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/31106] strip --strip-debug breaks relocations


From: nickc at redhat dot com
Subject: [Bug binutils/31106] strip --strip-debug breaks relocations
Date: Tue, 05 Dec 2023 14:15:32 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=31106

--- Comment #10 from Nick Clifton <nickc at redhat dot com> ---
Hi Stas,

(In reply to Stas Sergeev from comment #8)
> Hi, it would be easier if you just
> provide the newly stripped binary.

OK, I have uploaded a copy.


> Have you considered to spare the
> '--strip-debug' case from any possible
> heuristic, so that it only  strips debug
> sections?

That would mean creating a separate path in the BFD
library for reloc processing when stripping debug sections
which would add to the complexity.  If we can fix the bug
you found then the current code can still be used because
it does not remove any relocations, it just tries to 
simplify one special case.  And if we do not simplify
complex relocs then everything should work.

Cheers
  Nick

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]