PATCH: Add --size-check=[error|warning]
Jan Beulich
JBeulich@novell.com
Mon Mar 14 10:52:00 GMT 2011
More information about the Binutils mailing list
Mon Mar 14 10:52:00 GMT 2011
- Previous message (by thread): PATCH: Add --size-check=[error|warning]
- Next message (by thread): PATCH: Add --size-check=[error|warning]
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>>> On 14.03.11 at 11:41, Alan Modra <amodra@gmail.com> wrote: > On Mon, Mar 14, 2011 at 10:55:34AM +0100, Ingo Molnar wrote: >> The thing is, it is absolutely, breath-takingy incompetent for > > kernel developers to write such poor asm! And not notice the error > for 4 years! Oh, and the binutils developers to write such a poor > assembler in the first place. ;-) > > Seriously, you are complaining because something is fixed?? > >> The correct solution is to turn it into a warning as me and others have > suggested. > > I disagree. The whole world is not the linux kernel. I think HJ is > bending over backwards to even offer a switch that turns the error > into a warning. Just to repeat what I said in a previous reply - an error should be issued if it is impossible for the assembler to produce valid output. Anything less severe should be a warning. In the case given, as also stated before, simply not issuing anything to the object file if .size has an invalid operand is quite feasible for the assembler to do, and won't produce invalid output. The warning tells the programmer that not everything (s)he intended to be in the object file actually made it there. Jan
- Previous message (by thread): PATCH: Add --size-check=[error|warning]
- Next message (by thread): PATCH: Add --size-check=[error|warning]
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list