diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2002-12-25 21:20:31 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@redhat.com> | 2002-12-25 21:20:31 +0000 |
commit | 9605f328cd91016a1f55928b8b67419eb050e771 (patch) | |
tree | ed558c78614b16d0a9211bba60a86514bc84d058 /gas/doc/internals.texi | |
parent | c4e54c2a3ceaad2a0f5550ff2d28f2be1dbfbaa1 (diff) | |
download | gdb-9605f328cd91016a1f55928b8b67419eb050e771.zip gdb-9605f328cd91016a1f55928b8b67419eb050e771.tar.gz gdb-9605f328cd91016a1f55928b8b67419eb050e771.tar.bz2 |
* dwarf2dbg.c (DWARF2_ADDR_SIZE): New macro.
(dwarf2_finish): Use it.
* doc/internals.texi (DWARF2_ADDR_SIZE): Document it.
* config/tc-mips.h (DWARF2_ADDR_SIZE): Override.
Diffstat (limited to 'gas/doc/internals.texi')
-rw-r--r-- | gas/doc/internals.texi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gas/doc/internals.texi b/gas/doc/internals.texi index 0d54d4f..f88e6b2 100644 --- a/gas/doc/internals.texi +++ b/gas/doc/internals.texi @@ -1503,6 +1503,12 @@ 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. +@item DWARF2_ADDR_SIZE (@var{bfd}) +@cindex DWARF2_ADDR_SIZE +It should return the size of an address, as it should be represented in +debugging info. If you don't define this macro, the default definition uses +the number of bits per address, as defined in @var{bfd}, divided by 8. + @end table @node Object format backend |