diff options
Diffstat (limited to 'csu')
-rw-r--r-- | csu/Makefile | 20 | ||||
-rw-r--r-- | csu/version.c | 2 |
2 files changed, 1 insertions, 21 deletions
diff --git a/csu/Makefile b/csu/Makefile index 69e07c71cf..601264d952 100644 --- a/csu/Makefile +++ b/csu/Makefile @@ -1,5 +1,5 @@ # Makefile for csu code for GNU C library. -# Copyright (C) 1995-2004, 2005, 2006, 2010 Free Software Foundation, Inc. +# Copyright (C) 1995-2006, 2010, 2012 Free Software Foundation, Inc. # This file is part of the GNU C Library. # The GNU C Library is free software; you can redistribute it and/or @@ -70,10 +70,8 @@ omit-deps += $(patsubst %.o,%,$(static-start-installed-name) \ install-lib += $(static-start-installed-name) g$(static-start-installed-name) endif -ifeq (yes,$(elf)) before-compile += $(objpfx)abi-tag.h generated += abi-tag.h -endif ifeq ($(have-initfini),yes) @@ -124,10 +122,8 @@ $(objpfx)defs.h: $(objpfx)initfini.s endif -ifeq (yes,$(elf)) extra-objs += abi-note.o init.o asm-CPPFLAGS += -I$(objpfx). -endif include ../Rules @@ -139,7 +135,6 @@ $(CC) -nostdlib -nostartfiles -r -o $@ $^ endef ifndef start-installed-name-rule -ifeq (yes,$(elf)) # We link the ELF startfile along with a SHT_NOTE section indicating # the kernel ABI the binaries linked with this library will require. $(objpfx)$(start-installed-name): $(objpfx)start.o $(objpfx)abi-note.o \ @@ -151,19 +146,6 @@ $(objpfx)S$(start-installed-name): $(objpfx)start.os $(objpfx)abi-note.o \ $(objpfx)b$(start-installed-name): $(objpfx)start.ob $(objpfx)abi-note.ob \ $(objpfx)init.ob $(link-relocatable) -else -# The startfile is installed under different names, so we just call our -# source file `start.c' and copy to the installed name after compiling. -$(objpfx)$(start-installed-name): $(objpfx)start.o - rm -f $@ - ln $< $@ -$(objpfx)S$(start-installed-name): $(objpfx)start.os - rm -f $@ - ln $< $@ -$(objpfx)b$(start-installed-name): $(objpfx)start.ob - rm -f $@ - ln $< $@ -endif endif # The profiling startfile is made by linking together the normal diff --git a/csu/version.c b/csu/version.c index fd13d55c50..564aec5384 100644 --- a/csu/version.c +++ b/csu/version.c @@ -66,7 +66,6 @@ __gnu_get_libc_version (void) } weak_alias (__gnu_get_libc_version, gnu_get_libc_version) -#ifdef HAVE_ELF /* This function is the entry point for the shared object. Running the library as a program will get here. */ @@ -77,4 +76,3 @@ __libc_main (void) __libc_print_version (); _exit (0); } -#endif |