Message ID | 20200519203750.401593-6-shorne@gmail.com |
---|---|
State | New |
Headers | show |
Series | OpenRISC GCC Fixes for Glibc Support | expand |
diff --git a/gcc/config/or1k/or1k.h b/gcc/config/or1k/or1k.h index 0d6fed5f4ca..2fe62f0b90c 100644 --- a/gcc/config/or1k/or1k.h +++ b/gcc/config/or1k/or1k.h @@ -408,4 +408,8 @@ do { \ ((N) < 4 ? HW_TO_GCC_REGNO (25) + (N) : INVALID_REGNUM) #define EH_RETURN_STACKADJ_RTX gen_rtx_REG (Pmode, EH_RETURN_REGNUM) +/* Select a format to encode pointers in exception handling data. */ +#define ASM_PREFERRED_EH_DATA_FORMAT(CODE, GLOBAL) \ + (((GLOBAL) ? DW_EH_PE_indirect : 0) | DW_EH_PE_pcrel | DW_EH_PE_sdata4) + #endif /* GCC_OR1K_H */