provide pubnames when there are multiple code sections
authorIain Sandoe <iains@gcc.gnu.org>
Fri, 7 Jan 2011 13:52:29 +0000 (13:52 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Fri, 7 Jan 2011 13:52:29 +0000 (13:52 +0000)
commit0b764288f97fbb0f33b42c66ebffc061ba59cb7d
tree2bfd9dd87af8b4085587d92f17fecac4d8dcc9c5
parentd6bcbb40dd475624be371de4d86e9054a5934fc9
provide pubnames when there are multiple code sections

* dwarf2out.c (gen_subprogram_die):  Add pubnames with code ranges for
DWARF >= 3.  Add pubnames for the primary section and a reduced DIE for
the secondary code fragment when outputting for DWARF == 2.

From-SVN: r168570
gcc/ChangeLog
gcc/dwarf2out.c