diff options
author | Andreas Krebbel <Andreas.Krebbel@de.ibm.com> | 2011-04-14 11:11:33 +0000 |
---|---|---|
committer | Andreas Krebbel <Andreas.Krebbel@de.ibm.com> | 2011-04-14 11:11:33 +0000 |
commit | 902cc293a01e649f45869d567e957cc303e44b96 (patch) | |
tree | 84ae13cbc8b8ffa3e56f6e4682d8f44ba6a7a872 /gas/doc | |
parent | ba770c9cff8f08be74bf4b5028d060229086e9c4 (diff) | |
download | gdb-902cc293a01e649f45869d567e957cc303e44b96.zip gdb-902cc293a01e649f45869d567e957cc303e44b96.tar.gz gdb-902cc293a01e649f45869d567e957cc303e44b96.tar.bz2 |
2011-04-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* config/tc-s390.c (s390_machine): New prototype.
(md_pseudo_table): New pseudo-op .machine.
(s390_opcode_hash): Initialize to NULL.
(s390_parse_cpu): New function.
(md_parse_option): Use s390_parse_cpu.
(s390_setup_opcodes): New function.
(md_begin): Use s390_setup_opcodes.
(s390_machine): New hook handling the new .machine pseudo.
* doc/c-s390.texi: Document the new pseudo op .machine.
2011-04-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* gas/s390/zarch-machine.s: New testcase.
* gas/s390/zarch-machine.d: New testcase output.
* gas/s390/s390.exp: Execute the new testcase.
Diffstat (limited to 'gas/doc')
-rw-r--r-- | gas/doc/c-s390.texi | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gas/doc/c-s390.texi b/gas/doc/c-s390.texi index 0d629f9..7971327 100644 --- a/gas/doc/c-s390.texi +++ b/gas/doc/c-s390.texi @@ -862,6 +862,17 @@ ELF extension documentation @samp{ELF Handling For Thread-Local Storage}. @item .ltorg This directive causes the current contents of the literal pool to be dumped to the current location (@ref{s390 Literal Pool Entries}). + +@cindex @code{.machine} directive, s390 +@item .machine string +This directive allows you to change the machine for which code is +generated. @code{string} may be any of the @code{-march=} selection +options (without the -march=), @code{push}, or @code{pop}. +@code{.machine push} saves the currently selected cpu, which may be +restored with @code{.machine pop}. Be aware that the cpu string has +to be put into double quotes in case it contains characters not +appropriate for identifiers. So you have to write @code{"z9-109"} +instead of just @code{z9-109}. @end table @node s390 Floating Point |