[Bug ld/20022] --gc-sections is broken with __start_ and shared library

2024-10-03 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=20022 Sam James changed: What|Removed |Added CC||sam at gentoo dot org -- You are receivi

[Bug ld/20022] --gc-sections is broken with __start_ and shared library

2021-03-01 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20022 Bug 20022 depends on bug 27495, which changed state. Bug 27495 Summary: -z start_stop_gc isn't compatible with --gc-sections https://sourceware.org/bugzilla/show_bug.cgi?id=27495 What|Removed |Added -

[Bug ld/20022] --gc-sections is broken with __start_ and shared library

2021-03-01 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20022 Bug 20022 depends on bug 27495, which changed state. Bug 27495 Summary: -z start_stop_gc isn't compatible with --gc-sections https://sourceware.org/bugzilla/show_bug.cgi?id=27495 What|Removed |Added -

[Bug ld/20022] --gc-sections is broken with __start_ and shared library

2021-03-01 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20022 H.J. Lu changed: What|Removed |Added Depends on||27495 Referenced Bugs: https://sourceware

[Bug ld/20022] --gc-sections is broken with __start_ and shared library

2017-06-16 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=20022 --- Comment #14 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Alan Modra : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=7dba9362c172f1073487536eb137feb2da30b0ff commit 7dba9362c172f1073487536eb137

[Bug ld/20022] --gc-sections is broken with __start_ and shared library

2017-06-14 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=20022 --- Comment #13 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by H.J. Lu : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=99031bafd6e81a41553803886c6b245cb0ab89d9 commit 99031bafd6e81a41553803886c6b245

[Bug ld/20022] --gc-sections is broken with __start_ and shared library

2017-06-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20022 H.J. Lu changed: What|Removed |Added Status|ASSIGNED|RESOLVED Version|2.27

[Bug ld/20022] --gc-sections is broken with __start_ and shared library

2017-06-13 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=20022 --- Comment #11 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by H.J. Lu : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=cbd0eecf261c2447781f8c89b0d955ee66fae7e9 commit cbd0eecf261c2447781f8c89b0d955e

[Bug ld/20022] --gc-sections is broken with __start_ and shared library

2017-06-09 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20022 H.J. Lu changed: What|Removed |Added Blocks||21562 Referenced Bugs: https://sourceware

[Bug ld/20022] --gc-sections is broken with __start_ and shared library

2016-05-18 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20022 --- Comment #10 from H.J. Lu --- (In reply to Nick Clifton from comment #9) > Created attachment 9274 [details] > Revised patch > > Hi H.J. > > Of course, you are right. Plus the error message was wrong - it is not > undefined orphan sect

[Bug ld/20022] --gc-sections is broken with __start_ and shared library

2016-05-18 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20022 --- Comment #9 from Nick Clifton --- Created attachment 9274 --> https://sourceware.org/bugzilla/attachment.cgi?id=9274&action=edit Revised patch Hi H.J. Of course, you are right. Plus the error message was wrong - it is not undefined o

[Bug ld/20022] --gc-sections is broken with __start_ and shared library

2016-05-17 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20022 --- Comment #8 from H.J. Lu --- (In reply to Nick Clifton from comment #7) > Created attachment 9270 [details] > Proposed patch > > Hi H.J. > > OK - based upon your patch, but simplified quite a lot, here is a patch > which > I think wil

[Bug ld/20022] --gc-sections is broken with __start_ and shared library

2016-05-17 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20022 --- Comment #7 from Nick Clifton --- Created attachment 9270 --> https://sourceware.org/bugzilla/attachment.cgi?id=9270&action=edit Proposed patch Hi H.J. OK - based upon your patch, but simplified quite a lot, here is a patch which I

[Bug ld/20022] --gc-sections is broken with __start_ and shared library

2016-05-11 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20022 --- Comment #6 from H.J. Lu --- (In reply to Nick Clifton from comment #5) > (In reply to H.J. Lu from comment #4) > > > Somewhere in _bfd_elf_is_start_stop? > > I don't think that will work. We only want to trigger if an orphan section > i

[Bug ld/20022] --gc-sections is broken with __start_ and shared library

2016-05-10 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20022 --- Comment #5 from Nick Clifton --- (In reply to H.J. Lu from comment #4) > Somewhere in _bfd_elf_is_start_stop? I don't think that will work. We only want to trigger if an orphan section is being referenced solely via its start/stop symbo

[Bug ld/20022] --gc-sections is broken with __start_ and shared library

2016-05-09 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20022 --- Comment #4 from H.J. Lu --- (In reply to Nick Clifton from comment #3) > (In reply to H.J. Lu from comment #2) > > > I don't mind adding abort if you don't think it will ever happen. > > Where would you add the abort ? Somewhere in _bfd

[Bug ld/20022] --gc-sections is broken with __start_ and shared library

2016-05-09 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20022 --- Comment #3 from Nick Clifton --- (In reply to H.J. Lu from comment #2) > I don't mind adding abort if you don't think it will ever happen. Where would you add the abort ? -- You are receiving this mail because: You are on the CC list f

[Bug ld/20022] --gc-sections is broken with __start_ and shared library

2016-05-09 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20022 --- Comment #2 from H.J. Lu --- (In reply to Nick Clifton from comment #1) > Hi H.J. > > This seems like a very obscure case. It only applies to orphan sections, > and only when the sole symbol referred to in that section is the linker >

[Bug ld/20022] --gc-sections is broken with __start_ and shared library

2016-05-09 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20022 Nick Clifton changed: What|Removed |Added Status|NEW |ASSIGNED CC|