The branch time for the 2.44 release is approaching

Nick Clifton nickc@redhat.com
Fri Jan 10 13:47:25 GMT 2025


Hi Sam, Hi H.J.

> I would love to see
> https://inbox.sourceware.org/binutils/20240905111452.2554-1-hjl.tools@gmail.com/
> in.

Ok, so I understand Alan's reservations to this idea.  But I can also
see the potential utility.  So I think that I would be willing to accept
the patch, but I do have a question:

   Is the purpose/implementation of the .gnu_object_only section
   documented somewhere ?  And do other linkers support it ?

I think that the patch also needs some documentation added (presumably to
the ld.texi file) explaining the support but also pointing out the potential
pitfalls of using ld -r.

Cheers
   Nick

PS.  There is also a minor buglet that needs fixing.  This function declaration:

   void
   ld_parse_linker_script ()

needs to be:

   void
   ld_parse_linker_script (void)

as otherwise it triggers a compile time warning message.  (When compiled by Clang...)



More information about the Binutils mailing list