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
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.
-
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
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