diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-01-25 05:59:18 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-01-25 05:59:18 +0000 |
commit | eacbfaac1ea13cfe167924742d059527d7e86053 (patch) | |
tree | 9b8e288adb2c3828f86368240aa8fa0eb91ec933 /gcc/dwarfout.c | |
parent | 4026f475d1a9899257f3e0adf23666700be915fe (diff) | |
download | ppe42-gcc-eacbfaac1ea13cfe167924742d059527d7e86053.tar.gz ppe42-gcc-eacbfaac1ea13cfe167924742d059527d7e86053.zip |
* dwarf2out.c: include "varray.h", not dyn-string.h.
(ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
(addr_const_to_string, addr_to_string): Lose.
(ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
(struct dw_val_struct): val_addr is now an rtx.
(add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
(used_rtx_varray): New varray.
(dwarf2out_init): Initialize it.
(save_rtx): New fn.
(mem_loc_descriptor, add_const_value_attribute): Call it instead of
addr_to_string.
* arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
* Makefile.in (dwarf2out.o): Update dependencies.
* i386.c (i386_dwarf_output_addr_const): New.
* i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
* dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
if defined.
* dwarfout.c (output_mem_loc_descriptor): Likewise.
* i386.c (i386_simplify_dwarf_addr): New.
* i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31602 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dwarfout.c')
-rw-r--r-- | gcc/dwarfout.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/dwarfout.c b/gcc/dwarfout.c index 37d33c92fc5..e8809361017 100644 --- a/gcc/dwarfout.c +++ b/gcc/dwarfout.c @@ -1715,6 +1715,10 @@ output_mem_loc_descriptor (rtl) which is actually within the array. That's *not* necessarily the same as the zeroth element of the array. */ +#ifdef ASM_SIMPLIFY_DWARF_ADDR + rtl = ASM_SIMPLIFY_DWARF_ADDR (rtl); +#endif + switch (GET_CODE (rtl)) { case SUBREG: |