Hi Rasmus,

Thanks for your proposal.

This is an issue we discussed a bit very recently
https://gcc.gnu.org/pipermail/gcc-patches/2020-April/543073.html

and it's nice to see a proposal not requiring
the replication of all the link spec logic.


I had mixed feelings about a change to get gcc -r behave
differently on VxWorks, but on second thoughts ISTM there
is sufficient variability in the linkage possibilities on
that OS to justify some differences. 

As a side question to your proposal, have you considered
the alternative which consists in using gcc -Wl,-r instead
of gcc -r to build your modules ?

It would be interesting to know if that somehow wouldn't
work for you.

Regards,

Olivier

Reply via email to