diff options
Diffstat (limited to 'gnu/usr.bin/gcc')
-rw-r--r-- | gnu/usr.bin/gcc/gcc/config/sh/sh.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/usr.bin/gcc/gcc/config/sh/sh.c b/gnu/usr.bin/gcc/gcc/config/sh/sh.c index 9f138a6970c..fa595e7468a 100644 --- a/gnu/usr.bin/gcc/gcc/config/sh/sh.c +++ b/gnu/usr.bin/gcc/gcc/config/sh/sh.c @@ -2687,6 +2687,13 @@ find_barrier (num_mova, mova, from) si_limit = 1018; hi_limit = 510; +#if defined(OPENBSD_NATIVE) || defined(OPENBSD_CROSS) + if (flag_pic) + { + si_limit -= 16; + hi_limit -= 16; + } +#endif while (from && count_si < si_limit && count_hi < hi_limit) { |