diff options
author | Kevin Buettner <kevinb@redhat.com> | 2002-11-18 21:08:54 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2002-11-18 21:08:54 +0000 |
commit | 14e777e044ce425c1799f10cb92a641847064915 (patch) | |
tree | a93dc4285bc9e2223bc5c3d4d225bf7f688a2a59 /gas/doc/internals.texi | |
parent | a672ef132642555bbf881f57232d37c8590a0cab (diff) | |
download | gdb-14e777e044ce425c1799f10cb92a641847064915.zip gdb-14e777e044ce425c1799f10cb92a641847064915.tar.gz gdb-14e777e044ce425c1799f10cb92a641847064915.tar.bz2 |
Add support for 64-bit DWARF 2 formats to gas.
Diffstat (limited to 'gas/doc/internals.texi')
-rw-r--r-- | gas/doc/internals.texi | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gas/doc/internals.texi b/gas/doc/internals.texi index 6d38790..23f2fce 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 |