The enclosed patch fixes a mismerge from google/gcc-4_7 to main. When outputting a pubtype whose type has no skeleton section, it's DIE offset should be from the comp_unit_die, instead of zero. Zero is actually a place-holder for the end of the pubtypes.
Sterling gcc/ChangeLog 2013-12-02 Sterling Augustine <saugust...@google.com> * dwarf2out.c (output_pubnames): Use comp_unit_die ()->die_offset when there isn't a skeleton die.
pubtypes-bug.tot-patch
Description: Binary data