diff options
author | Jeffrey A Law <law@cygnus.com> | 1997-12-04 07:26:05 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1997-12-04 00:26:05 -0700 |
commit | 6a242b6a414db0f82e85b46c93a37e60f3580bc5 (patch) | |
tree | 9c208ad78f4a16b2d4df81e595c45aa63269b2a0 | |
parent | 3cd08147fde733117a53998b90910f03f6d3f058 (diff) | |
download | gcc-6a242b6a414db0f82e85b46c93a37e60f3580bc5.zip gcc-6a242b6a414db0f82e85b46c93a37e60f3580bc5.tar.gz gcc-6a242b6a414db0f82e85b46c93a37e60f3580bc5.tar.bz2 |
* i386/t-sol2 (CRTSTUFF_T_CFLAGS): Turn on the optimizer.
From-SVN: r16935
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/i386/t-sol2 | 6 |
2 files changed, 9 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2af7dc1..ec46bc2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Thu Dec 4 00:24:09 1997 Jeffrey A Law (law@cygnus.com) + + * i386/t-sol2 (CRTSTUFF_T_CFLAGS): Turn on the optimizer. + Wed Dec 3 12:01:56 1997 Jason Merrill <jason@yorick.cygnus.com> * except.c (expand_fixup_region_end): New fn. diff --git a/gcc/config/i386/t-sol2 b/gcc/config/i386/t-sol2 index f47905a..5dc59cc 100644 --- a/gcc/config/i386/t-sol2 +++ b/gcc/config/i386/t-sol2 @@ -31,6 +31,10 @@ crtn.o: $(srcdir)/config/i386/sol2-cn.asm $(GCC_PASSES) # to produce a shared library, but since we don't know ahead of time when # we will be doing that, we just always use -fPIC when compiling the # routines in crtstuff.c. +# +# We must also enable optimization to avoid having any code appear after +# the call & alignment statement, but before we switch back to the +# .text section. -CRTSTUFF_T_CFLAGS = -fPIC +CRTSTUFF_T_CFLAGS = -fPIC -O2 TARGET_LIBGCC2_CFLAGS = -fPIC |