This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: [patch] ld/Error reporting when commons are different sizes.
- To: Ian Lance Taylor <ian at zembu dot com>
- Subject: Re: [patch] ld/Error reporting when commons are different sizes.
- From: Catherine Moore <clm at cygnus dot com>
- Date: Fri, 25 Feb 2000 13:09:31 -0800
- cc: clm at cygnus dot com, binutils at sourceware dot cygnus dot com, clm at cygnus dot com
: 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