[Bug ld/16345] ld emits errors on .eh_frame from partial linking

2016-08-30 Thread bruno at defraine dot net
https://sourceware.org/bugzilla/show_bug.cgi?id=16345 Bruno De Fraine changed: What|Removed |Added CC||bruno at defraine dot net --- Comme

[Bug ld/16345] ld emits errors on .eh_frame from partial linking

2013-12-21 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16345 --- Comment #8 from H.J. Lu --- (In reply to Alexey Neyman from comment #7) > (In reply to H.J. Lu from comment #6) > > > Also, I think, a mention in the description of -r option in ld.info would > > > be > > > appropriate. > > > > .init sec

[Bug ld/16345] ld emits errors on .eh_frame from partial linking

2013-12-21 Thread stilor at att dot net
https://sourceware.org/bugzilla/show_bug.cgi?id=16345 --- Comment #7 from Alexey Neyman --- (In reply to H.J. Lu from comment #6) > > Also, I think, a mention in the description of -r option in ld.info would be > > appropriate. > > .init section can only be used according to the gABI. It is irre

[Bug ld/16345] ld emits errors on .eh_frame from partial linking

2013-12-20 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16345 --- Comment #6 from H.J. Lu --- (In reply to Alexey Neyman from comment #5) > You are still going to commit the patch that adds warnings for .init/.fini, > correct? No. > Also, I think, a mention in the description of -r option in ld.info wo

[Bug ld/16345] ld emits errors on .eh_frame from partial linking

2013-12-20 Thread stilor at att dot net
https://sourceware.org/bugzilla/show_bug.cgi?id=16345 --- Comment #5 from Alexey Neyman --- .text.init seems to work. You are still going to commit the patch that adds warnings for .init/.fini, correct? Also, I think, a mention in the description of -r option in ld.info would be appropriate. -

[Bug ld/16345] ld emits errors on .eh_frame from partial linking

2013-12-20 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16345 H.J. Lu changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug ld/16345] ld emits errors on .eh_frame from partial linking

2013-12-20 Thread stilor at att dot net
https://sourceware.org/bugzilla/show_bug.cgi?id=16345 --- Comment #3 from Alexey Neyman --- Well, we've been using partial linking to isolate module interfaces. One of the modules is CPU support - which includes the start-up code for the kernel. Naturally, this start up code was put into the .ini

[Bug ld/16345] ld emits errors on .eh_frame from partial linking

2013-12-20 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16345 --- Comment #2 from H.J. Lu --- Both .init and .fini sections are special. This patch warns about using "ld -r" on them: diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em index 9a2fe89..098f423 100644 --- a/ld/emultempl/elf32.em +++

[Bug ld/16345] ld emits errors on .eh_frame from partial linking

2013-12-20 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16345 H.J. Lu changed: What|Removed |Added Status|NEW |WAITING --- Comment #1 from H.J. Lu --- .i

[Bug ld/16345] ld emits errors on .eh_frame from partial linking

2013-12-18 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16345 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com -- You are rece