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

2025-06-16 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=31106 Sam James changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

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

2023-12-05 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=31106 --- Comment #13 from Sourceware Commits --- The master branch has been updated by Nick Clifton : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e60675a228a8ecd2cfdc7e45cb315a1838b91f74 commit e60675a228a8ecd2cfdc7e45cb315a1838b91

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

2023-12-05 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=31106 --- Comment #12 from Nick Clifton --- (In reply to Stas Sergeev from comment #11) > OK, I checked that the new binary > works as expected. Ok, I will check in the patch. > If that's the problem, then I'd suggest > no not touch relocations at

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

2023-12-05 Thread stsp at users dot sourceforge.net
https://sourceware.org/bugzilla/show_bug.cgi?id=31106 --- Comment #11 from Stas Sergeev --- OK, I checked that the new binary works as expected. Thank you! But I am really a bit disappointed if you leave the current objcopy behavior that can still remove relocations at will... Yes, I understand t

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

2023-12-05 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=31106 --- Comment #10 from Nick Clifton --- 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-d

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

2023-12-05 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=31106 --- Comment #9 from Nick Clifton --- Created attachment 15237 --> https://sourceware.org/bugzilla/attachment.cgi?id=15237&action=edit Stripped file -- You are receiving this mail because: You are on the CC list for the bug.

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

2023-12-05 Thread stsp at users dot sourceforge.net
https://sourceware.org/bugzilla/show_bug.cgi?id=31106 --- Comment #8 from Stas Sergeev --- (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 newl

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

2023-12-05 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=31106 --- Comment #7 from Nick Clifton --- Created attachment 15236 --> https://sourceware.org/bugzilla/attachment.cgi?id=15236&action=edit Proposed patch Hi Stas, Please can you try out this patch ? The issue is that the relocation process

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

2023-12-04 Thread stsp at users dot sourceforge.net
https://sourceware.org/bugzilla/show_bug.cgi?id=31106 --- Comment #6 from Stas Sergeev --- (In reply to Nick Clifton from comment #4) > (Incidentally the symbols have very strange > looking names. Is this deliberate ?) This is a so-called "RELC encoding". I've looked into binutils source to fi

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

2023-12-04 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=31106 --- Comment #5 from Nick Clifton --- Addendum: It may not be the effect of stripping that causes this behaviour. Just copying the file using objcopy also shows the same effect: $ objcopy fdppkrnl.35.10.elf test.elf $ readelf -r test.elf

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

2023-12-04 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=31106 Nick Clifton changed: What|Removed |Added Assignee|unassigned at sourceware dot org |nickc at redhat dot com

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

2023-12-04 Thread stsp at users dot sourceforge.net
https://sourceware.org/bugzilla/show_bug.cgi?id=31106 --- Comment #3 from Stas Sergeev --- (In reply to Nick Clifton from comment #1) > Is it possible that you uploaded the stripped file ? Thank you. I have re-uploaded the file now (haven't checked if the first one was alredy stripped, but likel

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

2023-12-04 Thread stsp at users dot sourceforge.net
https://sourceware.org/bugzilla/show_bug.cgi?id=31106 Stas Sergeev changed: What|Removed |Added Attachment #15232|0 |1 is obsolete|

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

2023-12-04 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=31106 Nick Clifton changed: What|Removed |Added CC||nickc at redhat dot com --- Comment #1

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

2023-12-01 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=31106 Sam James changed: What|Removed |Added CC||sam at gentoo dot org -- You are receivi