[patch] ld/Error reporting when commons are different sizes.

Catherine Moore clm@cygnus.com
Fri Feb 25 13:09:00 GMT 2000


: If I read this correctly, this patch changes the linker to by default
: give an error if two common symbols have a different size.  That is
: not acceptable.  Common symbols routinely have different sizes when
: linking Fortran programs.

  Okay.

: It would be OK to add an option to make the current common symbol
: warning into an error.  Perhaps we should implement something like
: gcc's -Werror for the linker.  But I don't think we should change the
: default behaviour.

  This won't help with the problem that I'm trying to solve.
  The customer that I'm working for wants to differentiate between
  the warning for different sized commons and the other common warnings
  (which he would prefer not to see at all).

  I'm withdrawing the patch until I can work out a different approach.

  Catherine


More information about the Binutils mailing list