]> gcc.gnu.org Git - gcc.git/commitdiff
dwarf2out.c (DWARF_ARANGES_HEADER_SIZE, [...]): Take into account DWARF_INITIAL_LENGT...
authorKevin Buettner <kevinb@redhat.com>
Tue, 8 Apr 2003 22:54:13 +0000 (22:54 +0000)
committerKevin Buettner <kevinb@gcc.gnu.org>
Tue, 8 Apr 2003 22:54:13 +0000 (22:54 +0000)
* dwarf2out.c (DWARF_ARANGES_HEADER_SIZE, DWARF_ARANGES_PAD_SIZE):
Take into account DWARF_INITIAL_LENGTH_SIZE.

From-SVN: r65385

gcc/ChangeLog
gcc/dwarf2out.c

index b0f45f6dffeabf776305a8503672aa3209317339..dfd763081113067e201bf6f580703967e4f6d756 100644 (file)
@@ -1,3 +1,8 @@
+2003-04-08  Kevin Buettner  <kevinb@redhat.com>
+
+       * dwarf2out.c (DWARF_ARANGES_HEADER_SIZE, DWARF_ARANGES_PAD_SIZE):
+       Take into account DWARF_INITIAL_LENGTH_SIZE.
+
 2003-04-08  Hans-Peter Nilsson  <hp@axis.com>
 
        * reorg.c (fill_slots_from_thread): When considering changing the
index 8a9b9fd918f0826943f72a26deb3203496f65d58..7945d14ebc1785ec34f2de9bea5cc07311efd2c1 100644 (file)
@@ -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
This page took 0.08389 seconds and 5 git commands to generate.