]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* config/rs6000/linux64.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
authorAlan Modra <amodra@bigpond.net.au>
Sat, 7 Sep 2002 01:34:28 +0000 (01:34 +0000)
committerAlan Modra <amodra@gcc.gnu.org>
Sat, 7 Sep 2002 01:34:28 +0000 (11:04 +0930)
From-SVN: r56908

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

index 02793a33c1f36ecc37d52b062f472d2c3e5bda37..3fa7ed4f39092c73b33eb107b5e6cd9c399960db 100644 (file)
@@ -1,3 +1,7 @@
+2002-09-07  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/rs6000/linux64.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
+
 2002-09-06  Jakub Jelinek  <jakub@redhat.com>
 
        * configure.in (HAVE_AS_OFFSETABLE_LO10): Use -xarch=v9
index f84e1e3a8334937e2dda97e4ddc4615d4ef1dff0..998895cecbde1accaa4f54d0444a206ae23a511e 100644 (file)
@@ -327,3 +327,10 @@ do                                                                 \
     sym_lineno += 1;                                                   \
   }                                                                    \
 while (0)
+
+/* 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)