diff options
author | Camil Staps | 2016-12-01 21:29:04 +0000 |
---|---|---|
committer | Camil Staps | 2016-12-01 21:29:04 +0000 |
commit | 306d8d63917803e8bbaf3c57d0b837927de1fff6 (patch) | |
tree | f99d526c9a754d5eb4d259efed785d2ac1da1f6d /cgtypes.h | |
parent | Fix some illegal uses of sp (diff) |
Fix issue with long conditional jumps (selector__m__error) by loading the address to scratch first
Diffstat (limited to 'cgtypes.h')
-rw-r--r-- | cgtypes.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -75,11 +75,13 @@ typedef struct label { #define EA_LABEL 128 #ifdef G_POWER # define HAS_TOC_LABELS 256 -# define FAR_CONDITIONAL_JUMP_LABEL 512 # define STRING_LABEL 1024 # define DOT_O_BEFORE_LABEL 2048 # define STUB_GENERATED 4096 #endif +#if defined(G_POWER) || defined(THUMB2) +# define FAR_CONDITIONAL_JUMP_LABEL 512 +#endif #if defined (G_A64) && defined (LINUX) # define USE_PLT_LABEL 4096 #endif |