Commit 65120c40 by Scott Bambrough Committed by Nick Clifton

Apply patch from Scott Bambrough <scottb@corelcomputer.com> Modified…

Apply patch from Scott Bambrough <scottb@corelcomputer.com> Modified arm*-*-linux-gnu* target to set thread_file to 'posix' if --enable-threads...

Apply patch from Scott Bambrough <scottb@corelcomputer.com>
  Modified arm*-*-linux-gnu* target to set thread_file to 'posix' if
  --enable-threads, --enable-threads=[yes,pthreads,posix] is passed as a
  command line parameter to configure.
  Modified TARGET_LIBGCC2_CFLAGS to include -fPIC.  If not included libgcc2
  is not compiled with PIC flag, as it should be.

From-SVN: r26000
parent a276c69f
1999-02-16 Scott Bambrough <scottb@corelcomputer.com>
* configure.in (arm*-*-linux-gnu*): Set thread_file to 'posix' if
--enable-threads[={yes,pthreads,posix}] is passed as a command
line parameter to configure.
* configure: Regenerate.
* gcc/config/arm/t-linux (TARGET_LIBGCC2_CFLAGS): Include -fPIC.
Fri Mar 26 19:42:19 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
* loop.c (combine_givs): Fix index into can_combine when doing
......
# Just for these, we omit the frame pointer since it makes such a big
# difference. It is then pointless adding debugging.
TARGET_LIBGCC2_CFLAGS = -fomit-frame-pointer
TARGET_LIBGCC2_CFLAGS = -fomit-frame-pointer -fPIC
LIBGCC2_DEBUG_CFLAGS = -g0
# Don't build enquire
......
......@@ -3088,6 +3088,11 @@ for machine in $build $host $target; do
tmake_file="t-linux arm/t-linux"
extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
gnu_ld=yes
case x${enable_threads} in
x | xyes | xpthreads | xposix)
thread_file='posix'
;;
esac
;;
arm*-*-aout)
tm_file=arm/aout.h
......
......@@ -720,6 +720,11 @@ changequote([,])dnl
tmake_file="t-linux arm/t-linux"
extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
gnu_ld=yes
case x${enable_threads} in
x | xyes | xpthreads | xposix)
thread_file='posix'
;;
esac
;;
arm*-*-aout)
tm_file=arm/aout.h
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment