summaryrefslogtreecommitdiff
path: root/gas/doc/internals.texi
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2002-11-18 21:08:54 +0000
committerKevin Buettner <kevinb@redhat.com>2002-11-18 21:08:54 +0000
commit6f00d8233754fb20ac546ff32cd5f91c0ea615f5 (patch)
treeb9eb8cfc74065fecebabe1a74a9221b18d7fc1c3 /gas/doc/internals.texi
parent84755fc5bfaecd2fcb0a2fa52730929997492b66 (diff)
downloadbinutils-redhat-6f00d8233754fb20ac546ff32cd5f91c0ea615f5.tar.gz
Add support for 64-bit DWARF 2 formats to gas.
Diffstat (limited to 'gas/doc/internals.texi')
-rw-r--r--gas/doc/internals.texi21
1 files changed, 21 insertions, 0 deletions
diff --git a/gas/doc/internals.texi b/gas/doc/internals.texi
index 6d38790b06..23f2fce731 100644
--- a/gas/doc/internals.texi
+++ b/gas/doc/internals.texi
@@ -1482,6 +1482,27 @@ The COFF @code{.section} directive will use the value of this macro to set
a new section's attributes when a directive has no valid flags or when the
flag is @code{w}. The default value of the macro is @code{SEC_LOAD | SEC_DATA}.
+@item DWARF2_FORMAT ()
+@cindex DWARF2_FORMAT
+If you define this, it should return one of @code{dwarf2_format_32bit},
+@code{dwarf2_format_64bit}, or @code{dwarf2_format_64bit_irix} to indicate
+the size of internal DWARF section offsets and the format of the DWARF initial
+length fields. When @code{dwarf2_format_32bit} is returned, the initial
+length field will be 4 bytes long and section offsets are 32 bits in size.
+For @code{dwarf2_format_64bit} and @code{dwarf2_format_64bit_irix}, section
+offsets are 64 bits in size, but the initial length field differs. An 8 byte
+initial length is indicated by @code{dwarf2_format_64bit_irix} and
+@code{dwarf2_format_64bit} indicates a 12 byte initial length field in
+which the first four bytes are 0xffffffff and the next 8 bytes are
+the section's length.
+
+If you don't define this, @code{dwarf2_format_32bit} will be used as
+the default.
+
+This define only affects @code{.debug_info} and @code{.debug_line}
+sections generated by the assembler. DWARF 2 sections generated by
+other tools will be unaffected by this setting.
+
@end table
@node Object format backend