aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2002-09-07 00:37:49 +0000
committerAlan Modra <amodra@gcc.gnu.org>2002-09-07 10:07:49 +0930
commitfea76d8251ac50722b6f57ab200f2bd6b978dbe0 (patch)
tree7b41467f9a0f3e8e2a738c9c42b8ac5eafb2d278 /gcc
parent93638d7a89548904eca63862085c30e2808922dc (diff)
downloadgcc-fea76d8251ac50722b6f57ab200f2bd6b978dbe0.zip
gcc-fea76d8251ac50722b6f57ab200f2bd6b978dbe0.tar.gz
gcc-fea76d8251ac50722b6f57ab200f2bd6b978dbe0.tar.bz2
* config/rs6000/linux64.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
From-SVN: r56907
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog2
-rw-r--r--gcc/config/rs6000/linux64.h7
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 98f460b..78baa95 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/rs6000/linux64.h b/gcc/config/rs6000/linux64.h
index ee46931..6e1b904 100644
--- a/gcc/config/rs6000/linux64.h
+++ b/gcc/config/rs6000/linux64.h
@@ -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)