aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorJens Remus <jremus@linux.ibm.com>2024-03-01 12:45:14 +0100
committerJens Remus <jremus@linux.ibm.com>2024-03-01 12:45:14 +0100
commit0a4b39672b6853359b76b2e3cad5d1c5a22a2faf (patch)
tree7e4e8b9163647b1fac4dc619f1f92ce4719b070c /gas/config
parentc3d72d73f8ac247f1e1ba1f2e4bd8b95f3830481 (diff)
downloadbinutils-0a4b39672b6853359b76b2e3cad5d1c5a22a2faf.zip
binutils-0a4b39672b6853359b76b2e3cad5d1c5a22a2faf.tar.gz
binutils-0a4b39672b6853359b76b2e3cad5d1c5a22a2faf.tar.bz2
s390: Revise s390-specific assembler option descriptions
Reorder, reword, and complete the s390-specific option descriptions. Align the formatting of s390-specific assembler options to that of the general assembler options in "as --help". While at it change a warning message to use the term "z/Architecture" instead of the deprecated "esame" (ESA Modal Extensions or ESAME) one. gas/ * config/tc-s390.c: Revise s390-specific assembler option descriptions. Reviewed-by: Andreas Krebbel <krebbel@linux.ibm.com> Signed-off-by: Jens Remus <jremus@linux.ibm.com>
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-s390.c28
1 files changed, 18 insertions, 10 deletions
diff --git a/gas/config/tc-s390.c b/gas/config/tc-s390.c
index 9aebd8c..eef8428 100644
--- a/gas/config/tc-s390.c
+++ b/gas/config/tc-s390.c
@@ -475,15 +475,23 @@ void
md_show_usage (FILE *stream)
{
fprintf (stream, _("\
- S390 options:\n\
- -mregnames Allow symbolic names for registers\n\
- -mwarn-areg-zero Warn about zero base/index registers\n\
- -mno-regnames Do not allow symbolic names for registers\n\
- -m31 Set file format to 31 bit format\n\
- -m64 Set file format to 64 bit format\n"));
+S390 options:\n\
+ -m31 generate 31-bit file format (31/32 bit word size)\n\
+ -m64 generate 64-bit file format (64 bit word size)\n\
+ -mesa assemble for Enterprise System Architecture/390\n\
+ -mzarch assemble for z/Architecture\n\
+ -march=<processor> assemble for processor <processor>\n\
+ -mregnames allow symbolic names for registers\n\
+ -mno-regnames do not allow symbolic names for registers\n\
+ -mwarn-areg-zero warn about base/index register zero\n\
+"));
fprintf (stream, _("\
- -V print assembler version number\n\
- -Qy, -Qn ignored\n"));
+ -V print assembler version number\n\
+ -Qy, -Qn ignored\n"));
+ fprintf (stream, _("\
+Deprecated S390 options:\n\
+ -Aesa assemble for processor IBM S/390 G5 (g5/arch3)\n\
+ -Aesame assemble for processor IBM zSeries 900 (z900/arch5)\n"));
}
/* Generate the hash table mapping mnemonics to struct s390_opcode.
@@ -557,9 +565,9 @@ md_begin (void)
const struct s390_opcode *op;
const struct s390_opcode *op_end;
- /* Give a warning if the combination -m64-bit and -Aesa is used. */
+ /* Give a warning if the combination -m64 and -Aesa is used. */
if (s390_arch_size == 64 && current_cpu < S390_OPCODE_Z900)
- as_warn (_("The 64 bit file format is used without esame instructions."));
+ as_warn (_("The 64-bit file format is used without z/Architecture instructions."));
s390_cie_data_alignment = -s390_arch_size / 8;