diff options
author | Geoffrey Keating <geoffk@apple.com> | 2004-08-03 00:52:18 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@gcc.gnu.org> | 2004-08-03 00:52:18 +0000 |
commit | aeb732c12e1b2ff6457690092798901e5d98ff86 (patch) | |
tree | 8f5dad005756752c4055726b4b94227340ec6e4a /gcc/dwarf2out.c | |
parent | 474f541727096df25c2268c462fcb8c4daa898b6 (diff) | |
download | gcc-aeb732c12e1b2ff6457690092798901e5d98ff86.zip gcc-aeb732c12e1b2ff6457690092798901e5d98ff86.tar.gz gcc-aeb732c12e1b2ff6457690092798901e5d98ff86.tar.bz2 |
Index: ChangeLog
2004-08-02 Geoffrey Keating <geoffk@apple.com>
* ltcf-cxx.sh: On Darwin, make archive multi-module, and don't
use -all_load flag.
Index: gcc/ChangeLog
2004-08-02 Geoffrey Keating <geoffk@apple.com>
* dwarf2out.c (output_call_frame_info): Don't change data format
due to TARGET_USES_WEAK_UNWIND_INFO. Always refer to the local
label. Use 'true' not '1'.
* doc/install.texi (powerpc-*-darwin*): Mention cctools version
required.
From-SVN: r85461
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r-- | gcc/dwarf2out.c | 25 |
1 files changed, 7 insertions, 18 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 4a1037f..46b3b51 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -2089,7 +2089,7 @@ output_call_frame_info (int for_eh) any_eh_needed = any_lsda_needed = true; else if (TARGET_USES_WEAK_UNWIND_INFO && DECL_ONE_ONLY (fde_table[i].decl)) - any_eh_needed = 1; + any_eh_needed = true; else if (! fde_table[i].nothrow && ! fde_table[i].all_throwers_are_sibcalls) any_eh_needed = true; @@ -2141,9 +2141,7 @@ output_call_frame_info (int for_eh) P Indicates the presence of an encoding + language personality routine in the CIE augmentation. */ - fde_encoding = TARGET_USES_WEAK_UNWIND_INFO - ? ASM_PREFERRED_EH_DATA_FORMAT (/*code=*/2, /*global=*/1) - : ASM_PREFERRED_EH_DATA_FORMAT (/*code=*/1, /*global=*/0); + fde_encoding = ASM_PREFERRED_EH_DATA_FORMAT (/*code=*/1, /*global=*/0); per_encoding = ASM_PREFERRED_EH_DATA_FORMAT (/*code=*/2, /*global=*/1); lsda_encoding = ASM_PREFERRED_EH_DATA_FORMAT (/*code=*/0, /*global=*/0); @@ -2258,20 +2256,11 @@ output_call_frame_info (int for_eh) if (for_eh) { - if (TARGET_USES_WEAK_UNWIND_INFO - && DECL_ONE_ONLY (fde->decl)) - dw2_asm_output_encoded_addr_rtx (fde_encoding, - gen_rtx_SYMBOL_REF (Pmode, IDENTIFIER_POINTER - (DECL_ASSEMBLER_NAME (fde->decl))), - "FDE initial location"); - else - { - rtx sym_ref = gen_rtx_SYMBOL_REF (Pmode, fde->dw_fde_begin); - SYMBOL_REF_FLAGS (sym_ref) |= SYMBOL_FLAG_LOCAL; - dw2_asm_output_encoded_addr_rtx (fde_encoding, - sym_ref, - "FDE initial location"); - } + rtx sym_ref = gen_rtx_SYMBOL_REF (Pmode, fde->dw_fde_begin); + SYMBOL_REF_FLAGS (sym_ref) |= SYMBOL_FLAG_LOCAL; + dw2_asm_output_encoded_addr_rtx (fde_encoding, + sym_ref, + "FDE initial location"); dw2_asm_output_delta (size_of_encoded_value (fde_encoding), fde->dw_fde_end, fde->dw_fde_begin, "FDE address range"); |