This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] ns32k gas/bfd cleanup


Matt Thomas <matt@3am-software.com> writes:

> 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.

as_bad, probably, but surely not as_fatal.  as_fatal should be used
very rarely, only for some case where it is likely that the assembler
has completely lost track of the input file so any future errors are
most likely completely meaningless.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]