This is the mail archive of the
mailing list for the binutils project.
Re: [patch] ns32k gas/bfd cleanup
Matt Thomas writes:
> At 07:45 AM 7/28/2002, Ian Dall wrote:
> [patch for displacement overflows]
> I strongly believe these should as_fatal errors since they result in
> an incorrect object being generated. When I was updating the VAX gas
> for ELF, I changed a lot of uses of as_warn to as_fatal. This was due
> to the fact that a build would seemingly succeed but create non-functional
> programs. If there is a problem in assembling a program, I want gas
> to fail so I correct it.
The guidelines in messages.c actually give truncating constants as
an example for as_warn! I think I agree, though that this makes little sense.
Probably what it should be is as_bad rather than as_fatal. That way
you get to see all such errors rather than just the first one.