A bug in nm, ar ...

H.J. Lu hjl@nynexst.com
Fri Mar 17 18:31:00 GMT 1995


If I configure binutils for more than one targets, ar, nm ...
will fail most of time for all but the default target. The problem
is bfd_check_format_matches () will find more than one matches
on library archives created by ar and return an error. I am not
sure how to fix it. Maybe bfd_check_format_matches () should just
return true if the input file is an archive and match any targets.
Will bfd handle those archive members right?

BTW, -DGNU960 will do the similar trick on bfd/format.c.


H.J. Lu
NYNEX Science and Technology, Inc.			hjl@nynexst.com

More information about the Gas2 mailing list