diff options
author | Kevin Buettner <kevinb@redhat.com> | 2003-04-08 22:54:13 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@gcc.gnu.org> | 2003-04-08 22:54:13 +0000 |
commit | c583e7c354b04607db93798fc92e040f11a60a54 (patch) | |
tree | b78dfffc1b96d0e4109fd6c4350e0d8129c30a8f /gcc/dwarf2out.c | |
parent | 71fb704d5871a3a676c5a3943654335f5308eb36 (diff) | |
download | gcc-c583e7c354b04607db93798fc92e040f11a60a54.zip gcc-c583e7c354b04607db93798fc92e040f11a60a54.tar.gz gcc-c583e7c354b04607db93798fc92e040f11a60a54.tar.bz2 |
dwarf2out.c (DWARF_ARANGES_HEADER_SIZE, [...]): Take into account DWARF_INITIAL_LENGTH_SIZE.
* dwarf2out.c (DWARF_ARANGES_HEADER_SIZE, DWARF_ARANGES_PAD_SIZE):
Take into account DWARF_INITIAL_LENGTH_SIZE.
From-SVN: r65385
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r-- | gcc/dwarf2out.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 8a9b9fd..7945d14 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -3420,14 +3420,16 @@ limbo_die_node; /* Fixed size portion of the address range info. */ #define DWARF_ARANGES_HEADER_SIZE \ - (DWARF_ROUND (2 * DWARF_OFFSET_SIZE + 4, DWARF2_ADDR_SIZE * 2) \ - - DWARF_OFFSET_SIZE) + (DWARF_ROUND (DWARF_INITIAL_LENGTH_SIZE + DWARF_OFFSET_SIZE + 4, \ + DWARF2_ADDR_SIZE * 2) \ + - DWARF_INITIAL_LENGTH_SIZE) /* Size of padding portion in the address range info. It must be aligned to twice the pointer size. */ #define DWARF_ARANGES_PAD_SIZE \ - (DWARF_ROUND (2 * DWARF_OFFSET_SIZE + 4, DWARF2_ADDR_SIZE * 2) \ - - (2 * DWARF_OFFSET_SIZE + 4)) + (DWARF_ROUND (DWARF_INITIAL_LENGTH_SIZE + DWARF_OFFSET_SIZE + 4, \ + DWARF2_ADDR_SIZE * 2) \ + - (DWARF_INITIAL_LENGTH_SIZE + DWARF_OFFSET_SIZE + 4)) /* Use assembler line directives if available. */ #ifndef DWARF2_ASM_LINE_DEBUG_INFO |