projects
/
platform
/
upstream
/
glibc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update.
[platform/upstream/glibc.git]
/
Makeconfig
diff --git
a/Makeconfig
b/Makeconfig
index
53dedee
..
9f6786c
100644
(file)
--- a/
Makeconfig
+++ b/
Makeconfig
@@
-338,15
+338,19
@@
ifndef asm-CPPFLAGS
asm-CPPFLAGS =
endif
asm-CPPFLAGS =
endif
+# ELF always supports init/fini sections
+ifeq ($(elf),yes)
+have-initfini = yes
+endif
+
# Installed name of the startup code.
# Installed name of the startup code.
-ifneq ($(
elf
),yes)
-# When not
using ELF
, there is just one startfile, called crt0.o.
+ifneq ($(
have-initfini
),yes)
+# When not
having init/fini
, there is just one startfile, called crt0.o.
start-installed-name = crt0.o
else
start-installed-name = crt0.o
else
-#
In the ELF universe
, crt0.o is called crt1.o, and there are
+#
On systems having init/fini
, crt0.o is called crt1.o, and there are
# some additional bizarre files.
start-installed-name = crt1.o
# some additional bizarre files.
start-installed-name = crt1.o
-have-initfini = yes
endif
endif
@@
-584,6
+588,8
@@
$(common-objpfx)version.mk: $(..)version.h $(..)Makeconfig
< $< > $@-new
mv -f $@-new $@
< $< > $@-new
mv -f $@-new $@
+common-generated += version.mk
+
ifeq (yes, $(build-shared))
# Process the shlib-versions file, which tells us what shared library
ifeq (yes, $(build-shared))
# Process the shlib-versions file, which tells us what shared library