diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c992d2bd225..95db62297d7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2002-02-16 H.J. Lu + + * config/mips/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): New. + 2002-02-16 Zack Weinberg * cppinit.c (merge_include_chains): Check for brack being diff --git a/gcc/config/mips/linux.h b/gcc/config/mips/linux.h index 86001a50e06..c63c461d847 100644 --- a/gcc/config/mips/linux.h +++ b/gcc/config/mips/linux.h @@ -283,6 +283,11 @@ void FN () \ pseudo-ops. */ #define FUNCTION_NAME_ALREADY_DECLARED +#define ASM_PREFERRED_EH_DATA_FORMAT(CODE, GLOBAL) \ + (flag_pic \ + ? ((GLOBAL) ? DW_EH_PE_indirect : 0) | DW_EH_PE_pcrel | DW_EH_PE_sdata4\ + : DW_EH_PE_absptr) + /* The glibc _mcount stub will save $v0 for us. Don't mess with saving it, since ASM_OUTPUT_REG_PUSH/ASM_OUTPUT_REG_POP do not work in the presence of $gp-relative calls. */