Fix pcrel too far problems due to upping CACHE_LOG on SH2:

* sh.c (barrier_align): Don't return early for normal branch/barrier
        when optimizing for SH2.

From-SVN: r27333
This commit is contained in:
J"orn Rennecke 1999-06-03 21:48:04 +00:00 committed by Joern Rennecke
parent 4365b90634
commit 4d070fd3cd
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Fri Jun 4 05:42:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
* sh.c (barrier_align): Don't return early for normal branch/barrier
when optimizing for SH2.
Thu Jun 3 22:27:50 1999 Robert Lipe <robertlipe@usa.net>
* i386/udk.h (LINK_SPEC): Correct linker search path for

View File

@ -2712,7 +2712,7 @@ barrier_align (barrier_or_label)
if (TARGET_SMALLCODE)
return 0;
if (! TARGET_SH3 || ! optimize)
if (! TARGET_SH2 || ! optimize)
return CACHE_LOG;
/* When fixing up pcloads, a constant table might be inserted just before