(CFLAGS-initfini.s): Correctly fix moving function definition.
[kopensolaris-gnu/glibc.git] / csu / Makefile
index 8388032..cb9e6eb 100644 (file)
@@ -32,9 +32,6 @@ csu-dummies = $(filter-out $(start-installed-name),crt1.o Mcrt1.o)
 extra-objs = start.o gmon-start.o \
             $(start-installed-name) g$(start-installed-name) \
             $(csu-dummies)
 extra-objs = start.o gmon-start.o \
             $(start-installed-name) g$(start-installed-name) \
             $(csu-dummies)
-ifeq ($(elf),yes)
-before-compile = $(objpfx)abi-tag.h
-endif
 omit-deps = $(patsubst %.o,%,$(start-installed-name) g$(start-installed-name) \
                             $(csu-dummies))
 install-lib = $(start-installed-name) g$(start-installed-name) \
 omit-deps = $(patsubst %.o,%,$(start-installed-name) g$(start-installed-name) \
                             $(csu-dummies))
 install-lib = $(start-installed-name) g$(start-installed-name) \
@@ -45,6 +42,9 @@ all: # Make this the default target; it will be defined in Rules.
 
 include ../Makeconfig
 
 
 include ../Makeconfig
 
+ifeq ($(elf),yes)
+before-compile = $(objpfx)abi-tag.h
+endif
 
 ifeq ($(have-initfini),yes)
 
 
 ifeq ($(have-initfini),yes)
 
@@ -64,7 +64,7 @@ omit-deps += $(crtstuff)
 $(objpfx)crt%.o: $(objpfx)crt%.S $(objpfx)defs.h
        $(compile.S) -g0 $(ASFLAGS-.os) -o $@
 
 $(objpfx)crt%.o: $(objpfx)crt%.S $(objpfx)defs.h
        $(compile.S) -g0 $(ASFLAGS-.os) -o $@
 
-CFLAGS-initfini.s = -O0 -g0 -fPIC
+CFLAGS-initfini.s = -g0 -fPIC -fno-inline-functions
 
 $(objpfx)initfini.s: initfini.c
        $(compile.c) -S $(CFLAGS-initfini.s) -finhibit-size-directive \
 
 $(objpfx)initfini.s: initfini.c
        $(compile.c) -S $(CFLAGS-initfini.s) -finhibit-size-directive \