Deleted Added
full compact
t-sco5 (90075) t-sco5 (122180)
1# We need to use -fPIC when we are using gcc to compile the routines in
2# crtstuff.c. This is only really needed when we are going to use gcc/g++
3# to produce a shared library, but since we don't know ahead of time when
4# we will be doing that, we just always use -fPIC when compiling the
5# routines in crtstuff.c. Likewise for libgcc2.c. This is less painful
6# than multilibbing everything with PIC and PIC-not variants.
7
8# The pushl in CTOR initialization interferes with frame pointer elimination.
9
1# We multilib libgcc for -fPIC, to get real PIC code in it.
2# NOTE: We must use -fPIC on crt{begi,end}.o else we get an RTLD error
3# "cant set protections on segment of length blah at 0x8048000".
10CRTSTUFF_T_CFLAGS = -fPIC -fno-omit-frame-pointer
4CRTSTUFF_T_CFLAGS = -fPIC -fno-omit-frame-pointer
11TARGET_LIBGCC2_CFLAGS = -fPIC
12
5
13crti.o: $(srcdir)/config/i386/sol2-ci.asm $(GCC_PASSES)
14 sed -e '/^!/d' <$(srcdir)/config/i386/sol2-ci.asm >crti.s
15 $(GCC_FOR_TARGET) -c -o crti.o crti.s
6MULTILIB_OPTIONS = fPIC
7MULTILIB_DIRNAMES = pic
8MUTLILIB_EXCEPTIONS =
9MULTILIB_MATCHES = fPIC=fpic
10MULTILIB_EXTRA_OPTS =
16
11
12LIBGCC=stmp-multilib
13INSTALL_LIBGCC=install-multilib
14
17# See all the declarations.
18FIXPROTO_DEFINES = -D_XOPEN_SOURCE -D_POSIX_C_SOURCE=2
15# See all the declarations.
16FIXPROTO_DEFINES = -D_XOPEN_SOURCE -D_POSIX_C_SOURCE=2