------------------------------------------------------------
revno: 3237
committer: poy <[email protected]>
branch nick: trunk
timestamp: Mon 2013-03-25 21:49:54 +0100
message:
re-apply the DIE alignment patch
modified:
dwarf/dwarf_die_deliv.c
--
lp:dcplusplus
https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk
Your team Dcplusplus-team is subscribed to branch lp:dcplusplus.
To unsubscribe from this branch go to
https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk/+edit-subscription
=== modified file 'dwarf/dwarf_die_deliv.c'
--- dwarf/dwarf_die_deliv.c 2013-03-25 20:35:53 +0000
+++ dwarf/dwarf_die_deliv.c 2013-03-25 20:49:54 +0000
@@ -473,6 +473,7 @@
dis->de_cu_context->cc_length +
dis->de_cu_context->cc_length_size +
dis->de_cu_context->cc_extension_size;
+ new_offset = (new_offset + 3) / 4 * 4;
}
/* Check that there is room in .debug_info beyond the new offset
@@ -535,6 +536,7 @@
new_offset = new_offset + cu_context->cc_length +
cu_context->cc_length_size + cu_context->cc_extension_size;
+ new_offset = (new_offset + 3) / 4 * 4;
*next_cu_offset = new_offset;
return (DW_DLV_OK);
}
_______________________________________________
Mailing list: https://launchpad.net/~linuxdcpp-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~linuxdcpp-team
More help : https://help.launchpad.net/ListHelp