[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 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 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] New: ld emits errors on .eh_frame from partial linking

2013-12-18 Thread stilor at att dot net
Component: ld Assignee: unassigned at sourceware dot org Reporter: stilor at att dot net Created attachment 7330 --> https://sourceware.org/bugzilla/attachment.cgi?id=7330&action=edit Patch If ld is used to partially link several object files that have different text s