From fea76d8251ac50722b6f57ab200f2bd6b978dbe0 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Sat, 7 Sep 2002 00:37:49 +0000 Subject: [PATCH] * config/rs6000/linux64.h (ASM_PREFERRED_EH_DATA_FORMAT): Define. From-SVN: r56907 --- gcc/ChangeLog | 2 ++ gcc/config/rs6000/linux64.h | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 98f460b4942..78baa956785 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,7 @@ 2002-09-07 Alan Modra + * 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 ee469319c7a..6e1b90463ca 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) -- 2.30.2