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.



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

(See attached file: binutils-warn.diff)

blue skies,
   Martin

Linux/390 Design & Development, IBM Deutschland Entwicklung GmbH
Schönaicherstr. 220, D-71032 Böblingen, Telefon: 49 - (0)7031 - 16-2247
E-Mail: schwidefsky@de.ibm.com

=?iso-8859-1?Q?binutils-warn.diff?=


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