aboutsummaryrefslogtreecommitdiff
path: root/gas/doc
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2003-06-05 03:27:03 +0000
committerRichard Henderson <rth@redhat.com>2003-06-05 03:27:03 +0000
commitf4b97536ed71fbe05b8b0886d63f5ea2c4c66ae8 (patch)
treee8c852588d3ba38102c6665c371b868efee661ac /gas/doc
parent8efca6bae5ba97df122dc08b74a2ffb768d46c04 (diff)
downloadgdb-f4b97536ed71fbe05b8b0886d63f5ea2c4c66ae8.zip
gdb-f4b97536ed71fbe05b8b0886d63f5ea2c4c66ae8.tar.gz
gdb-f4b97536ed71fbe05b8b0886d63f5ea2c4c66ae8.tar.bz2
* config/tc-alpha.c (s_alpha_usepv): New.
(md_pseudo_table): Add it. (alpha_cfi_frame_initial_instructions): New. * config/tc-alpha.h (TARGET_USE_CFIPOP): New. (tc_cfi_frame_initial_instructions): New. * doc/c-alpha.texi: Document .usepv. * gas/alpha/elf-usepv-1.[sd]: New. * gas/alpha/elf-usepv-2.[sd]: New. * gas/alpha/alpha.exp: Run them. * gas/cfi/cfi-alpha-3.[sd]: New. * gas/cfi/cfi.exp: Run it.
Diffstat (limited to 'gas/doc')
-rw-r--r--gas/doc/c-alpha.texi12
1 files changed, 12 insertions, 0 deletions
diff --git a/gas/doc/c-alpha.texi b/gas/doc/c-alpha.texi
index 359dfcc..dfc05f4 100644
--- a/gas/doc/c-alpha.texi
+++ b/gas/doc/c-alpha.texi
@@ -379,6 +379,18 @@ to perform a load of the GP register; 2 indicates that @code{$27} is
used in some non-standard way and so the linker cannot elide the load of
the procedure vector during relaxation.
+@item .usepv @var{function}, @var{which}
+Used to indicate the use of the @code{$27} register, similar to
+@code{.prologue}, but without the other semantics of needing to
+be inside an open @code{.ent}/@code{.end} block.
+
+The @var{which} argument should be either @code{no}, indicating that
+@code{$27} is not used, or @code{std}, indicating that the first two
+instructions of the function perform a GP load.
+
+One might use this directive instead of @code{.prologue} if you are
+also using dwarf2 CFI directives.
+
@item .gprel32 @var{expression}
Computes the difference between the address in @var{expression} and the
GP for the current object file, and stores it in 4 bytes. In addition