Module Name: src Committed By: joerg Date: Tue Jul 18 18:02:37 UTC 2017
Modified Files: src/external/gpl3/gcc/dist/gcc/config/arm: arm.h Log Message: Fix encoding of LSDA entries. .eh_frame references in non-PIC mode can use plain pointers. For PIC, any references to global objects must be indirect, but the .eh_frame entries themselve should be pcrel. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/external/gpl3/gcc/dist/gcc/config/arm/arm.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/gpl3/gcc/dist/gcc/config/arm/arm.h diff -u src/external/gpl3/gcc/dist/gcc/config/arm/arm.h:1.13 src/external/gpl3/gcc/dist/gcc/config/arm/arm.h:1.14 --- src/external/gpl3/gcc/dist/gcc/config/arm/arm.h:1.13 Tue Jun 7 06:14:17 2016 +++ src/external/gpl3/gcc/dist/gcc/config/arm/arm.h Tue Jul 18 18:02:37 2017 @@ -964,10 +964,8 @@ extern int arm_arch_crc; /* DWARF unwinding uses the normal indirect/pcrel vs absptr format for 32bit platforms. */ #define ASM_PREFERRED_EH_DATA_FORMAT(CODE, GLOBAL) \ - ((flag_pic \ - && ((GLOBAL) || (CODE))) \ - ? ((GLOBAL) ? DW_EH_PE_indirect : 0) | DW_EH_PE_pcrel | DW_EH_PE_sdata4 \ - : DW_EH_PE_absptr) + (flag_pic ? (((GLOBAL) ? DW_EH_PE_indirect : 0) | DW_EH_PE_pcrel | DW_EH_PE_sdata4) \ + : DW_EH_PE_absptr) #else /* ttype entries (the only interesting data references used) use TARGET2 relocations. */