I have committed the following change from Google 4.7 (which is a typo-fix) as obvious.
saugustine@sterling: ~/gcc-google-4_8/gcc/gcc $ svn diff dwarf2out.c Index: dwarf2out.c =================================================================== --- dwarf2out.c (revision 201717) +++ dwarf2out.c (working copy) @@ -9190,7 +9190,7 @@ output_pubname (dw_offset die_offset, pubname_entry *entry) { dw_die_ref die = entry->die; - int is_static = get_AT_flag (die, DW_AT_external) ? 1 : 0; + int is_static = get_AT_flag (die, DW_AT_external) ? 0 : 1; dw2_asm_output_data (DWARF_OFFSET_SIZE, die_offset, "DIE offset");