[Bug ld/21964] __start_SCN symbols aren't exported anymore

2022-03-01 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=21964 --- Comment #9 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Nick Clifton : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=95e96e052ab2d7781a9dc7267123f49c7b1dd671 commit

[Bug ld/21964] __start_SCN symbols aren't exported anymore

2018-03-31 Thread jeremip11 at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21964 Jeremi changed: What|Removed |Added CC||jeremip11 at gmail dot com -- You are

[Bug ld/21964] __start_SCN symbols aren't exported anymore

2018-01-31 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=21964 --- Comment #8 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=823143c6ca8ef4267e67ba03771991e08d09fabd commit

[Bug ld/21964] __start_SCN symbols aren't exported anymore

2017-08-23 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21964 Alan Modra changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug ld/21964] __start_SCN symbols aren't exported anymore

2017-08-23 Thread freddy77 at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21964 Frediano Ziglio changed: What|Removed |Added CC|freddy77 at gmail dot com | -- You are receiving this

[Bug ld/21964] __start_SCN symbols aren't exported anymore

2017-08-23 Thread freddy77 at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21964 Frediano Ziglio changed: What|Removed |Added Summary|Invalid entry point used|__start_SCN symbols aren't

[Bug ld/21964] __start_SCN symbols aren't exported anymore

2017-08-14 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21964 H.J. Lu changed: What|Removed |Added Attachment #10353|0 |1 is obsolete|

[Bug ld/21964] __start_SCN symbols aren't exported anymore

2017-08-14 Thread matz at suse dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=21964 --- Comment #11 from Michael Matz --- So I think in addition to what my patch did the following also needs solving: * if a __start symbol is supposed to be created, then it should be created! (i.e. not merely use some random other symbol

[Bug ld/21964] __start_SCN symbols aren't exported anymore

2017-08-14 Thread matz at suse dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=21964 --- Comment #10 from Michael Matz --- Created attachment 10356 --> https://sourceware.org/bugzilla/attachment.cgi?id=10356=edit another testcase showing unpatched binutils broken Like with this new testcase. The difference is that with

[Bug ld/21964] __start_SCN symbols aren't exported anymore

2017-08-14 Thread matz at suse dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=21964 --- Comment #9 from Michael Matz --- (In reply to Michael Matz from comment #8) > Looking at this, that ld-gc/pr20002 doesn't fail without the patch from > comment #4 is a nice thing, but I think it succeeds for the wrong reasons. The

[Bug ld/21964] __start_SCN symbols aren't exported anymore

2017-08-14 Thread matz at suse dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=21964 --- Comment #8 from Michael Matz --- You mean it shows an additional issue, I wasn't saying my patch is perfect, merely that it fixes my reported problem. I think it's the same reason of why the testcase ld-gc/pr20022 fails with the proposed

[Bug ld/21964] __start_SCN symbols aren't exported anymore

2017-08-14 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21964 --- Comment #7 from H.J. Lu --- Created attachment 10355 --> https://sourceware.org/bugzilla/attachment.cgi?id=10355=edit A testcase to show the issue With the proposed change, I got [hjl@gnu-6 orphan-2]$ make cc -g -c -o app.o app.c cc

[Bug ld/21964] __start_SCN symbols aren't exported anymore

2017-08-14 Thread matz at suse dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=21964 --- Comment #6 from Michael Matz --- Created attachment 10354 --> https://sourceware.org/bugzilla/attachment.cgi?id=10354=edit tarball with testcase Here is one. Unlike libqb it's not using dl_iterate_phdr and then dlopen with the known

[Bug ld/21964] __start_SCN symbols aren't exported anymore

2017-08-14 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21964 --- Comment #5 from H.J. Lu --- (In reply to Michael Matz from comment #4) > Created attachment 10353 [details] > Tentative patch > > Well, the problem is quite obvious. Just compile this: > > % cat t.c > #include > extern void *

[Bug ld/21964] __start_SCN symbols aren't exported anymore

2017-08-14 Thread matz at suse dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=21964 --- Comment #4 from Michael Matz --- Created attachment 10353 --> https://sourceware.org/bugzilla/attachment.cgi?id=10353=edit Tentative patch Well, the problem is quite obvious. Just compile this: % cat t.c #include extern void *

[Bug ld/21964] __start_SCN symbols aren't exported anymore

2017-08-14 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21964 --- Comment #3 from H.J. Lu --- (In reply to Michael Matz from comment #2) > (In reply to H.J. Lu from comment #1) > > What should happen when there is _verbose section in more than one shared > > object? > > As I said, the code in question

[Bug ld/21964] __start_SCN symbols aren't exported anymore

2017-08-14 Thread matz at suse dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=21964 --- Comment #2 from Michael Matz --- (In reply to H.J. Lu from comment #1) > What should happen when there is _verbose section in more than one shared > object? As I said, the code in question uses dlsym, so nothing interesting happens,

[Bug ld/21964] __start_SCN symbols aren't exported anymore

2017-08-14 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21964 --- Comment #1 from H.J. Lu --- (In reply to Michael Matz from comment #0) > Commit cbd0eecf reworked the provision of __start_ and __stop_ symbols for > sections with C-representable names (e.g. to always provide them, not only > for

[Bug ld/21964] __start_SCN symbols aren't exported anymore

2017-08-14 Thread matz at suse dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=21964 Michael Matz changed: What|Removed |Added CC||amodra at gmail dot com,