OSDN Git Service

2002-02-16 H.J. Lu <hjl@gnu.org>
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 17 Feb 2002 05:36:47 +0000 (05:36 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 17 Feb 2002 05:36:47 +0000 (05:36 +0000)
* config/mips/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49815 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/mips/linux.h

index c992d2b..95db622 100644 (file)
@@ -1,3 +1,7 @@
+2002-02-16  H.J. Lu <hjl@gnu.org>
+
+       * config/mips/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
+
 2002-02-16  Zack Weinberg  <zack@codesourcery.com>
 
        * cppinit.c (merge_include_chains): Check for brack being
index 86001a5..c63c461 100644 (file)
@@ -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.  */