* config/rs6000/linux64.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
authorAlan Modra <amodra@bigpond.net.au>
Sat, 7 Sep 2002 00:37:49 +0000 (00:37 +0000)
committerAlan Modra <amodra@gcc.gnu.org>
Sat, 7 Sep 2002 00:37:49 +0000 (10:07 +0930)
From-SVN: r56907

gcc/ChangeLog
gcc/config/rs6000/linux64.h

index 98f460b494240f938746b5bffd98040fd991d3a4..78baa956785e711762865f6cf05465c052a2ab2c 100644 (file)
@@ -1,5 +1,7 @@
 2002-09-07  Alan Modra  <amodra@bigpond.net.au>
 
+       * config/rs6000/linux64.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
+
        * doc/tm.texi (TARGET_ASM_ASSEMBLE_VISIBILITY): Describe.
        * target-def.h (TARGET_ASM_ASSEMBLE_VISIBILITY): Define.
        (TARGET_ASM_OUT): Add the above here.
index ee469319c7a26fa8b4c239a7431d838f00551476..6e1b90463ca2d1b07eee7b2f9123acb27a5b38e1 100644 (file)
@@ -357,3 +357,10 @@ while (0)
 /* Override sysv4.h as these are ABI_V4 only.  */
 #undef ASM_OUTPUT_REG_PUSH
 #undef ASM_OUTPUT_REG_POP
+
+/* Select a format to encode pointers in exception handling data.  CODE
+   is 0 for data, 1 for code labels, 2 for function pointers.  GLOBAL is
+   true if the symbol may be affected by dynamic relocations.  */
+#undef ASM_PREFERRED_EH_DATA_FORMAT
+#define        ASM_PREFERRED_EH_DATA_FORMAT(CODE, GLOBAL) \
+  (((GLOBAL) ? DW_EH_PE_indirect : 0) | DW_EH_PE_pcrel | DW_EH_PE_udata8)