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]

Option -mwarn_areg_zero for S/390.


Martin Schwidefsky writes:
 > I recently added a warning to the S/390 assembler that is printed whenever
 > a specified base or index register is zero. That helped us to find some
 > critical bugs in the compiler. The background is that the general purpose
 > register 0 can't be used to address memory. I got several complaints about
 > these warnings and to make everybody happy I want to add a run-time option.
 > The default is not to print these messages and -mwarn_areg_zero enables
 > them.
 > 
 > ChangeLog for gas:
 > 
 > 2001-09-19  Martin Schwidefsky <schwidefsky@de.ibm.com>
 > 
 >      * gas/config/tc-s390.c: Add option -mwarn_areg_zero.

Why not -mwarn-areg-zero?

Having to remember which options are -mfoo-bar-baz
and which are -mfoo_bar_baz isn't something a user should have to do.


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