aboutsummaryrefslogtreecommitdiff
path: root/gas/doc
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2011-07-28 16:35:48 +0000
committerNick Clifton <nickc@redhat.com>2011-07-28 16:35:48 +0000
commit9aec20268e477ab268c345b58e6659b622028536 (patch)
treee84827c981988bae07a7cdd900f0ef257a9c42a7 /gas/doc
parentd91a6875d0339cd9e4397b641678f0657c20f395 (diff)
downloadgdb-9aec20268e477ab268c345b58e6659b622028536.zip
gdb-9aec20268e477ab268c345b58e6659b622028536.tar.gz
gdb-9aec20268e477ab268c345b58e6659b622028536.tar.bz2
* dwarf2dbg.c (out_debug_line): Ignore non-normal segments, with a
warning. * doc/as.texinfo (Offset): Document .offset directive. testsuite/ * gas/elf/warn-2.s: New.
Diffstat (limited to 'gas/doc')
-rw-r--r--gas/doc/as.texinfo10
1 files changed, 10 insertions, 0 deletions
diff --git a/gas/doc/as.texinfo b/gas/doc/as.texinfo
index b617b3e..a2be539 100644
--- a/gas/doc/as.texinfo
+++ b/gas/doc/as.texinfo
@@ -4017,6 +4017,7 @@ Some machine configurations provide additional directives.
* Noaltmacro:: @code{.noaltmacro}
* Nolist:: @code{.nolist}
* Octa:: @code{.octa @var{bignums}}
+* Offset:: @code{.offset @var{loc}}
* Org:: @code{.org @var{new-lc}, @var{fill}}
* P2align:: @code{.p2align @var{abs-expr}, @var{abs-expr}, @var{abs-expr}}
@ifset ELF
@@ -5480,6 +5481,15 @@ bignum, it emits a 16-byte integer.
The term ``octa'' comes from contexts in which a ``word'' is two bytes;
hence @emph{octa}-word for 16 bytes.
+@node Offset
+@section @code{.offset @var{loc}}
+
+@cindex @code{offset} directive
+Set the location counter to @var{loc} in the absolute section. @var{loc} must
+be an absolute expression. This directive may be useful for defining
+symbols with absolute values. Do not confuse it with the @code{.org}
+directive.
+
@node Org
@section @code{.org @var{new-lc} , @var{fill}}