Hi Michael,

Okay, I gave it a try to build a testcase. It's included in the attachment.

Thanks. I was not able to run all of the tests in your testcase, since I do not have the Irix system libraries available, but I was able to reproduce the linker error message about undefined symbols and I have produced a tentative patch that might allow give you a working GNU linker.

The patch does not implement all of the spec for OPTIONAL symbols. I hope that for now this will not be important.

The patch also includes a modification to readelf so that it will display the OPTIONAL flag if it is defined in an Irix binary. You do not actually need this part of the patch in order to get a working linker, but I have included it since it is all part of the same problem.

Cheers
  Nick



_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to