https://sourceware.org/bugzilla/show_bug.cgi?id=24426
--- Comment #3 from Jim Wilson <wilson at gcc dot gnu.org> --- I tried to reproduce with no luck. I think that there are too many things broken on your end. I had to hack up crt0.S to remove the required support for __global_pointer$, and I had to hack your linker script to keep eh_frame because other crt files required it. Then I can link without error, and debugging ld I see that the gp support is being disabled automatically. It is working as I expect. You will need to provide enough info so that I can reproduce, which probably means all of your object files and libraries required for a link. You are also using non-default compiler options, so it would be helpful to know what system you are building on and what extra compiler options you are using. It might be simpler if you just looked at any working system. We have about a dozen OS ports that are working, zephyr, rtems, freertos, linux, freebsd, etc. Look at any one of those and do your OS port in a compatible way. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils