Enabling relaxation inside relocatable links

Sterling Sterling@tensilica.com
Wed Feb 13 11:58:00 GMT 2002


ldmain.c has the code and error message:

"--relax and -r may not be used together"

As far as I can see this is prohibited for every target, and there is no
hook to disable it.

But the xtensa target I am preparing to contribute does (and needs to)
support this combination. What is the preferred, portable way of
disabling this test for a single target? Our quick and dirty solution is
not going to be acceptable to a wide audience.

Sterling
Member Technical Staff
Tensilica, Corp.



More information about the Binutils mailing list