diff options
author | Daniel Berlin <dberlin@dberlin.org> | 2004-02-11 18:10:49 +0000 |
---|---|---|
committer | Daniel Berlin <dberlin@gcc.gnu.org> | 2004-02-11 18:10:49 +0000 |
commit | e193b4082e8f7ce791f0bae9e2992c15e2d9d7fa (patch) | |
tree | aa07458af5ba847ab79c894698c53a151ab002cc | |
parent | 1915e42288788d7d6556e81f331940b023aeb8b2 (diff) | |
download | gcc-e193b4082e8f7ce791f0bae9e2992c15e2d9d7fa.zip gcc-e193b4082e8f7ce791f0bae9e2992c15e2d9d7fa.tar.gz gcc-e193b4082e8f7ce791f0bae9e2992c15e2d9d7fa.tar.bz2 |
dwarf2out.c (output_loc_list): Remove no longer necessary, and now incorrect, hunk.
2004-02-11 Daniel Berlin <dberlin@dberlin.org>
* dwarf2out.c (output_loc_list): Remove no longer necessary, and now
incorrect, hunk.
(add_location_or_const_value_attribute): Use text_section_label,
not TEXT_SECTION_NAME.
From-SVN: r77669
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/dwarf2out.c | 14 |
2 files changed, 7 insertions, 13 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2921e53..0a4a8d5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-02-11 Daniel Berlin <dberlin@dberlin.org> + + * dwarf2out.c (output_loc_list): Remove no longer necessary, and now + incorrect, hunk. + (add_location_or_const_value_attribute): Use text_section_label, + not TEXT_SECTION_NAME. 2004-02-11 Per Bothner <per@bothner.com> diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index a2848a4..7bb4562 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -6640,18 +6640,6 @@ output_loc_list (dw_loc_list_ref list_head) ASM_OUTPUT_LABEL (asm_out_file, list_head->ll_symbol); - /* ??? This shouldn't be needed now that we've forced the - compilation unit base address to zero when there is code - in more than one section. */ - if (strcmp (curr->section, ".text") == 0) - { - /* dw2_asm_output_data will mask off any extra bits in the ~0. */ - dw2_asm_output_data (DWARF2_ADDR_SIZE, ~(unsigned HOST_WIDE_INT) 0, - "Location list base address specifier fake entry"); - dw2_asm_output_offset (DWARF2_ADDR_SIZE, curr->section, - "Location list base address specifier base"); - } - /* Walk the location list, and output each range + expression. */ for (curr = list_head; curr != NULL; curr = curr->dw_loc_next) { @@ -9676,7 +9664,7 @@ add_location_or_const_value_attribute (dw_die_ref die, tree decl, secname = TREE_STRING_POINTER (sectree); } else - secname = TEXT_SECTION_NAME; + secname = text_section_label; /* Now that we know what section we are using for a base, actually construct the list of locations. |