https://sourceware.org/bugzilla/show_bug.cgi?id=18223

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at sourceware dot org   |amodra at gmail dot com

--- Comment #1 from Alan Modra <amodra at gmail dot com> ---
Created attachment 8236
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8236&action=edit
patch

The problem here is that bfd ld keeps _init and _fini functions by section
name, marking .init and .fini with KEEP.  You didn't put your _init function in
section .init.  However, it's not hard to make bfd ld also keep these functions
by name rather than section name.  Please try this patch.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to